amazonka-glue-2.0: Amazon Glue SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Glue.UpdateWorkflow

Description

Updates an existing workflow.

Synopsis

Creating a Request

data UpdateWorkflow Source #

See: newUpdateWorkflow smart constructor.

Constructors

UpdateWorkflow' 

Fields

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

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

  • name :: Text

    Name of the workflow to be updated.

Instances

Instances details
ToJSON UpdateWorkflow Source # 
Instance details

Defined in Amazonka.Glue.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

AWSRequest UpdateWorkflow Source # 
Instance details

Defined in Amazonka.Glue.UpdateWorkflow

Associated Types

type AWSResponse UpdateWorkflow #

Generic UpdateWorkflow Source # 
Instance details

Defined in Amazonka.Glue.UpdateWorkflow

Associated Types

type Rep UpdateWorkflow :: Type -> Type #

Read UpdateWorkflow Source # 
Instance details

Defined in Amazonka.Glue.UpdateWorkflow

Show UpdateWorkflow Source # 
Instance details

Defined in Amazonka.Glue.UpdateWorkflow

NFData UpdateWorkflow Source # 
Instance details

Defined in Amazonka.Glue.UpdateWorkflow

Methods

rnf :: UpdateWorkflow -> () #

Eq UpdateWorkflow Source # 
Instance details

Defined in Amazonka.Glue.UpdateWorkflow

Hashable UpdateWorkflow Source # 
Instance details

Defined in Amazonka.Glue.UpdateWorkflow

type AWSResponse 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" "amazonka-glue-2.0-7miPWwBHdfn8N8SvbpLgE0" 'False) (C1 ('MetaCons "UpdateWorkflow'" 'PrefixI 'True) ((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 "maxConcurrentRuns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

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:

UpdateWorkflow, updateWorkflow_defaultRunProperties - A collection of properties to be used as part of each execution of the workflow.

UpdateWorkflow, updateWorkflow_description - The description of the workflow.

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.

UpdateWorkflow, updateWorkflow_name - Name of the workflow to be updated.

Request Lenses

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_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_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
Generic UpdateWorkflowResponse Source # 
Instance details

Defined in Amazonka.Glue.UpdateWorkflow

Associated Types

type Rep UpdateWorkflowResponse :: Type -> Type #

Read UpdateWorkflowResponse Source # 
Instance details

Defined in Amazonka.Glue.UpdateWorkflow

Show UpdateWorkflowResponse Source # 
Instance details

Defined in Amazonka.Glue.UpdateWorkflow

NFData UpdateWorkflowResponse Source # 
Instance details

Defined in Amazonka.Glue.UpdateWorkflow

Methods

rnf :: UpdateWorkflowResponse -> () #

Eq UpdateWorkflowResponse Source # 
Instance details

Defined in Amazonka.Glue.UpdateWorkflow

type Rep UpdateWorkflowResponse Source # 
Instance details

Defined in Amazonka.Glue.UpdateWorkflow

type Rep UpdateWorkflowResponse = D1 ('MetaData "UpdateWorkflowResponse" "Amazonka.Glue.UpdateWorkflow" "amazonka-glue-2.0-7miPWwBHdfn8N8SvbpLgE0" '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:

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.