Smaws_Client_FMS.ListAdminAccountsForOrganizationReturns a AdminAccounts object that lists the Firewall Manager administrators within the organization that are onboarded to Firewall Manager by AssociateAdminAccount.
This operation can be called only from the organization's management account.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `InternalErrorException of Types.internal_error_exception
| `InvalidOperationException of Types.invalid_operation_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `ResourceNotFoundException of Types.resource_not_found_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.list_admin_accounts_for_organization_request ->
(Types.list_admin_accounts_for_organization_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `InternalErrorException of Types.internal_error_exception
| `InvalidOperationException of Types.invalid_operation_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `ResourceNotFoundException of Types.resource_not_found_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.list_admin_accounts_for_organization_request ->
(Types.list_admin_accounts_for_organization_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `InternalErrorException of Types.internal_error_exception
| `InvalidOperationException of Types.invalid_operation_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `ResourceNotFoundException of Types.resource_not_found_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result