| 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 |
Amazonka.Route53RecoveryControlConfig.UpdateControlPanel
Description
Updates a control panel. The only update you can make to a control panel is to change the name of the control panel.
Synopsis
- data UpdateControlPanel = UpdateControlPanel' {}
- newUpdateControlPanel :: Text -> Text -> UpdateControlPanel
- updateControlPanel_controlPanelArn :: Lens' UpdateControlPanel Text
- updateControlPanel_controlPanelName :: Lens' UpdateControlPanel Text
- data UpdateControlPanelResponse = UpdateControlPanelResponse' {}
- newUpdateControlPanelResponse :: Int -> UpdateControlPanelResponse
- updateControlPanelResponse_controlPanel :: Lens' UpdateControlPanelResponse (Maybe ControlPanel)
- updateControlPanelResponse_httpStatus :: Lens' UpdateControlPanelResponse Int
Creating a Request
data UpdateControlPanel Source #
The details of the control panel that you're updating.
See: newUpdateControlPanel smart constructor.
Constructors
| UpdateControlPanel' | |
Fields
| |
Instances
newUpdateControlPanel Source #
Arguments
| :: Text | |
| -> Text | |
| -> UpdateControlPanel |
Create a value of UpdateControlPanel 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:
UpdateControlPanel, updateControlPanel_controlPanelArn - The Amazon Resource Name (ARN) of the control panel.
$sel:controlPanelName:UpdateControlPanel', updateControlPanel_controlPanelName - The name of the control panel.
Request Lenses
updateControlPanel_controlPanelArn :: Lens' UpdateControlPanel Text Source #
The Amazon Resource Name (ARN) of the control panel.
updateControlPanel_controlPanelName :: Lens' UpdateControlPanel Text Source #
The name of the control panel.
Destructuring the Response
data UpdateControlPanelResponse Source #
See: newUpdateControlPanelResponse smart constructor.
Constructors
| UpdateControlPanelResponse' | |
Fields
| |
Instances
newUpdateControlPanelResponse Source #
Create a value of UpdateControlPanelResponse 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:controlPanel:UpdateControlPanelResponse', updateControlPanelResponse_controlPanel - The control panel to update.
$sel:httpStatus:UpdateControlPanelResponse', updateControlPanelResponse_httpStatus - The response's http status code.
Response Lenses
updateControlPanelResponse_controlPanel :: Lens' UpdateControlPanelResponse (Maybe ControlPanel) Source #
The control panel to update.
updateControlPanelResponse_httpStatus :: Lens' UpdateControlPanelResponse Int Source #
The response's http status code.