modify_vpc_endpoint_service_payer_responsibility

EC2.Client.modify_vpc_endpoint_service_payer_responsibility(**kwargs)

Modifies the payer responsibility for your VPC endpoint service.

See also: AWS API Documentation

Request Syntax

response = client.modify_vpc_endpoint_service_payer_responsibility(
    DryRun=True|False,
    ServiceId='string',
    PayerResponsibility='ServiceOwner'
)
Parameters
  • DryRun (boolean) -- 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 (string) --

    [REQUIRED]

    The ID of the service.

  • PayerResponsibility (string) --

    [REQUIRED]

    The entity that is responsible for the endpoint costs. The default is the endpoint owner. If you set the payer responsibility to the service owner, you cannot set it back to the endpoint owner.

Return type

dict

Returns

Response Syntax

{
    'ReturnValue': True|False
}

Response Structure

  • (dict) --

    • ReturnValue (boolean) --

      Returns true if the request succeeds; otherwise, it returns an error.