We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a7881e2 commit bce8510Copy full SHA for bce8510
1 file changed
swift/example_code/dynamodb/basics/MovieList/MovieTable.swift
@@ -74,14 +74,11 @@ public class MovieTable {
74
DynamoDBClientTypes.AttributeDefinition(attributeName: "year", attributeType: .n),
75
DynamoDBClientTypes.AttributeDefinition(attributeName: "title", attributeType: .s)
76
],
77
+ billingMode: DynamoDBClientTypes.BillingMode.payPerRequest,
78
keySchema: [
79
DynamoDBClientTypes.KeySchemaElement(attributeName: "year", keyType: .hash),
80
DynamoDBClientTypes.KeySchemaElement(attributeName: "title", keyType: .range)
81
- provisionedThroughput: DynamoDBClientTypes.ProvisionedThroughput(
82
- readCapacityUnits: 10,
83
- writeCapacityUnits: 10
84
- ),
85
tableName: self.tableName
86
)
87
let output = try await client.createTable(input: input)
0 commit comments