libZSservicesZSamazonka-amplifyZSamazonka-amplify
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.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

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

  • maxResults :: Maybe Natural

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

Instances

Instances details
Eq ListApps Source # 
Instance details

Defined in Amazonka.Amplify.ListApps

Read ListApps Source # 
Instance details

Defined in Amazonka.Amplify.ListApps

Show ListApps Source # 
Instance details

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

NFData ListApps Source # 
Instance details

Defined in Amazonka.Amplify.ListApps

Methods

rnf :: ListApps -> () #

Hashable ListApps Source # 
Instance details

Defined in Amazonka.Amplify.ListApps

Methods

hashWithSalt :: Int -> ListApps -> Int #

hash :: ListApps -> Int #

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 #

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

type Rep ListApps Source # 
Instance details

Defined in Amazonka.Amplify.ListApps

type Rep ListApps = D1 ('MetaData "ListApps" "Amazonka.Amplify.ListApps" "libZSservicesZSamazonka-amplifyZSamazonka-amplify" 'False) (C1 ('MetaCons "ListApps'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))
type AWSResponse ListApps Source # 
Instance details

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

$sel:maxResults:ListApps', listApps_maxResults - The maximum number of records to list in a single response.

Request Lenses

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.

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

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

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
Eq ListAppsResponse Source # 
Instance details

Defined in Amazonka.Amplify.ListApps

Show ListAppsResponse Source # 
Instance details

Defined in Amazonka.Amplify.ListApps

Generic ListAppsResponse Source # 
Instance details

Defined in Amazonka.Amplify.ListApps

Associated Types

type Rep ListAppsResponse :: Type -> Type #

NFData ListAppsResponse Source # 
Instance details

Defined in Amazonka.Amplify.ListApps

Methods

rnf :: ListAppsResponse -> () #

type Rep ListAppsResponse Source # 
Instance details

Defined in Amazonka.Amplify.ListApps

type Rep ListAppsResponse = D1 ('MetaData "ListAppsResponse" "Amazonka.Amplify.ListApps" "libZSservicesZSamazonka-amplifyZSamazonka-amplify" '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:

$sel:nextToken: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.