Smaws_Client_Organizations.RegisterDelegatedAdministratorEnables the specified member account to administer the Organizations features of the specified Amazon Web Services service. It grants read-only access to Organizations service data. The account still requires IAM permissions to access and administer the Amazon Web Services service.
You can run this action only for Amazon Web Services services that support this feature. For a current list of services that support it, see the column Supports Delegated Administrator in the table at Amazon Web Services Services that you can use with Organizations in the Organizations User Guide.
You can only call this operation from the management account.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `AccountAlreadyRegisteredException of
Types.account_already_registered_exception
| `AccountNotFoundException of Types.account_not_found_exception
| `AWSOrganizationsNotInUseException of
Types.aws_organizations_not_in_use_exception
| `ConcurrentModificationException of Types.concurrent_modification_exception
| `ConstraintViolationException of Types.constraint_violation_exception
| `InvalidInputException of Types.invalid_input_exception
| `ServiceException of Types.service_exception
| `TooManyRequestsException of Types.too_many_requests_exception
| `UnsupportedAPIEndpointException of
Types.unsupported_api_endpoint_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.register_delegated_administrator_request ->
(Smaws_Lib.Smithy_api.Types.unit_,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `AccountAlreadyRegisteredException of
Types.account_already_registered_exception
| `AccountNotFoundException of Types.account_not_found_exception
| `AWSOrganizationsNotInUseException of
Types.aws_organizations_not_in_use_exception
| `ConcurrentModificationException of
Types.concurrent_modification_exception
| `ConstraintViolationException of Types.constraint_violation_exception
| `InvalidInputException of Types.invalid_input_exception
| `ServiceException of Types.service_exception
| `TooManyRequestsException of Types.too_many_requests_exception
| `UnsupportedAPIEndpointException of
Types.unsupported_api_endpoint_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.register_delegated_administrator_request ->
(Smaws_Lib.Smithy_api.Types.unit_ Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `AccountAlreadyRegisteredException of
Types.account_already_registered_exception
| `AccountNotFoundException of Types.account_not_found_exception
| `AWSOrganizationsNotInUseException of
Types.aws_organizations_not_in_use_exception
| `ConcurrentModificationException of
Types.concurrent_modification_exception
| `ConstraintViolationException of Types.constraint_violation_exception
| `InvalidInputException of Types.invalid_input_exception
| `ServiceException of Types.service_exception
| `TooManyRequestsException of Types.too_many_requests_exception
| `UnsupportedAPIEndpointException of
Types.unsupported_api_endpoint_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result