SecurityAgent / Client / get_security_requirement_pack

get_security_requirement_pack

SecurityAgent.Client.get_security_requirement_pack(**kwargs)

Retrieves information about a security requirement pack.

See also: AWS API Documentation

Request Syntax

response = client.get_security_requirement_pack(
    packId='string'
)
Parameters:

packId (string) –

[REQUIRED]

The unique identifier of the security requirement pack to retrieve.

Return type:

dict

Returns:

Response Syntax

{
    'packId': 'string',
    'name': 'string',
    'description': 'string',
    'vendorName': 'string',
    'managementType': 'AWS_MANAGED'|'CUSTOMER_MANAGED',
    'status': 'ENABLED'|'DISABLED',
    'importStatus': 'PENDING'|'IN_PROGRESS'|'FAILED'|'COMPLETED',
    'createdAt': datetime(2015, 1, 1),
    'updatedAt': datetime(2015, 1, 1),
    'kmsKeyId': 'string'
}

Response Structure

  • (dict) –

    • 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, such as ISO or NIST.

    • managementType (string) –

      The management type of the pack. Valid values are AWS_MANAGED and CUSTOMER_MANAGED.

    • status (string) –

      The status of the security requirement pack.

    • importStatus (string) –

      The status of the security requirements import workflow for this 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.

    • kmsKeyId (string) –

      The identifier of the AWS KMS key used to encrypt pack contents.

Exceptions

  • SecurityAgent.Client.exceptions.ValidationException

  • SecurityAgent.Client.exceptions.InternalServerException

  • SecurityAgent.Client.exceptions.ResourceNotFoundException

  • SecurityAgent.Client.exceptions.ThrottlingException

  • SecurityAgent.Client.exceptions.AccessDeniedException