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

Description

Accepts a transit gateway peering attachment request. The peering attachment must be in the pendingAcceptance state.

Synopsis

Creating a Request

data AcceptTransitGatewayPeeringAttachment Source #

Constructors

AcceptTransitGatewayPeeringAttachment' 

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

Instances

Instances details
ToHeaders AcceptTransitGatewayPeeringAttachment Source # 
Instance details

Defined in Amazonka.EC2.AcceptTransitGatewayPeeringAttachment

ToPath AcceptTransitGatewayPeeringAttachment Source # 
Instance details

Defined in Amazonka.EC2.AcceptTransitGatewayPeeringAttachment

ToQuery AcceptTransitGatewayPeeringAttachment Source # 
Instance details

Defined in Amazonka.EC2.AcceptTransitGatewayPeeringAttachment

AWSRequest AcceptTransitGatewayPeeringAttachment Source # 
Instance details

Defined in Amazonka.EC2.AcceptTransitGatewayPeeringAttachment

Generic AcceptTransitGatewayPeeringAttachment Source # 
Instance details

Defined in Amazonka.EC2.AcceptTransitGatewayPeeringAttachment

Read AcceptTransitGatewayPeeringAttachment Source # 
Instance details

Defined in Amazonka.EC2.AcceptTransitGatewayPeeringAttachment

Show AcceptTransitGatewayPeeringAttachment Source # 
Instance details

Defined in Amazonka.EC2.AcceptTransitGatewayPeeringAttachment

NFData AcceptTransitGatewayPeeringAttachment Source # 
Instance details

Defined in Amazonka.EC2.AcceptTransitGatewayPeeringAttachment

Eq AcceptTransitGatewayPeeringAttachment Source # 
Instance details

Defined in Amazonka.EC2.AcceptTransitGatewayPeeringAttachment

Hashable AcceptTransitGatewayPeeringAttachment Source # 
Instance details

Defined in Amazonka.EC2.AcceptTransitGatewayPeeringAttachment

type AWSResponse AcceptTransitGatewayPeeringAttachment Source # 
Instance details

Defined in Amazonka.EC2.AcceptTransitGatewayPeeringAttachment

type Rep AcceptTransitGatewayPeeringAttachment Source # 
Instance details

Defined in Amazonka.EC2.AcceptTransitGatewayPeeringAttachment

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

newAcceptTransitGatewayPeeringAttachment Source #

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

AcceptTransitGatewayPeeringAttachment, acceptTransitGatewayPeeringAttachment_transitGatewayAttachmentId - The ID of the transit gateway attachment.

Request Lenses

acceptTransitGatewayPeeringAttachment_dryRun :: Lens' AcceptTransitGatewayPeeringAttachment (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 AcceptTransitGatewayPeeringAttachmentResponse Source #

Constructors

AcceptTransitGatewayPeeringAttachmentResponse' 

Fields

Instances

Instances details
Generic AcceptTransitGatewayPeeringAttachmentResponse Source # 
Instance details

Defined in Amazonka.EC2.AcceptTransitGatewayPeeringAttachment

Read AcceptTransitGatewayPeeringAttachmentResponse Source # 
Instance details

Defined in Amazonka.EC2.AcceptTransitGatewayPeeringAttachment

Show AcceptTransitGatewayPeeringAttachmentResponse Source # 
Instance details

Defined in Amazonka.EC2.AcceptTransitGatewayPeeringAttachment

NFData AcceptTransitGatewayPeeringAttachmentResponse Source # 
Instance details

Defined in Amazonka.EC2.AcceptTransitGatewayPeeringAttachment

Eq AcceptTransitGatewayPeeringAttachmentResponse Source # 
Instance details

Defined in Amazonka.EC2.AcceptTransitGatewayPeeringAttachment

type Rep AcceptTransitGatewayPeeringAttachmentResponse Source # 
Instance details

Defined in Amazonka.EC2.AcceptTransitGatewayPeeringAttachment

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

Response Lenses