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

Description

Modifies the specified VPC attachment.

Synopsis

Creating a Request

data ModifyTransitGatewayVpcAttachment Source #

See: newModifyTransitGatewayVpcAttachment smart constructor.

Constructors

ModifyTransitGatewayVpcAttachment' 

Fields

Instances

Instances details
ToHeaders ModifyTransitGatewayVpcAttachment Source # 
Instance details

Defined in Amazonka.EC2.ModifyTransitGatewayVpcAttachment

ToPath ModifyTransitGatewayVpcAttachment Source # 
Instance details

Defined in Amazonka.EC2.ModifyTransitGatewayVpcAttachment

ToQuery ModifyTransitGatewayVpcAttachment Source # 
Instance details

Defined in Amazonka.EC2.ModifyTransitGatewayVpcAttachment

AWSRequest ModifyTransitGatewayVpcAttachment Source # 
Instance details

Defined in Amazonka.EC2.ModifyTransitGatewayVpcAttachment

Generic ModifyTransitGatewayVpcAttachment Source # 
Instance details

Defined in Amazonka.EC2.ModifyTransitGatewayVpcAttachment

Associated Types

type Rep ModifyTransitGatewayVpcAttachment :: Type -> Type #

Read ModifyTransitGatewayVpcAttachment Source # 
Instance details

Defined in Amazonka.EC2.ModifyTransitGatewayVpcAttachment

Show ModifyTransitGatewayVpcAttachment Source # 
Instance details

Defined in Amazonka.EC2.ModifyTransitGatewayVpcAttachment

NFData ModifyTransitGatewayVpcAttachment Source # 
Instance details

Defined in Amazonka.EC2.ModifyTransitGatewayVpcAttachment

Eq ModifyTransitGatewayVpcAttachment Source # 
Instance details

Defined in Amazonka.EC2.ModifyTransitGatewayVpcAttachment

Hashable ModifyTransitGatewayVpcAttachment Source # 
Instance details

Defined in Amazonka.EC2.ModifyTransitGatewayVpcAttachment

type AWSResponse ModifyTransitGatewayVpcAttachment Source # 
Instance details

Defined in Amazonka.EC2.ModifyTransitGatewayVpcAttachment

type Rep ModifyTransitGatewayVpcAttachment Source # 
Instance details

Defined in Amazonka.EC2.ModifyTransitGatewayVpcAttachment

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

newModifyTransitGatewayVpcAttachment Source #

Create a value of ModifyTransitGatewayVpcAttachment 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:addSubnetIds:ModifyTransitGatewayVpcAttachment', modifyTransitGatewayVpcAttachment_addSubnetIds - The IDs of one or more subnets to add. You can specify at most one subnet per Availability Zone.

$sel:dryRun:ModifyTransitGatewayVpcAttachment', modifyTransitGatewayVpcAttachment_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.

ModifyTransitGatewayVpcAttachment, modifyTransitGatewayVpcAttachment_options - The new VPC attachment options.

$sel:removeSubnetIds:ModifyTransitGatewayVpcAttachment', modifyTransitGatewayVpcAttachment_removeSubnetIds - The IDs of one or more subnets to remove.

ModifyTransitGatewayVpcAttachment, modifyTransitGatewayVpcAttachment_transitGatewayAttachmentId - The ID of the attachment.

Request Lenses

modifyTransitGatewayVpcAttachment_addSubnetIds :: Lens' ModifyTransitGatewayVpcAttachment (Maybe [Text]) Source #

The IDs of one or more subnets to add. You can specify at most one subnet per Availability Zone.

modifyTransitGatewayVpcAttachment_dryRun :: Lens' ModifyTransitGatewayVpcAttachment (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 ModifyTransitGatewayVpcAttachmentResponse Source #

Constructors

ModifyTransitGatewayVpcAttachmentResponse' 

Fields

Instances

Instances details
Generic ModifyTransitGatewayVpcAttachmentResponse Source # 
Instance details

Defined in Amazonka.EC2.ModifyTransitGatewayVpcAttachment

Read ModifyTransitGatewayVpcAttachmentResponse Source # 
Instance details

Defined in Amazonka.EC2.ModifyTransitGatewayVpcAttachment

Show ModifyTransitGatewayVpcAttachmentResponse Source # 
Instance details

Defined in Amazonka.EC2.ModifyTransitGatewayVpcAttachment

NFData ModifyTransitGatewayVpcAttachmentResponse Source # 
Instance details

Defined in Amazonka.EC2.ModifyTransitGatewayVpcAttachment

Eq ModifyTransitGatewayVpcAttachmentResponse Source # 
Instance details

Defined in Amazonka.EC2.ModifyTransitGatewayVpcAttachment

type Rep ModifyTransitGatewayVpcAttachmentResponse Source # 
Instance details

Defined in Amazonka.EC2.ModifyTransitGatewayVpcAttachment

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

Response Lenses