File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
swift/example_code/dynamodb/basics/MovieList Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -74,14 +74,11 @@ public class MovieTable {
7474 DynamoDBClientTypes . AttributeDefinition ( attributeName: " year " , attributeType: . n) ,
7575 DynamoDBClientTypes . AttributeDefinition ( attributeName: " title " , attributeType: . s)
7676 ] ,
77+ billingMode: DynamoDBClientTypes . BillingMode. payPerRequest,
7778 keySchema: [
7879 DynamoDBClientTypes . KeySchemaElement ( attributeName: " year " , keyType: . hash) ,
7980 DynamoDBClientTypes . KeySchemaElement ( attributeName: " title " , keyType: . range)
8081 ] ,
81- provisionedThroughput: DynamoDBClientTypes . ProvisionedThroughput (
82- readCapacityUnits: 10 ,
83- writeCapacityUnits: 10
84- ) ,
8582 tableName: self . tableName
8683 )
8784 let output = try await client. createTable ( input: input)
You can’t perform that action at this time.
0 commit comments