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

Contents

Description

Returns information about provisioned RDS instances. This API supports pagination.

This operation returns paginated results.

Synopsis

Creating a Request

describeDBInstances :: DescribeDBInstances Source #

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

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

  • ddbiFilters - A filter that specifies one or more DB instances 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 instances associated with the DB Clusters identified by these ARNs. * db-instance-id - Accepts DB instance identifiers and DB instance Amazon Resource Names (ARNs). The results list will only include information about the DB instances identified by these ARNs.
  • ddbiDBInstanceIdentifier - The user-supplied instance identifier. If this parameter is specified, information from only the specific DB instance is returned. This parameter isn't case-sensitive. Constraints: * If supplied, must match the identifier of an existing DBInstance.
  • ddbiMarker - An optional pagination token provided by a previous DescribeDBInstances request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords .
  • ddbiMaxRecords - 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 DescribeDBInstances Source #

See: describeDBInstances smart constructor.

Instances

Eq DescribeDBInstances Source # 
Data DescribeDBInstances Source # 

Methods

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

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

toConstr :: DescribeDBInstances -> Constr #

dataTypeOf :: DescribeDBInstances -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeDBInstances Source # 
Show DescribeDBInstances Source # 
Generic DescribeDBInstances Source # 
Hashable DescribeDBInstances Source # 
NFData DescribeDBInstances Source # 

Methods

rnf :: DescribeDBInstances -> () #

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

Request Lenses

ddbiFilters :: Lens' DescribeDBInstances [Filter] Source #

A filter that specifies one or more DB instances 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 instances associated with the DB Clusters identified by these ARNs. * db-instance-id - Accepts DB instance identifiers and DB instance Amazon Resource Names (ARNs). The results list will only include information about the DB instances identified by these ARNs.

ddbiDBInstanceIdentifier :: Lens' DescribeDBInstances (Maybe Text) Source #

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

ddbiMarker :: Lens' DescribeDBInstances (Maybe Text) Source #

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

ddbiMaxRecords :: Lens' DescribeDBInstances (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

describeDBInstancesResponse Source #

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

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

  • ddbirsDBInstances - A list of DBInstance instances.
  • ddbirsMarker - An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords .
  • ddbirsResponseStatus - -- | The response status code.

data DescribeDBInstancesResponse Source #

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

See: describeDBInstancesResponse smart constructor.

Instances

Eq DescribeDBInstancesResponse Source # 
Data DescribeDBInstancesResponse Source # 

Methods

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

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

toConstr :: DescribeDBInstancesResponse -> Constr #

dataTypeOf :: DescribeDBInstancesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeDBInstancesResponse Source # 
Show DescribeDBInstancesResponse Source # 
Generic DescribeDBInstancesResponse Source # 
NFData DescribeDBInstancesResponse Source # 
type Rep DescribeDBInstancesResponse Source # 
type Rep DescribeDBInstancesResponse = D1 (MetaData "DescribeDBInstancesResponse" "Network.AWS.RDS.DescribeDBInstances" "amazonka-rds-1.5.0-4pv5DetELOaBXetw2fB1GM" False) (C1 (MetaCons "DescribeDBInstancesResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ddbirsDBInstances") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [DBInstance]))) ((:*:) (S1 (MetaSel (Just Symbol "_ddbirsMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ddbirsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

ddbirsMarker :: Lens' DescribeDBInstancesResponse (Maybe Text) Source #

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