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.CreateCluster

Description

Create a new cluster. A cluster is a set of redundant Regional endpoints against which you can run API calls to update or get the state of one or more routing controls. Each cluster has a name, status, Amazon Resource Name (ARN), and an array of the five cluster endpoints (one for each supported Amazon Web Services Region) that you can use with API calls to the cluster data plane.

Synopsis

Creating a Request

data CreateCluster Source #

Creates a cluster.

See: newCreateCluster smart constructor.

Constructors

CreateCluster' 

Fields

Instances

Instances details
ToJSON CreateCluster Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.CreateCluster

ToHeaders CreateCluster Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.CreateCluster

ToPath CreateCluster Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.CreateCluster

ToQuery CreateCluster Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.CreateCluster

AWSRequest CreateCluster Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.CreateCluster

Associated Types

type AWSResponse CreateCluster #

Generic CreateCluster Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.CreateCluster

Associated Types

type Rep CreateCluster :: Type -> Type #

Read CreateCluster Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.CreateCluster

Show CreateCluster Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.CreateCluster

NFData CreateCluster Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.CreateCluster

Methods

rnf :: CreateCluster -> () #

Eq CreateCluster Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.CreateCluster

Hashable CreateCluster Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.CreateCluster

type AWSResponse CreateCluster Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.CreateCluster

type Rep CreateCluster Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.CreateCluster

type Rep CreateCluster = D1 ('MetaData "CreateCluster" "Amazonka.Route53RecoveryControlConfig.CreateCluster" "amazonka-route53-recovery-control-config-2.0-EdxrPdjlafWED9VxY6nLf4" 'False) (C1 ('MetaCons "CreateCluster'" '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 "clusterName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newCreateCluster Source #

Create a value of CreateCluster 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:CreateCluster', createCluster_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:CreateCluster', createCluster_tags - The tags associated with the cluster.

$sel:clusterName:CreateCluster', createCluster_clusterName - The name of the cluster.

Request Lenses

createCluster_clientToken :: Lens' CreateCluster (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.

createCluster_tags :: Lens' CreateCluster (Maybe (HashMap Text Text)) Source #

The tags associated with the cluster.

Destructuring the Response

data CreateClusterResponse Source #

See: newCreateClusterResponse smart constructor.

Constructors

CreateClusterResponse' 

Fields

Instances

Instances details
Generic CreateClusterResponse Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.CreateCluster

Associated Types

type Rep CreateClusterResponse :: Type -> Type #

Read CreateClusterResponse Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.CreateCluster

Show CreateClusterResponse Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.CreateCluster

NFData CreateClusterResponse Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.CreateCluster

Methods

rnf :: CreateClusterResponse -> () #

Eq CreateClusterResponse Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.CreateCluster

type Rep CreateClusterResponse Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.CreateCluster

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

newCreateClusterResponse Source #

Create a value of CreateClusterResponse 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:cluster:CreateClusterResponse', createClusterResponse_cluster - The cluster that was created.

$sel:httpStatus:CreateClusterResponse', createClusterResponse_httpStatus - The response's http status code.

Response Lenses