libZSservicesZSamazonka-glueZSamazonka-glue
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.Glue.BatchStopJobRun

Description

Stops one or more job runs for a specified job definition.

Synopsis

Creating a Request

data BatchStopJobRun Source #

See: newBatchStopJobRun smart constructor.

Constructors

BatchStopJobRun' 

Fields

  • jobName :: Text

    The name of the job definition for which to stop job runs.

  • jobRunIds :: NonEmpty Text

    A list of the JobRunIds that should be stopped for that job definition.

Instances

Instances details
Eq BatchStopJobRun Source # 
Instance details

Defined in Amazonka.Glue.BatchStopJobRun

Read BatchStopJobRun Source # 
Instance details

Defined in Amazonka.Glue.BatchStopJobRun

Show BatchStopJobRun Source # 
Instance details

Defined in Amazonka.Glue.BatchStopJobRun

Generic BatchStopJobRun Source # 
Instance details

Defined in Amazonka.Glue.BatchStopJobRun

Associated Types

type Rep BatchStopJobRun :: Type -> Type #

NFData BatchStopJobRun Source # 
Instance details

Defined in Amazonka.Glue.BatchStopJobRun

Methods

rnf :: BatchStopJobRun -> () #

Hashable BatchStopJobRun Source # 
Instance details

Defined in Amazonka.Glue.BatchStopJobRun

ToJSON BatchStopJobRun Source # 
Instance details

Defined in Amazonka.Glue.BatchStopJobRun

AWSRequest BatchStopJobRun Source # 
Instance details

Defined in Amazonka.Glue.BatchStopJobRun

Associated Types

type AWSResponse BatchStopJobRun #

ToHeaders BatchStopJobRun Source # 
Instance details

Defined in Amazonka.Glue.BatchStopJobRun

ToPath BatchStopJobRun Source # 
Instance details

Defined in Amazonka.Glue.BatchStopJobRun

ToQuery BatchStopJobRun Source # 
Instance details

Defined in Amazonka.Glue.BatchStopJobRun

type Rep BatchStopJobRun Source # 
Instance details

Defined in Amazonka.Glue.BatchStopJobRun

type Rep BatchStopJobRun = D1 ('MetaData "BatchStopJobRun" "Amazonka.Glue.BatchStopJobRun" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "BatchStopJobRun'" 'PrefixI 'True) (S1 ('MetaSel ('Just "jobName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "jobRunIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Text))))
type AWSResponse BatchStopJobRun Source # 
Instance details

Defined in Amazonka.Glue.BatchStopJobRun

newBatchStopJobRun Source #

Create a value of BatchStopJobRun 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:jobName:BatchStopJobRun', batchStopJobRun_jobName - The name of the job definition for which to stop job runs.

$sel:jobRunIds:BatchStopJobRun', batchStopJobRun_jobRunIds - A list of the JobRunIds that should be stopped for that job definition.

Request Lenses

batchStopJobRun_jobName :: Lens' BatchStopJobRun Text Source #

The name of the job definition for which to stop job runs.

batchStopJobRun_jobRunIds :: Lens' BatchStopJobRun (NonEmpty Text) Source #

A list of the JobRunIds that should be stopped for that job definition.

Destructuring the Response

data BatchStopJobRunResponse Source #

See: newBatchStopJobRunResponse smart constructor.

Constructors

BatchStopJobRunResponse' 

Fields

Instances

Instances details
Eq BatchStopJobRunResponse Source # 
Instance details

Defined in Amazonka.Glue.BatchStopJobRun

Read BatchStopJobRunResponse Source # 
Instance details

Defined in Amazonka.Glue.BatchStopJobRun

Show BatchStopJobRunResponse Source # 
Instance details

Defined in Amazonka.Glue.BatchStopJobRun

Generic BatchStopJobRunResponse Source # 
Instance details

Defined in Amazonka.Glue.BatchStopJobRun

Associated Types

type Rep BatchStopJobRunResponse :: Type -> Type #

NFData BatchStopJobRunResponse Source # 
Instance details

Defined in Amazonka.Glue.BatchStopJobRun

Methods

rnf :: BatchStopJobRunResponse -> () #

type Rep BatchStopJobRunResponse Source # 
Instance details

Defined in Amazonka.Glue.BatchStopJobRun

type Rep BatchStopJobRunResponse = D1 ('MetaData "BatchStopJobRunResponse" "Amazonka.Glue.BatchStopJobRun" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "BatchStopJobRunResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "successfulSubmissions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [BatchStopJobRunSuccessfulSubmission])) :*: (S1 ('MetaSel ('Just "errors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [BatchStopJobRunError])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newBatchStopJobRunResponse Source #

Create a value of BatchStopJobRunResponse 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:successfulSubmissions:BatchStopJobRunResponse', batchStopJobRunResponse_successfulSubmissions - A list of the JobRuns that were successfully submitted for stopping.

$sel:errors:BatchStopJobRunResponse', batchStopJobRunResponse_errors - A list of the errors that were encountered in trying to stop JobRuns, including the JobRunId for which each error was encountered and details about the error.

$sel:httpStatus:BatchStopJobRunResponse', batchStopJobRunResponse_httpStatus - The response's http status code.

Response Lenses

batchStopJobRunResponse_successfulSubmissions :: Lens' BatchStopJobRunResponse (Maybe [BatchStopJobRunSuccessfulSubmission]) Source #

A list of the JobRuns that were successfully submitted for stopping.

batchStopJobRunResponse_errors :: Lens' BatchStopJobRunResponse (Maybe [BatchStopJobRunError]) Source #

A list of the errors that were encountered in trying to stop JobRuns, including the JobRunId for which each error was encountered and details about the error.