@aws-sdk/client-dynamodb 3.212.0 → 3.214.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.
@@ -78,9 +78,9 @@ import { DynamoDBClient } from "./DynamoDBClient";
78
78
  export declare class DynamoDB extends DynamoDBClient {
79
79
  /**
80
80
  * <p>This operation allows you to perform batch reads or writes on data stored in DynamoDB,
81
- * using PartiQL. Each read statement in a <code>BatchExecuteStatement</code> must specify an equality
82
- * condition on all key attributes. This enforces that each <code>SELECT</code> statement in a
83
- * batch returns at most a single item.</p>
81
+ * using PartiQL. Each read statement in a <code>BatchExecuteStatement</code> must specify
82
+ * an equality condition on all key attributes. This enforces that each <code>SELECT</code>
83
+ * statement in a batch returns at most a single item.</p>
84
84
  * <note>
85
85
  * <p>The entire batch must consist of either read statements or write statements, you
86
86
  * cannot mix both in one batch.</p>
@@ -155,8 +155,10 @@ export declare class DynamoDB extends DynamoDBClient {
155
155
  * for the API call. For more details on this distinction, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.NamingRulesDataTypes.html">Naming Rules and Data Types</a>.</p>
156
156
  * <note>
157
157
  * <p>
158
- * <code>BatchWriteItem</code> cannot update items. To update items, use the
159
- * <code>UpdateItem</code> action.</p>
158
+ * <code>BatchWriteItem</code> cannot update items. If you perform a <code>BatchWriteItem</code>
159
+ * operation on an existing item, that item's values will be overwritten by the
160
+ * operation and it will appear like it was updated. To update items, we recommend you
161
+ * use the <code>UpdateItem</code> action.</p>
160
162
  * </note>
161
163
  * <p>The individual <code>PutItem</code> and <code>DeleteItem</code> operations specified
162
164
  * in <code>BatchWriteItem</code> are atomic; however <code>BatchWriteItem</code> as a
@@ -461,9 +463,7 @@ export declare class DynamoDB extends DynamoDBClient {
461
463
  describeGlobalTableSettings(args: DescribeGlobalTableSettingsCommandInput, cb: (err: any, data?: DescribeGlobalTableSettingsCommandOutput) => void): void;
462
464
  describeGlobalTableSettings(args: DescribeGlobalTableSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeGlobalTableSettingsCommandOutput) => void): void;
463
465
  /**
464
- * <p>
465
- * Represents the properties of the import.
466
- * </p>
466
+ * <p> Represents the properties of the import. </p>
467
467
  */
468
468
  describeImport(args: DescribeImportCommandInput, options?: __HttpHandlerOptions): Promise<DescribeImportCommandOutput>;
469
469
  describeImport(args: DescribeImportCommandInput, cb: (err: any, data?: DescribeImportCommandOutput) => void): void;
@@ -652,10 +652,7 @@ export declare class DynamoDB extends DynamoDBClient {
652
652
  getItem(args: GetItemCommandInput, cb: (err: any, data?: GetItemCommandOutput) => void): void;
653
653
  getItem(args: GetItemCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetItemCommandOutput) => void): void;
654
654
  /**
655
- * <p>
656
- * Imports table data from an S3 bucket.
657
- *
658
- * </p>
655
+ * <p> Imports table data from an S3 bucket. </p>
659
656
  */
660
657
  importTable(args: ImportTableCommandInput, options?: __HttpHandlerOptions): Promise<ImportTableCommandOutput>;
661
658
  importTable(args: ImportTableCommandInput, cb: (err: any, data?: ImportTableCommandOutput) => void): void;
@@ -696,9 +693,7 @@ export declare class DynamoDB extends DynamoDBClient {
696
693
  listGlobalTables(args: ListGlobalTablesCommandInput, cb: (err: any, data?: ListGlobalTablesCommandOutput) => void): void;
697
694
  listGlobalTables(args: ListGlobalTablesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListGlobalTablesCommandOutput) => void): void;
698
695
  /**
699
- * <p>
700
- * Lists completed imports within the past 90 days.
701
- * </p>
696
+ * <p> Lists completed imports within the past 90 days. </p>
702
697
  */
703
698
  listImports(args: ListImportsCommandInput, options?: __HttpHandlerOptions): Promise<ListImportsCommandOutput>;
704
699
  listImports(args: ListImportsCommandInput, cb: (err: any, data?: ListImportsCommandOutput) => void): void;
@@ -729,7 +724,7 @@ export declare class DynamoDB extends DynamoDBClient {
729
724
  * the same operation, using the <code>ReturnValues</code> parameter.</p>
730
725
  *
731
726
  * <p>When you add an item, the primary key attributes are the only required attributes.
732
- * Attribute values cannot be null.</p>
727
+ * </p>
733
728
  * <p>Empty String and Binary attribute values are allowed. Attribute values of type String
734
729
  * and Binary must have a length greater than zero if the attribute is used as a key
735
730
  * attribute for a table or index. Set type attributes cannot be empty. </p>
@@ -9,9 +9,9 @@ export interface BatchExecuteStatementCommandOutput extends BatchExecuteStatemen
9
9
  }
10
10
  /**
11
11
  * <p>This operation allows you to perform batch reads or writes on data stored in DynamoDB,
12
- * using PartiQL. Each read statement in a <code>BatchExecuteStatement</code> must specify an equality
13
- * condition on all key attributes. This enforces that each <code>SELECT</code> statement in a
14
- * batch returns at most a single item.</p>
12
+ * using PartiQL. Each read statement in a <code>BatchExecuteStatement</code> must specify
13
+ * an equality condition on all key attributes. This enforces that each <code>SELECT</code>
14
+ * statement in a batch returns at most a single item.</p>
15
15
  * <note>
16
16
  * <p>The entire batch must consist of either read statements or write statements, you
17
17
  * cannot mix both in one batch.</p>
@@ -16,8 +16,10 @@ export interface BatchWriteItemCommandOutput extends BatchWriteItemOutput, __Met
16
16
  * for the API call. For more details on this distinction, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.NamingRulesDataTypes.html">Naming Rules and Data Types</a>.</p>
17
17
  * <note>
18
18
  * <p>
19
- * <code>BatchWriteItem</code> cannot update items. To update items, use the
20
- * <code>UpdateItem</code> action.</p>
19
+ * <code>BatchWriteItem</code> cannot update items. If you perform a <code>BatchWriteItem</code>
20
+ * operation on an existing item, that item's values will be overwritten by the
21
+ * operation and it will appear like it was updated. To update items, we recommend you
22
+ * use the <code>UpdateItem</code> action.</p>
21
23
  * </note>
22
24
  * <p>The individual <code>PutItem</code> and <code>DeleteItem</code> operations specified
23
25
  * in <code>BatchWriteItem</code> are atomic; however <code>BatchWriteItem</code> as a
@@ -8,9 +8,7 @@ export interface DescribeImportCommandInput extends DescribeImportInput {
8
8
  export interface DescribeImportCommandOutput extends DescribeImportOutput, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>
12
- * Represents the properties of the import.
13
- * </p>
11
+ * <p> Represents the properties of the import. </p>
14
12
  * @example
15
13
  * Use a bare-bones client and the command you need to make an API call.
16
14
  * ```javascript
@@ -8,10 +8,7 @@ export interface ImportTableCommandInput extends ImportTableInput {
8
8
  export interface ImportTableCommandOutput extends ImportTableOutput, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>
12
- * Imports table data from an S3 bucket.
13
- *
14
- * </p>
11
+ * <p> Imports table data from an S3 bucket. </p>
15
12
  * @example
16
13
  * Use a bare-bones client and the command you need to make an API call.
17
14
  * ```javascript
@@ -8,9 +8,7 @@ export interface ListImportsCommandInput extends ListImportsInput {
8
8
  export interface ListImportsCommandOutput extends ListImportsOutput, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>
12
- * Lists completed imports within the past 90 days.
13
- * </p>
11
+ * <p> Lists completed imports within the past 90 days. </p>
14
12
  * @example
15
13
  * Use a bare-bones client and the command you need to make an API call.
16
14
  * ```javascript
@@ -16,7 +16,7 @@ export interface PutItemCommandOutput extends PutItemOutput, __MetadataBearer {
16
16
  * the same operation, using the <code>ReturnValues</code> parameter.</p>
17
17
  *
18
18
  * <p>When you add an item, the primary key attributes are the only required attributes.
19
- * Attribute values cannot be null.</p>
19
+ * </p>
20
20
  * <p>Empty String and Binary attribute values are allowed. Attribute values of type String
21
21
  * and Binary must have a length greater than zero if the attribute is used as a key
22
22
  * attribute for a table or index. Set type attributes cannot be empty. </p>