AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

CreateActivityInput

import "github.com/aws/aws-sdk-go/service/sfn"

type CreateActivityInput struct { Name *string `locationName:"name" min:"1" type:"string" required:"true"` Tags []*Tag `locationName:"tags" type:"list"` }

Name

Type: *string

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 (https://docs.aws.amazon.com/step-functions/latest/dg/limits.html#service-limits-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)

Name is a required field

Tags

Tags are key-value pairs that can be associated with Step Functions state machines and activities.

Method

GoString

func (s CreateActivityInput) GoString() string

GoString returns the string representation

SetName

func (s *CreateActivityInput) SetName(v string) *CreateActivityInput

SetName sets the Name field's value.

SetTags

func (s *CreateActivityInput) SetTags(v []*Tag) *CreateActivityInput

SetTags sets the Tags field's value.

String

func (s CreateActivityInput) String() string

String returns the string representation

Validate

func (s *CreateActivityInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: