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

Description

Updates an existing workflow.

Synopsis

Creating a Request

data UpdateWorkflow Source #

See: newUpdateWorkflow smart constructor.

Constructors

UpdateWorkflow' 

Fields

  • maxConcurrentRuns :: Maybe Int

    You can use this parameter to prevent unwanted multiple updates to data, to control costs, or in some cases, to prevent exceeding the maximum number of concurrent runs of any of the component jobs. If you leave this parameter blank, there is no limit to the number of concurrent workflow runs.

  • defaultRunProperties :: Maybe (HashMap Text Text)

    A collection of properties to be used as part of each execution of the workflow.

  • description :: Maybe Text

    The description of the workflow.

  • name :: Text

    Name of the workflow to be updated.

Instances

Instances details
Eq UpdateWorkflow Source # 
Instance details

Defined in Amazonka.Glue.UpdateWorkflow

Read UpdateWorkflow Source # 
Instance details

Defined in Amazonka.Glue.UpdateWorkflow

Show UpdateWorkflow Source # 
Instance details

Defined in Amazonka.Glue.UpdateWorkflow

Generic UpdateWorkflow Source # 
Instance details

Defined in Amazonka.Glue.UpdateWorkflow

Associated Types

type Rep UpdateWorkflow :: Type -> Type #

NFData UpdateWorkflow Source # 
Instance details

Defined in Amazonka.Glue.UpdateWorkflow

Methods

rnf :: UpdateWorkflow -> () #

Hashable UpdateWorkflow Source # 
Instance details

Defined in Amazonka.Glue.UpdateWorkflow

ToJSON UpdateWorkflow Source # 
Instance details

Defined in Amazonka.Glue.UpdateWorkflow

AWSRequest UpdateWorkflow Source # 
Instance details

Defined in Amazonka.Glue.UpdateWorkflow

Associated Types

type AWSResponse UpdateWorkflow #

ToHeaders UpdateWorkflow Source # 
Instance details

Defined in Amazonka.Glue.UpdateWorkflow

ToPath UpdateWorkflow Source # 
Instance details

Defined in Amazonka.Glue.UpdateWorkflow

ToQuery UpdateWorkflow Source # 
Instance details

Defined in Amazonka.Glue.UpdateWorkflow

type Rep UpdateWorkflow Source # 
Instance details

Defined in Amazonka.Glue.UpdateWorkflow

type Rep UpdateWorkflow = D1 ('MetaData "UpdateWorkflow" "Amazonka.Glue.UpdateWorkflow" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "UpdateWorkflow'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "maxConcurrentRuns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "defaultRunProperties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse UpdateWorkflow Source # 
Instance details

Defined in Amazonka.Glue.UpdateWorkflow

newUpdateWorkflow Source #

Create a value of UpdateWorkflow 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:maxConcurrentRuns:UpdateWorkflow', updateWorkflow_maxConcurrentRuns - You can use this parameter to prevent unwanted multiple updates to data, to control costs, or in some cases, to prevent exceeding the maximum number of concurrent runs of any of the component jobs. If you leave this parameter blank, there is no limit to the number of concurrent workflow runs.

$sel:defaultRunProperties:UpdateWorkflow', updateWorkflow_defaultRunProperties - A collection of properties to be used as part of each execution of the workflow.

$sel:description:UpdateWorkflow', updateWorkflow_description - The description of the workflow.

$sel:name:UpdateWorkflow', updateWorkflow_name - Name of the workflow to be updated.

Request Lenses

updateWorkflow_maxConcurrentRuns :: Lens' UpdateWorkflow (Maybe Int) Source #

You can use this parameter to prevent unwanted multiple updates to data, to control costs, or in some cases, to prevent exceeding the maximum number of concurrent runs of any of the component jobs. If you leave this parameter blank, there is no limit to the number of concurrent workflow runs.

updateWorkflow_defaultRunProperties :: Lens' UpdateWorkflow (Maybe (HashMap Text Text)) Source #

A collection of properties to be used as part of each execution of the workflow.

updateWorkflow_description :: Lens' UpdateWorkflow (Maybe Text) Source #

The description of the workflow.

updateWorkflow_name :: Lens' UpdateWorkflow Text Source #

Name of the workflow to be updated.

Destructuring the Response

data UpdateWorkflowResponse Source #

See: newUpdateWorkflowResponse smart constructor.

Constructors

UpdateWorkflowResponse' 

Fields

Instances

Instances details
Eq UpdateWorkflowResponse Source # 
Instance details

Defined in Amazonka.Glue.UpdateWorkflow

Read UpdateWorkflowResponse Source # 
Instance details

Defined in Amazonka.Glue.UpdateWorkflow

Show UpdateWorkflowResponse Source # 
Instance details

Defined in Amazonka.Glue.UpdateWorkflow

Generic UpdateWorkflowResponse Source # 
Instance details

Defined in Amazonka.Glue.UpdateWorkflow

Associated Types

type Rep UpdateWorkflowResponse :: Type -> Type #

NFData UpdateWorkflowResponse Source # 
Instance details

Defined in Amazonka.Glue.UpdateWorkflow

Methods

rnf :: UpdateWorkflowResponse -> () #

type Rep UpdateWorkflowResponse Source # 
Instance details

Defined in Amazonka.Glue.UpdateWorkflow

type Rep UpdateWorkflowResponse = D1 ('MetaData "UpdateWorkflowResponse" "Amazonka.Glue.UpdateWorkflow" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "UpdateWorkflowResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateWorkflowResponse Source #

Create a value of UpdateWorkflowResponse 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:name:UpdateWorkflow', updateWorkflowResponse_name - The name of the workflow which was specified in input.

$sel:httpStatus:UpdateWorkflowResponse', updateWorkflowResponse_httpStatus - The response's http status code.

Response Lenses

updateWorkflowResponse_name :: Lens' UpdateWorkflowResponse (Maybe Text) Source #

The name of the workflow which was specified in input.