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

Description

Updates an existing backend API resource.

Synopsis

Creating a Request

data UpdateBackendAPI Source #

The request body for UpdateBackendAPI.

See: newUpdateBackendAPI smart constructor.

Constructors

UpdateBackendAPI' 

Fields

Instances

Instances details
Eq UpdateBackendAPI Source # 
Instance details

Defined in Amazonka.AmplifyBackend.UpdateBackendAPI

Read UpdateBackendAPI Source # 
Instance details

Defined in Amazonka.AmplifyBackend.UpdateBackendAPI

Show UpdateBackendAPI Source # 
Instance details

Defined in Amazonka.AmplifyBackend.UpdateBackendAPI

Generic UpdateBackendAPI Source # 
Instance details

Defined in Amazonka.AmplifyBackend.UpdateBackendAPI

Associated Types

type Rep UpdateBackendAPI :: Type -> Type #

NFData UpdateBackendAPI Source # 
Instance details

Defined in Amazonka.AmplifyBackend.UpdateBackendAPI

Methods

rnf :: UpdateBackendAPI -> () #

Hashable UpdateBackendAPI Source # 
Instance details

Defined in Amazonka.AmplifyBackend.UpdateBackendAPI

ToJSON UpdateBackendAPI Source # 
Instance details

Defined in Amazonka.AmplifyBackend.UpdateBackendAPI

AWSRequest UpdateBackendAPI Source # 
Instance details

Defined in Amazonka.AmplifyBackend.UpdateBackendAPI

Associated Types

type AWSResponse UpdateBackendAPI #

ToHeaders UpdateBackendAPI Source # 
Instance details

Defined in Amazonka.AmplifyBackend.UpdateBackendAPI

ToPath UpdateBackendAPI Source # 
Instance details

Defined in Amazonka.AmplifyBackend.UpdateBackendAPI

ToQuery UpdateBackendAPI Source # 
Instance details

Defined in Amazonka.AmplifyBackend.UpdateBackendAPI

type Rep UpdateBackendAPI Source # 
Instance details

Defined in Amazonka.AmplifyBackend.UpdateBackendAPI

type Rep UpdateBackendAPI = D1 ('MetaData "UpdateBackendAPI" "Amazonka.AmplifyBackend.UpdateBackendAPI" "libZSservicesZSamazonka-amplifybackendZSamazonka-amplifybackend" 'False) (C1 ('MetaCons "UpdateBackendAPI'" '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 UpdateBackendAPI Source # 
Instance details

Defined in Amazonka.AmplifyBackend.UpdateBackendAPI

newUpdateBackendAPI Source #

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

$sel:appId:UpdateBackendAPI', updateBackendAPI_appId - The app ID.

$sel:backendEnvironmentName:UpdateBackendAPI', updateBackendAPI_backendEnvironmentName - The name of the backend environment.

$sel:resourceName:UpdateBackendAPI', updateBackendAPI_resourceName - The name of this resource.

Request Lenses

updateBackendAPI_resourceConfig :: Lens' UpdateBackendAPI (Maybe BackendAPIResourceConfig) Source #

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

Destructuring the Response

data UpdateBackendAPIResponse Source #

See: newUpdateBackendAPIResponse smart constructor.

Constructors

UpdateBackendAPIResponse' 

Fields

Instances

Instances details
Eq UpdateBackendAPIResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.UpdateBackendAPI

Read UpdateBackendAPIResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.UpdateBackendAPI

Show UpdateBackendAPIResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.UpdateBackendAPI

Generic UpdateBackendAPIResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.UpdateBackendAPI

Associated Types

type Rep UpdateBackendAPIResponse :: Type -> Type #

NFData UpdateBackendAPIResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.UpdateBackendAPI

type Rep UpdateBackendAPIResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.UpdateBackendAPI

type Rep UpdateBackendAPIResponse = D1 ('MetaData "UpdateBackendAPIResponse" "Amazonka.AmplifyBackend.UpdateBackendAPI" "libZSservicesZSamazonka-amplifybackendZSamazonka-amplifybackend" 'False) (C1 ('MetaCons "UpdateBackendAPIResponse'" '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)))))

newUpdateBackendAPIResponse Source #

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

$sel:jobId:UpdateBackendAPIResponse', updateBackendAPIResponse_jobId - The ID for the job.

$sel:operation:UpdateBackendAPIResponse', updateBackendAPIResponse_operation - The name of the operation.

$sel:error:UpdateBackendAPIResponse', updateBackendAPIResponse_error - If the request fails, this error is returned.

$sel:appId:UpdateBackendAPI', updateBackendAPIResponse_appId - The app ID.

$sel:backendEnvironmentName:UpdateBackendAPI', updateBackendAPIResponse_backendEnvironmentName - The name of the backend environment.

$sel:httpStatus:UpdateBackendAPIResponse', updateBackendAPIResponse_httpStatus - The response's http status code.

Response Lenses

updateBackendAPIResponse_error :: Lens' UpdateBackendAPIResponse (Maybe Text) Source #

If the request fails, this error is returned.