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

Description

Deletes a transit gateway peering attachment.

Synopsis

Creating a Request

data DeleteTransitGatewayPeeringAttachment Source #

Constructors

DeleteTransitGatewayPeeringAttachment' 

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 DeleteTransitGatewayPeeringAttachment Source # 
Instance details

Defined in Amazonka.EC2.DeleteTransitGatewayPeeringAttachment

ToPath DeleteTransitGatewayPeeringAttachment Source # 
Instance details

Defined in Amazonka.EC2.DeleteTransitGatewayPeeringAttachment

ToQuery DeleteTransitGatewayPeeringAttachment Source # 
Instance details

Defined in Amazonka.EC2.DeleteTransitGatewayPeeringAttachment

AWSRequest DeleteTransitGatewayPeeringAttachment Source # 
Instance details

Defined in Amazonka.EC2.DeleteTransitGatewayPeeringAttachment

Generic DeleteTransitGatewayPeeringAttachment Source # 
Instance details

Defined in Amazonka.EC2.DeleteTransitGatewayPeeringAttachment

Read DeleteTransitGatewayPeeringAttachment Source # 
Instance details

Defined in Amazonka.EC2.DeleteTransitGatewayPeeringAttachment

Show DeleteTransitGatewayPeeringAttachment Source # 
Instance details

Defined in Amazonka.EC2.DeleteTransitGatewayPeeringAttachment

NFData DeleteTransitGatewayPeeringAttachment Source # 
Instance details

Defined in Amazonka.EC2.DeleteTransitGatewayPeeringAttachment

Eq DeleteTransitGatewayPeeringAttachment Source # 
Instance details

Defined in Amazonka.EC2.DeleteTransitGatewayPeeringAttachment

Hashable DeleteTransitGatewayPeeringAttachment Source # 
Instance details

Defined in Amazonka.EC2.DeleteTransitGatewayPeeringAttachment

type AWSResponse DeleteTransitGatewayPeeringAttachment Source # 
Instance details

Defined in Amazonka.EC2.DeleteTransitGatewayPeeringAttachment

type Rep DeleteTransitGatewayPeeringAttachment Source # 
Instance details

Defined in Amazonka.EC2.DeleteTransitGatewayPeeringAttachment

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

newDeleteTransitGatewayPeeringAttachment Source #

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

DeleteTransitGatewayPeeringAttachment, deleteTransitGatewayPeeringAttachment_transitGatewayAttachmentId - The ID of the transit gateway peering attachment.

Request Lenses

deleteTransitGatewayPeeringAttachment_dryRun :: Lens' DeleteTransitGatewayPeeringAttachment (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 DeleteTransitGatewayPeeringAttachmentResponse Source #

Constructors

DeleteTransitGatewayPeeringAttachmentResponse' 

Fields

Instances

Instances details
Generic DeleteTransitGatewayPeeringAttachmentResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteTransitGatewayPeeringAttachment

Read DeleteTransitGatewayPeeringAttachmentResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteTransitGatewayPeeringAttachment

Show DeleteTransitGatewayPeeringAttachmentResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteTransitGatewayPeeringAttachment

NFData DeleteTransitGatewayPeeringAttachmentResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteTransitGatewayPeeringAttachment

Eq DeleteTransitGatewayPeeringAttachmentResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteTransitGatewayPeeringAttachment

type Rep DeleteTransitGatewayPeeringAttachmentResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteTransitGatewayPeeringAttachment

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

Response Lenses