batch_get_member_account_details
async
¶
batch_get_member_account_details(
membership_id: MembershipId,
account_ids: AWSAccountIds,
*,
config_overrides: Optional[AsyncSecurityIRClientConfig] = None,
) -> BatchGetMemberAccountDetailsResponse
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:
-
membership_id(MembershipId) –Required element used in combination with BatchGetMemberAccountDetails to identify the membership ID to query.
-
account_ids(AWSAccountIds) –Optional element to query the membership relationship status to a provided list of account IDs.
AWS account ID's may appear less than 12 characters and need to be zero-prepended. An example would be
123123123which is nine digits, and with zero-prepend would be000123123123. Not zero-prepending to 12 digits could result in errors.
Raises:
-
AccessDeniedException– -
ConflictException– -
InternalServerException– -
InvalidTokenException– -
ResourceNotFoundException– -
SecurityIncidentResponseNotActiveException– -
ServiceQuotaExceededException– -
ThrottlingException– -
ValidationException– -
UnknownServiceError–The service returned an error code this client does not model.
Examples:
Invoke BatchGetMemberAccountDetails
>>> await client.batch_get_member_account_details(membership_id='m-abcd1234efgh', account_ids=['123412341234'])
Source code in docs_src/capo_security_ir/_services/async_security_ir.py
2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 | |