Skip to content

EC2  >  Operations  >  modify_vpc_endpoint_payer_responsibility

modify_vpc_endpoint_payer_responsibility

Operation

modify_vpc_endpoint_payer_responsibility async

modify_vpc_endpoint_payer_responsibility(input: ModifyVpcEndpointPayerResponsibilityInput, plugins: list[Plugin] | None = None) -> ModifyVpcEndpointPayerResponsibilityOutput

Modifies the billing account for VPC endpoint usage/charges.

Parameters:

Name Type Description Default
input ModifyVpcEndpointPayerResponsibilityInput

An instance of ModifyVpcEndpointPayerResponsibilityInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
ModifyVpcEndpointPayerResponsibilityOutput

An instance of ModifyVpcEndpointPayerResponsibilityOutput.

Input

ModifyVpcEndpointPayerResponsibilityInput dataclass

Bases: _SerdeShape

Dataclass for ModifyVpcEndpointPayerResponsibilityInput structure.

Attributes

dry_run class-attribute instance-attribute
dry_run: bool | 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 is UnauthorizedOperation.

payer_responsibility class-attribute instance-attribute
payer_responsibility: str | None = ...

The Amazon Web Services account to which the usage of VPC endpoint is charged.

scope class-attribute instance-attribute
scope: str | None = ...

The scope of usage/charges for which the billing account is being modified.

service_id class-attribute instance-attribute
service_id: str | None = ...

The ID of the VPC endpoint service.

vpc_endpoint_id class-attribute instance-attribute
vpc_endpoint_id: str | None = ...

The ID of the VPC endpoint.

Output

ModifyVpcEndpointPayerResponsibilityOutput dataclass

Bases: _SerdeShape

Dataclass for ModifyVpcEndpointPayerResponsibilityOutput structure.

Attributes

payer_responsibilities class-attribute instance-attribute
payer_responsibilities: list[PayerResponsibilityEntry] | None = ...

The payer responsibility settings for the VPC endpoint.

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.

vpc_endpoint_id class-attribute instance-attribute
vpc_endpoint_id: str | None = ...

The ID of the VPC endpoint.