modify_vpc_endpoint_payer_responsibility
¶
modify_vpc_endpoint_payer_responsibility(
*,
config_overrides: Optional[EC2ClientConfig] = 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/ec2.py
54380 54381 54382 54383 54384 54385 54386 54387 54388 54389 54390 54391 54392 54393 54394 54395 54396 54397 54398 54399 54400 54401 54402 54403 54404 54405 54406 54407 54408 54409 54410 54411 54412 54413 54414 54415 54416 54417 54418 54419 54420 54421 54422 54423 54424 54425 54426 54427 54428 54429 54430 54431 54432 54433 54434 54435 54436 54437 54438 54439 54440 54441 54442 54443 54444 54445 54446 | |