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

Description

Creates a new workflow.

Synopsis

Creating a Request

data CreateWorkflow Source #

See: newCreateWorkflow smart constructor.

Constructors

CreateWorkflow' 

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

    A description of the workflow.

  • tags :: Maybe (HashMap Text Text)

    The tags to be used with this workflow.

  • name :: Text

    The name to be assigned to the workflow. It should be unique within your account.

Instances

Instances details
Eq CreateWorkflow Source # 
Instance details

Defined in Amazonka.Glue.CreateWorkflow

Read CreateWorkflow Source # 
Instance details

Defined in Amazonka.Glue.CreateWorkflow

Show CreateWorkflow Source # 
Instance details

Defined in Amazonka.Glue.CreateWorkflow

Generic CreateWorkflow Source # 
Instance details

Defined in Amazonka.Glue.CreateWorkflow

Associated Types

type Rep CreateWorkflow :: Type -> Type #

NFData CreateWorkflow Source # 
Instance details

Defined in Amazonka.Glue.CreateWorkflow

Methods

rnf :: CreateWorkflow -> () #

Hashable CreateWorkflow Source # 
Instance details

Defined in Amazonka.Glue.CreateWorkflow

ToJSON CreateWorkflow Source # 
Instance details

Defined in Amazonka.Glue.CreateWorkflow

AWSRequest CreateWorkflow Source # 
Instance details

Defined in Amazonka.Glue.CreateWorkflow

Associated Types

type AWSResponse CreateWorkflow #

ToHeaders CreateWorkflow Source # 
Instance details

Defined in Amazonka.Glue.CreateWorkflow

ToPath CreateWorkflow Source # 
Instance details

Defined in Amazonka.Glue.CreateWorkflow

ToQuery CreateWorkflow Source # 
Instance details

Defined in Amazonka.Glue.CreateWorkflow

type Rep CreateWorkflow Source # 
Instance details

Defined in Amazonka.Glue.CreateWorkflow

type Rep CreateWorkflow = D1 ('MetaData "CreateWorkflow" "Amazonka.Glue.CreateWorkflow" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "CreateWorkflow'" '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 "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse CreateWorkflow Source # 
Instance details

Defined in Amazonka.Glue.CreateWorkflow

newCreateWorkflow Source #

Create a value of CreateWorkflow 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:CreateWorkflow', createWorkflow_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:CreateWorkflow', createWorkflow_defaultRunProperties - A collection of properties to be used as part of each execution of the workflow.

$sel:description:CreateWorkflow', createWorkflow_description - A description of the workflow.

$sel:tags:CreateWorkflow', createWorkflow_tags - The tags to be used with this workflow.

$sel:name:CreateWorkflow', createWorkflow_name - The name to be assigned to the workflow. It should be unique within your account.

Request Lenses

createWorkflow_maxConcurrentRuns :: Lens' CreateWorkflow (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.

createWorkflow_defaultRunProperties :: Lens' CreateWorkflow (Maybe (HashMap Text Text)) Source #

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

createWorkflow_description :: Lens' CreateWorkflow (Maybe Text) Source #

A description of the workflow.

createWorkflow_tags :: Lens' CreateWorkflow (Maybe (HashMap Text Text)) Source #

The tags to be used with this workflow.

createWorkflow_name :: Lens' CreateWorkflow Text Source #

The name to be assigned to the workflow. It should be unique within your account.

Destructuring the Response

data CreateWorkflowResponse Source #

See: newCreateWorkflowResponse smart constructor.

Constructors

CreateWorkflowResponse' 

Fields

  • name :: Maybe Text

    The name of the workflow which was provided as part of the request.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq CreateWorkflowResponse Source # 
Instance details

Defined in Amazonka.Glue.CreateWorkflow

Read CreateWorkflowResponse Source # 
Instance details

Defined in Amazonka.Glue.CreateWorkflow

Show CreateWorkflowResponse Source # 
Instance details

Defined in Amazonka.Glue.CreateWorkflow

Generic CreateWorkflowResponse Source # 
Instance details

Defined in Amazonka.Glue.CreateWorkflow

Associated Types

type Rep CreateWorkflowResponse :: Type -> Type #

NFData CreateWorkflowResponse Source # 
Instance details

Defined in Amazonka.Glue.CreateWorkflow

Methods

rnf :: CreateWorkflowResponse -> () #

type Rep CreateWorkflowResponse Source # 
Instance details

Defined in Amazonka.Glue.CreateWorkflow

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

newCreateWorkflowResponse Source #

Create a value of CreateWorkflowResponse 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:CreateWorkflow', createWorkflowResponse_name - The name of the workflow which was provided as part of the request.

$sel:httpStatus:CreateWorkflowResponse', createWorkflowResponse_httpStatus - The response's http status code.

Response Lenses

createWorkflowResponse_name :: Lens' CreateWorkflowResponse (Maybe Text) Source #

The name of the workflow which was provided as part of the request.