SecurityAgent / Client / update_security_requirement_pack

update_security_requirement_pack

SecurityAgent.Client.update_security_requirement_pack(**kwargs)

Updates a security requirement pack. For customer managed packs, both metadata and status can be updated. For AWS managed packs, only status can be updated.

See also: AWS API Documentation

Request Syntax

response = client.update_security_requirement_pack(
    packId='string',
    name='string',
    description='string',
    status='ENABLED'|'DISABLED'
)
Parameters:
  • packId (string) –

    [REQUIRED]

    The unique identifier of the security requirement pack to update.

  • name (string) – The updated name of the security requirement pack.

  • description (string) – The updated description of the security requirement pack.

  • status (string) – The updated status of the security requirement pack.

Return type:

dict

Returns:

Response Syntax

{
    'packId': 'string',
    'name': 'string',
    'description': 'string',
    'status': 'ENABLED'|'DISABLED'
}

Response Structure

  • (dict) –

    • packId (string) –

      The unique identifier of the security requirement pack.

    • name (string) –

      The name of the security requirement pack.

    • description (string) –

      The description of the security requirement pack.

    • status (string) –

      The status of the security requirement pack.

Exceptions

  • SecurityAgent.Client.exceptions.ValidationException

  • SecurityAgent.Client.exceptions.InternalServerException

  • SecurityAgent.Client.exceptions.ResourceNotFoundException

  • SecurityAgent.Client.exceptions.ConflictException

  • SecurityAgent.Client.exceptions.ThrottlingException

  • SecurityAgent.Client.exceptions.AccessDeniedException