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

Description

Restarts selected nodes of a previous partially completed workflow run and resumes the workflow run. The selected nodes and all nodes that are downstream from the selected nodes are run.

Synopsis

Creating a Request

data ResumeWorkflowRun Source #

See: newResumeWorkflowRun smart constructor.

Constructors

ResumeWorkflowRun' 

Fields

  • name :: Text

    The name of the workflow to resume.

  • runId :: Text

    The ID of the workflow run to resume.

  • nodeIds :: [Text]

    A list of the node IDs for the nodes you want to restart. The nodes that are to be restarted must have a run attempt in the original run.

Instances

Instances details
Eq ResumeWorkflowRun Source # 
Instance details

Defined in Amazonka.Glue.ResumeWorkflowRun

Read ResumeWorkflowRun Source # 
Instance details

Defined in Amazonka.Glue.ResumeWorkflowRun

Show ResumeWorkflowRun Source # 
Instance details

Defined in Amazonka.Glue.ResumeWorkflowRun

Generic ResumeWorkflowRun Source # 
Instance details

Defined in Amazonka.Glue.ResumeWorkflowRun

Associated Types

type Rep ResumeWorkflowRun :: Type -> Type #

NFData ResumeWorkflowRun Source # 
Instance details

Defined in Amazonka.Glue.ResumeWorkflowRun

Methods

rnf :: ResumeWorkflowRun -> () #

Hashable ResumeWorkflowRun Source # 
Instance details

Defined in Amazonka.Glue.ResumeWorkflowRun

ToJSON ResumeWorkflowRun Source # 
Instance details

Defined in Amazonka.Glue.ResumeWorkflowRun

AWSRequest ResumeWorkflowRun Source # 
Instance details

Defined in Amazonka.Glue.ResumeWorkflowRun

Associated Types

type AWSResponse ResumeWorkflowRun #

ToHeaders ResumeWorkflowRun Source # 
Instance details

Defined in Amazonka.Glue.ResumeWorkflowRun

ToPath ResumeWorkflowRun Source # 
Instance details

Defined in Amazonka.Glue.ResumeWorkflowRun

ToQuery ResumeWorkflowRun Source # 
Instance details

Defined in Amazonka.Glue.ResumeWorkflowRun

type Rep ResumeWorkflowRun Source # 
Instance details

Defined in Amazonka.Glue.ResumeWorkflowRun

type Rep ResumeWorkflowRun = D1 ('MetaData "ResumeWorkflowRun" "Amazonka.Glue.ResumeWorkflowRun" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "ResumeWorkflowRun'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "runId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "nodeIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]))))
type AWSResponse ResumeWorkflowRun Source # 
Instance details

Defined in Amazonka.Glue.ResumeWorkflowRun

newResumeWorkflowRun Source #

Create a value of ResumeWorkflowRun 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:ResumeWorkflowRun', resumeWorkflowRun_name - The name of the workflow to resume.

$sel:runId:ResumeWorkflowRun', resumeWorkflowRun_runId - The ID of the workflow run to resume.

$sel:nodeIds:ResumeWorkflowRun', resumeWorkflowRun_nodeIds - A list of the node IDs for the nodes you want to restart. The nodes that are to be restarted must have a run attempt in the original run.

Request Lenses

resumeWorkflowRun_name :: Lens' ResumeWorkflowRun Text Source #

The name of the workflow to resume.

resumeWorkflowRun_runId :: Lens' ResumeWorkflowRun Text Source #

The ID of the workflow run to resume.

resumeWorkflowRun_nodeIds :: Lens' ResumeWorkflowRun [Text] Source #

A list of the node IDs for the nodes you want to restart. The nodes that are to be restarted must have a run attempt in the original run.

Destructuring the Response

data ResumeWorkflowRunResponse Source #

See: newResumeWorkflowRunResponse smart constructor.

Constructors

ResumeWorkflowRunResponse' 

Fields

  • nodeIds :: Maybe [Text]

    A list of the node IDs for the nodes that were actually restarted.

  • runId :: Maybe Text

    The new ID assigned to the resumed workflow run. Each resume of a workflow run will have a new run ID.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq ResumeWorkflowRunResponse Source # 
Instance details

Defined in Amazonka.Glue.ResumeWorkflowRun

Read ResumeWorkflowRunResponse Source # 
Instance details

Defined in Amazonka.Glue.ResumeWorkflowRun

Show ResumeWorkflowRunResponse Source # 
Instance details

Defined in Amazonka.Glue.ResumeWorkflowRun

Generic ResumeWorkflowRunResponse Source # 
Instance details

Defined in Amazonka.Glue.ResumeWorkflowRun

Associated Types

type Rep ResumeWorkflowRunResponse :: Type -> Type #

NFData ResumeWorkflowRunResponse Source # 
Instance details

Defined in Amazonka.Glue.ResumeWorkflowRun

type Rep ResumeWorkflowRunResponse Source # 
Instance details

Defined in Amazonka.Glue.ResumeWorkflowRun

type Rep ResumeWorkflowRunResponse = D1 ('MetaData "ResumeWorkflowRunResponse" "Amazonka.Glue.ResumeWorkflowRun" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "ResumeWorkflowRunResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nodeIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "runId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newResumeWorkflowRunResponse Source #

Create a value of ResumeWorkflowRunResponse 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:nodeIds:ResumeWorkflowRun', resumeWorkflowRunResponse_nodeIds - A list of the node IDs for the nodes that were actually restarted.

$sel:runId:ResumeWorkflowRun', resumeWorkflowRunResponse_runId - The new ID assigned to the resumed workflow run. Each resume of a workflow run will have a new run ID.

$sel:httpStatus:ResumeWorkflowRunResponse', resumeWorkflowRunResponse_httpStatus - The response's http status code.

Response Lenses

resumeWorkflowRunResponse_nodeIds :: Lens' ResumeWorkflowRunResponse (Maybe [Text]) Source #

A list of the node IDs for the nodes that were actually restarted.

resumeWorkflowRunResponse_runId :: Lens' ResumeWorkflowRunResponse (Maybe Text) Source #

The new ID assigned to the resumed workflow run. Each resume of a workflow run will have a new run ID.