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.RejectTransitGatewayPeeringAttachment

Description

Rejects a transit gateway peering attachment request.

Synopsis

Creating a Request

data RejectTransitGatewayPeeringAttachment Source #

Constructors

RejectTransitGatewayPeeringAttachment' 

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.

  • transitGatewayAttachmentId :: Text

    The ID of the transit gateway peering attachment.

Instances

Instances details
ToHeaders RejectTransitGatewayPeeringAttachment Source # 
Instance details

Defined in Amazonka.EC2.RejectTransitGatewayPeeringAttachment

ToPath RejectTransitGatewayPeeringAttachment Source # 
Instance details

Defined in Amazonka.EC2.RejectTransitGatewayPeeringAttachment

ToQuery RejectTransitGatewayPeeringAttachment Source # 
Instance details

Defined in Amazonka.EC2.RejectTransitGatewayPeeringAttachment

AWSRequest RejectTransitGatewayPeeringAttachment Source # 
Instance details

Defined in Amazonka.EC2.RejectTransitGatewayPeeringAttachment

Generic RejectTransitGatewayPeeringAttachment Source # 
Instance details

Defined in Amazonka.EC2.RejectTransitGatewayPeeringAttachment

Read RejectTransitGatewayPeeringAttachment Source # 
Instance details

Defined in Amazonka.EC2.RejectTransitGatewayPeeringAttachment

Show RejectTransitGatewayPeeringAttachment Source # 
Instance details

Defined in Amazonka.EC2.RejectTransitGatewayPeeringAttachment

NFData RejectTransitGatewayPeeringAttachment Source # 
Instance details

Defined in Amazonka.EC2.RejectTransitGatewayPeeringAttachment

Eq RejectTransitGatewayPeeringAttachment Source # 
Instance details

Defined in Amazonka.EC2.RejectTransitGatewayPeeringAttachment

Hashable RejectTransitGatewayPeeringAttachment Source # 
Instance details

Defined in Amazonka.EC2.RejectTransitGatewayPeeringAttachment

type AWSResponse RejectTransitGatewayPeeringAttachment Source # 
Instance details

Defined in Amazonka.EC2.RejectTransitGatewayPeeringAttachment

type Rep RejectTransitGatewayPeeringAttachment Source # 
Instance details

Defined in Amazonka.EC2.RejectTransitGatewayPeeringAttachment

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

newRejectTransitGatewayPeeringAttachment Source #

Create a value of RejectTransitGatewayPeeringAttachment 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:RejectTransitGatewayPeeringAttachment', rejectTransitGatewayPeeringAttachment_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.

RejectTransitGatewayPeeringAttachment, rejectTransitGatewayPeeringAttachment_transitGatewayAttachmentId - The ID of the transit gateway peering attachment.

Request Lenses

rejectTransitGatewayPeeringAttachment_dryRun :: Lens' RejectTransitGatewayPeeringAttachment (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.

Destructuring the Response

data RejectTransitGatewayPeeringAttachmentResponse Source #

Constructors

RejectTransitGatewayPeeringAttachmentResponse' 

Fields

Instances

Instances details
Generic RejectTransitGatewayPeeringAttachmentResponse Source # 
Instance details

Defined in Amazonka.EC2.RejectTransitGatewayPeeringAttachment

Read RejectTransitGatewayPeeringAttachmentResponse Source # 
Instance details

Defined in Amazonka.EC2.RejectTransitGatewayPeeringAttachment

Show RejectTransitGatewayPeeringAttachmentResponse Source # 
Instance details

Defined in Amazonka.EC2.RejectTransitGatewayPeeringAttachment

NFData RejectTransitGatewayPeeringAttachmentResponse Source # 
Instance details

Defined in Amazonka.EC2.RejectTransitGatewayPeeringAttachment

Eq RejectTransitGatewayPeeringAttachmentResponse Source # 
Instance details

Defined in Amazonka.EC2.RejectTransitGatewayPeeringAttachment

type Rep RejectTransitGatewayPeeringAttachmentResponse Source # 
Instance details

Defined in Amazonka.EC2.RejectTransitGatewayPeeringAttachment

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

Response Lenses