paws.application.integration (version 0.1.0)

sfn_create_activity: Creates an activity

Description

Creates an activity. An activity is a task that you write in any programming language and host on any machine that has access to AWS Step Functions. Activities must poll Step Functions using the GetActivityTask API action and respond using SendTask* API actions. This function lets Step Functions know the existence of your activity and returns an identifier for use in a state machine and when polling from the activity.

Usage

sfn_create_activity(name, tags)

Arguments

name

[required] The name of the activity to create. This name must be unique for your AWS account and region for 90 days. For more information, see Limits Related to State Machine Executions in the AWS Step Functions Developer Guide.

A name must not contain:

  • whitespace

  • brackets < > { } \[ \]

  • wildcard characters ? *

  • special characters \" # \% \ ^ | ~ \` $ & , ; : /

  • control characters (U+0000-001F, U+007F-009F)

tags

The list of tags to add to a resource.

Request syntax

svc$create_activity(
  name = "string",
  tags = list(
    list(
      key = "string",
      value = "string"
    )
  )
)

Details

This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.