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

Description

Creates a new backend API resource.

Synopsis

Creating a Request

data CreateBackendAPI Source #

The request body for CreateBackendAPI.

See: newCreateBackendAPI smart constructor.

Constructors

CreateBackendAPI' 

Fields

Instances

Instances details
Eq CreateBackendAPI Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendAPI

Read CreateBackendAPI Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendAPI

Show CreateBackendAPI Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendAPI

Generic CreateBackendAPI Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendAPI

Associated Types

type Rep CreateBackendAPI :: Type -> Type #

NFData CreateBackendAPI Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendAPI

Methods

rnf :: CreateBackendAPI -> () #

Hashable CreateBackendAPI Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendAPI

ToJSON CreateBackendAPI Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendAPI

AWSRequest CreateBackendAPI Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendAPI

Associated Types

type AWSResponse CreateBackendAPI #

ToHeaders CreateBackendAPI Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendAPI

ToPath CreateBackendAPI Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendAPI

ToQuery CreateBackendAPI Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendAPI

type Rep CreateBackendAPI Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendAPI

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

Defined in Amazonka.AmplifyBackend.CreateBackendAPI

newCreateBackendAPI Source #

Create a value of CreateBackendAPI 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:appId:CreateBackendAPI', createBackendAPI_appId - The app ID.

$sel:resourceName:CreateBackendAPI', createBackendAPI_resourceName - The name of this resource.

$sel:backendEnvironmentName:CreateBackendAPI', createBackendAPI_backendEnvironmentName - The name of the backend environment.

$sel:resourceConfig:CreateBackendAPI', createBackendAPI_resourceConfig - The resource configuration for this request.

Request Lenses

Destructuring the Response

data CreateBackendAPIResponse Source #

See: newCreateBackendAPIResponse smart constructor.

Constructors

CreateBackendAPIResponse' 

Fields

Instances

Instances details
Eq CreateBackendAPIResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendAPI

Read CreateBackendAPIResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendAPI

Show CreateBackendAPIResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendAPI

Generic CreateBackendAPIResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendAPI

Associated Types

type Rep CreateBackendAPIResponse :: Type -> Type #

NFData CreateBackendAPIResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendAPI

type Rep CreateBackendAPIResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendAPI

type Rep CreateBackendAPIResponse = D1 ('MetaData "CreateBackendAPIResponse" "Amazonka.AmplifyBackend.CreateBackendAPI" "libZSservicesZSamazonka-amplifybackendZSamazonka-amplifybackend" 'False) (C1 ('MetaCons "CreateBackendAPIResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "jobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "operation") '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 "backendEnvironmentName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newCreateBackendAPIResponse Source #

Create a value of CreateBackendAPIResponse 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:status:CreateBackendAPIResponse', createBackendAPIResponse_status - The current status of the request.

$sel:jobId:CreateBackendAPIResponse', createBackendAPIResponse_jobId - The ID for the job.

$sel:operation:CreateBackendAPIResponse', createBackendAPIResponse_operation - The name of the operation.

$sel:error:CreateBackendAPIResponse', createBackendAPIResponse_error - If the request fails, this error is returned.

$sel:appId:CreateBackendAPI', createBackendAPIResponse_appId - The app ID.

$sel:backendEnvironmentName:CreateBackendAPI', createBackendAPIResponse_backendEnvironmentName - The name of the backend environment.

$sel:httpStatus:CreateBackendAPIResponse', createBackendAPIResponse_httpStatus - The response's http status code.

Response Lenses

createBackendAPIResponse_error :: Lens' CreateBackendAPIResponse (Maybe Text) Source #

If the request fails, this error is returned.