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

Description

Creates a new workflow.

Synopsis

Creating a Request

data CreateWorkflow Source #

See: newCreateWorkflow smart constructor.

Constructors

CreateWorkflow' 

Fields

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

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

  • 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
ToJSON CreateWorkflow Source # 
Instance details

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

AWSRequest CreateWorkflow Source # 
Instance details

Defined in Amazonka.Glue.CreateWorkflow

Associated Types

type AWSResponse CreateWorkflow #

Generic CreateWorkflow Source # 
Instance details

Defined in Amazonka.Glue.CreateWorkflow

Associated Types

type Rep CreateWorkflow :: Type -> Type #

Read CreateWorkflow Source # 
Instance details

Defined in Amazonka.Glue.CreateWorkflow

Show CreateWorkflow Source # 
Instance details

Defined in Amazonka.Glue.CreateWorkflow

NFData CreateWorkflow Source # 
Instance details

Defined in Amazonka.Glue.CreateWorkflow

Methods

rnf :: CreateWorkflow -> () #

Eq CreateWorkflow Source # 
Instance details

Defined in Amazonka.Glue.CreateWorkflow

Hashable CreateWorkflow Source # 
Instance details

Defined in Amazonka.Glue.CreateWorkflow

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

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:

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

CreateWorkflow, createWorkflow_description - A description of the workflow.

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:tags:CreateWorkflow', createWorkflow_tags - The tags to be used with this workflow.

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

Request Lenses

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

Defined in Amazonka.Glue.CreateWorkflow

Associated Types

type Rep CreateWorkflowResponse :: Type -> Type #

Read CreateWorkflowResponse Source # 
Instance details

Defined in Amazonka.Glue.CreateWorkflow

Show CreateWorkflowResponse Source # 
Instance details

Defined in Amazonka.Glue.CreateWorkflow

NFData CreateWorkflowResponse Source # 
Instance details

Defined in Amazonka.Glue.CreateWorkflow

Methods

rnf :: CreateWorkflowResponse -> () #

Eq CreateWorkflowResponse Source # 
Instance details

Defined in Amazonka.Glue.CreateWorkflow

type Rep CreateWorkflowResponse Source # 
Instance details

Defined in Amazonka.Glue.CreateWorkflow

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

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.