Smaws_Client_Organizations.DescribeOrganizationalUnitRetrieves information about an organizational unit (OU).
You can only call this operation from the management account or a member account that is a delegated administrator.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `AWSOrganizationsNotInUseException of
Types.aws_organizations_not_in_use_exception
| `InvalidInputException of Types.invalid_input_exception
| `OrganizationalUnitNotFoundException of
Types.organizational_unit_not_found_exception
| `ServiceException of Types.service_exception
| `TooManyRequestsException of Types.too_many_requests_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.describe_organizational_unit_request ->
(Types.describe_organizational_unit_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `AWSOrganizationsNotInUseException of
Types.aws_organizations_not_in_use_exception
| `InvalidInputException of Types.invalid_input_exception
| `OrganizationalUnitNotFoundException of
Types.organizational_unit_not_found_exception
| `ServiceException of Types.service_exception
| `TooManyRequestsException of Types.too_many_requests_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.describe_organizational_unit_request ->
(Types.describe_organizational_unit_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
| `InvalidInputException of Types.invalid_input_exception
| `OrganizationalUnitNotFoundException of
Types.organizational_unit_not_found_exception
| `ServiceException of Types.service_exception
| `TooManyRequestsException of Types.too_many_requests_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result