libZSservicesZSamazonka-amplifyZSamazonka-amplify
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.Amplify.StopJob

Description

Stops a job that is in progress for a branch of an Amplify app.

Synopsis

Creating a Request

data StopJob Source #

The request structure for the stop job request.

See: newStopJob smart constructor.

Constructors

StopJob' 

Fields

Instances

Instances details
Eq StopJob Source # 
Instance details

Defined in Amazonka.Amplify.StopJob

Methods

(==) :: StopJob -> StopJob -> Bool #

(/=) :: StopJob -> StopJob -> Bool #

Read StopJob Source # 
Instance details

Defined in Amazonka.Amplify.StopJob

Show StopJob Source # 
Instance details

Defined in Amazonka.Amplify.StopJob

Generic StopJob Source # 
Instance details

Defined in Amazonka.Amplify.StopJob

Associated Types

type Rep StopJob :: Type -> Type #

Methods

from :: StopJob -> Rep StopJob x #

to :: Rep StopJob x -> StopJob #

NFData StopJob Source # 
Instance details

Defined in Amazonka.Amplify.StopJob

Methods

rnf :: StopJob -> () #

Hashable StopJob Source # 
Instance details

Defined in Amazonka.Amplify.StopJob

Methods

hashWithSalt :: Int -> StopJob -> Int #

hash :: StopJob -> Int #

AWSRequest StopJob Source # 
Instance details

Defined in Amazonka.Amplify.StopJob

Associated Types

type AWSResponse StopJob #

ToHeaders StopJob Source # 
Instance details

Defined in Amazonka.Amplify.StopJob

Methods

toHeaders :: StopJob -> [Header] #

ToPath StopJob Source # 
Instance details

Defined in Amazonka.Amplify.StopJob

Methods

toPath :: StopJob -> ByteString #

ToQuery StopJob Source # 
Instance details

Defined in Amazonka.Amplify.StopJob

type Rep StopJob Source # 
Instance details

Defined in Amazonka.Amplify.StopJob

type Rep StopJob = D1 ('MetaData "StopJob" "Amazonka.Amplify.StopJob" "libZSservicesZSamazonka-amplifyZSamazonka-amplify" 'False) (C1 ('MetaCons "StopJob'" 'PrefixI 'True) (S1 ('MetaSel ('Just "appId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "branchName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "jobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse StopJob Source # 
Instance details

Defined in Amazonka.Amplify.StopJob

newStopJob Source #

Create a value of StopJob 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:StopJob', stopJob_appId - The unique ID for an Amplify app.

$sel:branchName:StopJob', stopJob_branchName - The name for the branch, for the job.

$sel:jobId:StopJob', stopJob_jobId - The unique id for the job.

Request Lenses

stopJob_appId :: Lens' StopJob Text Source #

The unique ID for an Amplify app.

stopJob_branchName :: Lens' StopJob Text Source #

The name for the branch, for the job.

stopJob_jobId :: Lens' StopJob Text Source #

The unique id for the job.

Destructuring the Response

data StopJobResponse Source #

The result structure for the stop job request.

See: newStopJobResponse smart constructor.

Constructors

StopJobResponse' 

Fields

Instances

Instances details
Eq StopJobResponse Source # 
Instance details

Defined in Amazonka.Amplify.StopJob

Read StopJobResponse Source # 
Instance details

Defined in Amazonka.Amplify.StopJob

Show StopJobResponse Source # 
Instance details

Defined in Amazonka.Amplify.StopJob

Generic StopJobResponse Source # 
Instance details

Defined in Amazonka.Amplify.StopJob

Associated Types

type Rep StopJobResponse :: Type -> Type #

NFData StopJobResponse Source # 
Instance details

Defined in Amazonka.Amplify.StopJob

Methods

rnf :: StopJobResponse -> () #

type Rep StopJobResponse Source # 
Instance details

Defined in Amazonka.Amplify.StopJob

type Rep StopJobResponse = D1 ('MetaData "StopJobResponse" "Amazonka.Amplify.StopJob" "libZSservicesZSamazonka-amplifyZSamazonka-amplify" 'False) (C1 ('MetaCons "StopJobResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "jobSummary") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 JobSummary)))

newStopJobResponse Source #

Create a value of StopJobResponse 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:httpStatus:StopJobResponse', stopJobResponse_httpStatus - The response's http status code.

$sel:jobSummary:StopJobResponse', stopJobResponse_jobSummary - The summary for the job.

Response Lenses

stopJobResponse_httpStatus :: Lens' StopJobResponse Int Source #

The response's http status code.