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

Description

Modifies the specified transit gateway. When you modify a transit gateway, the modified options are applied to new transit gateway attachments only. Your existing transit gateway attachments are not modified.

Synopsis

Creating a Request

data ModifyTransitGateway Source #

See: newModifyTransitGateway smart constructor.

Constructors

ModifyTransitGateway' 

Fields

Instances

Instances details
ToHeaders ModifyTransitGateway Source # 
Instance details

Defined in Amazonka.EC2.ModifyTransitGateway

ToPath ModifyTransitGateway Source # 
Instance details

Defined in Amazonka.EC2.ModifyTransitGateway

ToQuery ModifyTransitGateway Source # 
Instance details

Defined in Amazonka.EC2.ModifyTransitGateway

AWSRequest ModifyTransitGateway Source # 
Instance details

Defined in Amazonka.EC2.ModifyTransitGateway

Associated Types

type AWSResponse ModifyTransitGateway #

Generic ModifyTransitGateway Source # 
Instance details

Defined in Amazonka.EC2.ModifyTransitGateway

Associated Types

type Rep ModifyTransitGateway :: Type -> Type #

Read ModifyTransitGateway Source # 
Instance details

Defined in Amazonka.EC2.ModifyTransitGateway

Show ModifyTransitGateway Source # 
Instance details

Defined in Amazonka.EC2.ModifyTransitGateway

NFData ModifyTransitGateway Source # 
Instance details

Defined in Amazonka.EC2.ModifyTransitGateway

Methods

rnf :: ModifyTransitGateway -> () #

Eq ModifyTransitGateway Source # 
Instance details

Defined in Amazonka.EC2.ModifyTransitGateway

Hashable ModifyTransitGateway Source # 
Instance details

Defined in Amazonka.EC2.ModifyTransitGateway

type AWSResponse ModifyTransitGateway Source # 
Instance details

Defined in Amazonka.EC2.ModifyTransitGateway

type Rep ModifyTransitGateway Source # 
Instance details

Defined in Amazonka.EC2.ModifyTransitGateway

type Rep ModifyTransitGateway = D1 ('MetaData "ModifyTransitGateway" "Amazonka.EC2.ModifyTransitGateway" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "ModifyTransitGateway'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "description") '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 ModifyTransitGatewayOptions)) :*: S1 ('MetaSel ('Just "transitGatewayId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newModifyTransitGateway Source #

Create a value of ModifyTransitGateway 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:

ModifyTransitGateway, modifyTransitGateway_description - The description for the transit gateway.

$sel:dryRun:ModifyTransitGateway', modifyTransitGateway_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.

ModifyTransitGateway, modifyTransitGateway_options - The options to modify.

ModifyTransitGateway, modifyTransitGateway_transitGatewayId - The ID of the transit gateway.

Request Lenses

modifyTransitGateway_description :: Lens' ModifyTransitGateway (Maybe Text) Source #

The description for the transit gateway.

modifyTransitGateway_dryRun :: Lens' ModifyTransitGateway (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 ModifyTransitGatewayResponse Source #

See: newModifyTransitGatewayResponse smart constructor.

Constructors

ModifyTransitGatewayResponse' 

Fields

Instances

Instances details
Generic ModifyTransitGatewayResponse Source # 
Instance details

Defined in Amazonka.EC2.ModifyTransitGateway

Associated Types

type Rep ModifyTransitGatewayResponse :: Type -> Type #

Read ModifyTransitGatewayResponse Source # 
Instance details

Defined in Amazonka.EC2.ModifyTransitGateway

Show ModifyTransitGatewayResponse Source # 
Instance details

Defined in Amazonka.EC2.ModifyTransitGateway

NFData ModifyTransitGatewayResponse Source # 
Instance details

Defined in Amazonka.EC2.ModifyTransitGateway

Eq ModifyTransitGatewayResponse Source # 
Instance details

Defined in Amazonka.EC2.ModifyTransitGateway

type Rep ModifyTransitGatewayResponse Source # 
Instance details

Defined in Amazonka.EC2.ModifyTransitGateway

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

newModifyTransitGatewayResponse Source #

Create a value of ModifyTransitGatewayResponse 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:

ModifyTransitGatewayResponse, modifyTransitGatewayResponse_transitGateway - Information about the transit gateway.

$sel:httpStatus:ModifyTransitGatewayResponse', modifyTransitGatewayResponse_httpStatus - The response's http status code.

Response Lenses