describe_assessment
async
¶
describe_assessment(
catalog: Catalog,
assessment_identifier: AssessmentIdentifier,
*,
config_overrides: Optional[AsyncMarketplaceCatalogClientConfig] = None,
max_results: Optional[DescribeAssessmentMaxResultInteger] = None,
next_token: Optional[NextToken] = None,
) -> DescribeAssessmentResponse
Returns the metadata and detailed results of a single assessment, including the framework that was evaluated, the overall assessment result, and a paginated list of individual control evaluation results.
To list available assessments before describing one, use the ListAssessments action.
Parameters:
-
catalog(Catalog) –The catalog related to the request. Fixed value:
AWSMarketplace -
assessment_identifier(AssessmentIdentifier) –The unique identifier of the assessment to describe. You can provide either the assessment ID (for example,
assessment-12345) or the full assessment ARN (for example,arn:aws:aws-marketplace:us-east-1::AWSMarketplace/Assessment/assessment-12345). -
max_results(Optional[DescribeAssessmentMaxResultInteger], default:None) –Specifies the upper limit of
ControlAssessmentelements returned on a single page. If a value isn't provided, the default value is 50. Valid values range from 1 to 100. -
next_token(Optional[NextToken], default:None) –The value of the next token, if it exists.
nullif there are no more results.
Raises:
-
AccessDeniedException–Access is denied.
HTTP status code: 403
-
InternalServiceException–There was an internal service exception.
HTTP status code: 500
-
ResourceNotFoundException–The specified resource wasn't found.
HTTP status code: 404
-
ThrottlingException–Too many requests.
HTTP status code: 429
-
ValidationException–An error occurred during validation.
HTTP status code: 422
-
UnknownServiceError–The service returned an error code this client does not model.