member_account_details
Creates, updates, deletes, gets or lists a member_account_details resource.
Overview
| Name | member_account_details |
| Type | Resource |
| Id | aws.security_ir.member_account_details |
Fields
The following fields are returned by SELECT queries:
- batch_get_member_account_details
| Name | Datatype | Description |
|---|---|---|
errors | array | The response element providing error messages for requests to GetMembershipAccountDetails. |
items_ | array | The response element providing responses for requests to GetMembershipAccountDetails. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
batch_get_member_account_details | select | membership_id, region | Provides information on whether the supplied account IDs are associated with a membership. AWS account ID's may appear less than 12 characters and need to be zero-prepended. An example would be 123123123 which is nine digits, and with zero-prepend would be 000123123123. Not zero-prepending to 12 digits could result in errors. |
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.
| Name | Datatype | Description |
|---|---|---|
membership_id | string | Required element used in combination with BatchGetMemberAccountDetails to identify the membership ID to query. |
region | string | AWS region (default: us-east-1) |
SELECT examples
- batch_get_member_account_details
Provides information on whether the supplied account IDs are associated with a membership. AWS account ID's may appear less than 12 characters and need to be zero-prepended. An example would be 123123123 which is nine digits, and with zero-prepend would be 000123123123. Not zero-prepending to 12 digits could result in errors.
SELECT
errors,
items_
FROM aws.security_ir.member_account_details
WHERE membership_id = '{{ membership_id }}' -- required
AND region = '{{ region }}' -- required
;