SecurityAgent / Client / list_security_requirement_packs
list_security_requirement_packs¶
- SecurityAgent.Client.list_security_requirement_packs(**kwargs)¶
Lists all security requirement packs in the caller’s account.
See also: AWS API Documentation
Request Syntax
response = client.list_security_requirement_packs( filter={ 'managementType': 'AWS_MANAGED'|'CUSTOMER_MANAGED', 'status': 'ENABLED'|'DISABLED' }, nextToken='string', maxResults=123 )
- 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.
nextToken (string) – The pagination token from a previous request to retrieve the next page of results.
maxResults (integer) – The maximum number of results to return in a single request.
- 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) –
The pagination token to use in a subsequent request to retrieve the next page of results.
Exceptions
SecurityAgent.Client.exceptions.ValidationExceptionSecurityAgent.Client.exceptions.InternalServerExceptionSecurityAgent.Client.exceptions.ThrottlingExceptionSecurityAgent.Client.exceptions.AccessDeniedException