amazonka-budgets-1.6.0: Amazon Budgets 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.Budgets.DescribeSubscribersForNotification

Contents

Description

Lists the subscribers associated with a notification.

Synopsis

Creating a Request

describeSubscribersForNotification Source #

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

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

  • dsfnNextToken - The pagination token that indicates the next set of results to retrieve.
  • dsfnMaxResults - Optional integer. Specifies the maximum number of results to return in response.
  • dsfnAccountId - The accountId that is associated with the budget whose subscribers you want descriptions of.
  • dsfnBudgetName - The name of the budget whose subscribers you want descriptions of.
  • dsfnNotification - The notification whose subscribers you want to list.

data DescribeSubscribersForNotification Source #

Request of DescribeSubscribersForNotification

See: describeSubscribersForNotification smart constructor.

Instances

Eq DescribeSubscribersForNotification Source # 
Data DescribeSubscribersForNotification Source # 

Methods

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

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

toConstr :: DescribeSubscribersForNotification -> Constr #

dataTypeOf :: DescribeSubscribersForNotification -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeSubscribersForNotification Source # 
Show DescribeSubscribersForNotification Source # 
Generic DescribeSubscribersForNotification Source # 
Hashable DescribeSubscribersForNotification Source # 
ToJSON DescribeSubscribersForNotification Source # 
NFData DescribeSubscribersForNotification Source # 
AWSRequest DescribeSubscribersForNotification Source # 
ToHeaders DescribeSubscribersForNotification Source # 
ToPath DescribeSubscribersForNotification Source # 
ToQuery DescribeSubscribersForNotification Source # 
type Rep DescribeSubscribersForNotification Source # 
type Rep DescribeSubscribersForNotification = D1 * (MetaData "DescribeSubscribersForNotification" "Network.AWS.Budgets.DescribeSubscribersForNotification" "amazonka-budgets-1.6.0-14CyUEdTAnlAUnGAOMHs8t" False) (C1 * (MetaCons "DescribeSubscribersForNotification'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_dsfnNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_dsfnMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_dsfnAccountId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) ((:*:) * (S1 * (MetaSel (Just Symbol "_dsfnBudgetName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_dsfnNotification") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Notification))))))
type Rs DescribeSubscribersForNotification Source # 

Request Lenses

dsfnNextToken :: Lens' DescribeSubscribersForNotification (Maybe Text) Source #

The pagination token that indicates the next set of results to retrieve.

dsfnMaxResults :: Lens' DescribeSubscribersForNotification (Maybe Natural) Source #

Optional integer. Specifies the maximum number of results to return in response.

dsfnAccountId :: Lens' DescribeSubscribersForNotification Text Source #

The accountId that is associated with the budget whose subscribers you want descriptions of.

dsfnBudgetName :: Lens' DescribeSubscribersForNotification Text Source #

The name of the budget whose subscribers you want descriptions of.

dsfnNotification :: Lens' DescribeSubscribersForNotification Notification Source #

The notification whose subscribers you want to list.

Destructuring the Response

describeSubscribersForNotificationResponse Source #

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

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

data DescribeSubscribersForNotificationResponse Source #

Response of DescribeSubscribersForNotification

See: describeSubscribersForNotificationResponse smart constructor.

Instances

Eq DescribeSubscribersForNotificationResponse Source # 
Data DescribeSubscribersForNotificationResponse Source # 

Methods

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

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

toConstr :: DescribeSubscribersForNotificationResponse -> Constr #

dataTypeOf :: DescribeSubscribersForNotificationResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeSubscribersForNotificationResponse Source # 
Show DescribeSubscribersForNotificationResponse Source # 
Generic DescribeSubscribersForNotificationResponse Source # 
NFData DescribeSubscribersForNotificationResponse Source # 
type Rep DescribeSubscribersForNotificationResponse Source # 
type Rep DescribeSubscribersForNotificationResponse = D1 * (MetaData "DescribeSubscribersForNotificationResponse" "Network.AWS.Budgets.DescribeSubscribersForNotification" "amazonka-budgets-1.6.0-14CyUEdTAnlAUnGAOMHs8t" False) (C1 * (MetaCons "DescribeSubscribersForNotificationResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_dsfnrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_dsfnrsSubscribers") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe (List1 Subscriber)))) (S1 * (MetaSel (Just Symbol "_dsfnrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

dsfnrsNextToken :: Lens' DescribeSubscribersForNotificationResponse (Maybe Text) Source #

The pagination token that indicates the next set of results that you can retrieve.

dsfnrsSubscribers :: Lens' DescribeSubscribersForNotificationResponse (Maybe (NonEmpty Subscriber)) Source #

A list of subscribers associated with a notification.