Documentation
¶
Index ¶
- type Client
- func (c *Client) Close() error
- func (c *Client) CreateTable(ctx context.Context, config interfaces.MigrationConfig, dryRun bool) error
- func (c *Client) PutItems(ctx context.Context, tableName string, items []map[string]interface{}, ...) error
- func (c *Client) TableExists(ctx context.Context, tableName string) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client wraps the AWS DynamoDB client and implements the DynamoDBClient interface
func NewClientWithConfig ¶
NewClientWithConfig creates a new DynamoDB client with custom configuration
func (*Client) CreateTable ¶
func (c *Client) CreateTable(ctx context.Context, config interfaces.MigrationConfig, dryRun bool) error
CreateTable creates a DynamoDB table based on the migration configuration
Click to show internal directories.
Click to hide internal directories.