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 |
Modifies the specified local gateway route.
Synopsis
- data ModifyLocalGatewayRoute = ModifyLocalGatewayRoute' {}
- newModifyLocalGatewayRoute :: Text -> Text -> ModifyLocalGatewayRoute
- modifyLocalGatewayRoute_dryRun :: Lens' ModifyLocalGatewayRoute (Maybe Bool)
- modifyLocalGatewayRoute_localGatewayVirtualInterfaceGroupId :: Lens' ModifyLocalGatewayRoute (Maybe Text)
- modifyLocalGatewayRoute_networkInterfaceId :: Lens' ModifyLocalGatewayRoute (Maybe Text)
- modifyLocalGatewayRoute_destinationCidrBlock :: Lens' ModifyLocalGatewayRoute Text
- modifyLocalGatewayRoute_localGatewayRouteTableId :: Lens' ModifyLocalGatewayRoute Text
- data ModifyLocalGatewayRouteResponse = ModifyLocalGatewayRouteResponse' {}
- newModifyLocalGatewayRouteResponse :: Int -> ModifyLocalGatewayRouteResponse
- modifyLocalGatewayRouteResponse_route :: Lens' ModifyLocalGatewayRouteResponse (Maybe LocalGatewayRoute)
- modifyLocalGatewayRouteResponse_httpStatus :: Lens' ModifyLocalGatewayRouteResponse Int
Creating a Request
data ModifyLocalGatewayRoute Source #
See: newModifyLocalGatewayRoute
smart constructor.
ModifyLocalGatewayRoute' | |
|
Instances
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_localGatewayVirtualInterfaceGroupId :: Lens' ModifyLocalGatewayRoute (Maybe Text) Source #
The ID of the virtual interface group.
modifyLocalGatewayRoute_networkInterfaceId :: Lens' ModifyLocalGatewayRoute (Maybe Text) Source #
The ID of the network interface.
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.
modifyLocalGatewayRoute_localGatewayRouteTableId :: Lens' ModifyLocalGatewayRoute Text Source #
The ID of the local gateway route table.
Destructuring the Response
data ModifyLocalGatewayRouteResponse Source #
See: newModifyLocalGatewayRouteResponse
smart constructor.
ModifyLocalGatewayRouteResponse' | |
|
Instances
Generic ModifyLocalGatewayRouteResponse Source # | |
Read ModifyLocalGatewayRouteResponse Source # | |
Show ModifyLocalGatewayRouteResponse Source # | |
Defined in Amazonka.EC2.ModifyLocalGatewayRoute | |
NFData ModifyLocalGatewayRouteResponse Source # | |
Defined in Amazonka.EC2.ModifyLocalGatewayRoute rnf :: ModifyLocalGatewayRouteResponse -> () # | |
Eq ModifyLocalGatewayRouteResponse Source # | |
type Rep ModifyLocalGatewayRouteResponse Source # | |
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
modifyLocalGatewayRouteResponse_route :: Lens' ModifyLocalGatewayRouteResponse (Maybe LocalGatewayRoute) Source #
Information about the local gateway route table.
modifyLocalGatewayRouteResponse_httpStatus :: Lens' ModifyLocalGatewayRouteResponse Int Source #
The response's http status code.