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 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
- data ModifyTransitGateway = ModifyTransitGateway' {}
- newModifyTransitGateway :: Text -> ModifyTransitGateway
- modifyTransitGateway_description :: Lens' ModifyTransitGateway (Maybe Text)
- modifyTransitGateway_dryRun :: Lens' ModifyTransitGateway (Maybe Bool)
- modifyTransitGateway_options :: Lens' ModifyTransitGateway (Maybe ModifyTransitGatewayOptions)
- modifyTransitGateway_transitGatewayId :: Lens' ModifyTransitGateway Text
- data ModifyTransitGatewayResponse = ModifyTransitGatewayResponse' {}
- newModifyTransitGatewayResponse :: Int -> ModifyTransitGatewayResponse
- modifyTransitGatewayResponse_transitGateway :: Lens' ModifyTransitGatewayResponse (Maybe TransitGateway)
- modifyTransitGatewayResponse_httpStatus :: Lens' ModifyTransitGatewayResponse Int
Creating a Request
data ModifyTransitGateway Source #
See: newModifyTransitGateway
smart constructor.
ModifyTransitGateway' | |
|
Instances
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
.
modifyTransitGateway_options :: Lens' ModifyTransitGateway (Maybe ModifyTransitGatewayOptions) Source #
The options to modify.
modifyTransitGateway_transitGatewayId :: Lens' ModifyTransitGateway Text Source #
The ID of the transit gateway.
Destructuring the Response
data ModifyTransitGatewayResponse Source #
See: newModifyTransitGatewayResponse
smart constructor.
ModifyTransitGatewayResponse' | |
|
Instances
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
modifyTransitGatewayResponse_transitGateway :: Lens' ModifyTransitGatewayResponse (Maybe TransitGateway) Source #
Information about the transit gateway.
modifyTransitGatewayResponse_httpStatus :: Lens' ModifyTransitGatewayResponse Int Source #
The response's http status code.