start_assessment_report_export
async
¶
start_assessment_report_export(
environment_arn: EnvironmentArn,
project: ProjectName,
framework: FrameworkName,
framework_version: FrameworkVersion,
*,
config_overrides: Optional[AsyncAssuranceClientConfig] = None,
control_ids: Optional[AssessmentReportControlIdList] = None,
) -> StartAssessmentReportExportOutput
Starts preparing an assessment report for a framework in a project. To check progress, call GetAssessmentReportExport until the export status is COMPLETED. Then call GetAssessmentReportContent to get the report.
If an export for the same scope is already in progress, this operation returns the identifier of that export instead of starting a new one.
Parameters:
-
environment_arn(EnvironmentArn) –The ARN of the environment.
-
project(ProjectName) –The project the request is scoped to.
-
framework(FrameworkName) –The name of the framework to report on.
-
framework_version(FrameworkVersion) –The version of the framework.
-
control_ids(Optional[AssessmentReportControlIdList], default:None) –The control to include in the report. To report on the whole framework, omit this parameter.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
-
ConflictException–A conflict occurred (for example, resource already exists).
-
InternalServerException–An internal server error occurred.
-
ResourceNotFoundException–The requested resource was not found.
-
ThrottlingException–The request was throttled.
-
ValidationException–The request failed validation.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
Start an assessment report export
>>> await client.start_assessment_report_export(environment_arn='arn:aws:assurance:us-east-1:111122223333:environment/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111', project='payments-prod', framework='AWS:PCI-DSS', framework_version='4', control_ids=['8.2.1'])
Source code in docs_src/capo_assurance/_services/async_assurance.py
6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 | |