Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BILLING_MODE = types.BillingModePayPerRequest
View Source
var DynamoDBFeedsPublicationsLogsTable = &dynamodb.CreateTableInput{ KeySchema: []types.KeySchemaElement{ { AttributeName: aws.String("Id"), KeyType: "HASH", }, }, AttributeDefinitions: []types.AttributeDefinition{ { AttributeName: aws.String("Id"), AttributeType: "N", }, { AttributeName: aws.String("AccountId"), AttributeType: "N", }, { AttributeName: aws.String("FeedURL"), AttributeType: "S", }, { AttributeName: aws.String("Published"), AttributeType: "N", }, }, GlobalSecondaryIndexes: []types.GlobalSecondaryIndex{ { IndexName: aws.String("account_feed"), KeySchema: []types.KeySchemaElement{ { AttributeName: aws.String("AccountId"), KeyType: "HASH", }, { AttributeName: aws.String("FeedURL"), KeyType: "RANGE", }, }, Projection: &types.Projection{ ProjectionType: "KEYS_ONLY", }, }, { IndexName: aws.String("by_feed"), KeySchema: []types.KeySchemaElement{ { AttributeName: aws.String("FeedURL"), KeyType: "HASH", }, { AttributeName: aws.String("Published"), KeyType: "RANGE", }, }, Projection: &types.Projection{ ProjectionType: "KEYS_ONLY", }, }, { IndexName: aws.String("by_published"), KeySchema: []types.KeySchemaElement{ { AttributeName: aws.String("Published"), KeyType: "HASH", }, }, Projection: &types.Projection{ ProjectionType: "KEYS_ONLY", }, }, }, BillingMode: BILLING_MODE, TableName: &FEEDS_TABLE_NAME, }
View Source
var DynamoDBTables = map[string]*dynamodb.CreateTableInput{ FEEDS_TABLE_NAME: DynamoDBFeedsPublicationsLogsTable, }
View Source
var FEEDS_TABLE_NAME = "feeds_publication_logs"
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.