@aws-sdk/client-dynamodb 3.300.0 → 3.301.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 +21 -54
- package/dist-types/commands/BatchGetItemCommand.d.ts +22 -44
- package/dist-types/commands/BatchWriteItemCommand.d.ts +23 -45
- package/dist-types/commands/CreateBackupCommand.d.ts +1 -1
- package/dist-types/commands/CreateGlobalTableCommand.d.ts +3 -3
- package/dist-types/commands/CreateTableCommand.d.ts +16 -16
- package/dist-types/commands/DeleteBackupCommand.d.ts +1 -1
- package/dist-types/commands/DeleteItemCommand.d.ts +24 -68
- package/dist-types/commands/DeleteTableCommand.d.ts +1 -1
- package/dist-types/commands/DescribeBackupCommand.d.ts +1 -1
- package/dist-types/commands/DescribeContinuousBackupsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeContributorInsightsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeExportCommand.d.ts +1 -1
- package/dist-types/commands/DescribeGlobalTableCommand.d.ts +1 -1
- package/dist-types/commands/DescribeGlobalTableSettingsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeImportCommand.d.ts +1 -1
- package/dist-types/commands/DescribeKinesisStreamingDestinationCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTableCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTableReplicaAutoScalingCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTimeToLiveCommand.d.ts +1 -1
- package/dist-types/commands/DisableKinesisStreamingDestinationCommand.d.ts +1 -1
- package/dist-types/commands/EnableKinesisStreamingDestinationCommand.d.ts +1 -1
- package/dist-types/commands/ExecuteStatementCommand.d.ts +19 -52
- package/dist-types/commands/ExecuteTransactionCommand.d.ts +21 -54
- package/dist-types/commands/ExportTableToPointInTimeCommand.d.ts +1 -1
- package/dist-types/commands/GetItemCommand.d.ts +19 -41
- package/dist-types/commands/ImportTableCommand.d.ts +16 -16
- package/dist-types/commands/ListBackupsCommand.d.ts +1 -1
- package/dist-types/commands/ListContributorInsightsCommand.d.ts +1 -1
- package/dist-types/commands/ListExportsCommand.d.ts +1 -1
- package/dist-types/commands/ListGlobalTablesCommand.d.ts +1 -1
- package/dist-types/commands/ListImportsCommand.d.ts +1 -1
- package/dist-types/commands/ListTablesCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsOfResourceCommand.d.ts +1 -1
- package/dist-types/commands/PutItemCommand.d.ts +24 -68
- package/dist-types/commands/QueryCommand.d.ts +27 -71
- package/dist-types/commands/RestoreTableFromBackupCommand.d.ts +11 -11
- package/dist-types/commands/RestoreTableToPointInTimeCommand.d.ts +11 -11
- package/dist-types/commands/ScanCommand.d.ts +25 -58
- package/dist-types/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/commands/TransactGetItemsCommand.d.ts +21 -43
- package/dist-types/commands/TransactWriteItemsCommand.d.ts +26 -48
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateContinuousBackupsCommand.d.ts +2 -2
- package/dist-types/commands/UpdateContributorInsightsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateGlobalTableCommand.d.ts +5 -5
- package/dist-types/commands/UpdateGlobalTableSettingsCommand.d.ts +11 -17
- package/dist-types/commands/UpdateItemCommand.d.ts +27 -82
- package/dist-types/commands/UpdateTableCommand.d.ts +23 -23
- package/dist-types/commands/UpdateTableReplicaAutoScalingCommand.d.ts +12 -24
- package/dist-types/commands/UpdateTimeToLiveCommand.d.ts +2 -2
- package/package.json +3 -3
|
@@ -32,7 +32,7 @@ export interface UpdateContributorInsightsCommandOutput extends UpdateContributo
|
|
|
32
32
|
* import { DynamoDBClient, UpdateContributorInsightsCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
|
|
33
33
|
* // const { DynamoDBClient, UpdateContributorInsightsCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
|
|
34
34
|
* const client = new DynamoDBClient(config);
|
|
35
|
-
* const input = {
|
|
35
|
+
* const input = { // UpdateContributorInsightsInput
|
|
36
36
|
* TableName: "STRING_VALUE", // required
|
|
37
37
|
* IndexName: "STRING_VALUE",
|
|
38
38
|
* ContributorInsightsAction: "ENABLE" || "DISABLE", // required
|
|
@@ -68,14 +68,14 @@ export interface UpdateGlobalTableCommandOutput extends UpdateGlobalTableOutput,
|
|
|
68
68
|
* import { DynamoDBClient, UpdateGlobalTableCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
|
|
69
69
|
* // const { DynamoDBClient, UpdateGlobalTableCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
|
|
70
70
|
* const client = new DynamoDBClient(config);
|
|
71
|
-
* const input = {
|
|
71
|
+
* const input = { // UpdateGlobalTableInput
|
|
72
72
|
* GlobalTableName: "STRING_VALUE", // required
|
|
73
|
-
* ReplicaUpdates: [ // required
|
|
74
|
-
* {
|
|
75
|
-
* Create: {
|
|
73
|
+
* ReplicaUpdates: [ // ReplicaUpdateList // required
|
|
74
|
+
* { // ReplicaUpdate
|
|
75
|
+
* Create: { // CreateReplicaAction
|
|
76
76
|
* RegionName: "STRING_VALUE", // required
|
|
77
77
|
* },
|
|
78
|
-
* Delete: {
|
|
78
|
+
* Delete: { // DeleteReplicaAction
|
|
79
79
|
* RegionName: "STRING_VALUE", // required
|
|
80
80
|
* },
|
|
81
81
|
* },
|
|
@@ -38,18 +38,18 @@ 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 = {
|
|
41
|
+
* const input = { // UpdateGlobalTableSettingsInput
|
|
42
42
|
* GlobalTableName: "STRING_VALUE", // required
|
|
43
43
|
* GlobalTableBillingMode: "PROVISIONED" || "PAY_PER_REQUEST",
|
|
44
44
|
* GlobalTableProvisionedWriteCapacityUnits: Number("long"),
|
|
45
|
-
* GlobalTableProvisionedWriteCapacityAutoScalingSettingsUpdate: {
|
|
45
|
+
* GlobalTableProvisionedWriteCapacityAutoScalingSettingsUpdate: { // AutoScalingSettingsUpdate
|
|
46
46
|
* MinimumUnits: Number("long"),
|
|
47
47
|
* MaximumUnits: Number("long"),
|
|
48
48
|
* AutoScalingDisabled: true || false,
|
|
49
49
|
* AutoScalingRoleArn: "STRING_VALUE",
|
|
50
|
-
* ScalingPolicyUpdate: {
|
|
50
|
+
* ScalingPolicyUpdate: { // AutoScalingPolicyUpdate
|
|
51
51
|
* PolicyName: "STRING_VALUE",
|
|
52
|
-
* TargetTrackingScalingPolicyConfiguration: {
|
|
52
|
+
* TargetTrackingScalingPolicyConfiguration: { // AutoScalingTargetTrackingScalingPolicyConfigurationUpdate
|
|
53
53
|
* DisableScaleIn: true || false,
|
|
54
54
|
* ScaleInCooldown: Number("int"),
|
|
55
55
|
* ScaleOutCooldown: Number("int"),
|
|
@@ -57,8 +57,8 @@ export interface UpdateGlobalTableSettingsCommandOutput extends UpdateGlobalTabl
|
|
|
57
57
|
* },
|
|
58
58
|
* },
|
|
59
59
|
* },
|
|
60
|
-
* GlobalTableGlobalSecondaryIndexSettingsUpdate: [
|
|
61
|
-
* {
|
|
60
|
+
* GlobalTableGlobalSecondaryIndexSettingsUpdate: [ // GlobalTableGlobalSecondaryIndexSettingsUpdateList
|
|
61
|
+
* { // GlobalTableGlobalSecondaryIndexSettingsUpdate
|
|
62
62
|
* IndexName: "STRING_VALUE", // required
|
|
63
63
|
* ProvisionedWriteCapacityUnits: Number("long"),
|
|
64
64
|
* ProvisionedWriteCapacityAutoScalingSettingsUpdate: {
|
|
@@ -78,8 +78,8 @@ export interface UpdateGlobalTableSettingsCommandOutput extends UpdateGlobalTabl
|
|
|
78
78
|
* },
|
|
79
79
|
* },
|
|
80
80
|
* ],
|
|
81
|
-
* ReplicaSettingsUpdate: [
|
|
82
|
-
* {
|
|
81
|
+
* ReplicaSettingsUpdate: [ // ReplicaSettingsUpdateList
|
|
82
|
+
* { // ReplicaSettingsUpdate
|
|
83
83
|
* RegionName: "STRING_VALUE", // required
|
|
84
84
|
* ReplicaProvisionedReadCapacityUnits: Number("long"),
|
|
85
85
|
* ReplicaProvisionedReadCapacityAutoScalingSettingsUpdate: {
|
|
@@ -97,17 +97,11 @@ export interface UpdateGlobalTableSettingsCommandOutput extends UpdateGlobalTabl
|
|
|
97
97
|
* },
|
|
98
98
|
* },
|
|
99
99
|
* },
|
|
100
|
-
* ReplicaGlobalSecondaryIndexSettingsUpdate: [
|
|
101
|
-
* {
|
|
100
|
+
* ReplicaGlobalSecondaryIndexSettingsUpdate: [ // ReplicaGlobalSecondaryIndexSettingsUpdateList
|
|
101
|
+
* { // ReplicaGlobalSecondaryIndexSettingsUpdate
|
|
102
102
|
* IndexName: "STRING_VALUE", // required
|
|
103
103
|
* ProvisionedReadCapacityUnits: Number("long"),
|
|
104
|
-
* ProvisionedReadCapacityAutoScalingSettingsUpdate:
|
|
105
|
-
* MinimumUnits: "<AutoScalingSettingsUpdate>",
|
|
106
|
-
* MaximumUnits: "<AutoScalingSettingsUpdate>",
|
|
107
|
-
* AutoScalingDisabled: "<AutoScalingSettingsUpdate>",
|
|
108
|
-
* AutoScalingRoleArn: "<AutoScalingSettingsUpdate>",
|
|
109
|
-
* ScalingPolicyUpdate: "<AutoScalingSettingsUpdate>",
|
|
110
|
-
* },
|
|
104
|
+
* ProvisionedReadCapacityAutoScalingSettingsUpdate: "<AutoScalingSettingsUpdate>",
|
|
111
105
|
* },
|
|
112
106
|
* ],
|
|
113
107
|
* ReplicaTableClass: "STANDARD" || "STANDARD_INFREQUENT_ACCESS",
|
|
@@ -32,24 +32,24 @@ 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 = {
|
|
35
|
+
* const input = { // UpdateItemInput
|
|
36
36
|
* TableName: "STRING_VALUE", // required
|
|
37
|
-
* Key: { // required
|
|
38
|
-
* "<keys>": { // Union: only one key present
|
|
37
|
+
* Key: { // Key // required
|
|
38
|
+
* "<keys>": { // AttributeValue Union: only one key present
|
|
39
39
|
* S: "STRING_VALUE",
|
|
40
40
|
* N: "STRING_VALUE",
|
|
41
41
|
* B: "BLOB_VALUE",
|
|
42
|
-
* SS: [
|
|
42
|
+
* SS: [ // StringSetAttributeValue
|
|
43
43
|
* "STRING_VALUE",
|
|
44
44
|
* ],
|
|
45
|
-
* NS: [
|
|
45
|
+
* NS: [ // NumberSetAttributeValue
|
|
46
46
|
* "STRING_VALUE",
|
|
47
47
|
* ],
|
|
48
|
-
* BS: [
|
|
48
|
+
* BS: [ // BinarySetAttributeValue
|
|
49
49
|
* "BLOB_VALUE",
|
|
50
50
|
* ],
|
|
51
|
-
* M: {
|
|
52
|
-
* "<keys>": {
|
|
51
|
+
* M: { // MapAttributeValue
|
|
52
|
+
* "<keys>": {// Union: only one key present
|
|
53
53
|
* S: "STRING_VALUE",
|
|
54
54
|
* N: "STRING_VALUE",
|
|
55
55
|
* B: "BLOB_VALUE",
|
|
@@ -65,88 +65,33 @@ export interface UpdateItemCommandOutput extends UpdateItemOutput, __MetadataBea
|
|
|
65
65
|
* M: {
|
|
66
66
|
* "<keys>": "<AttributeValue>",
|
|
67
67
|
* },
|
|
68
|
-
* L: [
|
|
69
|
-
*
|
|
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
|
-
* },
|
|
68
|
+
* L: [ // ListAttributeValue
|
|
69
|
+
* "<AttributeValue>",
|
|
94
70
|
* ],
|
|
95
|
-
* NULL:
|
|
96
|
-
* BOOL:
|
|
71
|
+
* NULL: true || false,
|
|
72
|
+
* BOOL: true || false,
|
|
97
73
|
* },
|
|
98
74
|
* },
|
|
99
|
-
* L:
|
|
100
|
-
*
|
|
101
|
-
*
|
|
75
|
+
* L: [
|
|
76
|
+
* "<AttributeValue>",
|
|
77
|
+
* ],
|
|
78
|
+
* NULL: true || false,
|
|
79
|
+
* BOOL: true || false,
|
|
102
80
|
* },
|
|
103
81
|
* },
|
|
104
|
-
* AttributeUpdates: {
|
|
105
|
-
* "<keys>": {
|
|
106
|
-
* Value:
|
|
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
|
-
* },
|
|
82
|
+
* AttributeUpdates: { // AttributeUpdates
|
|
83
|
+
* "<keys>": { // AttributeValueUpdate
|
|
84
|
+
* Value: "<AttributeValue>",
|
|
118
85
|
* Action: "ADD" || "PUT" || "DELETE",
|
|
119
86
|
* },
|
|
120
87
|
* },
|
|
121
|
-
* Expected: {
|
|
122
|
-
* "<keys>": {
|
|
123
|
-
* Value:
|
|
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
|
-
* },
|
|
88
|
+
* Expected: { // ExpectedAttributeMap
|
|
89
|
+
* "<keys>": { // ExpectedAttributeValue
|
|
90
|
+
* Value: "<AttributeValue>",
|
|
135
91
|
* Exists: true || false,
|
|
136
92
|
* ComparisonOperator: "EQ" || "NE" || "IN" || "LE" || "LT" || "GE" || "GT" || "BETWEEN" || "NOT_NULL" || "NULL" || "CONTAINS" || "NOT_CONTAINS" || "BEGINS_WITH",
|
|
137
|
-
* AttributeValueList: [
|
|
138
|
-
*
|
|
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
|
-
* },
|
|
93
|
+
* AttributeValueList: [ // AttributeValueList
|
|
94
|
+
* "<AttributeValue>",
|
|
150
95
|
* ],
|
|
151
96
|
* },
|
|
152
97
|
* },
|
|
@@ -156,10 +101,10 @@ export interface UpdateItemCommandOutput extends UpdateItemOutput, __MetadataBea
|
|
|
156
101
|
* ReturnItemCollectionMetrics: "SIZE" || "NONE",
|
|
157
102
|
* UpdateExpression: "STRING_VALUE",
|
|
158
103
|
* ConditionExpression: "STRING_VALUE",
|
|
159
|
-
* ExpressionAttributeNames: {
|
|
104
|
+
* ExpressionAttributeNames: { // ExpressionAttributeNameMap
|
|
160
105
|
* "<keys>": "STRING_VALUE",
|
|
161
106
|
* },
|
|
162
|
-
* ExpressionAttributeValues: {
|
|
107
|
+
* ExpressionAttributeValues: { // ExpressionAttributeValueMap
|
|
163
108
|
* "<keys>": "<AttributeValue>",
|
|
164
109
|
* },
|
|
165
110
|
* };
|
|
@@ -52,39 +52,39 @@ 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
|
-
* {
|
|
55
|
+
* const input = { // UpdateTableInput
|
|
56
|
+
* AttributeDefinitions: [ // AttributeDefinitions
|
|
57
|
+
* { // AttributeDefinition
|
|
58
58
|
* AttributeName: "STRING_VALUE", // required
|
|
59
59
|
* AttributeType: "S" || "N" || "B", // required
|
|
60
60
|
* },
|
|
61
61
|
* ],
|
|
62
62
|
* TableName: "STRING_VALUE", // required
|
|
63
63
|
* BillingMode: "PROVISIONED" || "PAY_PER_REQUEST",
|
|
64
|
-
* ProvisionedThroughput: {
|
|
64
|
+
* ProvisionedThroughput: { // ProvisionedThroughput
|
|
65
65
|
* ReadCapacityUnits: Number("long"), // required
|
|
66
66
|
* WriteCapacityUnits: Number("long"), // required
|
|
67
67
|
* },
|
|
68
|
-
* GlobalSecondaryIndexUpdates: [
|
|
69
|
-
* {
|
|
70
|
-
* Update: {
|
|
68
|
+
* GlobalSecondaryIndexUpdates: [ // GlobalSecondaryIndexUpdateList
|
|
69
|
+
* { // GlobalSecondaryIndexUpdate
|
|
70
|
+
* Update: { // UpdateGlobalSecondaryIndexAction
|
|
71
71
|
* IndexName: "STRING_VALUE", // required
|
|
72
72
|
* ProvisionedThroughput: {
|
|
73
73
|
* ReadCapacityUnits: Number("long"), // required
|
|
74
74
|
* WriteCapacityUnits: Number("long"), // required
|
|
75
75
|
* },
|
|
76
76
|
* },
|
|
77
|
-
* Create: {
|
|
77
|
+
* Create: { // CreateGlobalSecondaryIndexAction
|
|
78
78
|
* IndexName: "STRING_VALUE", // required
|
|
79
|
-
* KeySchema: [ // required
|
|
80
|
-
* {
|
|
79
|
+
* KeySchema: [ // KeySchema // required
|
|
80
|
+
* { // KeySchemaElement
|
|
81
81
|
* AttributeName: "STRING_VALUE", // required
|
|
82
82
|
* KeyType: "HASH" || "RANGE", // required
|
|
83
83
|
* },
|
|
84
84
|
* ],
|
|
85
|
-
* Projection: {
|
|
85
|
+
* Projection: { // Projection
|
|
86
86
|
* ProjectionType: "ALL" || "KEYS_ONLY" || "INCLUDE",
|
|
87
|
-
* NonKeyAttributes: [
|
|
87
|
+
* NonKeyAttributes: [ // NonKeyAttributeNameList
|
|
88
88
|
* "STRING_VALUE",
|
|
89
89
|
* ],
|
|
90
90
|
* },
|
|
@@ -93,30 +93,30 @@ export interface UpdateTableCommandOutput extends UpdateTableOutput, __MetadataB
|
|
|
93
93
|
* WriteCapacityUnits: Number("long"), // required
|
|
94
94
|
* },
|
|
95
95
|
* },
|
|
96
|
-
* Delete: {
|
|
96
|
+
* Delete: { // DeleteGlobalSecondaryIndexAction
|
|
97
97
|
* IndexName: "STRING_VALUE", // required
|
|
98
98
|
* },
|
|
99
99
|
* },
|
|
100
100
|
* ],
|
|
101
|
-
* StreamSpecification: {
|
|
101
|
+
* StreamSpecification: { // StreamSpecification
|
|
102
102
|
* StreamEnabled: true || false, // required
|
|
103
103
|
* StreamViewType: "NEW_IMAGE" || "OLD_IMAGE" || "NEW_AND_OLD_IMAGES" || "KEYS_ONLY",
|
|
104
104
|
* },
|
|
105
|
-
* SSESpecification: {
|
|
105
|
+
* SSESpecification: { // SSESpecification
|
|
106
106
|
* Enabled: true || false,
|
|
107
107
|
* SSEType: "AES256" || "KMS",
|
|
108
108
|
* KMSMasterKeyId: "STRING_VALUE",
|
|
109
109
|
* },
|
|
110
|
-
* ReplicaUpdates: [
|
|
111
|
-
* {
|
|
112
|
-
* Create: {
|
|
110
|
+
* ReplicaUpdates: [ // ReplicationGroupUpdateList
|
|
111
|
+
* { // ReplicationGroupUpdate
|
|
112
|
+
* Create: { // CreateReplicationGroupMemberAction
|
|
113
113
|
* RegionName: "STRING_VALUE", // required
|
|
114
114
|
* KMSMasterKeyId: "STRING_VALUE",
|
|
115
|
-
* ProvisionedThroughputOverride: {
|
|
115
|
+
* ProvisionedThroughputOverride: { // ProvisionedThroughputOverride
|
|
116
116
|
* ReadCapacityUnits: Number("long"),
|
|
117
117
|
* },
|
|
118
|
-
* GlobalSecondaryIndexes: [
|
|
119
|
-
* {
|
|
118
|
+
* GlobalSecondaryIndexes: [ // ReplicaGlobalSecondaryIndexList
|
|
119
|
+
* { // ReplicaGlobalSecondaryIndex
|
|
120
120
|
* IndexName: "STRING_VALUE", // required
|
|
121
121
|
* ProvisionedThroughputOverride: {
|
|
122
122
|
* ReadCapacityUnits: Number("long"),
|
|
@@ -125,7 +125,7 @@ export interface UpdateTableCommandOutput extends UpdateTableOutput, __MetadataB
|
|
|
125
125
|
* ],
|
|
126
126
|
* TableClassOverride: "STANDARD" || "STANDARD_INFREQUENT_ACCESS",
|
|
127
127
|
* },
|
|
128
|
-
* Update: {
|
|
128
|
+
* Update: { // UpdateReplicationGroupMemberAction
|
|
129
129
|
* RegionName: "STRING_VALUE", // required
|
|
130
130
|
* KMSMasterKeyId: "STRING_VALUE",
|
|
131
131
|
* ProvisionedThroughputOverride: {
|
|
@@ -141,7 +141,7 @@ export interface UpdateTableCommandOutput extends UpdateTableOutput, __MetadataB
|
|
|
141
141
|
* ],
|
|
142
142
|
* TableClassOverride: "STANDARD" || "STANDARD_INFREQUENT_ACCESS",
|
|
143
143
|
* },
|
|
144
|
-
* Delete: {
|
|
144
|
+
* Delete: { // DeleteReplicationGroupMemberAction
|
|
145
145
|
* RegionName: "STRING_VALUE", // required
|
|
146
146
|
* },
|
|
147
147
|
* },
|
|
@@ -31,18 +31,18 @@ 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
|
-
* {
|
|
34
|
+
* const input = { // UpdateTableReplicaAutoScalingInput
|
|
35
|
+
* GlobalSecondaryIndexUpdates: [ // GlobalSecondaryIndexAutoScalingUpdateList
|
|
36
|
+
* { // GlobalSecondaryIndexAutoScalingUpdate
|
|
37
37
|
* IndexName: "STRING_VALUE",
|
|
38
|
-
* ProvisionedWriteCapacityAutoScalingUpdate: {
|
|
38
|
+
* ProvisionedWriteCapacityAutoScalingUpdate: { // AutoScalingSettingsUpdate
|
|
39
39
|
* MinimumUnits: Number("long"),
|
|
40
40
|
* MaximumUnits: Number("long"),
|
|
41
41
|
* AutoScalingDisabled: true || false,
|
|
42
42
|
* AutoScalingRoleArn: "STRING_VALUE",
|
|
43
|
-
* ScalingPolicyUpdate: {
|
|
43
|
+
* ScalingPolicyUpdate: { // AutoScalingPolicyUpdate
|
|
44
44
|
* PolicyName: "STRING_VALUE",
|
|
45
|
-
* TargetTrackingScalingPolicyConfiguration: {
|
|
45
|
+
* TargetTrackingScalingPolicyConfiguration: { // AutoScalingTargetTrackingScalingPolicyConfigurationUpdate
|
|
46
46
|
* DisableScaleIn: true || false,
|
|
47
47
|
* ScaleInCooldown: Number("int"),
|
|
48
48
|
* ScaleOutCooldown: Number("int"),
|
|
@@ -68,28 +68,16 @@ export interface UpdateTableReplicaAutoScalingCommandOutput extends UpdateTableR
|
|
|
68
68
|
* },
|
|
69
69
|
* },
|
|
70
70
|
* },
|
|
71
|
-
* ReplicaUpdates: [
|
|
72
|
-
* {
|
|
71
|
+
* ReplicaUpdates: [ // ReplicaAutoScalingUpdateList
|
|
72
|
+
* { // ReplicaAutoScalingUpdate
|
|
73
73
|
* RegionName: "STRING_VALUE", // required
|
|
74
|
-
* ReplicaGlobalSecondaryIndexUpdates: [
|
|
75
|
-
* {
|
|
74
|
+
* ReplicaGlobalSecondaryIndexUpdates: [ // ReplicaGlobalSecondaryIndexAutoScalingUpdateList
|
|
75
|
+
* { // ReplicaGlobalSecondaryIndexAutoScalingUpdate
|
|
76
76
|
* IndexName: "STRING_VALUE",
|
|
77
|
-
* ProvisionedReadCapacityAutoScalingUpdate:
|
|
78
|
-
* MinimumUnits: "<AutoScalingSettingsUpdate>",
|
|
79
|
-
* MaximumUnits: "<AutoScalingSettingsUpdate>",
|
|
80
|
-
* AutoScalingDisabled: "<AutoScalingSettingsUpdate>",
|
|
81
|
-
* AutoScalingRoleArn: "<AutoScalingSettingsUpdate>",
|
|
82
|
-
* ScalingPolicyUpdate: "<AutoScalingSettingsUpdate>",
|
|
83
|
-
* },
|
|
77
|
+
* ProvisionedReadCapacityAutoScalingUpdate: "<AutoScalingSettingsUpdate>",
|
|
84
78
|
* },
|
|
85
79
|
* ],
|
|
86
|
-
* ReplicaProvisionedReadCapacityAutoScalingUpdate:
|
|
87
|
-
* MinimumUnits: "<AutoScalingSettingsUpdate>",
|
|
88
|
-
* MaximumUnits: "<AutoScalingSettingsUpdate>",
|
|
89
|
-
* AutoScalingDisabled: "<AutoScalingSettingsUpdate>",
|
|
90
|
-
* AutoScalingRoleArn: "<AutoScalingSettingsUpdate>",
|
|
91
|
-
* ScalingPolicyUpdate: "<AutoScalingSettingsUpdate>",
|
|
92
|
-
* },
|
|
80
|
+
* ReplicaProvisionedReadCapacityAutoScalingUpdate: "<AutoScalingSettingsUpdate>",
|
|
93
81
|
* },
|
|
94
82
|
* ],
|
|
95
83
|
* };
|
|
@@ -50,9 +50,9 @@ 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 = {
|
|
53
|
+
* const input = { // UpdateTimeToLiveInput
|
|
54
54
|
* TableName: "STRING_VALUE", // required
|
|
55
|
-
* TimeToLiveSpecification: {
|
|
55
|
+
* TimeToLiveSpecification: { // TimeToLiveSpecification
|
|
56
56
|
* Enabled: true || false, // required
|
|
57
57
|
* AttributeName: "STRING_VALUE", // required
|
|
58
58
|
* },
|
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.301.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,9 +21,9 @@
|
|
|
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.
|
|
24
|
+
"@aws-sdk/client-sts": "3.301.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.301.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",
|