Detective / Client / batch_get_membership_datasources
batch_get_membership_datasources#
- Detective.Client.batch_get_membership_datasources(**kwargs)#
- Gets information on the data source package history for an account. - See also: AWS API Documentation - Request Syntax- response = client.batch_get_membership_datasources( GraphArns=[ 'string', ] ) - Parameters:
- GraphArns (list) – - [REQUIRED] - The ARN of the behavior graph. - (string) – 
 
- Return type:
- dict 
- Returns:
- Response Syntax- { 'MembershipDatasources': [ { 'AccountId': 'string', 'GraphArn': 'string', 'DatasourcePackageIngestHistory': { 'string': { 'string': { 'Timestamp': datetime(2015, 1, 1) } } } }, ], 'UnprocessedGraphs': [ { 'GraphArn': 'string', 'Reason': 'string' }, ] } - Response Structure- (dict) – - MembershipDatasources (list) – - Details on the data source package history for an member of the behavior graph. - (dict) – - Details on data source packages for members of the behavior graph. - AccountId (string) – - The account identifier of the Amazon Web Services account. 
- GraphArn (string) – - The ARN of the organization behavior graph. 
- DatasourcePackageIngestHistory (dict) – - Details on when a data source package was added to a behavior graph. - (string) – - (dict) – - (string) – - (dict) – - Details on when data collection began for a source package. - Timestamp (datetime) – - The data and time when data collection began for a source package. The value is an ISO8601 formatted string. For example, - 2021-08-18T16:35:56.284Z.
 
 
 
 
 
 
 
- UnprocessedGraphs (list) – - Graphs that data source package information could not be retrieved for. - (dict) – - Behavior graphs that could not be processed in the request. - GraphArn (string) – - The ARN of the organization behavior graph. 
- Reason (string) – - The reason data source package information could not be processed for a behavior graph. 
 
 
 
 
 - Exceptions- Detective.Client.exceptions.AccessDeniedException
- Detective.Client.exceptions.InternalServerException
- Detective.Client.exceptions.ResourceNotFoundException
- Detective.Client.exceptions.ValidationException