modify_vpc_endpoint_payer_responsibility
async
¶
modify_vpc_endpoint_payer_responsibility(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = None,
dry_run: Optional[Boolean] = None,
service_id: Optional[VpcEndpointServiceId] = None,
vpc_endpoint_id: Optional[VpcEndpointId] = None,
payer_responsibility: Optional[PayerResponsibilityType] = None,
scope: Optional[PayerResponsibilityScope] = None,
) -> ModifyVpcEndpointPayerResponsibilityResult
Modifies the billing account for VPC endpoint usage/charges.
Parameters:
-
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. -
service_id(Optional[VpcEndpointServiceId], default:None) –The ID of the VPC endpoint service.
-
vpc_endpoint_id(Optional[VpcEndpointId], default:None) –The ID of the VPC endpoint.
-
payer_responsibility(Optional[PayerResponsibilityType], default:None) –The Amazon Web Services account to which the usage of VPC endpoint is charged.
-
scope(Optional[PayerResponsibilityScope], default:None) –The scope of usage/charges for which the billing account is being modified.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/async_ec2.py
55136 55137 55138 55139 55140 55141 55142 55143 55144 55145 55146 55147 55148 55149 55150 55151 55152 55153 55154 55155 55156 55157 55158 55159 55160 55161 55162 55163 55164 55165 55166 55167 55168 55169 55170 55171 55172 55173 55174 55175 55176 55177 55178 55179 55180 55181 55182 55183 55184 55185 55186 55187 55188 55189 55190 55191 55192 55193 55194 55195 55196 55197 55198 55199 55200 55201 55202 55203 | |