Modifies the billing account for VPC endpoint usage/charges¶
Description¶
Modifies the billing account for VPC endpoint usage/charges.
Usage¶
ec2_modify_vpc_endpoint_payer_responsibility(DryRun, ServiceId,
VpcEndpointId, PayerResponsibility, Scope)
Arguments¶
DryRun
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 is UnauthorizedOperation.
ServiceId
The ID of the VPC endpoint service.
VpcEndpointId
[required] The ID of the VPC endpoint.
PayerResponsibility
[required] The Amazon Web Services account to which the usage of VPC endpoint is charged.
Scope
[required] The scope of usage/charges for which the billing account is being modified.
Value¶
A list with the following syntax:
list(
VpcEndpointId = "string",
PayerResponsibilities = list(
list(
Scope = "vpc-endpoint-charges"|"resource-gateway-charges",
PayerResponsibilityType = "vpc-endpoint-account"|"resource-gateway-account"|"vpc-endpoint-service-account"
)
)
)