Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeError ¶
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 ¶
EncodeError encodes an error returned by the AWS SDK as a Cadence error.
func SetClientToken ¶
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.
Click to show internal directories.
Click to hide internal directories.