Documentation
¶
Overview ¶
Package common contains various helpers for adapters.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MustParseARN ¶
MustParseARN parses an ARN and panics in case of error.
func MustParseCognitoIdentityResource ¶
MustParseCognitoIdentityResource parses the resource segment of a Cognito Identity Pool ARN and panics in case of error.
func MustParseCognitoUserPoolResource ¶
MustParseCognitoUserPoolResource parses the resource segment of a Cognito User Pool ARN and panics in case of error.
func MustParseDynamoDBResource ¶
MustParseDynamoDBResource parses the resource segment of a DynamoDB ARN and panics in case of error.
func MustParseKinesisResource ¶
MustParseKinesisResource parses the resource segment of a Kinesis ARN and panics in case of error.
Types ¶
type Backoff ¶
type Backoff struct {
// contains filtered or unexported fields
}
Backoff provides a simple exponential backoff mechanism
func NewBackoff ¶
NewBackoff accepts optional values for minimum and maximum wait period and return new instance of Backoff structure