Amazon Macie Classic has been discontinued and is no longer available. A new Amazon Macie is now available with significant design improvements and additional features, at a lower price and in most AWS Regions. To learn about the new Amazon Macie, see the Amazon Macie User Guide.
ListMemberAccounts
(Discontinued) Lists all Amazon Macie Classic member accounts for the current Macie Classic administrator account.
Request Syntax
{
"maxResults": number
,
"nextToken": "string
"
}
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters.
The request accepts the following data in JSON format.
- maxResults
-
(Discontinued) Use this parameter to indicate the maximum number of items that you want in the response. The default value is 250.
Type: Integer
Valid Range: Maximum value of 250.
Required: No
- nextToken
-
(Discontinued) Use this parameter when paginating results. Set the value of this parameter to null on your first call to the
ListMemberAccounts
action. Subsequent calls to the action fillnextToken
in the request with the value ofnextToken
from the previous response to continue listing data.Type: String
Length Constraints: Maximum length of 500.
Required: No
Response Syntax
{
"memberAccounts": [
{
"accountId": "string"
}
],
"nextToken": "string"
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
- memberAccounts
-
(Discontinued) A list of the Amazon Macie Classic member accounts returned by the action. The current Macie Classic administrator account is also included in this list.
Type: Array of MemberAccount objects
- nextToken
-
(Discontinued) When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the
nextToken
parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.Type: String
Length Constraints: Maximum length of 500.
Errors
For information about the errors that are common to all actions, see Common Errors.
- InternalException
-
(Discontinued) Internal server error.
HTTP Status Code: 500
- InvalidInputException
-
(Discontinued) The request was rejected because an invalid or out-of-range value was supplied for an input parameter.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: