stepfunctions

package
v0.0.0-...-5c2f431 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 22, 2024 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SFN

type SFN struct {
	Client *sfn.Client
}

func NewFromConfig

func NewFromConfig(sdkConfig aws.Config) *SFN

NewFromConfig creates a new aws StepFunctions client

func (SFN) GetStateMachineExecutionCount

func (stepFunctions SFN) GetStateMachineExecutionCount(ctx context.Context, stateMachineArn string) (int, error)

func (SFN) StartExecution

func (stepFunctions SFN) StartExecution(ctx context.Context, input *sfn.StartExecutionInput) (*sfn.StartExecutionOutput, error)

type StepFunctions

type StepFunctions interface {
	StartExecution(ctx context.Context, input *sfn.StartExecutionInput) (*sfn.StartExecutionOutput, error)
	GetStateMachineExecutionCount(ctx context.Context, stateMachineArn string) (int, error)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL