amazonka-docdb-2.0: Amazon DocumentDB with MongoDB compatibility 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.DocumentDB.DescribeGlobalClusters

Description

Returns information about Amazon DocumentDB global clusters. This API supports pagination.

This action only applies to Amazon DocumentDB clusters.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeGlobalClusters Source #

See: newDescribeGlobalClusters smart constructor.

Constructors

DescribeGlobalClusters' 

Fields

  • filters :: Maybe [Filter]

    A filter that specifies one or more global DB clusters to describe.

    Supported filters: db-cluster-id accepts cluster identifiers and cluster Amazon Resource Names (ARNs). The results list will only include information about the clusters identified by these ARNs.

  • globalClusterIdentifier :: Maybe Text

    The user-supplied cluster identifier. If this parameter is specified, information from only the specific cluster is returned. This parameter isn't case-sensitive.

  • marker :: Maybe Text

    An optional pagination token provided by a previous DescribeGlobalClusters request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

  • maxRecords :: Maybe Int

    The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that you can retrieve the remaining results.

Instances

Instances details
ToHeaders DescribeGlobalClusters Source # 
Instance details

Defined in Amazonka.DocumentDB.DescribeGlobalClusters

ToPath DescribeGlobalClusters Source # 
Instance details

Defined in Amazonka.DocumentDB.DescribeGlobalClusters

ToQuery DescribeGlobalClusters Source # 
Instance details

Defined in Amazonka.DocumentDB.DescribeGlobalClusters

AWSPager DescribeGlobalClusters Source # 
Instance details

Defined in Amazonka.DocumentDB.DescribeGlobalClusters

AWSRequest DescribeGlobalClusters Source # 
Instance details

Defined in Amazonka.DocumentDB.DescribeGlobalClusters

Associated Types

type AWSResponse DescribeGlobalClusters #

Generic DescribeGlobalClusters Source # 
Instance details

Defined in Amazonka.DocumentDB.DescribeGlobalClusters

Associated Types

type Rep DescribeGlobalClusters :: Type -> Type #

Read DescribeGlobalClusters Source # 
Instance details

Defined in Amazonka.DocumentDB.DescribeGlobalClusters

Show DescribeGlobalClusters Source # 
Instance details

Defined in Amazonka.DocumentDB.DescribeGlobalClusters

NFData DescribeGlobalClusters Source # 
Instance details

Defined in Amazonka.DocumentDB.DescribeGlobalClusters

Methods

rnf :: DescribeGlobalClusters -> () #

Eq DescribeGlobalClusters Source # 
Instance details

Defined in Amazonka.DocumentDB.DescribeGlobalClusters

Hashable DescribeGlobalClusters Source # 
Instance details

Defined in Amazonka.DocumentDB.DescribeGlobalClusters

type AWSResponse DescribeGlobalClusters Source # 
Instance details

Defined in Amazonka.DocumentDB.DescribeGlobalClusters

type Rep DescribeGlobalClusters Source # 
Instance details

Defined in Amazonka.DocumentDB.DescribeGlobalClusters

type Rep DescribeGlobalClusters = D1 ('MetaData "DescribeGlobalClusters" "Amazonka.DocumentDB.DescribeGlobalClusters" "amazonka-docdb-2.0-7OwFe1BulfiBtMsDpDrdzX" 'False) (C1 ('MetaCons "DescribeGlobalClusters'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Filter])) :*: S1 ('MetaSel ('Just "globalClusterIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxRecords") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))

newDescribeGlobalClusters :: DescribeGlobalClusters Source #

Create a value of DescribeGlobalClusters 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:filters:DescribeGlobalClusters', describeGlobalClusters_filters - A filter that specifies one or more global DB clusters to describe.

Supported filters: db-cluster-id accepts cluster identifiers and cluster Amazon Resource Names (ARNs). The results list will only include information about the clusters identified by these ARNs.

DescribeGlobalClusters, describeGlobalClusters_globalClusterIdentifier - The user-supplied cluster identifier. If this parameter is specified, information from only the specific cluster is returned. This parameter isn't case-sensitive.

DescribeGlobalClusters, describeGlobalClusters_marker - An optional pagination token provided by a previous DescribeGlobalClusters request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

$sel:maxRecords:DescribeGlobalClusters', describeGlobalClusters_maxRecords - The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that you can retrieve the remaining results.

Request Lenses

describeGlobalClusters_filters :: Lens' DescribeGlobalClusters (Maybe [Filter]) Source #

A filter that specifies one or more global DB clusters to describe.

Supported filters: db-cluster-id accepts cluster identifiers and cluster Amazon Resource Names (ARNs). The results list will only include information about the clusters identified by these ARNs.

describeGlobalClusters_globalClusterIdentifier :: Lens' DescribeGlobalClusters (Maybe Text) Source #

The user-supplied cluster identifier. If this parameter is specified, information from only the specific cluster is returned. This parameter isn't case-sensitive.

describeGlobalClusters_marker :: Lens' DescribeGlobalClusters (Maybe Text) Source #

An optional pagination token provided by a previous DescribeGlobalClusters request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

describeGlobalClusters_maxRecords :: Lens' DescribeGlobalClusters (Maybe Int) Source #

The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that you can retrieve the remaining results.

Destructuring the Response

data DescribeGlobalClustersResponse Source #

See: newDescribeGlobalClustersResponse smart constructor.

Constructors

DescribeGlobalClustersResponse' 

Fields

Instances

Instances details
Generic DescribeGlobalClustersResponse Source # 
Instance details

Defined in Amazonka.DocumentDB.DescribeGlobalClusters

Associated Types

type Rep DescribeGlobalClustersResponse :: Type -> Type #

Read DescribeGlobalClustersResponse Source # 
Instance details

Defined in Amazonka.DocumentDB.DescribeGlobalClusters

Show DescribeGlobalClustersResponse Source # 
Instance details

Defined in Amazonka.DocumentDB.DescribeGlobalClusters

NFData DescribeGlobalClustersResponse Source # 
Instance details

Defined in Amazonka.DocumentDB.DescribeGlobalClusters

Eq DescribeGlobalClustersResponse Source # 
Instance details

Defined in Amazonka.DocumentDB.DescribeGlobalClusters

type Rep DescribeGlobalClustersResponse Source # 
Instance details

Defined in Amazonka.DocumentDB.DescribeGlobalClusters

type Rep DescribeGlobalClustersResponse = D1 ('MetaData "DescribeGlobalClustersResponse" "Amazonka.DocumentDB.DescribeGlobalClusters" "amazonka-docdb-2.0-7OwFe1BulfiBtMsDpDrdzX" 'False) (C1 ('MetaCons "DescribeGlobalClustersResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "globalClusters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [GlobalCluster])) :*: (S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

Response Lenses