modify_verified_access_endpoint_policy
¶
modify_verified_access_endpoint_policy(
*,
config_overrides: Optional[EC2ClientConfig] = None,
verified_access_endpoint_id: Optional[VerifiedAccessEndpointId] = None,
policy_enabled: Optional[Boolean] = None,
policy_document: Optional[String] = None,
client_token: Optional[String] = None,
dry_run: Optional[Boolean] = None,
sse_specification: Optional[VerifiedAccessSseSpecificationRequest] = None,
) -> ModifyVerifiedAccessEndpointPolicyResult
Modifies the specified Amazon Web Services Verified Access endpoint policy.
Parameters:
-
verified_access_endpoint_id(Optional[VerifiedAccessEndpointId], default:None) –The ID of the Verified Access endpoint.
-
policy_enabled(Optional[Boolean], default:None) –The status of the Verified Access policy.
-
policy_document(Optional[String], default:None) –The Verified Access policy document.
-
client_token(Optional[String], default:None) –A unique, case-sensitive token that you provide to ensure idempotency of your modification request. For more information, see Ensuring idempotency.
-
dry_run(Optional[Boolean], default:None) –Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it isUnauthorizedOperation. -
sse_specification(Optional[VerifiedAccessSseSpecificationRequest], default:None) –The options for server side encryption.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/ec2.py
53351 53352 53353 53354 53355 53356 53357 53358 53359 53360 53361 53362 53363 53364 53365 53366 53367 53368 53369 53370 53371 53372 53373 53374 53375 53376 53377 53378 53379 53380 53381 53382 53383 53384 53385 53386 53387 53388 53389 53390 53391 53392 53393 53394 53395 53396 53397 53398 53399 53400 53401 53402 53403 53404 53405 53406 53407 53408 53409 53410 53411 53412 53413 53414 53415 53416 53417 53418 | |