libZSservicesZSamazonka-smsZSamazonka-sms
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SMS.ListApps

Description

Retrieves summaries for all applications.

This operation returns paginated results.

Synopsis

Creating a Request

data ListApps Source #

See: newListApps smart constructor.

Constructors

ListApps' 

Fields

  • appIds :: Maybe [Text]

    The unique application IDs.

  • nextToken :: Maybe Text

    The token for the next set of results.

  • maxResults :: Maybe Int

    The maximum number of results to return in a single call. The default value is 100. To retrieve the remaining results, make another call with the returned NextToken value.

Instances

Instances details
Eq ListApps Source # 
Instance details

Defined in Amazonka.SMS.ListApps

Read ListApps Source # 
Instance details

Defined in Amazonka.SMS.ListApps

Show ListApps Source # 
Instance details

Defined in Amazonka.SMS.ListApps

Generic ListApps Source # 
Instance details

Defined in Amazonka.SMS.ListApps

Associated Types

type Rep ListApps :: Type -> Type #

Methods

from :: ListApps -> Rep ListApps x #

to :: Rep ListApps x -> ListApps #

NFData ListApps Source # 
Instance details

Defined in Amazonka.SMS.ListApps

Methods

rnf :: ListApps -> () #

Hashable ListApps Source # 
Instance details

Defined in Amazonka.SMS.ListApps

Methods

hashWithSalt :: Int -> ListApps -> Int #

hash :: ListApps -> Int #

ToJSON ListApps Source # 
Instance details

Defined in Amazonka.SMS.ListApps

AWSPager ListApps Source # 
Instance details

Defined in Amazonka.SMS.ListApps

AWSRequest ListApps Source # 
Instance details

Defined in Amazonka.SMS.ListApps

Associated Types

type AWSResponse ListApps #

ToHeaders ListApps Source # 
Instance details

Defined in Amazonka.SMS.ListApps

Methods

toHeaders :: ListApps -> [Header] #

ToPath ListApps Source # 
Instance details

Defined in Amazonka.SMS.ListApps

ToQuery ListApps Source # 
Instance details

Defined in Amazonka.SMS.ListApps

type Rep ListApps Source # 
Instance details

Defined in Amazonka.SMS.ListApps

type Rep ListApps = D1 ('MetaData "ListApps" "Amazonka.SMS.ListApps" "libZSservicesZSamazonka-smsZSamazonka-sms" 'False) (C1 ('MetaCons "ListApps'" 'PrefixI 'True) (S1 ('MetaSel ('Just "appIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))
type AWSResponse ListApps Source # 
Instance details

Defined in Amazonka.SMS.ListApps

newListApps :: ListApps Source #

Create a value of ListApps 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:appIds:ListApps', listApps_appIds - The unique application IDs.

$sel:nextToken:ListApps', listApps_nextToken - The token for the next set of results.

$sel:maxResults:ListApps', listApps_maxResults - The maximum number of results to return in a single call. The default value is 100. To retrieve the remaining results, make another call with the returned NextToken value.

Request Lenses

listApps_appIds :: Lens' ListApps (Maybe [Text]) Source #

The unique application IDs.

listApps_nextToken :: Lens' ListApps (Maybe Text) Source #

The token for the next set of results.

listApps_maxResults :: Lens' ListApps (Maybe Int) Source #

The maximum number of results to return in a single call. The default value is 100. To retrieve the remaining results, make another call with the returned NextToken value.

Destructuring the Response

data ListAppsResponse Source #

See: newListAppsResponse smart constructor.

Constructors

ListAppsResponse' 

Fields

Instances

Instances details
Eq ListAppsResponse Source # 
Instance details

Defined in Amazonka.SMS.ListApps

Read ListAppsResponse Source # 
Instance details

Defined in Amazonka.SMS.ListApps

Show ListAppsResponse Source # 
Instance details

Defined in Amazonka.SMS.ListApps

Generic ListAppsResponse Source # 
Instance details

Defined in Amazonka.SMS.ListApps

Associated Types

type Rep ListAppsResponse :: Type -> Type #

NFData ListAppsResponse Source # 
Instance details

Defined in Amazonka.SMS.ListApps

Methods

rnf :: ListAppsResponse -> () #

type Rep ListAppsResponse Source # 
Instance details

Defined in Amazonka.SMS.ListApps

type Rep ListAppsResponse = D1 ('MetaData "ListAppsResponse" "Amazonka.SMS.ListApps" "libZSservicesZSamazonka-smsZSamazonka-sms" 'False) (C1 ('MetaCons "ListAppsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "apps") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AppSummary])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListAppsResponse Source #

Create a value of ListAppsResponse 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:apps:ListAppsResponse', listAppsResponse_apps - The application summaries.

$sel:nextToken:ListApps', listAppsResponse_nextToken - The token required to retrieve the next set of results. This value is null when there are no more results to return.

$sel:httpStatus:ListAppsResponse', listAppsResponse_httpStatus - The response's http status code.

Response Lenses

listAppsResponse_nextToken :: Lens' ListAppsResponse (Maybe Text) Source #

The token required to retrieve the next set of results. This value is null when there are no more results to return.

listAppsResponse_httpStatus :: Lens' ListAppsResponse Int Source #

The response's http status code.