Detective / Client / list_datasource_packages

list_datasource_packages#

Detective.Client.list_datasource_packages(**kwargs)#

Lists data source packages in the behavior graph.

See also: AWS API Documentation

Request Syntax

response = client.list_datasource_packages(
    GraphArn='string',
    NextToken='string',
    MaxResults=123
)
Parameters:
  • GraphArn (string) –

    [REQUIRED]

    The ARN of the behavior graph.

  • NextToken (string) – For requests to get the next page of results, the pagination token that was returned with the previous set of results. The initial request does not include a pagination token.

  • MaxResults (integer) – The maximum number of results to return.

Return type:

dict

Returns:

Response Syntax

{
    'DatasourcePackages': {
        'string': {
            'DatasourcePackageIngestState': 'STARTED'|'STOPPED'|'DISABLED',
            'LastIngestStateChange': {
                'string': {
                    'Timestamp': datetime(2015, 1, 1)
                }
            }
        }
    },
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • DatasourcePackages (dict) –

      Details on the data source packages active in the behavior graph.

      • (string) –

        • (dict) –

          Details about the data source packages ingested by your behavior graph.

          • DatasourcePackageIngestState (string) –

            Details on which data source packages are ingested for a member account.

          • LastIngestStateChange (dict) –

            The date a data source package was enabled for this account

            • (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.

    • NextToken (string) –

      For requests to get the next page of results, the pagination token that was returned with the previous set of results. The initial request does not include a pagination token.

Exceptions