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

Description

Deletes the specified VPC attachment.

Synopsis

Creating a Request

data DeleteTransitGatewayVpcAttachment Source #

See: newDeleteTransitGatewayVpcAttachment smart constructor.

Constructors

DeleteTransitGatewayVpcAttachment' 

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

Instances

Instances details
ToHeaders DeleteTransitGatewayVpcAttachment Source # 
Instance details

Defined in Amazonka.EC2.DeleteTransitGatewayVpcAttachment

ToPath DeleteTransitGatewayVpcAttachment Source # 
Instance details

Defined in Amazonka.EC2.DeleteTransitGatewayVpcAttachment

ToQuery DeleteTransitGatewayVpcAttachment Source # 
Instance details

Defined in Amazonka.EC2.DeleteTransitGatewayVpcAttachment

AWSRequest DeleteTransitGatewayVpcAttachment Source # 
Instance details

Defined in Amazonka.EC2.DeleteTransitGatewayVpcAttachment

Generic DeleteTransitGatewayVpcAttachment Source # 
Instance details

Defined in Amazonka.EC2.DeleteTransitGatewayVpcAttachment

Associated Types

type Rep DeleteTransitGatewayVpcAttachment :: Type -> Type #

Read DeleteTransitGatewayVpcAttachment Source # 
Instance details

Defined in Amazonka.EC2.DeleteTransitGatewayVpcAttachment

Show DeleteTransitGatewayVpcAttachment Source # 
Instance details

Defined in Amazonka.EC2.DeleteTransitGatewayVpcAttachment

NFData DeleteTransitGatewayVpcAttachment Source # 
Instance details

Defined in Amazonka.EC2.DeleteTransitGatewayVpcAttachment

Eq DeleteTransitGatewayVpcAttachment Source # 
Instance details

Defined in Amazonka.EC2.DeleteTransitGatewayVpcAttachment

Hashable DeleteTransitGatewayVpcAttachment Source # 
Instance details

Defined in Amazonka.EC2.DeleteTransitGatewayVpcAttachment

type AWSResponse DeleteTransitGatewayVpcAttachment Source # 
Instance details

Defined in Amazonka.EC2.DeleteTransitGatewayVpcAttachment

type Rep DeleteTransitGatewayVpcAttachment Source # 
Instance details

Defined in Amazonka.EC2.DeleteTransitGatewayVpcAttachment

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

newDeleteTransitGatewayVpcAttachment Source #

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

DeleteTransitGatewayVpcAttachment, deleteTransitGatewayVpcAttachment_transitGatewayAttachmentId - The ID of the attachment.

Request Lenses

deleteTransitGatewayVpcAttachment_dryRun :: Lens' DeleteTransitGatewayVpcAttachment (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 DeleteTransitGatewayVpcAttachmentResponse Source #

Constructors

DeleteTransitGatewayVpcAttachmentResponse' 

Fields

Instances

Instances details
Generic DeleteTransitGatewayVpcAttachmentResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteTransitGatewayVpcAttachment

Read DeleteTransitGatewayVpcAttachmentResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteTransitGatewayVpcAttachment

Show DeleteTransitGatewayVpcAttachmentResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteTransitGatewayVpcAttachment

NFData DeleteTransitGatewayVpcAttachmentResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteTransitGatewayVpcAttachment

Eq DeleteTransitGatewayVpcAttachmentResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteTransitGatewayVpcAttachment

type Rep DeleteTransitGatewayVpcAttachmentResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteTransitGatewayVpcAttachment

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

Response Lenses