internal

package
v0.0.0-...-eb62eed Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeError

func DecodeError(err error) error

DecodeError decodes an error returned by a Cadence activity. If the error is an AWS SDK error, it gets converted to an AWS SDK compatible error interface. Otherwise the original error is returned.

func EncodeError

func EncodeError(err error) error

EncodeError encodes an error returned by the AWS SDK as a Cadence error.

func SetClientToken

func SetClientToken(ctx context.Context, clientToken **string)

SetClientToken assigns idempotency token to the same value across retries

func WaitUntilActivity

func WaitUntilActivity(ctx context.Context, f func(context.Context, ...request.WaiterOption) error) error

WaitUntilActivity calls function until it returns an error which is not request.WaiterResourceNotReadyErrorCode.

Types

This section is empty.

Jump to

Keyboard shortcuts

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