Documentation ¶
Index ¶
- func CreateTable(client *dynamodb.DynamoDB, tableName string) error
- func DestroyTable(client *dynamodb.DynamoDB, tableName string) error
- func GetRegion(client *dynamodb.DynamoDB) (string, error)
- func GetTables(client *dynamodb.DynamoDB) ([]*string, error)
- func WaitForTable(client *dynamodb.DynamoDB, tableName string) error
- type Connection
- type Params
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateTable ¶
CreateTable creates a table with the input `tableName`.
func DestroyTable ¶
DestroyTable destroys the input table.
func GetTables ¶
GetTables returns all dynamoDB tables that the input client has access to. Resource: https://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/dynamo-example-list-tables.html
Types ¶
type Connection ¶
Connection contains all of the relevant information to maintain a connection with DynamoDB.
func CreateConnection ¶
func CreateConnection() Connection
CreateConnection creates a connection with DynamoDB and returns it.
Click to show internal directories.
Click to hide internal directories.