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

Contents

Description

Lists all the subscription descriptions for a customer account. The description for a subscription includes SubscriptionName, SNSTopicARN, CustomerID, SourceType, SourceID, CreationTime, and Status.

If you specify a SubscriptionName, lists the description for that subscription.

This operation returns paginated results.

Synopsis

Creating a Request

describeEventSubscriptions :: DescribeEventSubscriptions Source #

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

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

  • dSubscriptionName - The name of the RDS event notification subscription you want to describe.
  • dFilters - This parameter is not currently supported.
  • dMarker - An optional pagination token provided by a previous DescribeOrderableDBInstanceOptions request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords .
  • dMaxRecords - 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 DescribeEventSubscriptions Source #

See: describeEventSubscriptions smart constructor.

Instances
Eq DescribeEventSubscriptions Source # 
Instance details

Defined in Network.AWS.RDS.DescribeEventSubscriptions

Data DescribeEventSubscriptions Source # 
Instance details

Defined in Network.AWS.RDS.DescribeEventSubscriptions

Methods

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

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

toConstr :: DescribeEventSubscriptions -> Constr #

dataTypeOf :: DescribeEventSubscriptions -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeEventSubscriptions Source # 
Instance details

Defined in Network.AWS.RDS.DescribeEventSubscriptions

Show DescribeEventSubscriptions Source # 
Instance details

Defined in Network.AWS.RDS.DescribeEventSubscriptions

Generic DescribeEventSubscriptions Source # 
Instance details

Defined in Network.AWS.RDS.DescribeEventSubscriptions

Associated Types

type Rep DescribeEventSubscriptions :: Type -> Type #

Hashable DescribeEventSubscriptions Source # 
Instance details

Defined in Network.AWS.RDS.DescribeEventSubscriptions

AWSPager DescribeEventSubscriptions Source # 
Instance details

Defined in Network.AWS.RDS.DescribeEventSubscriptions

AWSRequest DescribeEventSubscriptions Source # 
Instance details

Defined in Network.AWS.RDS.DescribeEventSubscriptions

Associated Types

type Rs DescribeEventSubscriptions :: Type #

ToHeaders DescribeEventSubscriptions Source # 
Instance details

Defined in Network.AWS.RDS.DescribeEventSubscriptions

ToPath DescribeEventSubscriptions Source # 
Instance details

Defined in Network.AWS.RDS.DescribeEventSubscriptions

ToQuery DescribeEventSubscriptions Source # 
Instance details

Defined in Network.AWS.RDS.DescribeEventSubscriptions

NFData DescribeEventSubscriptions Source # 
Instance details

Defined in Network.AWS.RDS.DescribeEventSubscriptions

type Rep DescribeEventSubscriptions Source # 
Instance details

Defined in Network.AWS.RDS.DescribeEventSubscriptions

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

Defined in Network.AWS.RDS.DescribeEventSubscriptions

Request Lenses

dSubscriptionName :: Lens' DescribeEventSubscriptions (Maybe Text) Source #

The name of the RDS event notification subscription you want to describe.

dFilters :: Lens' DescribeEventSubscriptions [Filter] Source #

This parameter is not currently supported.

dMarker :: Lens' DescribeEventSubscriptions (Maybe Text) Source #

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

dMaxRecords :: Lens' DescribeEventSubscriptions (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

describeEventSubscriptionsResponse Source #

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

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

  • desrsEventSubscriptionsList - A list of EventSubscriptions data types.
  • desrsMarker - An optional pagination token provided by a previous DescribeOrderableDBInstanceOptions request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords .
  • desrsResponseStatus - -- | The response status code.

data DescribeEventSubscriptionsResponse Source #

Data returned by the DescribeEventSubscriptions action.

See: describeEventSubscriptionsResponse smart constructor.

Instances
Eq DescribeEventSubscriptionsResponse Source # 
Instance details

Defined in Network.AWS.RDS.DescribeEventSubscriptions

Data DescribeEventSubscriptionsResponse Source # 
Instance details

Defined in Network.AWS.RDS.DescribeEventSubscriptions

Methods

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

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

toConstr :: DescribeEventSubscriptionsResponse -> Constr #

dataTypeOf :: DescribeEventSubscriptionsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeEventSubscriptionsResponse Source # 
Instance details

Defined in Network.AWS.RDS.DescribeEventSubscriptions

Show DescribeEventSubscriptionsResponse Source # 
Instance details

Defined in Network.AWS.RDS.DescribeEventSubscriptions

Generic DescribeEventSubscriptionsResponse Source # 
Instance details

Defined in Network.AWS.RDS.DescribeEventSubscriptions

Associated Types

type Rep DescribeEventSubscriptionsResponse :: Type -> Type #

NFData DescribeEventSubscriptionsResponse Source # 
Instance details

Defined in Network.AWS.RDS.DescribeEventSubscriptions

type Rep DescribeEventSubscriptionsResponse Source # 
Instance details

Defined in Network.AWS.RDS.DescribeEventSubscriptions

type Rep DescribeEventSubscriptionsResponse = D1 (MetaData "DescribeEventSubscriptionsResponse" "Network.AWS.RDS.DescribeEventSubscriptions" "amazonka-rds-1.6.1-GvYb6r2di9RGFKQcoJXq1A" False) (C1 (MetaCons "DescribeEventSubscriptionsResponse'" PrefixI True) (S1 (MetaSel (Just "_desrsEventSubscriptionsList") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [EventSubscription])) :*: (S1 (MetaSel (Just "_desrsMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_desrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

desrsMarker :: Lens' DescribeEventSubscriptionsResponse (Maybe Text) Source #

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