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

Description

Replaces the specified route in the specified transit gateway route table.

Synopsis

Creating a Request

data ReplaceTransitGatewayRoute Source #

See: newReplaceTransitGatewayRoute smart constructor.

Constructors

ReplaceTransitGatewayRoute' 

Fields

  • blackhole :: Maybe Bool

    Indicates whether traffic matching this route is to be dropped.

  • 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 :: Maybe Text

    The ID of the attachment.

  • destinationCidrBlock :: Text

    The CIDR range used for the destination match. Routing decisions are based on the most specific match.

  • transitGatewayRouteTableId :: Text

    The ID of the route table.

Instances

Instances details
ToHeaders ReplaceTransitGatewayRoute Source # 
Instance details

Defined in Amazonka.EC2.ReplaceTransitGatewayRoute

ToPath ReplaceTransitGatewayRoute Source # 
Instance details

Defined in Amazonka.EC2.ReplaceTransitGatewayRoute

ToQuery ReplaceTransitGatewayRoute Source # 
Instance details

Defined in Amazonka.EC2.ReplaceTransitGatewayRoute

AWSRequest ReplaceTransitGatewayRoute Source # 
Instance details

Defined in Amazonka.EC2.ReplaceTransitGatewayRoute

Generic ReplaceTransitGatewayRoute Source # 
Instance details

Defined in Amazonka.EC2.ReplaceTransitGatewayRoute

Associated Types

type Rep ReplaceTransitGatewayRoute :: Type -> Type #

Read ReplaceTransitGatewayRoute Source # 
Instance details

Defined in Amazonka.EC2.ReplaceTransitGatewayRoute

Show ReplaceTransitGatewayRoute Source # 
Instance details

Defined in Amazonka.EC2.ReplaceTransitGatewayRoute

NFData ReplaceTransitGatewayRoute Source # 
Instance details

Defined in Amazonka.EC2.ReplaceTransitGatewayRoute

Eq ReplaceTransitGatewayRoute Source # 
Instance details

Defined in Amazonka.EC2.ReplaceTransitGatewayRoute

Hashable ReplaceTransitGatewayRoute Source # 
Instance details

Defined in Amazonka.EC2.ReplaceTransitGatewayRoute

type AWSResponse ReplaceTransitGatewayRoute Source # 
Instance details

Defined in Amazonka.EC2.ReplaceTransitGatewayRoute

type Rep ReplaceTransitGatewayRoute Source # 
Instance details

Defined in Amazonka.EC2.ReplaceTransitGatewayRoute

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

newReplaceTransitGatewayRoute Source #

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

ReplaceTransitGatewayRoute, replaceTransitGatewayRoute_blackhole - Indicates whether traffic matching this route is to be dropped.

$sel:dryRun:ReplaceTransitGatewayRoute', replaceTransitGatewayRoute_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.

ReplaceTransitGatewayRoute, replaceTransitGatewayRoute_transitGatewayAttachmentId - The ID of the attachment.

ReplaceTransitGatewayRoute, replaceTransitGatewayRoute_destinationCidrBlock - The CIDR range used for the destination match. Routing decisions are based on the most specific match.

ReplaceTransitGatewayRoute, replaceTransitGatewayRoute_transitGatewayRouteTableId - The ID of the route table.

Request Lenses

replaceTransitGatewayRoute_blackhole :: Lens' ReplaceTransitGatewayRoute (Maybe Bool) Source #

Indicates whether traffic matching this route is to be dropped.

replaceTransitGatewayRoute_dryRun :: Lens' ReplaceTransitGatewayRoute (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.

replaceTransitGatewayRoute_destinationCidrBlock :: Lens' ReplaceTransitGatewayRoute Text Source #

The CIDR range used for the destination match. Routing decisions are based on the most specific match.

Destructuring the Response

data ReplaceTransitGatewayRouteResponse Source #

Constructors

ReplaceTransitGatewayRouteResponse' 

Fields

Instances

Instances details
Generic ReplaceTransitGatewayRouteResponse Source # 
Instance details

Defined in Amazonka.EC2.ReplaceTransitGatewayRoute

Associated Types

type Rep ReplaceTransitGatewayRouteResponse :: Type -> Type #

Read ReplaceTransitGatewayRouteResponse Source # 
Instance details

Defined in Amazonka.EC2.ReplaceTransitGatewayRoute

Show ReplaceTransitGatewayRouteResponse Source # 
Instance details

Defined in Amazonka.EC2.ReplaceTransitGatewayRoute

NFData ReplaceTransitGatewayRouteResponse Source # 
Instance details

Defined in Amazonka.EC2.ReplaceTransitGatewayRoute

Eq ReplaceTransitGatewayRouteResponse Source # 
Instance details

Defined in Amazonka.EC2.ReplaceTransitGatewayRoute

type Rep ReplaceTransitGatewayRouteResponse Source # 
Instance details

Defined in Amazonka.EC2.ReplaceTransitGatewayRoute

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

newReplaceTransitGatewayRouteResponse Source #

Create a value of ReplaceTransitGatewayRouteResponse 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:ReplaceTransitGatewayRouteResponse', replaceTransitGatewayRouteResponse_route - Information about the modified route.

$sel:httpStatus:ReplaceTransitGatewayRouteResponse', replaceTransitGatewayRouteResponse_httpStatus - The response's http status code.

Response Lenses