@aws-sdk/client-dynamodb 3.298.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.
Files changed (54) hide show
  1. package/dist-types/commands/BatchExecuteStatementCommand.d.ts +87 -0
  2. package/dist-types/commands/BatchGetItemCommand.d.ts +84 -0
  3. package/dist-types/commands/BatchWriteItemCommand.d.ts +84 -0
  4. package/dist-types/commands/CreateBackupCommand.d.ts +4 -0
  5. package/dist-types/commands/CreateGlobalTableCommand.d.ts +8 -0
  6. package/dist-types/commands/CreateTableCommand.d.ts +75 -0
  7. package/dist-types/commands/DeleteBackupCommand.d.ts +3 -0
  8. package/dist-types/commands/DeleteItemCommand.d.ts +113 -0
  9. package/dist-types/commands/DeleteTableCommand.d.ts +3 -0
  10. package/dist-types/commands/DescribeBackupCommand.d.ts +3 -0
  11. package/dist-types/commands/DescribeContinuousBackupsCommand.d.ts +3 -0
  12. package/dist-types/commands/DescribeContributorInsightsCommand.d.ts +4 -0
  13. package/dist-types/commands/DescribeEndpointsCommand.d.ts +1 -0
  14. package/dist-types/commands/DescribeExportCommand.d.ts +3 -0
  15. package/dist-types/commands/DescribeGlobalTableCommand.d.ts +3 -0
  16. package/dist-types/commands/DescribeGlobalTableSettingsCommand.d.ts +3 -0
  17. package/dist-types/commands/DescribeImportCommand.d.ts +3 -0
  18. package/dist-types/commands/DescribeKinesisStreamingDestinationCommand.d.ts +3 -0
  19. package/dist-types/commands/DescribeLimitsCommand.d.ts +1 -0
  20. package/dist-types/commands/DescribeTableCommand.d.ts +3 -0
  21. package/dist-types/commands/DescribeTableReplicaAutoScalingCommand.d.ts +3 -0
  22. package/dist-types/commands/DescribeTimeToLiveCommand.d.ts +3 -0
  23. package/dist-types/commands/DisableKinesisStreamingDestinationCommand.d.ts +4 -0
  24. package/dist-types/commands/EnableKinesisStreamingDestinationCommand.d.ts +4 -0
  25. package/dist-types/commands/ExecuteStatementCommand.d.ts +85 -0
  26. package/dist-types/commands/ExecuteTransactionCommand.d.ts +87 -0
  27. package/dist-types/commands/ExportTableToPointInTimeCommand.d.ts +11 -0
  28. package/dist-types/commands/GetItemCommand.d.ts +79 -0
  29. package/dist-types/commands/ImportTableCommand.d.ts +64 -0
  30. package/dist-types/commands/ListBackupsCommand.d.ts +8 -0
  31. package/dist-types/commands/ListContributorInsightsCommand.d.ts +5 -0
  32. package/dist-types/commands/ListExportsCommand.d.ts +5 -0
  33. package/dist-types/commands/ListGlobalTablesCommand.d.ts +5 -0
  34. package/dist-types/commands/ListImportsCommand.d.ts +5 -0
  35. package/dist-types/commands/ListTablesCommand.d.ts +4 -0
  36. package/dist-types/commands/ListTagsOfResourceCommand.d.ts +4 -0
  37. package/dist-types/commands/PutItemCommand.d.ts +113 -0
  38. package/dist-types/commands/QueryCommand.d.ts +127 -0
  39. package/dist-types/commands/RestoreTableFromBackupCommand.d.ts +52 -0
  40. package/dist-types/commands/RestoreTableToPointInTimeCommand.d.ts +55 -0
  41. package/dist-types/commands/ScanCommand.d.ts +108 -0
  42. package/dist-types/commands/TagResourceCommand.d.ts +9 -0
  43. package/dist-types/commands/TransactGetItemsCommand.d.ts +81 -0
  44. package/dist-types/commands/TransactWriteItemsCommand.d.ts +130 -0
  45. package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
  46. package/dist-types/commands/UpdateContinuousBackupsCommand.d.ts +6 -0
  47. package/dist-types/commands/UpdateContributorInsightsCommand.d.ts +5 -0
  48. package/dist-types/commands/UpdateGlobalTableCommand.d.ts +13 -0
  49. package/dist-types/commands/UpdateGlobalTableSettingsCommand.d.ts +76 -0
  50. package/dist-types/commands/UpdateItemCommand.d.ts +131 -0
  51. package/dist-types/commands/UpdateTableCommand.d.ts +97 -0
  52. package/dist-types/commands/UpdateTableReplicaAutoScalingCommand.d.ts +62 -0
  53. package/dist-types/commands/UpdateTimeToLiveCommand.d.ts +7 -0
  54. package/package.json +13 -13
@@ -26,6 +26,9 @@ export interface DescribeTimeToLiveCommandOutput extends DescribeTimeToLiveOutpu
26
26
  * import { DynamoDBClient, DescribeTimeToLiveCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
27
27
  * // const { DynamoDBClient, DescribeTimeToLiveCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
28
28
  * const client = new DynamoDBClient(config);
29
+ * const input = {
30
+ * TableName: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new DescribeTimeToLiveCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -27,6 +27,10 @@ export interface DisableKinesisStreamingDestinationCommandOutput extends Kinesis
27
27
  * import { DynamoDBClient, DisableKinesisStreamingDestinationCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
28
28
  * // const { DynamoDBClient, DisableKinesisStreamingDestinationCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
29
29
  * const client = new DynamoDBClient(config);
30
+ * const input = {
31
+ * TableName: "STRING_VALUE", // required
32
+ * StreamArn: "STRING_VALUE", // required
33
+ * };
30
34
  * const command = new DisableKinesisStreamingDestinationCommand(input);
31
35
  * const response = await client.send(command);
32
36
  * ```
@@ -29,6 +29,10 @@ export interface EnableKinesisStreamingDestinationCommandOutput extends KinesisS
29
29
  * import { DynamoDBClient, EnableKinesisStreamingDestinationCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
30
30
  * // const { DynamoDBClient, EnableKinesisStreamingDestinationCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
31
31
  * const client = new DynamoDBClient(config);
32
+ * const input = {
33
+ * TableName: "STRING_VALUE", // required
34
+ * StreamArn: "STRING_VALUE", // required
35
+ * };
32
36
  * const command = new EnableKinesisStreamingDestinationCommand(input);
33
37
  * const response = await client.send(command);
34
38
  * ```
@@ -38,6 +38,91 @@ export interface ExecuteStatementCommandOutput extends ExecuteStatementOutput, _
38
38
  * import { DynamoDBClient, ExecuteStatementCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
39
39
  * // const { DynamoDBClient, ExecuteStatementCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
40
40
  * const client = new DynamoDBClient(config);
41
+ * const input = {
42
+ * Statement: "STRING_VALUE", // required
43
+ * Parameters: [
44
+ * { // Union: only one key present
45
+ * S: "STRING_VALUE",
46
+ * N: "STRING_VALUE",
47
+ * B: "BLOB_VALUE",
48
+ * SS: [
49
+ * "STRING_VALUE",
50
+ * ],
51
+ * NS: [
52
+ * "STRING_VALUE",
53
+ * ],
54
+ * BS: [
55
+ * "BLOB_VALUE",
56
+ * ],
57
+ * M: {
58
+ * "<keys>": { // Union: only one key present
59
+ * S: "STRING_VALUE",
60
+ * N: "STRING_VALUE",
61
+ * B: "BLOB_VALUE",
62
+ * SS: [
63
+ * "STRING_VALUE",
64
+ * ],
65
+ * NS: [
66
+ * "STRING_VALUE",
67
+ * ],
68
+ * BS: [
69
+ * "BLOB_VALUE",
70
+ * ],
71
+ * M: {
72
+ * "<keys>": { // Union: only one key present
73
+ * S: "<AttributeValue>",
74
+ * N: "<AttributeValue>",
75
+ * B: "<AttributeValue>",
76
+ * SS: "<AttributeValue>",
77
+ * NS: "<AttributeValue>",
78
+ * BS: "<AttributeValue>",
79
+ * M: "<AttributeValue>",
80
+ * L: [
81
+ * { // Union: only one key present
82
+ * S: "<AttributeValue>",
83
+ * N: "<AttributeValue>",
84
+ * B: "<AttributeValue>",
85
+ * SS: "<AttributeValue>",
86
+ * NS: "<AttributeValue>",
87
+ * BS: "<AttributeValue>",
88
+ * M: "<AttributeValue>",
89
+ * L: [
90
+ * { // Union: only one key present
91
+ * S: "<AttributeValue>",
92
+ * N: "<AttributeValue>",
93
+ * B: "<AttributeValue>",
94
+ * SS: "<AttributeValue>",
95
+ * NS: "<AttributeValue>",
96
+ * BS: "<AttributeValue>",
97
+ * M: "<AttributeValue>",
98
+ * L: "<AttributeValue>",
99
+ * NULL: true || false,
100
+ * BOOL: true || false,
101
+ * },
102
+ * ],
103
+ * NULL: true || false,
104
+ * BOOL: true || false,
105
+ * },
106
+ * ],
107
+ * NULL: "<AttributeValue>",
108
+ * BOOL: "<AttributeValue>",
109
+ * },
110
+ * },
111
+ * L: "<AttributeValue>",
112
+ * NULL: "<AttributeValue>",
113
+ * BOOL: "<AttributeValue>",
114
+ * },
115
+ * },
116
+ * L: "<AttributeValue>",
117
+ * NULL: "<AttributeValue>",
118
+ * BOOL: "<AttributeValue>",
119
+ * },
120
+ * ],
121
+ * ConsistentRead: true || false,
122
+ * NextToken: "STRING_VALUE",
123
+ * ReturnConsumedCapacity: "INDEXES" || "TOTAL" || "NONE",
124
+ * Limit: Number("int"),
125
+ * };
41
126
  * const command = new ExecuteStatementCommand(input);
42
127
  * const response = await client.send(command);
43
128
  * ```
@@ -33,6 +33,93 @@ export interface ExecuteTransactionCommandOutput extends ExecuteTransactionOutpu
33
33
  * import { DynamoDBClient, ExecuteTransactionCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
34
34
  * // const { DynamoDBClient, ExecuteTransactionCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
35
35
  * const client = new DynamoDBClient(config);
36
+ * const input = {
37
+ * TransactStatements: [ // required
38
+ * {
39
+ * Statement: "STRING_VALUE", // required
40
+ * Parameters: [
41
+ * { // Union: only one key present
42
+ * S: "STRING_VALUE",
43
+ * N: "STRING_VALUE",
44
+ * B: "BLOB_VALUE",
45
+ * SS: [
46
+ * "STRING_VALUE",
47
+ * ],
48
+ * NS: [
49
+ * "STRING_VALUE",
50
+ * ],
51
+ * BS: [
52
+ * "BLOB_VALUE",
53
+ * ],
54
+ * M: {
55
+ * "<keys>": { // Union: only one key present
56
+ * S: "STRING_VALUE",
57
+ * N: "STRING_VALUE",
58
+ * B: "BLOB_VALUE",
59
+ * SS: [
60
+ * "STRING_VALUE",
61
+ * ],
62
+ * NS: [
63
+ * "STRING_VALUE",
64
+ * ],
65
+ * BS: [
66
+ * "BLOB_VALUE",
67
+ * ],
68
+ * M: {
69
+ * "<keys>": { // 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: [
87
+ * { // Union: only one key present
88
+ * S: "<AttributeValue>",
89
+ * N: "<AttributeValue>",
90
+ * B: "<AttributeValue>",
91
+ * SS: "<AttributeValue>",
92
+ * NS: "<AttributeValue>",
93
+ * BS: "<AttributeValue>",
94
+ * M: "<AttributeValue>",
95
+ * L: "<AttributeValue>",
96
+ * NULL: true || false,
97
+ * BOOL: true || false,
98
+ * },
99
+ * ],
100
+ * NULL: true || false,
101
+ * BOOL: true || false,
102
+ * },
103
+ * ],
104
+ * NULL: "<AttributeValue>",
105
+ * BOOL: "<AttributeValue>",
106
+ * },
107
+ * },
108
+ * L: "<AttributeValue>",
109
+ * NULL: "<AttributeValue>",
110
+ * BOOL: "<AttributeValue>",
111
+ * },
112
+ * },
113
+ * L: "<AttributeValue>",
114
+ * NULL: "<AttributeValue>",
115
+ * BOOL: "<AttributeValue>",
116
+ * },
117
+ * ],
118
+ * },
119
+ * ],
120
+ * ClientRequestToken: "STRING_VALUE",
121
+ * ReturnConsumedCapacity: "INDEXES" || "TOTAL" || "NONE",
122
+ * };
36
123
  * const command = new ExecuteTransactionCommand(input);
37
124
  * const response = await client.send(command);
38
125
  * ```
@@ -28,6 +28,17 @@ export interface ExportTableToPointInTimeCommandOutput extends ExportTableToPoin
28
28
  * import { DynamoDBClient, ExportTableToPointInTimeCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
29
29
  * // const { DynamoDBClient, ExportTableToPointInTimeCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
30
30
  * const client = new DynamoDBClient(config);
31
+ * const input = {
32
+ * TableArn: "STRING_VALUE", // required
33
+ * ExportTime: new Date("TIMESTAMP"),
34
+ * ClientToken: "STRING_VALUE",
35
+ * S3Bucket: "STRING_VALUE", // required
36
+ * S3BucketOwner: "STRING_VALUE",
37
+ * S3Prefix: "STRING_VALUE",
38
+ * S3SseAlgorithm: "AES256" || "KMS",
39
+ * S3SseKmsKeyId: "STRING_VALUE",
40
+ * ExportFormat: "DYNAMODB_JSON" || "ION",
41
+ * };
31
42
  * const command = new ExportTableToPointInTimeCommand(input);
32
43
  * const response = await client.send(command);
33
44
  * ```
@@ -33,6 +33,85 @@ export interface GetItemCommandOutput extends GetItemOutput, __MetadataBearer {
33
33
  * import { DynamoDBClient, GetItemCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
34
34
  * // const { DynamoDBClient, GetItemCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
35
35
  * const client = new DynamoDBClient(config);
36
+ * const input = {
37
+ * TableName: "STRING_VALUE", // required
38
+ * Key: { // required
39
+ * "<keys>": { // Union: only one key present
40
+ * S: "STRING_VALUE",
41
+ * N: "STRING_VALUE",
42
+ * B: "BLOB_VALUE",
43
+ * SS: [
44
+ * "STRING_VALUE",
45
+ * ],
46
+ * NS: [
47
+ * "STRING_VALUE",
48
+ * ],
49
+ * BS: [
50
+ * "BLOB_VALUE",
51
+ * ],
52
+ * M: {
53
+ * "<keys>": { // Union: only one key present
54
+ * S: "STRING_VALUE",
55
+ * N: "STRING_VALUE",
56
+ * B: "BLOB_VALUE",
57
+ * SS: [
58
+ * "STRING_VALUE",
59
+ * ],
60
+ * NS: [
61
+ * "STRING_VALUE",
62
+ * ],
63
+ * BS: [
64
+ * "BLOB_VALUE",
65
+ * ],
66
+ * M: {
67
+ * "<keys>": "<AttributeValue>",
68
+ * },
69
+ * L: [
70
+ * { // Union: only one key present
71
+ * S: "<AttributeValue>",
72
+ * N: "<AttributeValue>",
73
+ * B: "<AttributeValue>",
74
+ * SS: "<AttributeValue>",
75
+ * NS: "<AttributeValue>",
76
+ * BS: "<AttributeValue>",
77
+ * M: "<AttributeValue>",
78
+ * L: [
79
+ * { // Union: only one key present
80
+ * S: "<AttributeValue>",
81
+ * N: "<AttributeValue>",
82
+ * B: "<AttributeValue>",
83
+ * SS: "<AttributeValue>",
84
+ * NS: "<AttributeValue>",
85
+ * BS: "<AttributeValue>",
86
+ * M: "<AttributeValue>",
87
+ * L: "<AttributeValue>",
88
+ * NULL: true || false,
89
+ * BOOL: true || false,
90
+ * },
91
+ * ],
92
+ * NULL: true || false,
93
+ * BOOL: true || false,
94
+ * },
95
+ * ],
96
+ * NULL: "<AttributeValue>",
97
+ * BOOL: "<AttributeValue>",
98
+ * },
99
+ * },
100
+ * L: "<AttributeValue>",
101
+ * NULL: "<AttributeValue>",
102
+ * BOOL: "<AttributeValue>",
103
+ * },
104
+ * },
105
+ * AttributesToGet: [
106
+ * "STRING_VALUE",
107
+ * ],
108
+ * ConsistentRead: true || false,
109
+ * ReturnConsumedCapacity: "INDEXES" || "TOTAL" || "NONE",
110
+ * ProjectionExpression: "STRING_VALUE",
111
+ * ExpressionAttributeNames: {
112
+ * "<keys>": "STRING_VALUE",
113
+ * },
114
+ * };
36
115
  * const command = new GetItemCommand(input);
37
116
  * const response = await client.send(command);
38
117
  * ```
@@ -26,6 +26,70 @@ export interface ImportTableCommandOutput extends ImportTableOutput, __MetadataB
26
26
  * import { DynamoDBClient, ImportTableCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
27
27
  * // const { DynamoDBClient, ImportTableCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
28
28
  * const client = new DynamoDBClient(config);
29
+ * const input = {
30
+ * ClientToken: "STRING_VALUE",
31
+ * S3BucketSource: {
32
+ * S3BucketOwner: "STRING_VALUE",
33
+ * S3Bucket: "STRING_VALUE", // required
34
+ * S3KeyPrefix: "STRING_VALUE",
35
+ * },
36
+ * InputFormat: "DYNAMODB_JSON" || "ION" || "CSV", // required
37
+ * InputFormatOptions: {
38
+ * Csv: {
39
+ * Delimiter: "STRING_VALUE",
40
+ * HeaderList: [
41
+ * "STRING_VALUE",
42
+ * ],
43
+ * },
44
+ * },
45
+ * InputCompressionType: "GZIP" || "ZSTD" || "NONE",
46
+ * TableCreationParameters: {
47
+ * TableName: "STRING_VALUE", // required
48
+ * AttributeDefinitions: [ // required
49
+ * {
50
+ * AttributeName: "STRING_VALUE", // required
51
+ * AttributeType: "S" || "N" || "B", // required
52
+ * },
53
+ * ],
54
+ * KeySchema: [ // required
55
+ * {
56
+ * AttributeName: "STRING_VALUE", // required
57
+ * KeyType: "HASH" || "RANGE", // required
58
+ * },
59
+ * ],
60
+ * BillingMode: "PROVISIONED" || "PAY_PER_REQUEST",
61
+ * ProvisionedThroughput: {
62
+ * ReadCapacityUnits: Number("long"), // required
63
+ * WriteCapacityUnits: Number("long"), // required
64
+ * },
65
+ * SSESpecification: {
66
+ * Enabled: true || false,
67
+ * SSEType: "AES256" || "KMS",
68
+ * KMSMasterKeyId: "STRING_VALUE",
69
+ * },
70
+ * GlobalSecondaryIndexes: [
71
+ * {
72
+ * IndexName: "STRING_VALUE", // required
73
+ * KeySchema: [ // required
74
+ * {
75
+ * AttributeName: "STRING_VALUE", // required
76
+ * KeyType: "HASH" || "RANGE", // required
77
+ * },
78
+ * ],
79
+ * Projection: {
80
+ * ProjectionType: "ALL" || "KEYS_ONLY" || "INCLUDE",
81
+ * NonKeyAttributes: [
82
+ * "STRING_VALUE",
83
+ * ],
84
+ * },
85
+ * ProvisionedThroughput: {
86
+ * ReadCapacityUnits: Number("long"), // required
87
+ * WriteCapacityUnits: Number("long"), // required
88
+ * },
89
+ * },
90
+ * ],
91
+ * },
92
+ * };
29
93
  * const command = new ImportTableCommand(input);
30
94
  * const response = await client.send(command);
31
95
  * ```
@@ -32,6 +32,14 @@ export interface ListBackupsCommandOutput extends ListBackupsOutput, __MetadataB
32
32
  * import { DynamoDBClient, ListBackupsCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
33
33
  * // const { DynamoDBClient, ListBackupsCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
34
34
  * const client = new DynamoDBClient(config);
35
+ * const input = {
36
+ * TableName: "STRING_VALUE",
37
+ * Limit: Number("int"),
38
+ * TimeRangeLowerBound: new Date("TIMESTAMP"),
39
+ * TimeRangeUpperBound: new Date("TIMESTAMP"),
40
+ * ExclusiveStartBackupArn: "STRING_VALUE",
41
+ * BackupType: "USER" || "SYSTEM" || "AWS_BACKUP" || "ALL",
42
+ * };
35
43
  * const command = new ListBackupsCommand(input);
36
44
  * const response = await client.send(command);
37
45
  * ```
@@ -27,6 +27,11 @@ export interface ListContributorInsightsCommandOutput extends ListContributorIns
27
27
  * import { DynamoDBClient, ListContributorInsightsCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
28
28
  * // const { DynamoDBClient, ListContributorInsightsCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
29
29
  * const client = new DynamoDBClient(config);
30
+ * const input = {
31
+ * TableName: "STRING_VALUE",
32
+ * NextToken: "STRING_VALUE",
33
+ * MaxResults: Number("int"),
34
+ * };
30
35
  * const command = new ListContributorInsightsCommand(input);
31
36
  * const response = await client.send(command);
32
37
  * ```
@@ -26,6 +26,11 @@ export interface ListExportsCommandOutput extends ListExportsOutput, __MetadataB
26
26
  * import { DynamoDBClient, ListExportsCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
27
27
  * // const { DynamoDBClient, ListExportsCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
28
28
  * const client = new DynamoDBClient(config);
29
+ * const input = {
30
+ * TableArn: "STRING_VALUE",
31
+ * MaxResults: Number("int"),
32
+ * NextToken: "STRING_VALUE",
33
+ * };
29
34
  * const command = new ListExportsCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -38,6 +38,11 @@ export interface ListGlobalTablesCommandOutput extends ListGlobalTablesOutput, _
38
38
  * import { DynamoDBClient, ListGlobalTablesCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
39
39
  * // const { DynamoDBClient, ListGlobalTablesCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
40
40
  * const client = new DynamoDBClient(config);
41
+ * const input = {
42
+ * ExclusiveStartGlobalTableName: "STRING_VALUE",
43
+ * Limit: Number("int"),
44
+ * RegionName: "STRING_VALUE",
45
+ * };
41
46
  * const command = new ListGlobalTablesCommand(input);
42
47
  * const response = await client.send(command);
43
48
  * ```
@@ -26,6 +26,11 @@ export interface ListImportsCommandOutput extends ListImportsOutput, __MetadataB
26
26
  * import { DynamoDBClient, ListImportsCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
27
27
  * // const { DynamoDBClient, ListImportsCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
28
28
  * const client = new DynamoDBClient(config);
29
+ * const input = {
30
+ * TableArn: "STRING_VALUE",
31
+ * PageSize: Number("int"),
32
+ * NextToken: "STRING_VALUE",
33
+ * };
29
34
  * const command = new ListImportsCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -28,6 +28,10 @@ export interface ListTablesCommandOutput extends ListTablesOutput, __MetadataBea
28
28
  * import { DynamoDBClient, ListTablesCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
29
29
  * // const { DynamoDBClient, ListTablesCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
30
30
  * const client = new DynamoDBClient(config);
31
+ * const input = {
32
+ * ExclusiveStartTableName: "STRING_VALUE",
33
+ * Limit: Number("int"),
34
+ * };
31
35
  * const command = new ListTablesCommand(input);
32
36
  * const response = await client.send(command);
33
37
  * ```
@@ -29,6 +29,10 @@ export interface ListTagsOfResourceCommandOutput extends ListTagsOfResourceOutpu
29
29
  * import { DynamoDBClient, ListTagsOfResourceCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
30
30
  * // const { DynamoDBClient, ListTagsOfResourceCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
31
31
  * const client = new DynamoDBClient(config);
32
+ * const input = {
33
+ * ResourceArn: "STRING_VALUE", // required
34
+ * NextToken: "STRING_VALUE",
35
+ * };
32
36
  * const command = new ListTagsOfResourceCommand(input);
33
37
  * const response = await client.send(command);
34
38
  * ```
@@ -47,6 +47,119 @@ export interface PutItemCommandOutput extends PutItemOutput, __MetadataBearer {
47
47
  * import { DynamoDBClient, PutItemCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
48
48
  * // const { DynamoDBClient, PutItemCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
49
49
  * const client = new DynamoDBClient(config);
50
+ * const input = {
51
+ * TableName: "STRING_VALUE", // required
52
+ * Item: { // required
53
+ * "<keys>": { // Union: only one key present
54
+ * S: "STRING_VALUE",
55
+ * N: "STRING_VALUE",
56
+ * B: "BLOB_VALUE",
57
+ * SS: [
58
+ * "STRING_VALUE",
59
+ * ],
60
+ * NS: [
61
+ * "STRING_VALUE",
62
+ * ],
63
+ * BS: [
64
+ * "BLOB_VALUE",
65
+ * ],
66
+ * M: {
67
+ * "<keys>": { // Union: only one key present
68
+ * S: "STRING_VALUE",
69
+ * N: "STRING_VALUE",
70
+ * B: "BLOB_VALUE",
71
+ * SS: [
72
+ * "STRING_VALUE",
73
+ * ],
74
+ * NS: [
75
+ * "STRING_VALUE",
76
+ * ],
77
+ * BS: [
78
+ * "BLOB_VALUE",
79
+ * ],
80
+ * M: {
81
+ * "<keys>": "<AttributeValue>",
82
+ * },
83
+ * L: [
84
+ * { // Union: only one key present
85
+ * S: "<AttributeValue>",
86
+ * N: "<AttributeValue>",
87
+ * B: "<AttributeValue>",
88
+ * SS: "<AttributeValue>",
89
+ * NS: "<AttributeValue>",
90
+ * BS: "<AttributeValue>",
91
+ * M: "<AttributeValue>",
92
+ * L: [
93
+ * { // Union: only one key present
94
+ * S: "<AttributeValue>",
95
+ * N: "<AttributeValue>",
96
+ * B: "<AttributeValue>",
97
+ * SS: "<AttributeValue>",
98
+ * NS: "<AttributeValue>",
99
+ * BS: "<AttributeValue>",
100
+ * M: "<AttributeValue>",
101
+ * L: "<AttributeValue>",
102
+ * NULL: true || false,
103
+ * BOOL: true || false,
104
+ * },
105
+ * ],
106
+ * NULL: true || false,
107
+ * BOOL: true || false,
108
+ * },
109
+ * ],
110
+ * NULL: "<AttributeValue>",
111
+ * BOOL: "<AttributeValue>",
112
+ * },
113
+ * },
114
+ * L: "<AttributeValue>",
115
+ * NULL: "<AttributeValue>",
116
+ * BOOL: "<AttributeValue>",
117
+ * },
118
+ * },
119
+ * Expected: {
120
+ * "<keys>": {
121
+ * Value: { // Union: only one key present
122
+ * S: "<AttributeValue>",
123
+ * N: "<AttributeValue>",
124
+ * B: "<AttributeValue>",
125
+ * SS: "<AttributeValue>",
126
+ * NS: "<AttributeValue>",
127
+ * BS: "<AttributeValue>",
128
+ * M: "<AttributeValue>",
129
+ * L: "<AttributeValue>",
130
+ * NULL: "<AttributeValue>",
131
+ * BOOL: "<AttributeValue>",
132
+ * },
133
+ * Exists: true || false,
134
+ * ComparisonOperator: "EQ" || "NE" || "IN" || "LE" || "LT" || "GE" || "GT" || "BETWEEN" || "NOT_NULL" || "NULL" || "CONTAINS" || "NOT_CONTAINS" || "BEGINS_WITH",
135
+ * AttributeValueList: [
136
+ * { // Union: only one key present
137
+ * S: "<AttributeValue>",
138
+ * N: "<AttributeValue>",
139
+ * B: "<AttributeValue>",
140
+ * SS: "<AttributeValue>",
141
+ * NS: "<AttributeValue>",
142
+ * BS: "<AttributeValue>",
143
+ * M: "<AttributeValue>",
144
+ * L: "<AttributeValue>",
145
+ * NULL: "<AttributeValue>",
146
+ * BOOL: "<AttributeValue>",
147
+ * },
148
+ * ],
149
+ * },
150
+ * },
151
+ * ReturnValues: "NONE" || "ALL_OLD" || "UPDATED_OLD" || "ALL_NEW" || "UPDATED_NEW",
152
+ * ReturnConsumedCapacity: "INDEXES" || "TOTAL" || "NONE",
153
+ * ReturnItemCollectionMetrics: "SIZE" || "NONE",
154
+ * ConditionalOperator: "AND" || "OR",
155
+ * ConditionExpression: "STRING_VALUE",
156
+ * ExpressionAttributeNames: {
157
+ * "<keys>": "STRING_VALUE",
158
+ * },
159
+ * ExpressionAttributeValues: {
160
+ * "<keys>": "<AttributeValue>",
161
+ * },
162
+ * };
50
163
  * const command = new PutItemCommand(input);
51
164
  * const response = await client.send(command);
52
165
  * ```