Smaws_Client_Organizations.DescribeOrganizationRetrieves information about the organization that the user's account belongs to.
You can call this operation from any account in a organization.
Even if a policy type is shown as available in the organization, you can disable it separately at the root level with DisablePolicyType. Use ListRoots to see the status of policy types for a specified root.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `AWSOrganizationsNotInUseException of
Types.aws_organizations_not_in_use_exception
| `ConcurrentModificationException of Types.concurrent_modification_exception
| `ServiceException of Types.service_exception
| `TooManyRequestsException of Types.too_many_requests_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Smaws_Lib.Smithy_api.Types.unit_ ->
(Types.describe_organization_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `AWSOrganizationsNotInUseException of
Types.aws_organizations_not_in_use_exception
| `ConcurrentModificationException of
Types.concurrent_modification_exception
| `ServiceException of Types.service_exception
| `TooManyRequestsException of Types.too_many_requests_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Smaws_Lib.Smithy_api.Types.unit_ ->
(Types.describe_organization_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `AWSOrganizationsNotInUseException of
Types.aws_organizations_not_in_use_exception
| `ConcurrentModificationException of
Types.concurrent_modification_exception
| `ServiceException of Types.service_exception
| `TooManyRequestsException of Types.too_many_requests_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result