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 |
Creates a new control panel. A control panel represents a group of routing controls that can be changed together in a single transaction. You can use a control panel to centrally view the operational status of applications across your organization, and trigger multi-app failovers in a single transaction, for example, to fail over an Availability Zone or AWS Region.
Synopsis
- data CreateControlPanel = CreateControlPanel' {}
- newCreateControlPanel :: Text -> Text -> CreateControlPanel
- createControlPanel_clientToken :: Lens' CreateControlPanel (Maybe Text)
- createControlPanel_clusterArn :: Lens' CreateControlPanel Text
- createControlPanel_controlPanelName :: Lens' CreateControlPanel Text
- data CreateControlPanelResponse = CreateControlPanelResponse' {}
- newCreateControlPanelResponse :: Int -> CreateControlPanelResponse
- createControlPanelResponse_controlPanel :: Lens' CreateControlPanelResponse (Maybe ControlPanel)
- createControlPanelResponse_httpStatus :: Lens' CreateControlPanelResponse Int
Creating a Request
data CreateControlPanel Source #
The details of the control panel that you're creating.
See: newCreateControlPanel
smart constructor.
CreateControlPanel' | |
|
Instances
newCreateControlPanel Source #
:: Text | |
-> Text | |
-> CreateControlPanel |
Create a value of CreateControlPanel
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:clientToken:CreateControlPanel'
, createControlPanel_clientToken
- Unique client idempotency token.
$sel:clusterArn:CreateControlPanel'
, createControlPanel_clusterArn
- The Amazon Resource Name (ARN) of the cluster for the control panel.
$sel:controlPanelName:CreateControlPanel'
, createControlPanel_controlPanelName
- The name of the control panel.
Request Lenses
createControlPanel_clientToken :: Lens' CreateControlPanel (Maybe Text) Source #
Unique client idempotency token.
createControlPanel_clusterArn :: Lens' CreateControlPanel Text Source #
The Amazon Resource Name (ARN) of the cluster for the control panel.
createControlPanel_controlPanelName :: Lens' CreateControlPanel Text Source #
The name of the control panel.
Destructuring the Response
data CreateControlPanelResponse Source #
See: newCreateControlPanelResponse
smart constructor.
CreateControlPanelResponse' | |
|
Instances
newCreateControlPanelResponse Source #
Create a value of CreateControlPanelResponse
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:CreateControlPanelResponse'
, createControlPanelResponse_controlPanel
- Information about a control panel.
$sel:httpStatus:CreateControlPanelResponse'
, createControlPanelResponse_httpStatus
- The response's http status code.
Response Lenses
createControlPanelResponse_controlPanel :: Lens' CreateControlPanelResponse (Maybe ControlPanel) Source #
Information about a control panel.
createControlPanelResponse_httpStatus :: Lens' CreateControlPanelResponse Int Source #
The response's http status code.