amazonka-amplify-2.0: Amazon Amplify 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.Amplify.ListApps

Description

Returns a list of the existing Amplify apps.

This operation returns paginated results.

Synopsis

Creating a Request

data ListApps Source #

The request structure for the list apps request.

See: newListApps smart constructor.

Constructors

ListApps' 

Fields

  • maxResults :: Maybe Natural

    The maximum number of records to list in a single response.

  • nextToken :: Maybe Text

    A pagination token. If non-null, the pagination token is returned in a result. Pass its value in another request to retrieve more entries.

Instances

Instances details
ToHeaders ListApps Source # 
Instance details

Defined in Amazonka.Amplify.ListApps

Methods

toHeaders :: ListApps -> [Header] #

ToPath ListApps Source # 
Instance details

Defined in Amazonka.Amplify.ListApps

ToQuery ListApps Source # 
Instance details

Defined in Amazonka.Amplify.ListApps

AWSPager ListApps Source # 
Instance details

Defined in Amazonka.Amplify.ListApps

AWSRequest ListApps Source # 
Instance details

Defined in Amazonka.Amplify.ListApps

Associated Types

type AWSResponse ListApps #

Generic ListApps Source # 
Instance details

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

Show ListApps Source # 
Instance details

Defined in Amazonka.Amplify.ListApps

NFData ListApps Source # 
Instance details

Defined in Amazonka.Amplify.ListApps

Methods

rnf :: ListApps -> () #

Eq ListApps Source # 
Instance details

Defined in Amazonka.Amplify.ListApps

Hashable ListApps Source # 
Instance details

Defined in Amazonka.Amplify.ListApps

Methods

hashWithSalt :: Int -> ListApps -> Int #

hash :: ListApps -> Int #

type AWSResponse ListApps Source # 
Instance details

Defined in Amazonka.Amplify.ListApps

type Rep ListApps Source # 
Instance details

Defined in Amazonka.Amplify.ListApps

type Rep ListApps = D1 ('MetaData "ListApps" "Amazonka.Amplify.ListApps" "amazonka-amplify-2.0-FzmP32buJCeA4C8B1HzWt" 'False) (C1 ('MetaCons "ListApps'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: 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:maxResults:ListApps', listApps_maxResults - The maximum number of records to list in a single response.

ListApps, listApps_nextToken - A pagination token. If non-null, the pagination token is returned in a result. Pass its value in another request to retrieve more entries.

Request Lenses

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

The maximum number of records to list in a single response.

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

A pagination token. If non-null, the pagination token is returned in a result. Pass its value in another request to retrieve more entries.

Destructuring the Response

data ListAppsResponse Source #

The result structure for an Amplify app list request.

See: newListAppsResponse smart constructor.

Constructors

ListAppsResponse' 

Fields

  • nextToken :: Maybe Text

    A pagination token. Set to null to start listing apps from start. If non-null, the pagination token is returned in a result. Pass its value in here to list more projects.

  • httpStatus :: Int

    The response's http status code.

  • apps :: [App]

    A list of Amplify apps.

Instances

Instances details
Generic ListAppsResponse Source # 
Instance details

Defined in Amazonka.Amplify.ListApps

Associated Types

type Rep ListAppsResponse :: Type -> Type #

Show ListAppsResponse Source # 
Instance details

Defined in Amazonka.Amplify.ListApps

NFData ListAppsResponse Source # 
Instance details

Defined in Amazonka.Amplify.ListApps

Methods

rnf :: ListAppsResponse -> () #

Eq ListAppsResponse Source # 
Instance details

Defined in Amazonka.Amplify.ListApps

type Rep ListAppsResponse Source # 
Instance details

Defined in Amazonka.Amplify.ListApps

type Rep ListAppsResponse = D1 ('MetaData "ListAppsResponse" "Amazonka.Amplify.ListApps" "amazonka-amplify-2.0-FzmP32buJCeA4C8B1HzWt" 'False) (C1 ('MetaCons "ListAppsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "apps") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [App]))))

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:

ListApps, listAppsResponse_nextToken - A pagination token. Set to null to start listing apps from start. If non-null, the pagination token is returned in a result. Pass its value in here to list more projects.

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

$sel:apps:ListAppsResponse', listAppsResponse_apps - A list of Amplify apps.

Response Lenses

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

A pagination token. Set to null to start listing apps from start. If non-null, the pagination token is returned in a result. Pass its value in here to list more projects.

listAppsResponse_httpStatus :: Lens' ListAppsResponse Int Source #

The response's http status code.