amazonka-sms-2.0: Amazon Server Migration Service 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.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.

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

  • nextToken :: Maybe Text

    The token for the next set of results.

Instances

Instances details
ToJSON ListApps Source # 
Instance details

Defined in Amazonka.SMS.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

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 #

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 #

Read ListApps Source # 
Instance details

Defined in Amazonka.SMS.ListApps

Show ListApps Source # 
Instance details

Defined in Amazonka.SMS.ListApps

NFData ListApps Source # 
Instance details

Defined in Amazonka.SMS.ListApps

Methods

rnf :: ListApps -> () #

Eq ListApps Source # 
Instance details

Defined in Amazonka.SMS.ListApps

Hashable ListApps Source # 
Instance details

Defined in Amazonka.SMS.ListApps

Methods

hashWithSalt :: Int -> ListApps -> Int #

hash :: ListApps -> Int #

type AWSResponse 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" "amazonka-sms-2.0-4YLznk7UFuE5VtyLFXmW6X" 'False) (C1 ('MetaCons "ListApps'" 'PrefixI 'True) (S1 ('MetaSel ('Just "appIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

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

ListApps, listApps_nextToken - The token for the next set of results.

Request Lenses

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

The unique application IDs.

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.

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

The token for the next set of results.

Destructuring the Response

data ListAppsResponse Source #

See: newListAppsResponse smart constructor.

Constructors

ListAppsResponse' 

Fields

Instances

Instances details
Generic ListAppsResponse Source # 
Instance details

Defined in Amazonka.SMS.ListApps

Associated Types

type Rep ListAppsResponse :: Type -> Type #

Read ListAppsResponse Source # 
Instance details

Defined in Amazonka.SMS.ListApps

Show ListAppsResponse Source # 
Instance details

Defined in Amazonka.SMS.ListApps

NFData ListAppsResponse Source # 
Instance details

Defined in Amazonka.SMS.ListApps

Methods

rnf :: ListAppsResponse -> () #

Eq ListAppsResponse Source # 
Instance details

Defined in Amazonka.SMS.ListApps

type Rep ListAppsResponse Source # 
Instance details

Defined in Amazonka.SMS.ListApps

type Rep ListAppsResponse = D1 ('MetaData "ListAppsResponse" "Amazonka.SMS.ListApps" "amazonka-sms-2.0-4YLznk7UFuE5VtyLFXmW6X" '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.

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.