Skip to main content

member_account_details

Creates, updates, deletes, gets or lists a member_account_details resource.

Overview

Namemember_account_details
TypeResource
Idaws.security_ir.member_account_details

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
errorsarrayThe response element providing error messages for requests to GetMembershipAccountDetails.
items_arrayThe response element providing responses for requests to GetMembershipAccountDetails.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
batch_get_member_account_detailsselectmembership_id, regionProvides 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.

NameDatatypeDescription
membership_idstringRequired element used in combination with BatchGetMemberAccountDetails to identify the membership ID to query.
regionstringAWS region (default: us-east-1)

SELECT examples

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
;