libZSservicesZSamazonka-stepfunctionsZSamazonka-stepfunctions
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.StepFunctions.SendTaskSuccess

Description

Used by activity workers and task states using the callback pattern to report that the task identified by the taskToken completed successfully.

Synopsis

Creating a Request

data SendTaskSuccess Source #

See: newSendTaskSuccess smart constructor.

Constructors

SendTaskSuccess' 

Fields

  • taskToken :: Text

    The token that represents this task. Task tokens are generated by Step Functions when tasks are assigned to a worker, or in the context object when a workflow enters a task state. See GetActivityTaskOutput$taskToken.

  • output :: Sensitive Text

    The JSON output of the task. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.

Instances

Instances details
Eq SendTaskSuccess Source # 
Instance details

Defined in Amazonka.StepFunctions.SendTaskSuccess

Show SendTaskSuccess Source # 
Instance details

Defined in Amazonka.StepFunctions.SendTaskSuccess

Generic SendTaskSuccess Source # 
Instance details

Defined in Amazonka.StepFunctions.SendTaskSuccess

Associated Types

type Rep SendTaskSuccess :: Type -> Type #

NFData SendTaskSuccess Source # 
Instance details

Defined in Amazonka.StepFunctions.SendTaskSuccess

Methods

rnf :: SendTaskSuccess -> () #

Hashable SendTaskSuccess Source # 
Instance details

Defined in Amazonka.StepFunctions.SendTaskSuccess

ToJSON SendTaskSuccess Source # 
Instance details

Defined in Amazonka.StepFunctions.SendTaskSuccess

AWSRequest SendTaskSuccess Source # 
Instance details

Defined in Amazonka.StepFunctions.SendTaskSuccess

Associated Types

type AWSResponse SendTaskSuccess #

ToHeaders SendTaskSuccess Source # 
Instance details

Defined in Amazonka.StepFunctions.SendTaskSuccess

ToPath SendTaskSuccess Source # 
Instance details

Defined in Amazonka.StepFunctions.SendTaskSuccess

ToQuery SendTaskSuccess Source # 
Instance details

Defined in Amazonka.StepFunctions.SendTaskSuccess

type Rep SendTaskSuccess Source # 
Instance details

Defined in Amazonka.StepFunctions.SendTaskSuccess

type Rep SendTaskSuccess = D1 ('MetaData "SendTaskSuccess" "Amazonka.StepFunctions.SendTaskSuccess" "libZSservicesZSamazonka-stepfunctionsZSamazonka-stepfunctions" 'False) (C1 ('MetaCons "SendTaskSuccess'" 'PrefixI 'True) (S1 ('MetaSel ('Just "taskToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "output") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text))))
type AWSResponse SendTaskSuccess Source # 
Instance details

Defined in Amazonka.StepFunctions.SendTaskSuccess

newSendTaskSuccess Source #

Create a value of SendTaskSuccess 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:taskToken:SendTaskSuccess', sendTaskSuccess_taskToken - The token that represents this task. Task tokens are generated by Step Functions when tasks are assigned to a worker, or in the context object when a workflow enters a task state. See GetActivityTaskOutput$taskToken.

$sel:output:SendTaskSuccess', sendTaskSuccess_output - The JSON output of the task. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.

Request Lenses

sendTaskSuccess_taskToken :: Lens' SendTaskSuccess Text Source #

The token that represents this task. Task tokens are generated by Step Functions when tasks are assigned to a worker, or in the context object when a workflow enters a task state. See GetActivityTaskOutput$taskToken.

sendTaskSuccess_output :: Lens' SendTaskSuccess Text Source #

The JSON output of the task. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.

Destructuring the Response

data SendTaskSuccessResponse Source #

See: newSendTaskSuccessResponse smart constructor.

Constructors

SendTaskSuccessResponse' 

Fields

Instances

Instances details
Eq SendTaskSuccessResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.SendTaskSuccess

Read SendTaskSuccessResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.SendTaskSuccess

Show SendTaskSuccessResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.SendTaskSuccess

Generic SendTaskSuccessResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.SendTaskSuccess

Associated Types

type Rep SendTaskSuccessResponse :: Type -> Type #

NFData SendTaskSuccessResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.SendTaskSuccess

Methods

rnf :: SendTaskSuccessResponse -> () #

type Rep SendTaskSuccessResponse Source # 
Instance details

Defined in Amazonka.StepFunctions.SendTaskSuccess

type Rep SendTaskSuccessResponse = D1 ('MetaData "SendTaskSuccessResponse" "Amazonka.StepFunctions.SendTaskSuccess" "libZSservicesZSamazonka-stepfunctionsZSamazonka-stepfunctions" 'False) (C1 ('MetaCons "SendTaskSuccessResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newSendTaskSuccessResponse Source #

Create a value of SendTaskSuccessResponse 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:httpStatus:SendTaskSuccessResponse', sendTaskSuccessResponse_httpStatus - The response's http status code.

Response Lenses