// DefaultGSIConfiguration contains some generic GSI keys
DefaultGSIConfiguration contains some generic GSI keys
// DefaultGSIConfiguration contains some generic GSI keys
func DefaultGSIConfiguration() []*dynamodb.GlobalSecondaryIndex {
	return []*dynamodb.GlobalSecondaryIndex{
		{
			IndexName: aws.String("TYPE"),
			KeySchema: toDynamoKeySchema(map[string]string{
				"TYP": "HASH",
			}),
			Projection: &dynamodb.Projection{
				ProjectionType: aws.String("ALL"),
			},
			ProvisionedThroughput: DefaultThroughput,
		},
		{
			IndexName: aws.String("GSI1"),
			KeySchema: toDynamoKeySchema(map[string]string{
				"GSI1PK": "HASH",
				"GSI1SK": "RANGE",
			}),
			Projection: &dynamodb.Projection{
				ProjectionType: aws.String("ALL"),
			},
			ProvisionedThroughput: DefaultThroughput,
		},
		{
			IndexName: aws.String("GSI2"),
			KeySchema: toDynamoKeySchema(map[string]string{
				"GSI2PK": "HASH",
				"GSI2SK": "RANGE",
			}),
			Projection: &dynamodb.Projection{
				ProjectionType: aws.String("ALL"),
			},
			ProvisionedThroughput: DefaultThroughput,
		},
		{
			IndexName: aws.String("GSI3"),
			KeySchema: toDynamoKeySchema(map[string]string{
				"GSI3PK": "HASH",
				"GSI3SK": "RANGE",
			}),
			Projection: &dynamodb.Projection{
				ProjectionType: aws.String("ALL"),
			},
			ProvisionedThroughput: DefaultThroughput,
		},
		{
			IndexName: aws.String("GSI1SKN"),
			KeySchema: toDynamoKeySchema(map[string]string{
				"GSI1PKS": "HASH",
				"GSI1SKN": "RANGE",
			}),
			Projection: &dynamodb.Projection{
				ProjectionType: aws.String("ALL"),
			},
			ProvisionedThroughput: DefaultThroughput,
		},
		{
			IndexName: aws.String("GSI2SKN"),
			KeySchema: toDynamoKeySchema(map[string]string{
				"GSI2PKS": "HASH",
				"GSI2SKN": "RANGE",
			}),
			Projection: &dynamodb.Projection{
				ProjectionType: aws.String("ALL"),
			},
			ProvisionedThroughput: DefaultThroughput,
		},
		{
			IndexName: aws.String("GSI3SKN"),
			KeySchema: toDynamoKeySchema(map[string]string{
				"GSI3PKS": "HASH",
				"GSI3SKN": "RANGE",
			}),
			Projection: &dynamodb.Projection{
				ProjectionType: aws.String("ALL"),
			},
			ProvisionedThroughput: DefaultThroughput,
		},
	}
}
func DefaultGSIConfiguration ( ) [ ] * dynamodb . GlobalSecondaryIndex { return [ ] * dynamodb . GlobalSecondaryIndex { { IndexName : aws . String ( " " ) , KeySchema : toDynamoKeySchema ( map [ string ] string { " " : " " , } ) , Projection : & dynamodb . Projection { ProjectionType : aws . String ( " " ) , } , ProvisionedThroughput : DefaultThroughput , } , { IndexName : aws . String ( " " ) , KeySchema : toDynamoKeySchema ( map [ string ] string { " " : " " , " " : " " , } ) , Projection : & dynamodb . Projection { ProjectionType : aws . String ( " " ) , } , ProvisionedThroughput : DefaultThroughput , } , { IndexName : aws . String ( " " ) , KeySchema : toDynamoKeySchema ( map [ string ] string { " " : " " , " " : " " , } ) , Projection : & dynamodb . Projection { ProjectionType : aws . String ( " " ) , } , ProvisionedThroughput : DefaultThroughput , } , { IndexName : aws . String ( " " ) , KeySchema : toDynamoKeySchema ( map [ string ] string { " " : " " , " " : " " , } ) , Projection : & dynamodb . Projection { ProjectionType : aws . String ( " " ) , } , ProvisionedThroughput : DefaultThroughput , } , { IndexName : aws . String ( " " ) , KeySchema : toDynamoKeySchema ( map [ string ] string { " " : " " , " " : " " , } ) , Projection : & dynamodb . Projection { ProjectionType : aws . String ( " " ) , } , ProvisionedThroughput : DefaultThroughput , } , { IndexName : aws . String ( " " ) , KeySchema : toDynamoKeySchema ( map [ string ] string { " " : " " , " " : " " , } ) , Projection : & dynamodb . Projection { ProjectionType : aws . String ( " " ) , } , ProvisionedThroughput : DefaultThroughput , } , { IndexName : aws . String ( " " ) , KeySchema : toDynamoKeySchema ( map [ string ] string { " " : " " , " " : " " , } ) , Projection : & dynamodb . Projection { ProjectionType : aws . String ( " " ) , } , ProvisionedThroughput : DefaultThroughput , } , } }
DefaultGSIConfiguration contains some generic GSI keys
DefaultGSIConfiguration contains some generic GSI keys
// == number based GSIs with hash as string and sort key as number