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'
)
DryRunOperation
. Otherwise, it is UnauthorizedOperation
.[REQUIRED]
The ID of the service.
[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.
dict
Response Syntax
{
'ReturnValue': True|False
}
Response Structure
(dict) --
ReturnValue (boolean) --
Returns true
if the request succeeds; otherwise, it returns an error.