libZSservicesZSamazonka-amplifybackendZSamazonka-amplifybackend
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.AmplifyBackend.GetBackend

Description

Provides project-level details for your Amplify UI project.

Synopsis

Creating a Request

data GetBackend Source #

The request body for GetBackend.

See: newGetBackend smart constructor.

Constructors

GetBackend' 

Fields

Instances

Instances details
Eq GetBackend Source # 
Instance details

Defined in Amazonka.AmplifyBackend.GetBackend

Read GetBackend Source # 
Instance details

Defined in Amazonka.AmplifyBackend.GetBackend

Show GetBackend Source # 
Instance details

Defined in Amazonka.AmplifyBackend.GetBackend

Generic GetBackend Source # 
Instance details

Defined in Amazonka.AmplifyBackend.GetBackend

Associated Types

type Rep GetBackend :: Type -> Type #

NFData GetBackend Source # 
Instance details

Defined in Amazonka.AmplifyBackend.GetBackend

Methods

rnf :: GetBackend -> () #

Hashable GetBackend Source # 
Instance details

Defined in Amazonka.AmplifyBackend.GetBackend

ToJSON GetBackend Source # 
Instance details

Defined in Amazonka.AmplifyBackend.GetBackend

AWSRequest GetBackend Source # 
Instance details

Defined in Amazonka.AmplifyBackend.GetBackend

Associated Types

type AWSResponse GetBackend #

ToHeaders GetBackend Source # 
Instance details

Defined in Amazonka.AmplifyBackend.GetBackend

Methods

toHeaders :: GetBackend -> [Header] #

ToPath GetBackend Source # 
Instance details

Defined in Amazonka.AmplifyBackend.GetBackend

ToQuery GetBackend Source # 
Instance details

Defined in Amazonka.AmplifyBackend.GetBackend

type Rep GetBackend Source # 
Instance details

Defined in Amazonka.AmplifyBackend.GetBackend

type Rep GetBackend = D1 ('MetaData "GetBackend" "Amazonka.AmplifyBackend.GetBackend" "libZSservicesZSamazonka-amplifybackendZSamazonka-amplifybackend" 'False) (C1 ('MetaCons "GetBackend'" 'PrefixI 'True) (S1 ('MetaSel ('Just "backendEnvironmentName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "appId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetBackend Source # 
Instance details

Defined in Amazonka.AmplifyBackend.GetBackend

newGetBackend Source #

Create a value of GetBackend 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:backendEnvironmentName:GetBackend', getBackend_backendEnvironmentName - The name of the backend environment.

$sel:appId:GetBackend', getBackend_appId - The app ID.

Request Lenses

getBackend_backendEnvironmentName :: Lens' GetBackend (Maybe Text) Source #

The name of the backend environment.

Destructuring the Response

data GetBackendResponse Source #

See: newGetBackendResponse smart constructor.

Constructors

GetBackendResponse' 

Fields

Instances

Instances details
Eq GetBackendResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.GetBackend

Read GetBackendResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.GetBackend

Show GetBackendResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.GetBackend

Generic GetBackendResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.GetBackend

Associated Types

type Rep GetBackendResponse :: Type -> Type #

NFData GetBackendResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.GetBackend

Methods

rnf :: GetBackendResponse -> () #

type Rep GetBackendResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.GetBackend

type Rep GetBackendResponse = D1 ('MetaData "GetBackendResponse" "Amazonka.AmplifyBackend.GetBackend" "libZSservicesZSamazonka-amplifybackendZSamazonka-amplifybackend" 'False) (C1 ('MetaCons "GetBackendResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "error") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "appName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "amplifyMetaConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "appId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "amplifyFeatureFlags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "backendEnvironmentList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "backendEnvironmentName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newGetBackendResponse Source #

Create a value of GetBackendResponse 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:error:GetBackendResponse', getBackendResponse_error - If the request failed, this is the returned error.

$sel:appName:GetBackendResponse', getBackendResponse_appName - The name of the app.

$sel:amplifyMetaConfig:GetBackendResponse', getBackendResponse_amplifyMetaConfig - A stringified version of the current configs for your Amplify project.

$sel:appId:GetBackend', getBackendResponse_appId - The app ID.

$sel:amplifyFeatureFlags:GetBackendResponse', getBackendResponse_amplifyFeatureFlags - A stringified version of the cli.json file for your Amplify project.

$sel:backendEnvironmentList:GetBackendResponse', getBackendResponse_backendEnvironmentList - A list of backend environments in an array.

$sel:backendEnvironmentName:GetBackend', getBackendResponse_backendEnvironmentName - The name of the backend environment.

$sel:httpStatus:GetBackendResponse', getBackendResponse_httpStatus - The response's http status code.

Response Lenses

getBackendResponse_error :: Lens' GetBackendResponse (Maybe Text) Source #

If the request failed, this is the returned error.

getBackendResponse_amplifyMetaConfig :: Lens' GetBackendResponse (Maybe Text) Source #

A stringified version of the current configs for your Amplify project.

getBackendResponse_amplifyFeatureFlags :: Lens' GetBackendResponse (Maybe Text) Source #

A stringified version of the cli.json file for your Amplify project.

getBackendResponse_backendEnvironmentList :: Lens' GetBackendResponse (Maybe [Text]) Source #

A list of backend environments in an array.