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

Description

Returns an array of all the clusters in an account.

Synopsis

Creating a Request

data ListClusters Source #

See: newListClusters smart constructor.

Constructors

ListClusters' 

Fields

Instances

Instances details
Eq ListClusters Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.ListClusters

Read ListClusters Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.ListClusters

Show ListClusters Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.ListClusters

Generic ListClusters Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.ListClusters

Associated Types

type Rep ListClusters :: Type -> Type #

NFData ListClusters Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.ListClusters

Methods

rnf :: ListClusters -> () #

Hashable ListClusters Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.ListClusters

AWSRequest ListClusters Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.ListClusters

Associated Types

type AWSResponse ListClusters #

ToHeaders ListClusters Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.ListClusters

ToPath ListClusters Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.ListClusters

ToQuery ListClusters Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.ListClusters

type Rep ListClusters Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.ListClusters

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

Defined in Amazonka.Route53RecoveryControlConfig.ListClusters

newListClusters :: ListClusters Source #

Create a value of ListClusters 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:nextToken:ListClusters', listClusters_nextToken - The token that identifies which batch of results you want to see.

$sel:maxResults:ListClusters', listClusters_maxResults - The number of objects that you want to return with this call.

Request Lenses

listClusters_nextToken :: Lens' ListClusters (Maybe Text) Source #

The token that identifies which batch of results you want to see.

listClusters_maxResults :: Lens' ListClusters (Maybe Natural) Source #

The number of objects that you want to return with this call.

Destructuring the Response

data ListClustersResponse Source #

See: newListClustersResponse smart constructor.

Constructors

ListClustersResponse' 

Fields

Instances

Instances details
Eq ListClustersResponse Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.ListClusters

Read ListClustersResponse Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.ListClusters

Show ListClustersResponse Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.ListClusters

Generic ListClustersResponse Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.ListClusters

Associated Types

type Rep ListClustersResponse :: Type -> Type #

NFData ListClustersResponse Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.ListClusters

Methods

rnf :: ListClustersResponse -> () #

type Rep ListClustersResponse Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.ListClusters

type Rep ListClustersResponse = D1 ('MetaData "ListClustersResponse" "Amazonka.Route53RecoveryControlConfig.ListClusters" "libZSservicesZSamazonka-route53-recovery-control-configZSamazonka-route53-recovery-control-config" 'False) (C1 ('MetaCons "ListClustersResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "clusters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Cluster])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListClustersResponse Source #

Create a value of ListClustersResponse 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:nextToken:ListClusters', listClustersResponse_nextToken - The token that identifies which batch of results you want to see.

$sel:clusters:ListClustersResponse', listClustersResponse_clusters - An array of the clusters in an account.

$sel:httpStatus:ListClustersResponse', listClustersResponse_httpStatus - The response's http status code.

Response Lenses

listClustersResponse_nextToken :: Lens' ListClustersResponse (Maybe Text) Source #

The token that identifies which batch of results you want to see.

listClustersResponse_clusters :: Lens' ListClustersResponse (Maybe [Cluster]) Source #

An array of the clusters in an account.