SecurityAgent / Paginator / ListSecurityRequirementPacks

ListSecurityRequirementPacks

class SecurityAgent.Paginator.ListSecurityRequirementPacks
paginator = client.get_paginator('list_security_requirement_packs')
paginate(**kwargs)

Creates an iterator that will paginate through responses from SecurityAgent.Client.list_security_requirement_packs().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    filter={
        'managementType': 'AWS_MANAGED'|'CUSTOMER_MANAGED',
        'status': 'ENABLED'|'DISABLED'
    },
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • filter (dict) –

    The filter criteria for listing security requirement packs.

    • managementType (string) –

      Filter packs by management type. Valid values are AWS_MANAGED and CUSTOMER_MANAGED.

    • status (string) –

      Filter packs by status. Valid values are ENABLED and DISABLED.

  • PaginationConfig (dict) –

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) –

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • PageSize (integer) –

      The size of each page.

    • StartingToken (string) –

      A token to specify where to start paginating. This is the NextToken from a previous response.

Return type:

dict

Returns:

Response Syntax

{
    'securityRequirementPackSummaries': [
        {
            'packId': 'string',
            'name': 'string',
            'description': 'string',
            'vendorName': 'string',
            'managementType': 'AWS_MANAGED'|'CUSTOMER_MANAGED',
            'status': 'ENABLED'|'DISABLED',
            'createdAt': datetime(2015, 1, 1),
            'updatedAt': datetime(2015, 1, 1)
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • securityRequirementPackSummaries (list) –

      The list of security requirement pack summaries.

      • (dict) –

        Contains summary information about a security requirement pack.

        • packId (string) –

          The unique identifier of the security requirement pack.

        • name (string) –

          The name of the security requirement pack.

        • description (string) –

          A description of the security requirement pack.

        • vendorName (string) –

          The vendor name for AWS managed packs.

        • managementType (string) –

          The management type of the pack.

        • status (string) –

          The status of the security requirement pack.

        • createdAt (datetime) –

          The date and time the security requirement pack was created, in UTC format.

        • updatedAt (datetime) –

          The date and time the security requirement pack was last updated, in UTC format.

    • NextToken (string) –

      A token to resume pagination.