Skip to main content

organization_admin_accounts

Creates, updates, deletes, gets or lists an organization_admin_accounts resource.

Overview

Nameorganization_admin_accounts
TypeResource
Idaws.macie2.organization_admin_accounts

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
account_idstringThe Amazon Web Services account ID for the account.
statusstringThe current status of the account as the delegated Amazon Macie administrator account for the organization. (ENABLED, DISABLING_IN_PROGRESS)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_organization_admin_accountsselectregionmaxResults, nextTokenRetrieves information about the delegated Amazon Macie administrator account for an organization in Organizations.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)
maxResultsintegerThe maximum number of items to include in each page of a paginated response.
nextTokenstringThe nextToken string that specifies which page of results to return in a paginated response.

SELECT examples

Retrieves information about the delegated Amazon Macie administrator account for an organization in Organizations.

SELECT
account_id,
status
FROM aws.macie2.organization_admin_accounts
WHERE region = '{{ region }}' -- required
AND maxResults = '{{ maxResults }}'
AND nextToken = '{{ nextToken }}'
;