amazonka-ec2-2.0: Amazon Elastic Compute Cloud SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.EC2.ModifyVpcEndpointServicePayerResponsibility

Description

Modifies the payer responsibility for your VPC endpoint service.

Synopsis

Creating a Request

data ModifyVpcEndpointServicePayerResponsibility Source #

Constructors

ModifyVpcEndpointServicePayerResponsibility' 

Fields

  • dryRun :: Maybe Bool

    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 :: Text

    The ID of the service.

  • payerResponsibility :: PayerResponsibility

    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.

Instances

Instances details
ToHeaders ModifyVpcEndpointServicePayerResponsibility Source # 
Instance details

Defined in Amazonka.EC2.ModifyVpcEndpointServicePayerResponsibility

ToPath ModifyVpcEndpointServicePayerResponsibility Source # 
Instance details

Defined in Amazonka.EC2.ModifyVpcEndpointServicePayerResponsibility

ToQuery ModifyVpcEndpointServicePayerResponsibility Source # 
Instance details

Defined in Amazonka.EC2.ModifyVpcEndpointServicePayerResponsibility

AWSRequest ModifyVpcEndpointServicePayerResponsibility Source # 
Instance details

Defined in Amazonka.EC2.ModifyVpcEndpointServicePayerResponsibility

Generic ModifyVpcEndpointServicePayerResponsibility Source # 
Instance details

Defined in Amazonka.EC2.ModifyVpcEndpointServicePayerResponsibility

Read ModifyVpcEndpointServicePayerResponsibility Source # 
Instance details

Defined in Amazonka.EC2.ModifyVpcEndpointServicePayerResponsibility

Show ModifyVpcEndpointServicePayerResponsibility Source # 
Instance details

Defined in Amazonka.EC2.ModifyVpcEndpointServicePayerResponsibility

NFData ModifyVpcEndpointServicePayerResponsibility Source # 
Instance details

Defined in Amazonka.EC2.ModifyVpcEndpointServicePayerResponsibility

Eq ModifyVpcEndpointServicePayerResponsibility Source # 
Instance details

Defined in Amazonka.EC2.ModifyVpcEndpointServicePayerResponsibility

Hashable ModifyVpcEndpointServicePayerResponsibility Source # 
Instance details

Defined in Amazonka.EC2.ModifyVpcEndpointServicePayerResponsibility

type AWSResponse ModifyVpcEndpointServicePayerResponsibility Source # 
Instance details

Defined in Amazonka.EC2.ModifyVpcEndpointServicePayerResponsibility

type Rep ModifyVpcEndpointServicePayerResponsibility Source # 
Instance details

Defined in Amazonka.EC2.ModifyVpcEndpointServicePayerResponsibility

type Rep ModifyVpcEndpointServicePayerResponsibility = D1 ('MetaData "ModifyVpcEndpointServicePayerResponsibility" "Amazonka.EC2.ModifyVpcEndpointServicePayerResponsibility" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "ModifyVpcEndpointServicePayerResponsibility'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dryRun") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "serviceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "payerResponsibility") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PayerResponsibility))))

newModifyVpcEndpointServicePayerResponsibility Source #

Create a value of ModifyVpcEndpointServicePayerResponsibility with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:dryRun:ModifyVpcEndpointServicePayerResponsibility', modifyVpcEndpointServicePayerResponsibility_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.

ModifyVpcEndpointServicePayerResponsibility, modifyVpcEndpointServicePayerResponsibility_serviceId - The ID of the service.

ModifyVpcEndpointServicePayerResponsibility, modifyVpcEndpointServicePayerResponsibility_payerResponsibility - 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.

Request Lenses

modifyVpcEndpointServicePayerResponsibility_dryRun :: Lens' ModifyVpcEndpointServicePayerResponsibility (Maybe Bool) Source #

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.

modifyVpcEndpointServicePayerResponsibility_payerResponsibility :: Lens' ModifyVpcEndpointServicePayerResponsibility PayerResponsibility Source #

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.

Destructuring the Response

data ModifyVpcEndpointServicePayerResponsibilityResponse Source #

Constructors

ModifyVpcEndpointServicePayerResponsibilityResponse' 

Fields

Instances

Instances details
Generic ModifyVpcEndpointServicePayerResponsibilityResponse Source # 
Instance details

Defined in Amazonka.EC2.ModifyVpcEndpointServicePayerResponsibility

Read ModifyVpcEndpointServicePayerResponsibilityResponse Source # 
Instance details

Defined in Amazonka.EC2.ModifyVpcEndpointServicePayerResponsibility

Show ModifyVpcEndpointServicePayerResponsibilityResponse Source # 
Instance details

Defined in Amazonka.EC2.ModifyVpcEndpointServicePayerResponsibility

NFData ModifyVpcEndpointServicePayerResponsibilityResponse Source # 
Instance details

Defined in Amazonka.EC2.ModifyVpcEndpointServicePayerResponsibility

Eq ModifyVpcEndpointServicePayerResponsibilityResponse Source # 
Instance details

Defined in Amazonka.EC2.ModifyVpcEndpointServicePayerResponsibility

type Rep ModifyVpcEndpointServicePayerResponsibilityResponse Source # 
Instance details

Defined in Amazonka.EC2.ModifyVpcEndpointServicePayerResponsibility

type Rep ModifyVpcEndpointServicePayerResponsibilityResponse = D1 ('MetaData "ModifyVpcEndpointServicePayerResponsibilityResponse" "Amazonka.EC2.ModifyVpcEndpointServicePayerResponsibility" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "ModifyVpcEndpointServicePayerResponsibilityResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "returnValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

Response Lenses