@aws-sdk/client-dynamodb 3.299.0 → 3.300.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-types/commands/BatchExecuteStatementCommand.d.ts +87 -0
- package/dist-types/commands/BatchGetItemCommand.d.ts +84 -0
- package/dist-types/commands/BatchWriteItemCommand.d.ts +84 -0
- package/dist-types/commands/CreateBackupCommand.d.ts +4 -0
- package/dist-types/commands/CreateGlobalTableCommand.d.ts +8 -0
- package/dist-types/commands/CreateTableCommand.d.ts +75 -0
- package/dist-types/commands/DeleteBackupCommand.d.ts +3 -0
- package/dist-types/commands/DeleteItemCommand.d.ts +113 -0
- package/dist-types/commands/DeleteTableCommand.d.ts +3 -0
- package/dist-types/commands/DescribeBackupCommand.d.ts +3 -0
- package/dist-types/commands/DescribeContinuousBackupsCommand.d.ts +3 -0
- package/dist-types/commands/DescribeContributorInsightsCommand.d.ts +4 -0
- package/dist-types/commands/DescribeEndpointsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeExportCommand.d.ts +3 -0
- package/dist-types/commands/DescribeGlobalTableCommand.d.ts +3 -0
- package/dist-types/commands/DescribeGlobalTableSettingsCommand.d.ts +3 -0
- package/dist-types/commands/DescribeImportCommand.d.ts +3 -0
- package/dist-types/commands/DescribeKinesisStreamingDestinationCommand.d.ts +3 -0
- package/dist-types/commands/DescribeLimitsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeTableCommand.d.ts +3 -0
- package/dist-types/commands/DescribeTableReplicaAutoScalingCommand.d.ts +3 -0
- package/dist-types/commands/DescribeTimeToLiveCommand.d.ts +3 -0
- package/dist-types/commands/DisableKinesisStreamingDestinationCommand.d.ts +4 -0
- package/dist-types/commands/EnableKinesisStreamingDestinationCommand.d.ts +4 -0
- package/dist-types/commands/ExecuteStatementCommand.d.ts +85 -0
- package/dist-types/commands/ExecuteTransactionCommand.d.ts +87 -0
- package/dist-types/commands/ExportTableToPointInTimeCommand.d.ts +11 -0
- package/dist-types/commands/GetItemCommand.d.ts +79 -0
- package/dist-types/commands/ImportTableCommand.d.ts +64 -0
- package/dist-types/commands/ListBackupsCommand.d.ts +8 -0
- package/dist-types/commands/ListContributorInsightsCommand.d.ts +5 -0
- package/dist-types/commands/ListExportsCommand.d.ts +5 -0
- package/dist-types/commands/ListGlobalTablesCommand.d.ts +5 -0
- package/dist-types/commands/ListImportsCommand.d.ts +5 -0
- package/dist-types/commands/ListTablesCommand.d.ts +4 -0
- package/dist-types/commands/ListTagsOfResourceCommand.d.ts +4 -0
- package/dist-types/commands/PutItemCommand.d.ts +113 -0
- package/dist-types/commands/QueryCommand.d.ts +127 -0
- package/dist-types/commands/RestoreTableFromBackupCommand.d.ts +52 -0
- package/dist-types/commands/RestoreTableToPointInTimeCommand.d.ts +55 -0
- package/dist-types/commands/ScanCommand.d.ts +108 -0
- package/dist-types/commands/TagResourceCommand.d.ts +9 -0
- package/dist-types/commands/TransactGetItemsCommand.d.ts +81 -0
- package/dist-types/commands/TransactWriteItemsCommand.d.ts +130 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateContinuousBackupsCommand.d.ts +6 -0
- package/dist-types/commands/UpdateContributorInsightsCommand.d.ts +5 -0
- package/dist-types/commands/UpdateGlobalTableCommand.d.ts +13 -0
- package/dist-types/commands/UpdateGlobalTableSettingsCommand.d.ts +76 -0
- package/dist-types/commands/UpdateItemCommand.d.ts +131 -0
- package/dist-types/commands/UpdateTableCommand.d.ts +97 -0
- package/dist-types/commands/UpdateTableReplicaAutoScalingCommand.d.ts +62 -0
- package/dist-types/commands/UpdateTimeToLiveCommand.d.ts +7 -0
- package/package.json +9 -9
|
@@ -38,6 +38,82 @@ export interface UpdateGlobalTableSettingsCommandOutput extends UpdateGlobalTabl
|
|
|
38
38
|
* import { DynamoDBClient, UpdateGlobalTableSettingsCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
|
|
39
39
|
* // const { DynamoDBClient, UpdateGlobalTableSettingsCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
|
|
40
40
|
* const client = new DynamoDBClient(config);
|
|
41
|
+
* const input = {
|
|
42
|
+
* GlobalTableName: "STRING_VALUE", // required
|
|
43
|
+
* GlobalTableBillingMode: "PROVISIONED" || "PAY_PER_REQUEST",
|
|
44
|
+
* GlobalTableProvisionedWriteCapacityUnits: Number("long"),
|
|
45
|
+
* GlobalTableProvisionedWriteCapacityAutoScalingSettingsUpdate: {
|
|
46
|
+
* MinimumUnits: Number("long"),
|
|
47
|
+
* MaximumUnits: Number("long"),
|
|
48
|
+
* AutoScalingDisabled: true || false,
|
|
49
|
+
* AutoScalingRoleArn: "STRING_VALUE",
|
|
50
|
+
* ScalingPolicyUpdate: {
|
|
51
|
+
* PolicyName: "STRING_VALUE",
|
|
52
|
+
* TargetTrackingScalingPolicyConfiguration: {
|
|
53
|
+
* DisableScaleIn: true || false,
|
|
54
|
+
* ScaleInCooldown: Number("int"),
|
|
55
|
+
* ScaleOutCooldown: Number("int"),
|
|
56
|
+
* TargetValue: Number("double"), // required
|
|
57
|
+
* },
|
|
58
|
+
* },
|
|
59
|
+
* },
|
|
60
|
+
* GlobalTableGlobalSecondaryIndexSettingsUpdate: [
|
|
61
|
+
* {
|
|
62
|
+
* IndexName: "STRING_VALUE", // required
|
|
63
|
+
* ProvisionedWriteCapacityUnits: Number("long"),
|
|
64
|
+
* ProvisionedWriteCapacityAutoScalingSettingsUpdate: {
|
|
65
|
+
* MinimumUnits: Number("long"),
|
|
66
|
+
* MaximumUnits: Number("long"),
|
|
67
|
+
* AutoScalingDisabled: true || false,
|
|
68
|
+
* AutoScalingRoleArn: "STRING_VALUE",
|
|
69
|
+
* ScalingPolicyUpdate: {
|
|
70
|
+
* PolicyName: "STRING_VALUE",
|
|
71
|
+
* TargetTrackingScalingPolicyConfiguration: {
|
|
72
|
+
* DisableScaleIn: true || false,
|
|
73
|
+
* ScaleInCooldown: Number("int"),
|
|
74
|
+
* ScaleOutCooldown: Number("int"),
|
|
75
|
+
* TargetValue: Number("double"), // required
|
|
76
|
+
* },
|
|
77
|
+
* },
|
|
78
|
+
* },
|
|
79
|
+
* },
|
|
80
|
+
* ],
|
|
81
|
+
* ReplicaSettingsUpdate: [
|
|
82
|
+
* {
|
|
83
|
+
* RegionName: "STRING_VALUE", // required
|
|
84
|
+
* ReplicaProvisionedReadCapacityUnits: Number("long"),
|
|
85
|
+
* ReplicaProvisionedReadCapacityAutoScalingSettingsUpdate: {
|
|
86
|
+
* MinimumUnits: Number("long"),
|
|
87
|
+
* MaximumUnits: Number("long"),
|
|
88
|
+
* AutoScalingDisabled: true || false,
|
|
89
|
+
* AutoScalingRoleArn: "STRING_VALUE",
|
|
90
|
+
* ScalingPolicyUpdate: {
|
|
91
|
+
* PolicyName: "STRING_VALUE",
|
|
92
|
+
* TargetTrackingScalingPolicyConfiguration: {
|
|
93
|
+
* DisableScaleIn: true || false,
|
|
94
|
+
* ScaleInCooldown: Number("int"),
|
|
95
|
+
* ScaleOutCooldown: Number("int"),
|
|
96
|
+
* TargetValue: Number("double"), // required
|
|
97
|
+
* },
|
|
98
|
+
* },
|
|
99
|
+
* },
|
|
100
|
+
* ReplicaGlobalSecondaryIndexSettingsUpdate: [
|
|
101
|
+
* {
|
|
102
|
+
* IndexName: "STRING_VALUE", // required
|
|
103
|
+
* ProvisionedReadCapacityUnits: Number("long"),
|
|
104
|
+
* ProvisionedReadCapacityAutoScalingSettingsUpdate: {
|
|
105
|
+
* MinimumUnits: "<AutoScalingSettingsUpdate>",
|
|
106
|
+
* MaximumUnits: "<AutoScalingSettingsUpdate>",
|
|
107
|
+
* AutoScalingDisabled: "<AutoScalingSettingsUpdate>",
|
|
108
|
+
* AutoScalingRoleArn: "<AutoScalingSettingsUpdate>",
|
|
109
|
+
* ScalingPolicyUpdate: "<AutoScalingSettingsUpdate>",
|
|
110
|
+
* },
|
|
111
|
+
* },
|
|
112
|
+
* ],
|
|
113
|
+
* ReplicaTableClass: "STANDARD" || "STANDARD_INFREQUENT_ACCESS",
|
|
114
|
+
* },
|
|
115
|
+
* ],
|
|
116
|
+
* };
|
|
41
117
|
* const command = new UpdateGlobalTableSettingsCommand(input);
|
|
42
118
|
* const response = await client.send(command);
|
|
43
119
|
* ```
|
|
@@ -32,6 +32,137 @@ export interface UpdateItemCommandOutput extends UpdateItemOutput, __MetadataBea
|
|
|
32
32
|
* import { DynamoDBClient, UpdateItemCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
|
|
33
33
|
* // const { DynamoDBClient, UpdateItemCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
|
|
34
34
|
* const client = new DynamoDBClient(config);
|
|
35
|
+
* const input = {
|
|
36
|
+
* TableName: "STRING_VALUE", // required
|
|
37
|
+
* Key: { // required
|
|
38
|
+
* "<keys>": { // Union: only one key present
|
|
39
|
+
* S: "STRING_VALUE",
|
|
40
|
+
* N: "STRING_VALUE",
|
|
41
|
+
* B: "BLOB_VALUE",
|
|
42
|
+
* SS: [
|
|
43
|
+
* "STRING_VALUE",
|
|
44
|
+
* ],
|
|
45
|
+
* NS: [
|
|
46
|
+
* "STRING_VALUE",
|
|
47
|
+
* ],
|
|
48
|
+
* BS: [
|
|
49
|
+
* "BLOB_VALUE",
|
|
50
|
+
* ],
|
|
51
|
+
* M: {
|
|
52
|
+
* "<keys>": { // Union: only one key present
|
|
53
|
+
* S: "STRING_VALUE",
|
|
54
|
+
* N: "STRING_VALUE",
|
|
55
|
+
* B: "BLOB_VALUE",
|
|
56
|
+
* SS: [
|
|
57
|
+
* "STRING_VALUE",
|
|
58
|
+
* ],
|
|
59
|
+
* NS: [
|
|
60
|
+
* "STRING_VALUE",
|
|
61
|
+
* ],
|
|
62
|
+
* BS: [
|
|
63
|
+
* "BLOB_VALUE",
|
|
64
|
+
* ],
|
|
65
|
+
* M: {
|
|
66
|
+
* "<keys>": "<AttributeValue>",
|
|
67
|
+
* },
|
|
68
|
+
* L: [
|
|
69
|
+
* { // Union: only one key present
|
|
70
|
+
* S: "<AttributeValue>",
|
|
71
|
+
* N: "<AttributeValue>",
|
|
72
|
+
* B: "<AttributeValue>",
|
|
73
|
+
* SS: "<AttributeValue>",
|
|
74
|
+
* NS: "<AttributeValue>",
|
|
75
|
+
* BS: "<AttributeValue>",
|
|
76
|
+
* M: "<AttributeValue>",
|
|
77
|
+
* L: [
|
|
78
|
+
* { // Union: only one key present
|
|
79
|
+
* S: "<AttributeValue>",
|
|
80
|
+
* N: "<AttributeValue>",
|
|
81
|
+
* B: "<AttributeValue>",
|
|
82
|
+
* SS: "<AttributeValue>",
|
|
83
|
+
* NS: "<AttributeValue>",
|
|
84
|
+
* BS: "<AttributeValue>",
|
|
85
|
+
* M: "<AttributeValue>",
|
|
86
|
+
* L: "<AttributeValue>",
|
|
87
|
+
* NULL: true || false,
|
|
88
|
+
* BOOL: true || false,
|
|
89
|
+
* },
|
|
90
|
+
* ],
|
|
91
|
+
* NULL: true || false,
|
|
92
|
+
* BOOL: true || false,
|
|
93
|
+
* },
|
|
94
|
+
* ],
|
|
95
|
+
* NULL: "<AttributeValue>",
|
|
96
|
+
* BOOL: "<AttributeValue>",
|
|
97
|
+
* },
|
|
98
|
+
* },
|
|
99
|
+
* L: "<AttributeValue>",
|
|
100
|
+
* NULL: "<AttributeValue>",
|
|
101
|
+
* BOOL: "<AttributeValue>",
|
|
102
|
+
* },
|
|
103
|
+
* },
|
|
104
|
+
* AttributeUpdates: {
|
|
105
|
+
* "<keys>": {
|
|
106
|
+
* Value: { // Union: only one key present
|
|
107
|
+
* S: "<AttributeValue>",
|
|
108
|
+
* N: "<AttributeValue>",
|
|
109
|
+
* B: "<AttributeValue>",
|
|
110
|
+
* SS: "<AttributeValue>",
|
|
111
|
+
* NS: "<AttributeValue>",
|
|
112
|
+
* BS: "<AttributeValue>",
|
|
113
|
+
* M: "<AttributeValue>",
|
|
114
|
+
* L: "<AttributeValue>",
|
|
115
|
+
* NULL: "<AttributeValue>",
|
|
116
|
+
* BOOL: "<AttributeValue>",
|
|
117
|
+
* },
|
|
118
|
+
* Action: "ADD" || "PUT" || "DELETE",
|
|
119
|
+
* },
|
|
120
|
+
* },
|
|
121
|
+
* Expected: {
|
|
122
|
+
* "<keys>": {
|
|
123
|
+
* Value: { // Union: only one key present
|
|
124
|
+
* S: "<AttributeValue>",
|
|
125
|
+
* N: "<AttributeValue>",
|
|
126
|
+
* B: "<AttributeValue>",
|
|
127
|
+
* SS: "<AttributeValue>",
|
|
128
|
+
* NS: "<AttributeValue>",
|
|
129
|
+
* BS: "<AttributeValue>",
|
|
130
|
+
* M: "<AttributeValue>",
|
|
131
|
+
* L: "<AttributeValue>",
|
|
132
|
+
* NULL: "<AttributeValue>",
|
|
133
|
+
* BOOL: "<AttributeValue>",
|
|
134
|
+
* },
|
|
135
|
+
* Exists: true || false,
|
|
136
|
+
* ComparisonOperator: "EQ" || "NE" || "IN" || "LE" || "LT" || "GE" || "GT" || "BETWEEN" || "NOT_NULL" || "NULL" || "CONTAINS" || "NOT_CONTAINS" || "BEGINS_WITH",
|
|
137
|
+
* AttributeValueList: [
|
|
138
|
+
* { // Union: only one key present
|
|
139
|
+
* S: "<AttributeValue>",
|
|
140
|
+
* N: "<AttributeValue>",
|
|
141
|
+
* B: "<AttributeValue>",
|
|
142
|
+
* SS: "<AttributeValue>",
|
|
143
|
+
* NS: "<AttributeValue>",
|
|
144
|
+
* BS: "<AttributeValue>",
|
|
145
|
+
* M: "<AttributeValue>",
|
|
146
|
+
* L: "<AttributeValue>",
|
|
147
|
+
* NULL: "<AttributeValue>",
|
|
148
|
+
* BOOL: "<AttributeValue>",
|
|
149
|
+
* },
|
|
150
|
+
* ],
|
|
151
|
+
* },
|
|
152
|
+
* },
|
|
153
|
+
* ConditionalOperator: "AND" || "OR",
|
|
154
|
+
* ReturnValues: "NONE" || "ALL_OLD" || "UPDATED_OLD" || "ALL_NEW" || "UPDATED_NEW",
|
|
155
|
+
* ReturnConsumedCapacity: "INDEXES" || "TOTAL" || "NONE",
|
|
156
|
+
* ReturnItemCollectionMetrics: "SIZE" || "NONE",
|
|
157
|
+
* UpdateExpression: "STRING_VALUE",
|
|
158
|
+
* ConditionExpression: "STRING_VALUE",
|
|
159
|
+
* ExpressionAttributeNames: {
|
|
160
|
+
* "<keys>": "STRING_VALUE",
|
|
161
|
+
* },
|
|
162
|
+
* ExpressionAttributeValues: {
|
|
163
|
+
* "<keys>": "<AttributeValue>",
|
|
164
|
+
* },
|
|
165
|
+
* };
|
|
35
166
|
* const command = new UpdateItemCommand(input);
|
|
36
167
|
* const response = await client.send(command);
|
|
37
168
|
* ```
|
|
@@ -52,6 +52,103 @@ export interface UpdateTableCommandOutput extends UpdateTableOutput, __MetadataB
|
|
|
52
52
|
* import { DynamoDBClient, UpdateTableCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
|
|
53
53
|
* // const { DynamoDBClient, UpdateTableCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
|
|
54
54
|
* const client = new DynamoDBClient(config);
|
|
55
|
+
* const input = {
|
|
56
|
+
* AttributeDefinitions: [
|
|
57
|
+
* {
|
|
58
|
+
* AttributeName: "STRING_VALUE", // required
|
|
59
|
+
* AttributeType: "S" || "N" || "B", // required
|
|
60
|
+
* },
|
|
61
|
+
* ],
|
|
62
|
+
* TableName: "STRING_VALUE", // required
|
|
63
|
+
* BillingMode: "PROVISIONED" || "PAY_PER_REQUEST",
|
|
64
|
+
* ProvisionedThroughput: {
|
|
65
|
+
* ReadCapacityUnits: Number("long"), // required
|
|
66
|
+
* WriteCapacityUnits: Number("long"), // required
|
|
67
|
+
* },
|
|
68
|
+
* GlobalSecondaryIndexUpdates: [
|
|
69
|
+
* {
|
|
70
|
+
* Update: {
|
|
71
|
+
* IndexName: "STRING_VALUE", // required
|
|
72
|
+
* ProvisionedThroughput: {
|
|
73
|
+
* ReadCapacityUnits: Number("long"), // required
|
|
74
|
+
* WriteCapacityUnits: Number("long"), // required
|
|
75
|
+
* },
|
|
76
|
+
* },
|
|
77
|
+
* Create: {
|
|
78
|
+
* IndexName: "STRING_VALUE", // required
|
|
79
|
+
* KeySchema: [ // required
|
|
80
|
+
* {
|
|
81
|
+
* AttributeName: "STRING_VALUE", // required
|
|
82
|
+
* KeyType: "HASH" || "RANGE", // required
|
|
83
|
+
* },
|
|
84
|
+
* ],
|
|
85
|
+
* Projection: {
|
|
86
|
+
* ProjectionType: "ALL" || "KEYS_ONLY" || "INCLUDE",
|
|
87
|
+
* NonKeyAttributes: [
|
|
88
|
+
* "STRING_VALUE",
|
|
89
|
+
* ],
|
|
90
|
+
* },
|
|
91
|
+
* ProvisionedThroughput: {
|
|
92
|
+
* ReadCapacityUnits: Number("long"), // required
|
|
93
|
+
* WriteCapacityUnits: Number("long"), // required
|
|
94
|
+
* },
|
|
95
|
+
* },
|
|
96
|
+
* Delete: {
|
|
97
|
+
* IndexName: "STRING_VALUE", // required
|
|
98
|
+
* },
|
|
99
|
+
* },
|
|
100
|
+
* ],
|
|
101
|
+
* StreamSpecification: {
|
|
102
|
+
* StreamEnabled: true || false, // required
|
|
103
|
+
* StreamViewType: "NEW_IMAGE" || "OLD_IMAGE" || "NEW_AND_OLD_IMAGES" || "KEYS_ONLY",
|
|
104
|
+
* },
|
|
105
|
+
* SSESpecification: {
|
|
106
|
+
* Enabled: true || false,
|
|
107
|
+
* SSEType: "AES256" || "KMS",
|
|
108
|
+
* KMSMasterKeyId: "STRING_VALUE",
|
|
109
|
+
* },
|
|
110
|
+
* ReplicaUpdates: [
|
|
111
|
+
* {
|
|
112
|
+
* Create: {
|
|
113
|
+
* RegionName: "STRING_VALUE", // required
|
|
114
|
+
* KMSMasterKeyId: "STRING_VALUE",
|
|
115
|
+
* ProvisionedThroughputOverride: {
|
|
116
|
+
* ReadCapacityUnits: Number("long"),
|
|
117
|
+
* },
|
|
118
|
+
* GlobalSecondaryIndexes: [
|
|
119
|
+
* {
|
|
120
|
+
* IndexName: "STRING_VALUE", // required
|
|
121
|
+
* ProvisionedThroughputOverride: {
|
|
122
|
+
* ReadCapacityUnits: Number("long"),
|
|
123
|
+
* },
|
|
124
|
+
* },
|
|
125
|
+
* ],
|
|
126
|
+
* TableClassOverride: "STANDARD" || "STANDARD_INFREQUENT_ACCESS",
|
|
127
|
+
* },
|
|
128
|
+
* Update: {
|
|
129
|
+
* RegionName: "STRING_VALUE", // required
|
|
130
|
+
* KMSMasterKeyId: "STRING_VALUE",
|
|
131
|
+
* ProvisionedThroughputOverride: {
|
|
132
|
+
* ReadCapacityUnits: Number("long"),
|
|
133
|
+
* },
|
|
134
|
+
* GlobalSecondaryIndexes: [
|
|
135
|
+
* {
|
|
136
|
+
* IndexName: "STRING_VALUE", // required
|
|
137
|
+
* ProvisionedThroughputOverride: {
|
|
138
|
+
* ReadCapacityUnits: Number("long"),
|
|
139
|
+
* },
|
|
140
|
+
* },
|
|
141
|
+
* ],
|
|
142
|
+
* TableClassOverride: "STANDARD" || "STANDARD_INFREQUENT_ACCESS",
|
|
143
|
+
* },
|
|
144
|
+
* Delete: {
|
|
145
|
+
* RegionName: "STRING_VALUE", // required
|
|
146
|
+
* },
|
|
147
|
+
* },
|
|
148
|
+
* ],
|
|
149
|
+
* TableClass: "STANDARD" || "STANDARD_INFREQUENT_ACCESS",
|
|
150
|
+
* DeletionProtectionEnabled: true || false,
|
|
151
|
+
* };
|
|
55
152
|
* const command = new UpdateTableCommand(input);
|
|
56
153
|
* const response = await client.send(command);
|
|
57
154
|
* ```
|
|
@@ -31,6 +31,68 @@ export interface UpdateTableReplicaAutoScalingCommandOutput extends UpdateTableR
|
|
|
31
31
|
* import { DynamoDBClient, UpdateTableReplicaAutoScalingCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
|
|
32
32
|
* // const { DynamoDBClient, UpdateTableReplicaAutoScalingCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
|
|
33
33
|
* const client = new DynamoDBClient(config);
|
|
34
|
+
* const input = {
|
|
35
|
+
* GlobalSecondaryIndexUpdates: [
|
|
36
|
+
* {
|
|
37
|
+
* IndexName: "STRING_VALUE",
|
|
38
|
+
* ProvisionedWriteCapacityAutoScalingUpdate: {
|
|
39
|
+
* MinimumUnits: Number("long"),
|
|
40
|
+
* MaximumUnits: Number("long"),
|
|
41
|
+
* AutoScalingDisabled: true || false,
|
|
42
|
+
* AutoScalingRoleArn: "STRING_VALUE",
|
|
43
|
+
* ScalingPolicyUpdate: {
|
|
44
|
+
* PolicyName: "STRING_VALUE",
|
|
45
|
+
* TargetTrackingScalingPolicyConfiguration: {
|
|
46
|
+
* DisableScaleIn: true || false,
|
|
47
|
+
* ScaleInCooldown: Number("int"),
|
|
48
|
+
* ScaleOutCooldown: Number("int"),
|
|
49
|
+
* TargetValue: Number("double"), // required
|
|
50
|
+
* },
|
|
51
|
+
* },
|
|
52
|
+
* },
|
|
53
|
+
* },
|
|
54
|
+
* ],
|
|
55
|
+
* TableName: "STRING_VALUE", // required
|
|
56
|
+
* ProvisionedWriteCapacityAutoScalingUpdate: {
|
|
57
|
+
* MinimumUnits: Number("long"),
|
|
58
|
+
* MaximumUnits: Number("long"),
|
|
59
|
+
* AutoScalingDisabled: true || false,
|
|
60
|
+
* AutoScalingRoleArn: "STRING_VALUE",
|
|
61
|
+
* ScalingPolicyUpdate: {
|
|
62
|
+
* PolicyName: "STRING_VALUE",
|
|
63
|
+
* TargetTrackingScalingPolicyConfiguration: {
|
|
64
|
+
* DisableScaleIn: true || false,
|
|
65
|
+
* ScaleInCooldown: Number("int"),
|
|
66
|
+
* ScaleOutCooldown: Number("int"),
|
|
67
|
+
* TargetValue: Number("double"), // required
|
|
68
|
+
* },
|
|
69
|
+
* },
|
|
70
|
+
* },
|
|
71
|
+
* ReplicaUpdates: [
|
|
72
|
+
* {
|
|
73
|
+
* RegionName: "STRING_VALUE", // required
|
|
74
|
+
* ReplicaGlobalSecondaryIndexUpdates: [
|
|
75
|
+
* {
|
|
76
|
+
* IndexName: "STRING_VALUE",
|
|
77
|
+
* ProvisionedReadCapacityAutoScalingUpdate: {
|
|
78
|
+
* MinimumUnits: "<AutoScalingSettingsUpdate>",
|
|
79
|
+
* MaximumUnits: "<AutoScalingSettingsUpdate>",
|
|
80
|
+
* AutoScalingDisabled: "<AutoScalingSettingsUpdate>",
|
|
81
|
+
* AutoScalingRoleArn: "<AutoScalingSettingsUpdate>",
|
|
82
|
+
* ScalingPolicyUpdate: "<AutoScalingSettingsUpdate>",
|
|
83
|
+
* },
|
|
84
|
+
* },
|
|
85
|
+
* ],
|
|
86
|
+
* ReplicaProvisionedReadCapacityAutoScalingUpdate: {
|
|
87
|
+
* MinimumUnits: "<AutoScalingSettingsUpdate>",
|
|
88
|
+
* MaximumUnits: "<AutoScalingSettingsUpdate>",
|
|
89
|
+
* AutoScalingDisabled: "<AutoScalingSettingsUpdate>",
|
|
90
|
+
* AutoScalingRoleArn: "<AutoScalingSettingsUpdate>",
|
|
91
|
+
* ScalingPolicyUpdate: "<AutoScalingSettingsUpdate>",
|
|
92
|
+
* },
|
|
93
|
+
* },
|
|
94
|
+
* ],
|
|
95
|
+
* };
|
|
34
96
|
* const command = new UpdateTableReplicaAutoScalingCommand(input);
|
|
35
97
|
* const response = await client.send(command);
|
|
36
98
|
* ```
|
|
@@ -50,6 +50,13 @@ export interface UpdateTimeToLiveCommandOutput extends UpdateTimeToLiveOutput, _
|
|
|
50
50
|
* import { DynamoDBClient, UpdateTimeToLiveCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
|
|
51
51
|
* // const { DynamoDBClient, UpdateTimeToLiveCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
|
|
52
52
|
* const client = new DynamoDBClient(config);
|
|
53
|
+
* const input = {
|
|
54
|
+
* TableName: "STRING_VALUE", // required
|
|
55
|
+
* TimeToLiveSpecification: {
|
|
56
|
+
* Enabled: true || false, // required
|
|
57
|
+
* AttributeName: "STRING_VALUE", // required
|
|
58
|
+
* },
|
|
59
|
+
* };
|
|
53
60
|
* const command = new UpdateTimeToLiveCommand(input);
|
|
54
61
|
* const response = await client.send(command);
|
|
55
62
|
* ```
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-dynamodb",
|
|
3
3
|
"description": "AWS SDK for JavaScript Dynamodb Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.300.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,24 +21,24 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.300.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.300.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
30
30
|
"@aws-sdk/middleware-content-length": "3.296.0",
|
|
31
31
|
"@aws-sdk/middleware-endpoint": "3.299.0",
|
|
32
|
-
"@aws-sdk/middleware-endpoint-discovery": "3.
|
|
32
|
+
"@aws-sdk/middleware-endpoint-discovery": "3.300.0",
|
|
33
33
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
35
35
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
36
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
37
37
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
38
38
|
"@aws-sdk/middleware-signing": "3.299.0",
|
|
39
39
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
40
40
|
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
41
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
42
42
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
43
43
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
44
44
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -48,11 +48,11 @@
|
|
|
48
48
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
50
50
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
51
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
52
52
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
53
53
|
"@aws-sdk/util-retry": "3.296.0",
|
|
54
54
|
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
55
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
55
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
56
56
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
57
57
|
"@aws-sdk/util-waiter": "3.296.0",
|
|
58
58
|
"tslib": "^2.5.0",
|