MarketplaceCatalog / Paginator / ListAssessments
ListAssessments¶
- class MarketplaceCatalog.Paginator.ListAssessments¶
paginator = client.get_paginator('list_assessments')
- paginate(**kwargs)¶
Creates an iterator that will paginate through responses from
MarketplaceCatalog.Client.list_assessments().See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate( Catalog='string', FrameworkId='string', AssessmentTargetFilter={ 'EntityId': 'string', 'ChangeSetId': 'string' }, FrameworkFilters={ 'AMISecurityFilters': { 'DeliveryOptionId': 'string' }, 'ContainerSecurityFilters': { 'DeliveryOptionId': 'string' } }, PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } )
- Parameters:
Catalog (string) –
[REQUIRED]
The catalog related to the request. Fixed value:
AWSMarketplaceFrameworkId (string) – The unique identifier of a framework. When specified, only assessments performed against this framework are returned. For example,
AMISecurity.AssessmentTargetFilter (dict) –
Filters the list of assessments to those performed against a specific entity or change set.
EntityId (string) –
The unique ID of the entity whose assessments you want to list.
ChangeSetId (string) –
The unique ID of the change set that triggered the assessments you want to list.
FrameworkFilters (dict) –
Framework-specific filters. Set exactly one member to filter results to assessments performed against that framework.
Note
This is a Tagged Union structure. Only one of the following top level keys can be set:
AMISecurityFilters,ContainerSecurityFilters.AMISecurityFilters (dict) –
Filters that apply to assessments performed against the AMI Security framework.
DeliveryOptionId (string) –
The unique ID of the delivery option whose AMI Security assessments you want to list.
ContainerSecurityFilters (dict) –
Filters that apply to assessments performed against the Container Security framework.
DeliveryOptionId (string) –
The unique ID of the delivery option whose Container Security assessments you want to list.
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
NextTokenwill 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
NextTokenfrom a previous response.
- Return type:
dict
- Returns:
Response Syntax
{ 'AssessmentSummaryList': [ { 'AssessmentArn': 'string', 'AssessmentId': 'string', 'FrameworkId': 'string', 'AssessmentTargetSummary': { 'EntityId': 'string', 'ChangeSetId': 'string' }, 'FrameworkSummary': { 'AMISecuritySummary': { 'DeliveryOptionId': 'string' }, 'ContainerSecuritySummary': { 'DeliveryOptionId': 'string' } }, 'AssessmentResult': 'PASS'|'FAIL', 'CreatedAt': 'string', 'ExpiresAt': 'string' }, ], }
Response Structure
(dict) –
AssessmentSummaryList (list) –
An array of
AssessmentSummaryobjects.(dict) –
Summarized information about an assessment.
AssessmentArn (string) –
The ARN associated with the assessment.
AssessmentId (string) –
The unique ID of the assessment.
FrameworkId (string) –
The identifier of the framework that was evaluated by this assessment, in the format
frameworkId@version(for example,AMISecurity@1.0).AssessmentTargetSummary (dict) –
Identifies the entity or change set that was assessed.
EntityId (string) –
The unique ID of the entity that was assessed.
ChangeSetId (string) –
The unique ID of the change set that was assessed.
FrameworkSummary (dict) –
The framework-specific details of the assessed resource. The set member corresponds to the framework identified by
FrameworkId.Note
This is a Tagged Union structure. Only one of the following top level keys will be set:
AMISecuritySummary,ContainerSecuritySummary. If a client receives an unknown member it will setSDK_UNKNOWN_MEMBERas the top level key, which maps to the name or tag of the unknown member. The structure ofSDK_UNKNOWN_MEMBERis as follows:'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
AMISecuritySummary (dict) –
The details of the resource assessed under the AMI Security framework.
DeliveryOptionId (string) –
The unique ID of the delivery option that was evaluated.
ContainerSecuritySummary (dict) –
The details of the resource assessed under the Container Security framework.
DeliveryOptionId (string) –
The unique ID of the delivery option that was evaluated.
AssessmentResult (string) –
The overall result of the assessment.
CreatedAt (string) –
The date and time the assessment was created, in ISO 8601 format (
2018-02-27T13:45:22Z).ExpiresAt (string) –
The date and time the assessment expires, in ISO 8601 format (
2018-02-27T13:45:22Z).