amazonka-route53-recovery-control-config-2.0: Amazon Route53 Recovery Control Config SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Route53RecoveryControlConfig.CreateControlPanel

Description

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 Amazon Web Services Region.

Synopsis

Creating a Request

data CreateControlPanel Source #

The details of the control panel that you're creating.

See: newCreateControlPanel smart constructor.

Constructors

CreateControlPanel' 

Fields

  • clientToken :: Maybe Text

    A unique, case-sensitive string of up to 64 ASCII characters. To make an idempotent API request with an action, specify a client token in the request.

  • tags :: Maybe (HashMap Text Text)

    The tags associated with the control panel.

  • clusterArn :: Text

    The Amazon Resource Name (ARN) of the cluster for the control panel.

  • controlPanelName :: Text

    The name of the control panel.

Instances

Instances details
ToJSON CreateControlPanel Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.CreateControlPanel

ToHeaders CreateControlPanel Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.CreateControlPanel

ToPath CreateControlPanel Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.CreateControlPanel

ToQuery CreateControlPanel Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.CreateControlPanel

AWSRequest CreateControlPanel Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.CreateControlPanel

Associated Types

type AWSResponse CreateControlPanel #

Generic CreateControlPanel Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.CreateControlPanel

Associated Types

type Rep CreateControlPanel :: Type -> Type #

Read CreateControlPanel Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.CreateControlPanel

Show CreateControlPanel Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.CreateControlPanel

NFData CreateControlPanel Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.CreateControlPanel

Methods

rnf :: CreateControlPanel -> () #

Eq CreateControlPanel Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.CreateControlPanel

Hashable CreateControlPanel Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.CreateControlPanel

type AWSResponse CreateControlPanel Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.CreateControlPanel

type Rep CreateControlPanel Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.CreateControlPanel

type Rep CreateControlPanel = D1 ('MetaData "CreateControlPanel" "Amazonka.Route53RecoveryControlConfig.CreateControlPanel" "amazonka-route53-recovery-control-config-2.0-EdxrPdjlafWED9VxY6nLf4" 'False) (C1 ('MetaCons "CreateControlPanel'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))) :*: (S1 ('MetaSel ('Just "clusterArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "controlPanelName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newCreateControlPanel Source #

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 - A unique, case-sensitive string of up to 64 ASCII characters. To make an idempotent API request with an action, specify a client token in the request.

$sel:tags:CreateControlPanel', createControlPanel_tags - The tags associated with the control panel.

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 #

A unique, case-sensitive string of up to 64 ASCII characters. To make an idempotent API request with an action, specify a client token in the request.

createControlPanel_tags :: Lens' CreateControlPanel (Maybe (HashMap Text Text)) Source #

The tags associated with the control panel.

createControlPanel_clusterArn :: Lens' CreateControlPanel Text Source #

The Amazon Resource Name (ARN) of the cluster for the control panel.

Destructuring the Response

data CreateControlPanelResponse Source #

See: newCreateControlPanelResponse smart constructor.

Constructors

CreateControlPanelResponse' 

Fields

Instances

Instances details
Generic CreateControlPanelResponse Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.CreateControlPanel

Associated Types

type Rep CreateControlPanelResponse :: Type -> Type #

Read CreateControlPanelResponse Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.CreateControlPanel

Show CreateControlPanelResponse Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.CreateControlPanel

NFData CreateControlPanelResponse Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.CreateControlPanel

Eq CreateControlPanelResponse Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.CreateControlPanel

type Rep CreateControlPanelResponse Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.CreateControlPanel

type Rep CreateControlPanelResponse = D1 ('MetaData "CreateControlPanelResponse" "Amazonka.Route53RecoveryControlConfig.CreateControlPanel" "amazonka-route53-recovery-control-config-2.0-EdxrPdjlafWED9VxY6nLf4" 'False) (C1 ('MetaCons "CreateControlPanelResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "controlPanel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ControlPanel)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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