get_framework
async
¶
get_framework(
framework: FrameworkName,
environment_arn: EnvironmentArn,
framework_version: FrameworkVersion,
*,
config_overrides: Optional[AsyncAssuranceClientConfig] = None,
) -> GetFrameworkOutput
Retrieves a framework resource by type and key fields.
Parameters:
-
framework(FrameworkName) –The framework name.
-
environment_arn(EnvironmentArn) –The ARN of this governance environment.
-
framework_version(FrameworkVersion) –The framework version.
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.
-
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:
Get a framework Retrieves a custom PCI-DSS framework by name and version so an auditor can review its details.
>>> await client.get_framework(framework='payments-pci-dss', environment_arn='arn:aws:assurance:us-east-1:111122223333:environment/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111', framework_version='1.0')
Source code in docs_src/capo_assurance/_services/async_assurance.py
3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 | |