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

Description

Lists the backend environments for an Amplify app.

Synopsis

Creating a Request

data ListBackendEnvironments Source #

The request structure for the list backend environments request.

See: newListBackendEnvironments smart constructor.

Constructors

ListBackendEnvironments' 

Fields

  • nextToken :: Maybe Text

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

  • environmentName :: Maybe Text

    The name of the backend environment

  • maxResults :: Maybe Natural

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

  • appId :: Text

    The unique ID for an Amplify app.

Instances

Instances details
Eq ListBackendEnvironments Source # 
Instance details

Defined in Amazonka.Amplify.ListBackendEnvironments

Read ListBackendEnvironments Source # 
Instance details

Defined in Amazonka.Amplify.ListBackendEnvironments

Show ListBackendEnvironments Source # 
Instance details

Defined in Amazonka.Amplify.ListBackendEnvironments

Generic ListBackendEnvironments Source # 
Instance details

Defined in Amazonka.Amplify.ListBackendEnvironments

Associated Types

type Rep ListBackendEnvironments :: Type -> Type #

NFData ListBackendEnvironments Source # 
Instance details

Defined in Amazonka.Amplify.ListBackendEnvironments

Methods

rnf :: ListBackendEnvironments -> () #

Hashable ListBackendEnvironments Source # 
Instance details

Defined in Amazonka.Amplify.ListBackendEnvironments

AWSRequest ListBackendEnvironments Source # 
Instance details

Defined in Amazonka.Amplify.ListBackendEnvironments

ToHeaders ListBackendEnvironments Source # 
Instance details

Defined in Amazonka.Amplify.ListBackendEnvironments

ToPath ListBackendEnvironments Source # 
Instance details

Defined in Amazonka.Amplify.ListBackendEnvironments

ToQuery ListBackendEnvironments Source # 
Instance details

Defined in Amazonka.Amplify.ListBackendEnvironments

type Rep ListBackendEnvironments Source # 
Instance details

Defined in Amazonka.Amplify.ListBackendEnvironments

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

Defined in Amazonka.Amplify.ListBackendEnvironments

newListBackendEnvironments Source #

Create a value of ListBackendEnvironments 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:ListBackendEnvironments', listBackendEnvironments_nextToken - A pagination token. Set to null to start listing backend environments from the start. If a non-null pagination token is returned in a result, pass its value in here to list more backend environments.

$sel:environmentName:ListBackendEnvironments', listBackendEnvironments_environmentName - The name of the backend environment

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

$sel:appId:ListBackendEnvironments', listBackendEnvironments_appId - The unique ID for an Amplify app.

Request Lenses

listBackendEnvironments_nextToken :: Lens' ListBackendEnvironments (Maybe Text) Source #

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

listBackendEnvironments_maxResults :: Lens' ListBackendEnvironments (Maybe Natural) Source #

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

Destructuring the Response

data ListBackendEnvironmentsResponse Source #

The result structure for the list backend environments result.

See: newListBackendEnvironmentsResponse smart constructor.

Constructors

ListBackendEnvironmentsResponse' 

Fields

Instances

Instances details
Eq ListBackendEnvironmentsResponse Source # 
Instance details

Defined in Amazonka.Amplify.ListBackendEnvironments

Read ListBackendEnvironmentsResponse Source # 
Instance details

Defined in Amazonka.Amplify.ListBackendEnvironments

Show ListBackendEnvironmentsResponse Source # 
Instance details

Defined in Amazonka.Amplify.ListBackendEnvironments

Generic ListBackendEnvironmentsResponse Source # 
Instance details

Defined in Amazonka.Amplify.ListBackendEnvironments

Associated Types

type Rep ListBackendEnvironmentsResponse :: Type -> Type #

NFData ListBackendEnvironmentsResponse Source # 
Instance details

Defined in Amazonka.Amplify.ListBackendEnvironments

type Rep ListBackendEnvironmentsResponse Source # 
Instance details

Defined in Amazonka.Amplify.ListBackendEnvironments

type Rep ListBackendEnvironmentsResponse = D1 ('MetaData "ListBackendEnvironmentsResponse" "Amazonka.Amplify.ListBackendEnvironments" "libZSservicesZSamazonka-amplifyZSamazonka-amplify" 'False) (C1 ('MetaCons "ListBackendEnvironmentsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "backendEnvironments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [BackendEnvironment]))))

newListBackendEnvironmentsResponse Source #

Create a value of ListBackendEnvironmentsResponse 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:ListBackendEnvironments', listBackendEnvironmentsResponse_nextToken - A pagination token. If a non-null pagination token is returned in a result, pass its value in another request to retrieve more entries.

$sel:httpStatus:ListBackendEnvironmentsResponse', listBackendEnvironmentsResponse_httpStatus - The response's http status code.

$sel:backendEnvironments:ListBackendEnvironmentsResponse', listBackendEnvironmentsResponse_backendEnvironments - The list of backend environments for an Amplify app.

Response Lenses

listBackendEnvironmentsResponse_nextToken :: Lens' ListBackendEnvironmentsResponse (Maybe Text) Source #

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