amazonka-neptune-2.0: Amazon Neptune 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.Neptune.DescribeGlobalClusters

Description

Returns information about Neptune global database clusters. This API supports pagination.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeGlobalClusters Source #

See: newDescribeGlobalClusters smart constructor.

Constructors

DescribeGlobalClusters' 

Fields

  • globalClusterIdentifier :: Maybe Text

    The user-supplied DB cluster identifier. If this parameter is specified, only information about the specified DB cluster is returned. This parameter is not case-sensitive.

    Constraints: If supplied, must match an existing DB cluster identifier.

  • marker :: Maybe Text

    (Optional) A pagination token returned by a previous call to DescribeGlobalClusters. If this parameter is specified, the response will only include records beyond the marker, up to the number 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 marker token is included in the response that you can use to retrieve the remaining results.

    Default: 100

    Constraints: Minimum 20, maximum 100.

Instances

Instances details
ToHeaders DescribeGlobalClusters Source # 
Instance details

Defined in Amazonka.Neptune.DescribeGlobalClusters

ToPath DescribeGlobalClusters Source # 
Instance details

Defined in Amazonka.Neptune.DescribeGlobalClusters

ToQuery DescribeGlobalClusters Source # 
Instance details

Defined in Amazonka.Neptune.DescribeGlobalClusters

AWSPager DescribeGlobalClusters Source # 
Instance details

Defined in Amazonka.Neptune.DescribeGlobalClusters

AWSRequest DescribeGlobalClusters Source # 
Instance details

Defined in Amazonka.Neptune.DescribeGlobalClusters

Associated Types

type AWSResponse DescribeGlobalClusters #

Generic DescribeGlobalClusters Source # 
Instance details

Defined in Amazonka.Neptune.DescribeGlobalClusters

Associated Types

type Rep DescribeGlobalClusters :: Type -> Type #

Read DescribeGlobalClusters Source # 
Instance details

Defined in Amazonka.Neptune.DescribeGlobalClusters

Show DescribeGlobalClusters Source # 
Instance details

Defined in Amazonka.Neptune.DescribeGlobalClusters

NFData DescribeGlobalClusters Source # 
Instance details

Defined in Amazonka.Neptune.DescribeGlobalClusters

Methods

rnf :: DescribeGlobalClusters -> () #

Eq DescribeGlobalClusters Source # 
Instance details

Defined in Amazonka.Neptune.DescribeGlobalClusters

Hashable DescribeGlobalClusters Source # 
Instance details

Defined in Amazonka.Neptune.DescribeGlobalClusters

type AWSResponse DescribeGlobalClusters Source # 
Instance details

Defined in Amazonka.Neptune.DescribeGlobalClusters

type Rep DescribeGlobalClusters Source # 
Instance details

Defined in Amazonka.Neptune.DescribeGlobalClusters

type Rep DescribeGlobalClusters = D1 ('MetaData "DescribeGlobalClusters" "Amazonka.Neptune.DescribeGlobalClusters" "amazonka-neptune-2.0-2gYqDRsIJxo6L8BEj2Stvk" 'False) (C1 ('MetaCons "DescribeGlobalClusters'" 'PrefixI 'True) (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:

DescribeGlobalClusters, describeGlobalClusters_globalClusterIdentifier - The user-supplied DB cluster identifier. If this parameter is specified, only information about the specified DB cluster is returned. This parameter is not case-sensitive.

Constraints: If supplied, must match an existing DB cluster identifier.

DescribeGlobalClusters, describeGlobalClusters_marker - (Optional) A pagination token returned by a previous call to DescribeGlobalClusters. If this parameter is specified, the response will only include records beyond the marker, up to the number 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 marker token is included in the response that you can use to retrieve the remaining results.

Default: 100

Constraints: Minimum 20, maximum 100.

Request Lenses

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

The user-supplied DB cluster identifier. If this parameter is specified, only information about the specified DB cluster is returned. This parameter is not case-sensitive.

Constraints: If supplied, must match an existing DB cluster identifier.

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

(Optional) A pagination token returned by a previous call to DescribeGlobalClusters. If this parameter is specified, the response will only include records beyond the marker, up to the number 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 marker token is included in the response that you can use to retrieve the remaining results.

Default: 100

Constraints: Minimum 20, maximum 100.

Destructuring the Response

data DescribeGlobalClustersResponse Source #

See: newDescribeGlobalClustersResponse smart constructor.

Constructors

DescribeGlobalClustersResponse' 

Fields

  • globalClusters :: Maybe [GlobalCluster]

    The list of global clusters and instances returned by this request.

  • marker :: Maybe Text

    A pagination token. If this parameter is returned in the response, more records are available, which can be retrieved by one or more additional calls to DescribeGlobalClusters.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic DescribeGlobalClustersResponse Source # 
Instance details

Defined in Amazonka.Neptune.DescribeGlobalClusters

Associated Types

type Rep DescribeGlobalClustersResponse :: Type -> Type #

Read DescribeGlobalClustersResponse Source # 
Instance details

Defined in Amazonka.Neptune.DescribeGlobalClusters

Show DescribeGlobalClustersResponse Source # 
Instance details

Defined in Amazonka.Neptune.DescribeGlobalClusters

NFData DescribeGlobalClustersResponse Source # 
Instance details

Defined in Amazonka.Neptune.DescribeGlobalClusters

Eq DescribeGlobalClustersResponse Source # 
Instance details

Defined in Amazonka.Neptune.DescribeGlobalClusters

type Rep DescribeGlobalClustersResponse Source # 
Instance details

Defined in Amazonka.Neptune.DescribeGlobalClusters

type Rep DescribeGlobalClustersResponse = D1 ('MetaData "DescribeGlobalClustersResponse" "Amazonka.Neptune.DescribeGlobalClusters" "amazonka-neptune-2.0-2gYqDRsIJxo6L8BEj2Stvk" '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))))

newDescribeGlobalClustersResponse Source #

Create a value of DescribeGlobalClustersResponse 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:globalClusters:DescribeGlobalClustersResponse', describeGlobalClustersResponse_globalClusters - The list of global clusters and instances returned by this request.

DescribeGlobalClusters, describeGlobalClustersResponse_marker - A pagination token. If this parameter is returned in the response, more records are available, which can be retrieved by one or more additional calls to DescribeGlobalClusters.

$sel:httpStatus:DescribeGlobalClustersResponse', describeGlobalClustersResponse_httpStatus - The response's http status code.

Response Lenses

describeGlobalClustersResponse_globalClusters :: Lens' DescribeGlobalClustersResponse (Maybe [GlobalCluster]) Source #

The list of global clusters and instances returned by this request.

describeGlobalClustersResponse_marker :: Lens' DescribeGlobalClustersResponse (Maybe Text) Source #

A pagination token. If this parameter is returned in the response, more records are available, which can be retrieved by one or more additional calls to DescribeGlobalClusters.