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

Description

Modifies the specified local gateway route.

Synopsis

Creating a Request

data ModifyLocalGatewayRoute Source #

See: newModifyLocalGatewayRoute smart constructor.

Constructors

ModifyLocalGatewayRoute' 

Fields

Instances

Instances details
ToHeaders ModifyLocalGatewayRoute Source # 
Instance details

Defined in Amazonka.EC2.ModifyLocalGatewayRoute

ToPath ModifyLocalGatewayRoute Source # 
Instance details

Defined in Amazonka.EC2.ModifyLocalGatewayRoute

ToQuery ModifyLocalGatewayRoute Source # 
Instance details

Defined in Amazonka.EC2.ModifyLocalGatewayRoute

AWSRequest ModifyLocalGatewayRoute Source # 
Instance details

Defined in Amazonka.EC2.ModifyLocalGatewayRoute

Generic ModifyLocalGatewayRoute Source # 
Instance details

Defined in Amazonka.EC2.ModifyLocalGatewayRoute

Associated Types

type Rep ModifyLocalGatewayRoute :: Type -> Type #

Read ModifyLocalGatewayRoute Source # 
Instance details

Defined in Amazonka.EC2.ModifyLocalGatewayRoute

Show ModifyLocalGatewayRoute Source # 
Instance details

Defined in Amazonka.EC2.ModifyLocalGatewayRoute

NFData ModifyLocalGatewayRoute Source # 
Instance details

Defined in Amazonka.EC2.ModifyLocalGatewayRoute

Methods

rnf :: ModifyLocalGatewayRoute -> () #

Eq ModifyLocalGatewayRoute Source # 
Instance details

Defined in Amazonka.EC2.ModifyLocalGatewayRoute

Hashable ModifyLocalGatewayRoute Source # 
Instance details

Defined in Amazonka.EC2.ModifyLocalGatewayRoute

type AWSResponse ModifyLocalGatewayRoute Source # 
Instance details

Defined in Amazonka.EC2.ModifyLocalGatewayRoute

type Rep ModifyLocalGatewayRoute Source # 
Instance details

Defined in Amazonka.EC2.ModifyLocalGatewayRoute

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

newModifyLocalGatewayRoute Source #

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

ModifyLocalGatewayRoute, modifyLocalGatewayRoute_localGatewayVirtualInterfaceGroupId - The ID of the virtual interface group.

ModifyLocalGatewayRoute, modifyLocalGatewayRoute_networkInterfaceId - The ID of the network interface.

ModifyLocalGatewayRoute, modifyLocalGatewayRoute_destinationCidrBlock - The CIDR block used for destination matches. The value that you provide must match the CIDR of an existing route in the table.

ModifyLocalGatewayRoute, modifyLocalGatewayRoute_localGatewayRouteTableId - The ID of the local gateway route table.

Request Lenses

modifyLocalGatewayRoute_dryRun :: Lens' ModifyLocalGatewayRoute (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.

modifyLocalGatewayRoute_destinationCidrBlock :: Lens' ModifyLocalGatewayRoute Text Source #

The CIDR block used for destination matches. The value that you provide must match the CIDR of an existing route in the table.

Destructuring the Response

data ModifyLocalGatewayRouteResponse Source #

See: newModifyLocalGatewayRouteResponse smart constructor.

Constructors

ModifyLocalGatewayRouteResponse' 

Fields

Instances

Instances details
Generic ModifyLocalGatewayRouteResponse Source # 
Instance details

Defined in Amazonka.EC2.ModifyLocalGatewayRoute

Associated Types

type Rep ModifyLocalGatewayRouteResponse :: Type -> Type #

Read ModifyLocalGatewayRouteResponse Source # 
Instance details

Defined in Amazonka.EC2.ModifyLocalGatewayRoute

Show ModifyLocalGatewayRouteResponse Source # 
Instance details

Defined in Amazonka.EC2.ModifyLocalGatewayRoute

NFData ModifyLocalGatewayRouteResponse Source # 
Instance details

Defined in Amazonka.EC2.ModifyLocalGatewayRoute

Eq ModifyLocalGatewayRouteResponse Source # 
Instance details

Defined in Amazonka.EC2.ModifyLocalGatewayRoute

type Rep ModifyLocalGatewayRouteResponse Source # 
Instance details

Defined in Amazonka.EC2.ModifyLocalGatewayRoute

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

newModifyLocalGatewayRouteResponse Source #

Create a value of ModifyLocalGatewayRouteResponse 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:route:ModifyLocalGatewayRouteResponse', modifyLocalGatewayRouteResponse_route - Information about the local gateway route table.

$sel:httpStatus:ModifyLocalGatewayRouteResponse', modifyLocalGatewayRouteResponse_httpStatus - The response's http status code.

Response Lenses