Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Updates the name of a current Direct Connect gateway.
Synopsis
- data UpdateDirectConnectGateway = UpdateDirectConnectGateway' {}
- newUpdateDirectConnectGateway :: Text -> Text -> UpdateDirectConnectGateway
- updateDirectConnectGateway_directConnectGatewayId :: Lens' UpdateDirectConnectGateway Text
- updateDirectConnectGateway_newDirectConnectGatewayName :: Lens' UpdateDirectConnectGateway Text
- data UpdateDirectConnectGatewayResponse = UpdateDirectConnectGatewayResponse' {}
- newUpdateDirectConnectGatewayResponse :: Int -> UpdateDirectConnectGatewayResponse
- updateDirectConnectGatewayResponse_directConnectGateway :: Lens' UpdateDirectConnectGatewayResponse (Maybe DirectConnectGateway)
- updateDirectConnectGatewayResponse_httpStatus :: Lens' UpdateDirectConnectGatewayResponse Int
Creating a Request
data UpdateDirectConnectGateway Source #
See: newUpdateDirectConnectGateway
smart constructor.
UpdateDirectConnectGateway' | |
|
Instances
newUpdateDirectConnectGateway Source #
:: Text | |
-> Text |
|
-> UpdateDirectConnectGateway |
Create a value of UpdateDirectConnectGateway
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:directConnectGatewayId:UpdateDirectConnectGateway'
, updateDirectConnectGateway_directConnectGatewayId
- The ID of the Direct Connect gateway to update.
$sel:newDirectConnectGatewayName':UpdateDirectConnectGateway'
, updateDirectConnectGateway_newDirectConnectGatewayName
- The new name for the Direct Connect gateway.
Request Lenses
updateDirectConnectGateway_directConnectGatewayId :: Lens' UpdateDirectConnectGateway Text Source #
The ID of the Direct Connect gateway to update.
updateDirectConnectGateway_newDirectConnectGatewayName :: Lens' UpdateDirectConnectGateway Text Source #
The new name for the Direct Connect gateway.
Destructuring the Response
data UpdateDirectConnectGatewayResponse Source #
See: newUpdateDirectConnectGatewayResponse
smart constructor.
UpdateDirectConnectGatewayResponse' | |
|
Instances
newUpdateDirectConnectGatewayResponse Source #
Create a value of UpdateDirectConnectGatewayResponse
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:directConnectGateway:UpdateDirectConnectGatewayResponse'
, updateDirectConnectGatewayResponse_directConnectGateway
- Undocumented member.
$sel:httpStatus:UpdateDirectConnectGatewayResponse'
, updateDirectConnectGatewayResponse_httpStatus
- The response's http status code.
Response Lenses
updateDirectConnectGatewayResponse_directConnectGateway :: Lens' UpdateDirectConnectGatewayResponse (Maybe DirectConnectGateway) Source #
Undocumented member.
updateDirectConnectGatewayResponse_httpStatus :: Lens' UpdateDirectConnectGatewayResponse Int Source #
The response's http status code.