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

Copyright(c) 2013-2018 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 # 
Instance details

Defined in Network.AWS.RDS.DescribeDBInstances

Data DescribeDBInstances Source # 
Instance details

Defined in Network.AWS.RDS.DescribeDBInstances

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 # 
Instance details

Defined in Network.AWS.RDS.DescribeDBInstances

Show DescribeDBInstances Source # 
Instance details

Defined in Network.AWS.RDS.DescribeDBInstances

Generic DescribeDBInstances Source # 
Instance details

Defined in Network.AWS.RDS.DescribeDBInstances

Associated Types

type Rep DescribeDBInstances :: Type -> Type #

Hashable DescribeDBInstances Source # 
Instance details

Defined in Network.AWS.RDS.DescribeDBInstances

AWSPager DescribeDBInstances Source # 
Instance details

Defined in Network.AWS.RDS.DescribeDBInstances

AWSRequest DescribeDBInstances Source # 
Instance details

Defined in Network.AWS.RDS.DescribeDBInstances

Associated Types

type Rs DescribeDBInstances :: Type #

ToHeaders DescribeDBInstances Source # 
Instance details

Defined in Network.AWS.RDS.DescribeDBInstances

ToPath DescribeDBInstances Source # 
Instance details

Defined in Network.AWS.RDS.DescribeDBInstances

ToQuery DescribeDBInstances Source # 
Instance details

Defined in Network.AWS.RDS.DescribeDBInstances

NFData DescribeDBInstances Source # 
Instance details

Defined in Network.AWS.RDS.DescribeDBInstances

Methods

rnf :: DescribeDBInstances -> () #

type Rep DescribeDBInstances Source # 
Instance details

Defined in Network.AWS.RDS.DescribeDBInstances

type Rep DescribeDBInstances = D1 (MetaData "DescribeDBInstances" "Network.AWS.RDS.DescribeDBInstances" "amazonka-rds-1.6.1-GvYb6r2di9RGFKQcoJXq1A" False) (C1 (MetaCons "DescribeDBInstances'" PrefixI True) ((S1 (MetaSel (Just "_ddbiFilters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Filter])) :*: S1 (MetaSel (Just "_ddbiDBInstanceIdentifier") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_ddbiMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ddbiMaxRecords") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)))))
type Rs DescribeDBInstances Source # 
Instance details

Defined in Network.AWS.RDS.DescribeDBInstances

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 # 
Instance details

Defined in Network.AWS.RDS.DescribeDBInstances

Data DescribeDBInstancesResponse Source # 
Instance details

Defined in Network.AWS.RDS.DescribeDBInstances

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 # 
Instance details

Defined in Network.AWS.RDS.DescribeDBInstances

Show DescribeDBInstancesResponse Source # 
Instance details

Defined in Network.AWS.RDS.DescribeDBInstances

Generic DescribeDBInstancesResponse Source # 
Instance details

Defined in Network.AWS.RDS.DescribeDBInstances

Associated Types

type Rep DescribeDBInstancesResponse :: Type -> Type #

NFData DescribeDBInstancesResponse Source # 
Instance details

Defined in Network.AWS.RDS.DescribeDBInstances

type Rep DescribeDBInstancesResponse Source # 
Instance details

Defined in Network.AWS.RDS.DescribeDBInstances

type Rep DescribeDBInstancesResponse = D1 (MetaData "DescribeDBInstancesResponse" "Network.AWS.RDS.DescribeDBInstances" "amazonka-rds-1.6.1-GvYb6r2di9RGFKQcoJXq1A" False) (C1 (MetaCons "DescribeDBInstancesResponse'" PrefixI True) (S1 (MetaSel (Just "_ddbirsDBInstances") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [DBInstance])) :*: (S1 (MetaSel (Just "_ddbirsMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_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 .