start_assessment_report_export
¶
start_assessment_report_export(
environment_arn: EnvironmentArn,
project: ProjectName,
framework: FrameworkName,
framework_version: FrameworkVersion,
*,
config_overrides: Optional[AssuranceClientConfig] = 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
>>> 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/assurance.py
6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 | |