modify_verified_access_endpoint_policy
async
¶
modify_verified_access_endpoint_policy(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = 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/async_ec2.py
54093 54094 54095 54096 54097 54098 54099 54100 54101 54102 54103 54104 54105 54106 54107 54108 54109 54110 54111 54112 54113 54114 54115 54116 54117 54118 54119 54120 54121 54122 54123 54124 54125 54126 54127 54128 54129 54130 54131 54132 54133 54134 54135 54136 54137 54138 54139 54140 54141 54142 54143 54144 54145 54146 54147 54148 54149 54150 54151 54152 54153 54154 54155 54156 54157 54158 54159 54160 54161 | |