This repository was archived by the owner on Dec 1, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -84,19 +84,14 @@ defined changes to a config file this provides a callback function called
84
84
cloudWatch: { apiVersion: ' 2010-08-01' , region: ' us-east-1' }
85
85
},
86
86
getTableUpdate : (description , consumedCapacityDescription ) => {
87
- // The 'description' parameter is JSON in the following format
88
- < http: // docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_DescribeTable.html#API_DescribeTable_ResponseSyntax>
89
-
90
- // The 'consumedCapacityDescription' follows the same format but details
91
- // the consumed capacity found via the cloudwatch api
92
-
93
- // The return type is either null for no update or JSON in the
94
- // following format
95
- < http: // docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_UpdateTable.html#API_UpdateTable_ResponseSyntax>
87
+ // Logic goes here....
96
88
}
97
89
};
98
90
```
99
91
92
+ [ DescribeTable.ResponseSyntax] ( http://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_DescribeTable.html#API_DescribeTable_ResponseSyntax )
93
+ [ UpdateTable.ResponseSyntax] ( http://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_UpdateTable.html#API_UpdateTable_ResponseSyntax )
94
+
100
95
The function is given the information such as the table name, current table
101
96
provisioned throughput and the consumed throughput for the past minute.
102
97
Table updates will only be sent to AWS if the values are different for the
You can’t perform that action at this time.
0 commit comments