amazonka-budgets-2.0: Amazon Budgets SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Budgets.DescribeSubscribersForNotification

Description

Lists the subscribers that are associated with a notification.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeSubscribersForNotification Source #

Request of DescribeSubscribersForNotification

See: newDescribeSubscribersForNotification smart constructor.

Constructors

DescribeSubscribersForNotification' 

Fields

  • maxResults :: Maybe Natural

    An optional integer that represents how many entries a paginated response contains. The maximum is 100.

  • nextToken :: Maybe Text

    The pagination token that you include in your request to indicate the next set of results that you want to retrieve.

  • accountId :: Text

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

  • budgetName :: Text

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

  • notification :: Notification

    The notification whose subscribers you want to list.

Instances

Instances details
ToJSON DescribeSubscribersForNotification Source # 
Instance details

Defined in Amazonka.Budgets.DescribeSubscribersForNotification

ToHeaders DescribeSubscribersForNotification Source # 
Instance details

Defined in Amazonka.Budgets.DescribeSubscribersForNotification

ToPath DescribeSubscribersForNotification Source # 
Instance details

Defined in Amazonka.Budgets.DescribeSubscribersForNotification

ToQuery DescribeSubscribersForNotification Source # 
Instance details

Defined in Amazonka.Budgets.DescribeSubscribersForNotification

AWSPager DescribeSubscribersForNotification Source # 
Instance details

Defined in Amazonka.Budgets.DescribeSubscribersForNotification

AWSRequest DescribeSubscribersForNotification Source # 
Instance details

Defined in Amazonka.Budgets.DescribeSubscribersForNotification

Generic DescribeSubscribersForNotification Source # 
Instance details

Defined in Amazonka.Budgets.DescribeSubscribersForNotification

Associated Types

type Rep DescribeSubscribersForNotification :: Type -> Type #

Read DescribeSubscribersForNotification Source # 
Instance details

Defined in Amazonka.Budgets.DescribeSubscribersForNotification

Show DescribeSubscribersForNotification Source # 
Instance details

Defined in Amazonka.Budgets.DescribeSubscribersForNotification

NFData DescribeSubscribersForNotification Source # 
Instance details

Defined in Amazonka.Budgets.DescribeSubscribersForNotification

Eq DescribeSubscribersForNotification Source # 
Instance details

Defined in Amazonka.Budgets.DescribeSubscribersForNotification

Hashable DescribeSubscribersForNotification Source # 
Instance details

Defined in Amazonka.Budgets.DescribeSubscribersForNotification

type AWSResponse DescribeSubscribersForNotification Source # 
Instance details

Defined in Amazonka.Budgets.DescribeSubscribersForNotification

type Rep DescribeSubscribersForNotification Source # 
Instance details

Defined in Amazonka.Budgets.DescribeSubscribersForNotification

type Rep DescribeSubscribersForNotification = D1 ('MetaData "DescribeSubscribersForNotification" "Amazonka.Budgets.DescribeSubscribersForNotification" "amazonka-budgets-2.0-7U1RWOWP6pxJESvTUhAD5Y" 'False) (C1 ('MetaCons "DescribeSubscribersForNotification'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "budgetName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "notification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Notification)))))

newDescribeSubscribersForNotification Source #

Create a value of DescribeSubscribersForNotification with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:maxResults:DescribeSubscribersForNotification', describeSubscribersForNotification_maxResults - An optional integer that represents how many entries a paginated response contains. The maximum is 100.

DescribeSubscribersForNotification, describeSubscribersForNotification_nextToken - The pagination token that you include in your request to indicate the next set of results that you want to retrieve.

$sel:accountId:DescribeSubscribersForNotification', describeSubscribersForNotification_accountId - The accountId that is associated with the budget whose subscribers you want descriptions of.

DescribeSubscribersForNotification, describeSubscribersForNotification_budgetName - The name of the budget whose subscribers you want descriptions of.

DescribeSubscribersForNotification, describeSubscribersForNotification_notification - The notification whose subscribers you want to list.

Request Lenses

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

An optional integer that represents how many entries a paginated response contains. The maximum is 100.

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

The pagination token that you include in your request to indicate the next set of results that you want to retrieve.

describeSubscribersForNotification_accountId :: Lens' DescribeSubscribersForNotification Text Source #

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

describeSubscribersForNotification_budgetName :: Lens' DescribeSubscribersForNotification Text Source #

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

Destructuring the Response

data DescribeSubscribersForNotificationResponse Source #

Response of DescribeSubscribersForNotification

See: newDescribeSubscribersForNotificationResponse smart constructor.

Constructors

DescribeSubscribersForNotificationResponse' 

Fields

Instances

Instances details
Generic DescribeSubscribersForNotificationResponse Source # 
Instance details

Defined in Amazonka.Budgets.DescribeSubscribersForNotification

Show DescribeSubscribersForNotificationResponse Source # 
Instance details

Defined in Amazonka.Budgets.DescribeSubscribersForNotification

NFData DescribeSubscribersForNotificationResponse Source # 
Instance details

Defined in Amazonka.Budgets.DescribeSubscribersForNotification

Eq DescribeSubscribersForNotificationResponse Source # 
Instance details

Defined in Amazonka.Budgets.DescribeSubscribersForNotification

type Rep DescribeSubscribersForNotificationResponse Source # 
Instance details

Defined in Amazonka.Budgets.DescribeSubscribersForNotification

type Rep DescribeSubscribersForNotificationResponse = D1 ('MetaData "DescribeSubscribersForNotificationResponse" "Amazonka.Budgets.DescribeSubscribersForNotification" "amazonka-budgets-2.0-7U1RWOWP6pxJESvTUhAD5Y" 'False) (C1 ('MetaCons "DescribeSubscribersForNotificationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "subscribers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Subscriber))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeSubscribersForNotificationResponse Source #

Create a value of DescribeSubscribersForNotificationResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

DescribeSubscribersForNotification, describeSubscribersForNotificationResponse_nextToken - The pagination token in the service response that indicates the next set of results that you can retrieve.

DescribeSubscribersForNotificationResponse, describeSubscribersForNotificationResponse_subscribers - A list of subscribers that are associated with a notification.

$sel:httpStatus:DescribeSubscribersForNotificationResponse', describeSubscribersForNotificationResponse_httpStatus - The response's http status code.

Response Lenses

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

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