Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Replaces the specified route in the specified transit gateway route table.
Synopsis
- data ReplaceTransitGatewayRoute = ReplaceTransitGatewayRoute' {}
- newReplaceTransitGatewayRoute :: Text -> Text -> ReplaceTransitGatewayRoute
- replaceTransitGatewayRoute_blackhole :: Lens' ReplaceTransitGatewayRoute (Maybe Bool)
- replaceTransitGatewayRoute_dryRun :: Lens' ReplaceTransitGatewayRoute (Maybe Bool)
- replaceTransitGatewayRoute_transitGatewayAttachmentId :: Lens' ReplaceTransitGatewayRoute (Maybe Text)
- replaceTransitGatewayRoute_destinationCidrBlock :: Lens' ReplaceTransitGatewayRoute Text
- replaceTransitGatewayRoute_transitGatewayRouteTableId :: Lens' ReplaceTransitGatewayRoute Text
- data ReplaceTransitGatewayRouteResponse = ReplaceTransitGatewayRouteResponse' {}
- newReplaceTransitGatewayRouteResponse :: Int -> ReplaceTransitGatewayRouteResponse
- replaceTransitGatewayRouteResponse_route :: Lens' ReplaceTransitGatewayRouteResponse (Maybe TransitGatewayRoute)
- replaceTransitGatewayRouteResponse_httpStatus :: Lens' ReplaceTransitGatewayRouteResponse Int
Creating a Request
data ReplaceTransitGatewayRoute Source #
See: newReplaceTransitGatewayRoute
smart constructor.
ReplaceTransitGatewayRoute' | |
|
Instances
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_transitGatewayAttachmentId :: Lens' ReplaceTransitGatewayRoute (Maybe Text) Source #
The ID of the attachment.
replaceTransitGatewayRoute_destinationCidrBlock :: Lens' ReplaceTransitGatewayRoute Text Source #
The CIDR range used for the destination match. Routing decisions are based on the most specific match.
replaceTransitGatewayRoute_transitGatewayRouteTableId :: Lens' ReplaceTransitGatewayRoute Text Source #
The ID of the route table.
Destructuring the Response
data ReplaceTransitGatewayRouteResponse Source #
See: newReplaceTransitGatewayRouteResponse
smart constructor.
ReplaceTransitGatewayRouteResponse' | |
|
Instances
Generic ReplaceTransitGatewayRouteResponse Source # | |
Read ReplaceTransitGatewayRouteResponse Source # | |
Show ReplaceTransitGatewayRouteResponse Source # | |
NFData ReplaceTransitGatewayRouteResponse Source # | |
Defined in Amazonka.EC2.ReplaceTransitGatewayRoute rnf :: ReplaceTransitGatewayRouteResponse -> () # | |
Eq ReplaceTransitGatewayRouteResponse Source # | |
type Rep ReplaceTransitGatewayRouteResponse Source # | |
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
replaceTransitGatewayRouteResponse_route :: Lens' ReplaceTransitGatewayRouteResponse (Maybe TransitGatewayRoute) Source #
Information about the modified route.
replaceTransitGatewayRouteResponse_httpStatus :: Lens' ReplaceTransitGatewayRouteResponse Int Source #
The response's http status code.