libZSservicesZSamazonka-route53-recovery-control-configZSamazonka-route53-recovery-control-config
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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 Amazon Route 53 Application Recovery Controller cluster data plane.

Synopsis

Creating a Request

data CreateCluster Source #

Creates a cluster.

See: newCreateCluster smart constructor.

Constructors

CreateCluster' 

Fields

Instances

Instances details
Eq CreateCluster Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.CreateCluster

Read CreateCluster Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.CreateCluster

Show CreateCluster Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.CreateCluster

Generic CreateCluster Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.CreateCluster

Associated Types

type Rep CreateCluster :: Type -> Type #

NFData CreateCluster Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.CreateCluster

Methods

rnf :: CreateCluster -> () #

Hashable CreateCluster Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.CreateCluster

ToJSON CreateCluster Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.CreateCluster

AWSRequest CreateCluster Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.CreateCluster

Associated Types

type AWSResponse 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

type Rep CreateCluster Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.CreateCluster

type Rep CreateCluster = D1 ('MetaData "CreateCluster" "Amazonka.Route53RecoveryControlConfig.CreateCluster" "libZSservicesZSamazonka-route53-recovery-control-configZSamazonka-route53-recovery-control-config" 'False) (C1 ('MetaCons "CreateCluster'" 'PrefixI 'True) (S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "clusterName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse CreateCluster Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.CreateCluster

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 - Unique client idempotency token.

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

Request Lenses

createCluster_clientToken :: Lens' CreateCluster (Maybe Text) Source #

Unique client idempotency token.

Destructuring the Response

data CreateClusterResponse Source #

See: newCreateClusterResponse smart constructor.

Constructors

CreateClusterResponse' 

Fields

Instances

Instances details
Eq CreateClusterResponse Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.CreateCluster

Read CreateClusterResponse Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.CreateCluster

Show CreateClusterResponse Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.CreateCluster

Generic CreateClusterResponse Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.CreateCluster

Associated Types

type Rep CreateClusterResponse :: Type -> Type #

NFData CreateClusterResponse Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.CreateCluster

Methods

rnf :: CreateClusterResponse -> () #

type Rep CreateClusterResponse Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.CreateCluster

type Rep CreateClusterResponse = D1 ('MetaData "CreateClusterResponse" "Amazonka.Route53RecoveryControlConfig.CreateCluster" "libZSservicesZSamazonka-route53-recovery-control-configZSamazonka-route53-recovery-control-config" '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