Module Smaws_Client_Organizations.DescribeAccount

Retrieves Organizations-related information about the specified account.

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 | `AccountNotFoundException of Types.account_not_found_exception | `AWSOrganizationsNotInUseException of Types.aws_organizations_not_in_use_exception | `InvalidInputException of Types.invalid_input_exception | `ServiceException of Types.service_exception | `TooManyRequestsException of Types.too_many_requests_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.describe_account_request -> (Types.describe_account_response, [> Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `AccountNotFoundException of Types.account_not_found_exception | `AWSOrganizationsNotInUseException of Types.aws_organizations_not_in_use_exception | `InvalidInputException of Types.invalid_input_exception | `ServiceException of Types.service_exception | `TooManyRequestsException of Types.too_many_requests_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.describe_account_request -> (Types.describe_account_response Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `AccountNotFoundException of Types.account_not_found_exception | `AWSOrganizationsNotInUseException of Types.aws_organizations_not_in_use_exception | `InvalidInputException of Types.invalid_input_exception | `ServiceException of Types.service_exception | `TooManyRequestsException of Types.too_many_requests_exception ] * Smaws_Lib.Response.metadata) Stdlib.result