SecurityIncidentResponse / Client / batch_get_member_account_details
batch_get_member_account_details#
- SecurityIncidentResponse.Client.batch_get_member_account_details(**kwargs)#
Grants permission to view an existing membership.
See also: AWS API Documentation
Request Syntax
response = client.batch_get_member_account_details( membershipId='string', accountIds=[ 'string', ] )
- Parameters:
membershipId (string) –
[REQUIRED]
Required element used in combination with BatchGetMemberAccountDetails to identify the membership ID to query.
accountIds (list) –
[REQUIRED]
Optional element to query the membership relationship status to a provided list of account IDs.
(string) –
- Return type:
dict
- Returns:
Response Syntax
{ 'items': [ { 'accountId': 'string', 'relationshipStatus': 'Associated'|'Disassociated', 'relationshipType': 'Organization' }, ], 'errors': [ { 'accountId': 'string', 'error': 'string', 'message': 'string' }, ] }
Response Structure
(dict) –
items (list) –
The response element providing responses for requests to GetMembershipAccountDetails.
(dict) –
accountId (string) –
relationshipStatus (string) –
relationshipType (string) –
errors (list) –
The response element providing errors messages for requests to GetMembershipAccountDetails.
(dict) –
accountId (string) –
error (string) –
message (string) –
Exceptions
SecurityIncidentResponse.Client.exceptions.ServiceQuotaExceededException
SecurityIncidentResponse.Client.exceptions.AccessDeniedException
SecurityIncidentResponse.Client.exceptions.ValidationException
SecurityIncidentResponse.Client.exceptions.SecurityIncidentResponseNotActiveException
SecurityIncidentResponse.Client.exceptions.InternalServerException
SecurityIncidentResponse.Client.exceptions.ConflictException
SecurityIncidentResponse.Client.exceptions.ResourceNotFoundException
SecurityIncidentResponse.Client.exceptions.ThrottlingException
SecurityIncidentResponse.Client.exceptions.InvalidTokenException