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

Description

Updates a specific job.

Synopsis

Creating a Request

data UpdateBackendJob Source #

The request body for GetBackendJob.

See: newUpdateBackendJob smart constructor.

Constructors

UpdateBackendJob' 

Fields

Instances

Instances details
Eq UpdateBackendJob Source # 
Instance details

Defined in Amazonka.AmplifyBackend.UpdateBackendJob

Read UpdateBackendJob Source # 
Instance details

Defined in Amazonka.AmplifyBackend.UpdateBackendJob

Show UpdateBackendJob Source # 
Instance details

Defined in Amazonka.AmplifyBackend.UpdateBackendJob

Generic UpdateBackendJob Source # 
Instance details

Defined in Amazonka.AmplifyBackend.UpdateBackendJob

Associated Types

type Rep UpdateBackendJob :: Type -> Type #

NFData UpdateBackendJob Source # 
Instance details

Defined in Amazonka.AmplifyBackend.UpdateBackendJob

Methods

rnf :: UpdateBackendJob -> () #

Hashable UpdateBackendJob Source # 
Instance details

Defined in Amazonka.AmplifyBackend.UpdateBackendJob

ToJSON UpdateBackendJob Source # 
Instance details

Defined in Amazonka.AmplifyBackend.UpdateBackendJob

AWSRequest UpdateBackendJob Source # 
Instance details

Defined in Amazonka.AmplifyBackend.UpdateBackendJob

Associated Types

type AWSResponse UpdateBackendJob #

ToHeaders UpdateBackendJob Source # 
Instance details

Defined in Amazonka.AmplifyBackend.UpdateBackendJob

ToPath UpdateBackendJob Source # 
Instance details

Defined in Amazonka.AmplifyBackend.UpdateBackendJob

ToQuery UpdateBackendJob Source # 
Instance details

Defined in Amazonka.AmplifyBackend.UpdateBackendJob

type Rep UpdateBackendJob Source # 
Instance details

Defined in Amazonka.AmplifyBackend.UpdateBackendJob

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

Defined in Amazonka.AmplifyBackend.UpdateBackendJob

newUpdateBackendJob Source #

Create a value of UpdateBackendJob 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:UpdateBackendJob', updateBackendJob_status - Filters the list of response objects to include only those with the specified status.

$sel:operation:UpdateBackendJob', updateBackendJob_operation - Filters the list of response objects to include only those with the specified operation name.

$sel:appId:UpdateBackendJob', updateBackendJob_appId - The app ID.

$sel:backendEnvironmentName:UpdateBackendJob', updateBackendJob_backendEnvironmentName - The name of the backend environment.

$sel:jobId:UpdateBackendJob', updateBackendJob_jobId - The ID for the job.

Request Lenses

updateBackendJob_status :: Lens' UpdateBackendJob (Maybe Text) Source #

Filters the list of response objects to include only those with the specified status.

updateBackendJob_operation :: Lens' UpdateBackendJob (Maybe Text) Source #

Filters the list of response objects to include only those with the specified operation name.

Destructuring the Response

data UpdateBackendJobResponse Source #

See: newUpdateBackendJobResponse smart constructor.

Constructors

UpdateBackendJobResponse' 

Fields

Instances

Instances details
Eq UpdateBackendJobResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.UpdateBackendJob

Read UpdateBackendJobResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.UpdateBackendJob

Show UpdateBackendJobResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.UpdateBackendJob

Generic UpdateBackendJobResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.UpdateBackendJob

Associated Types

type Rep UpdateBackendJobResponse :: Type -> Type #

NFData UpdateBackendJobResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.UpdateBackendJob

type Rep UpdateBackendJobResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.UpdateBackendJob

type Rep UpdateBackendJobResponse = D1 ('MetaData "UpdateBackendJobResponse" "Amazonka.AmplifyBackend.UpdateBackendJob" "libZSservicesZSamazonka-amplifybackendZSamazonka-amplifybackend" 'False) (C1 ('MetaCons "UpdateBackendJobResponse'" '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 "updateTime") '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 "createTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))))

newUpdateBackendJobResponse Source #

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

$sel:jobId:UpdateBackendJob', updateBackendJobResponse_jobId - The ID for the job.

$sel:operation:UpdateBackendJob', updateBackendJobResponse_operation - The name of the operation.

$sel:error:UpdateBackendJobResponse', updateBackendJobResponse_error - If the request fails, this error is returned.

$sel:updateTime:UpdateBackendJobResponse', updateBackendJobResponse_updateTime - The time when the job was last updated.

$sel:appId:UpdateBackendJob', updateBackendJobResponse_appId - The app ID.

$sel:backendEnvironmentName:UpdateBackendJob', updateBackendJobResponse_backendEnvironmentName - The name of the backend environment.

$sel:createTime:UpdateBackendJobResponse', updateBackendJobResponse_createTime - The time when the job was created.

$sel:httpStatus:UpdateBackendJobResponse', updateBackendJobResponse_httpStatus - The response's http status code.

Response Lenses

updateBackendJobResponse_error :: Lens' UpdateBackendJobResponse (Maybe Text) Source #

If the request fails, this error is returned.