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

Description

Gets the details for a backend API.

Synopsis

Creating a Request

data GetBackendAPI Source #

The request body for GetBackendAPI.

See: newGetBackendAPI smart constructor.

Constructors

GetBackendAPI' 

Fields

Instances

Instances details
Eq GetBackendAPI Source # 
Instance details

Defined in Amazonka.AmplifyBackend.GetBackendAPI

Read GetBackendAPI Source # 
Instance details

Defined in Amazonka.AmplifyBackend.GetBackendAPI

Show GetBackendAPI Source # 
Instance details

Defined in Amazonka.AmplifyBackend.GetBackendAPI

Generic GetBackendAPI Source # 
Instance details

Defined in Amazonka.AmplifyBackend.GetBackendAPI

Associated Types

type Rep GetBackendAPI :: Type -> Type #

NFData GetBackendAPI Source # 
Instance details

Defined in Amazonka.AmplifyBackend.GetBackendAPI

Methods

rnf :: GetBackendAPI -> () #

Hashable GetBackendAPI Source # 
Instance details

Defined in Amazonka.AmplifyBackend.GetBackendAPI

ToJSON GetBackendAPI Source # 
Instance details

Defined in Amazonka.AmplifyBackend.GetBackendAPI

AWSRequest GetBackendAPI Source # 
Instance details

Defined in Amazonka.AmplifyBackend.GetBackendAPI

Associated Types

type AWSResponse GetBackendAPI #

ToHeaders GetBackendAPI Source # 
Instance details

Defined in Amazonka.AmplifyBackend.GetBackendAPI

ToPath GetBackendAPI Source # 
Instance details

Defined in Amazonka.AmplifyBackend.GetBackendAPI

ToQuery GetBackendAPI Source # 
Instance details

Defined in Amazonka.AmplifyBackend.GetBackendAPI

type Rep GetBackendAPI Source # 
Instance details

Defined in Amazonka.AmplifyBackend.GetBackendAPI

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

Defined in Amazonka.AmplifyBackend.GetBackendAPI

newGetBackendAPI Source #

Create a value of GetBackendAPI 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:resourceConfig:GetBackendAPI', getBackendAPI_resourceConfig - Defines the resource configuration for the data model in your Amplify project.

$sel:appId:GetBackendAPI', getBackendAPI_appId - The app ID.

$sel:backendEnvironmentName:GetBackendAPI', getBackendAPI_backendEnvironmentName - The name of the backend environment.

$sel:resourceName:GetBackendAPI', getBackendAPI_resourceName - The name of this resource.

Request Lenses

getBackendAPI_resourceConfig :: Lens' GetBackendAPI (Maybe BackendAPIResourceConfig) Source #

Defines the resource configuration for the data model in your Amplify project.

getBackendAPI_backendEnvironmentName :: Lens' GetBackendAPI Text Source #

The name of the backend environment.

Destructuring the Response

data GetBackendAPIResponse Source #

See: newGetBackendAPIResponse smart constructor.

Constructors

GetBackendAPIResponse' 

Fields

Instances

Instances details
Eq GetBackendAPIResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.GetBackendAPI

Read GetBackendAPIResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.GetBackendAPI

Show GetBackendAPIResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.GetBackendAPI

Generic GetBackendAPIResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.GetBackendAPI

Associated Types

type Rep GetBackendAPIResponse :: Type -> Type #

NFData GetBackendAPIResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.GetBackendAPI

Methods

rnf :: GetBackendAPIResponse -> () #

type Rep GetBackendAPIResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.GetBackendAPI

type Rep GetBackendAPIResponse = D1 ('MetaData "GetBackendAPIResponse" "Amazonka.AmplifyBackend.GetBackendAPI" "libZSservicesZSamazonka-amplifybackendZSamazonka-amplifybackend" 'False) (C1 ('MetaCons "GetBackendAPIResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "resourceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "error") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "appId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "resourceConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BackendAPIResourceConfig)) :*: (S1 ('MetaSel ('Just "backendEnvironmentName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newGetBackendAPIResponse Source #

Create a value of GetBackendAPIResponse 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:resourceName:GetBackendAPI', getBackendAPIResponse_resourceName - The name of this resource.

$sel:error:GetBackendAPIResponse', getBackendAPIResponse_error - If the request fails, this error is returned.

$sel:appId:GetBackendAPI', getBackendAPIResponse_appId - The app ID.

$sel:resourceConfig:GetBackendAPI', getBackendAPIResponse_resourceConfig - The resource configuration for this response object.

$sel:backendEnvironmentName:GetBackendAPI', getBackendAPIResponse_backendEnvironmentName - The name of the backend environment.

$sel:httpStatus:GetBackendAPIResponse', getBackendAPIResponse_httpStatus - The response's http status code.

Response Lenses

getBackendAPIResponse_error :: Lens' GetBackendAPIResponse (Maybe Text) Source #

If the request fails, this error is returned.