sfndepents

package module
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2022 License: MIT Imports: 10 Imported by: 0

README

sfn-depends

Usage

Usage: sfn-depends [OPTION] STATE_MACHINE_ARN...
  -period string
    	period
  -version
    	print version and exit
$ sfn-depends -period 1d pool-card-stg-cron-test
validate pool-card-stg-cron-test
state machine is successfully completed.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Sfn       SfnAPI
	Region    string
	AccountId string
}

func NewClient

func NewClient() (*Client, error)

func (*Client) Validate

func (client *Client) Validate(stateMachines []string, period time.Duration) error

type SfnAPI

type SfnAPI interface {
	ListExecutions(ctx context.Context, params *sfn.ListExecutionsInput, optFns ...func(*sfn.Options)) (*sfn.ListExecutionsOutput, error)
}

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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