amazonka-rds-1.5.0: Amazon Relational Database Service SDK.

Copyright(c) 2013-2017 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.RDS.DescribeDBClusters

Contents

Description

Returns information about provisioned Aurora DB clusters. This API supports pagination.

For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide.

Synopsis

Creating a Request

describeDBClusters :: DescribeDBClusters Source #

Creates a value of DescribeDBClusters with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • ddcDBClusterIdentifier - The user-supplied DB cluster identifier. If this parameter is specified, information from only the specific DB cluster is returned. This parameter isn't case-sensitive. Constraints: * If supplied, must match an existing DBClusterIdentifier.
  • ddcFilters - A filter that specifies one or more DB clusters to describe. Supported filters: * db-cluster-id - Accepts DB cluster identifiers and DB cluster Amazon Resource Names (ARNs). The results list will only include information about the DB clusters identified by these ARNs.
  • ddcMarker - An optional pagination token provided by a previous DescribeDBClusters request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords .
  • ddcMaxRecords - 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 the remaining results can be retrieved. Default: 100 Constraints: Minimum 20, maximum 100.

data DescribeDBClusters Source #

See: describeDBClusters smart constructor.

Instances

Eq DescribeDBClusters Source # 
Data DescribeDBClusters Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeDBClusters -> c DescribeDBClusters #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeDBClusters #

toConstr :: DescribeDBClusters -> Constr #

dataTypeOf :: DescribeDBClusters -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DescribeDBClusters) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeDBClusters) #

gmapT :: (forall b. Data b => b -> b) -> DescribeDBClusters -> DescribeDBClusters #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeDBClusters -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeDBClusters -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeDBClusters -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeDBClusters -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeDBClusters -> m DescribeDBClusters #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeDBClusters -> m DescribeDBClusters #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeDBClusters -> m DescribeDBClusters #

Read DescribeDBClusters Source # 
Show DescribeDBClusters Source # 
Generic DescribeDBClusters Source # 
Hashable DescribeDBClusters Source # 
NFData DescribeDBClusters Source # 

Methods

rnf :: DescribeDBClusters -> () #

AWSRequest DescribeDBClusters Source # 
ToQuery DescribeDBClusters Source # 
ToPath DescribeDBClusters Source # 
ToHeaders DescribeDBClusters Source # 
type Rep DescribeDBClusters Source # 
type Rep DescribeDBClusters = D1 (MetaData "DescribeDBClusters" "Network.AWS.RDS.DescribeDBClusters" "amazonka-rds-1.5.0-4pv5DetELOaBXetw2fB1GM" False) (C1 (MetaCons "DescribeDBClusters'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_ddcDBClusterIdentifier") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ddcFilters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Filter])))) ((:*:) (S1 (MetaSel (Just Symbol "_ddcMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ddcMaxRecords") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))))))
type Rs DescribeDBClusters Source # 

Request Lenses

ddcDBClusterIdentifier :: Lens' DescribeDBClusters (Maybe Text) Source #

The user-supplied DB cluster identifier. If this parameter is specified, information from only the specific DB cluster is returned. This parameter isn't case-sensitive. Constraints: * If supplied, must match an existing DBClusterIdentifier.

ddcFilters :: Lens' DescribeDBClusters [Filter] Source #

A filter that specifies one or more DB clusters to describe. Supported filters: * db-cluster-id - Accepts DB cluster identifiers and DB cluster Amazon Resource Names (ARNs). The results list will only include information about the DB clusters identified by these ARNs.

ddcMarker :: Lens' DescribeDBClusters (Maybe Text) Source #

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

ddcMaxRecords :: Lens' DescribeDBClusters (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 the remaining results can be retrieved. Default: 100 Constraints: Minimum 20, maximum 100.

Destructuring the Response

describeDBClustersResponse Source #

Creates a value of DescribeDBClustersResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data DescribeDBClustersResponse Source #

Contains the result of a successful invocation of the DescribeDBClusters action.

See: describeDBClustersResponse smart constructor.

Instances

Eq DescribeDBClustersResponse Source # 
Data DescribeDBClustersResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeDBClustersResponse -> c DescribeDBClustersResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeDBClustersResponse #

toConstr :: DescribeDBClustersResponse -> Constr #

dataTypeOf :: DescribeDBClustersResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DescribeDBClustersResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeDBClustersResponse) #

gmapT :: (forall b. Data b => b -> b) -> DescribeDBClustersResponse -> DescribeDBClustersResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeDBClustersResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeDBClustersResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeDBClustersResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeDBClustersResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeDBClustersResponse -> m DescribeDBClustersResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeDBClustersResponse -> m DescribeDBClustersResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeDBClustersResponse -> m DescribeDBClustersResponse #

Read DescribeDBClustersResponse Source # 
Show DescribeDBClustersResponse Source # 
Generic DescribeDBClustersResponse Source # 
NFData DescribeDBClustersResponse Source # 
type Rep DescribeDBClustersResponse Source # 
type Rep DescribeDBClustersResponse = D1 (MetaData "DescribeDBClustersResponse" "Network.AWS.RDS.DescribeDBClusters" "amazonka-rds-1.5.0-4pv5DetELOaBXetw2fB1GM" False) (C1 (MetaCons "DescribeDBClustersResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ddcrsDBClusters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [DBCluster]))) ((:*:) (S1 (MetaSel (Just Symbol "_ddcrsMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ddcrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

ddcrsDBClusters :: Lens' DescribeDBClustersResponse [DBCluster] Source #

Contains a list of DB clusters for the user.

ddcrsMarker :: Lens' DescribeDBClustersResponse (Maybe Text) Source #

A pagination token that can be used in a subsequent DescribeDBClusters request.