@aws-sdk/client-dynamodb 3.948.0 → 3.953.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 (77) hide show
  1. package/dist-cjs/index.js +1136 -807
  2. package/dist-cjs/runtimeConfig.shared.js +8 -7
  3. package/dist-es/commands/BatchExecuteStatementCommand.js +2 -2
  4. package/dist-es/commands/BatchGetItemCommand.js +2 -2
  5. package/dist-es/commands/BatchWriteItemCommand.js +2 -2
  6. package/dist-es/commands/CreateBackupCommand.js +2 -2
  7. package/dist-es/commands/CreateGlobalTableCommand.js +2 -2
  8. package/dist-es/commands/CreateTableCommand.js +2 -2
  9. package/dist-es/commands/DeleteBackupCommand.js +2 -2
  10. package/dist-es/commands/DeleteItemCommand.js +2 -2
  11. package/dist-es/commands/DeleteResourcePolicyCommand.js +2 -2
  12. package/dist-es/commands/DeleteTableCommand.js +2 -2
  13. package/dist-es/commands/DescribeBackupCommand.js +2 -2
  14. package/dist-es/commands/DescribeContinuousBackupsCommand.js +2 -2
  15. package/dist-es/commands/DescribeContributorInsightsCommand.js +2 -2
  16. package/dist-es/commands/DescribeEndpointsCommand.js +2 -2
  17. package/dist-es/commands/DescribeExportCommand.js +2 -2
  18. package/dist-es/commands/DescribeGlobalTableCommand.js +2 -2
  19. package/dist-es/commands/DescribeGlobalTableSettingsCommand.js +2 -2
  20. package/dist-es/commands/DescribeImportCommand.js +2 -2
  21. package/dist-es/commands/DescribeKinesisStreamingDestinationCommand.js +2 -2
  22. package/dist-es/commands/DescribeLimitsCommand.js +2 -2
  23. package/dist-es/commands/DescribeTableCommand.js +2 -2
  24. package/dist-es/commands/DescribeTableReplicaAutoScalingCommand.js +2 -2
  25. package/dist-es/commands/DescribeTimeToLiveCommand.js +2 -2
  26. package/dist-es/commands/DisableKinesisStreamingDestinationCommand.js +2 -2
  27. package/dist-es/commands/EnableKinesisStreamingDestinationCommand.js +2 -2
  28. package/dist-es/commands/ExecuteStatementCommand.js +2 -2
  29. package/dist-es/commands/ExecuteTransactionCommand.js +2 -2
  30. package/dist-es/commands/ExportTableToPointInTimeCommand.js +2 -2
  31. package/dist-es/commands/GetItemCommand.js +2 -2
  32. package/dist-es/commands/GetResourcePolicyCommand.js +2 -2
  33. package/dist-es/commands/ImportTableCommand.js +2 -2
  34. package/dist-es/commands/ListBackupsCommand.js +2 -2
  35. package/dist-es/commands/ListContributorInsightsCommand.js +2 -2
  36. package/dist-es/commands/ListExportsCommand.js +2 -2
  37. package/dist-es/commands/ListGlobalTablesCommand.js +2 -2
  38. package/dist-es/commands/ListImportsCommand.js +2 -2
  39. package/dist-es/commands/ListTablesCommand.js +2 -2
  40. package/dist-es/commands/ListTagsOfResourceCommand.js +2 -2
  41. package/dist-es/commands/PutItemCommand.js +2 -2
  42. package/dist-es/commands/PutResourcePolicyCommand.js +2 -2
  43. package/dist-es/commands/QueryCommand.js +2 -2
  44. package/dist-es/commands/RestoreTableFromBackupCommand.js +2 -2
  45. package/dist-es/commands/RestoreTableToPointInTimeCommand.js +2 -2
  46. package/dist-es/commands/ScanCommand.js +2 -2
  47. package/dist-es/commands/TagResourceCommand.js +2 -2
  48. package/dist-es/commands/TransactGetItemsCommand.js +2 -2
  49. package/dist-es/commands/TransactWriteItemsCommand.js +2 -2
  50. package/dist-es/commands/UntagResourceCommand.js +2 -2
  51. package/dist-es/commands/UpdateContinuousBackupsCommand.js +2 -2
  52. package/dist-es/commands/UpdateContributorInsightsCommand.js +2 -2
  53. package/dist-es/commands/UpdateGlobalTableCommand.js +2 -2
  54. package/dist-es/commands/UpdateGlobalTableSettingsCommand.js +2 -2
  55. package/dist-es/commands/UpdateItemCommand.js +2 -2
  56. package/dist-es/commands/UpdateKinesisStreamingDestinationCommand.js +2 -2
  57. package/dist-es/commands/UpdateTableCommand.js +2 -2
  58. package/dist-es/commands/UpdateTableReplicaAutoScalingCommand.js +2 -2
  59. package/dist-es/commands/UpdateTimeToLiveCommand.js +2 -2
  60. package/dist-es/index.js +1 -0
  61. package/dist-es/runtimeConfig.shared.js +8 -7
  62. package/dist-es/schemas/schemas_0.js +677 -665
  63. package/dist-types/DynamoDBClient.d.ts +1 -10
  64. package/dist-types/index.d.ts +1 -0
  65. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  66. package/dist-types/runtimeConfig.d.ts +6 -2
  67. package/dist-types/runtimeConfig.native.d.ts +6 -2
  68. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  69. package/dist-types/schemas/schemas_0.d.ts +318 -397
  70. package/dist-types/ts3.4/DynamoDBClient.d.ts +0 -4
  71. package/dist-types/ts3.4/index.d.ts +1 -0
  72. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  73. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  74. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  75. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  76. package/dist-types/ts3.4/schemas/schemas_0.d.ts +317 -398
  77. package/package.json +37 -37
@@ -38,13 +38,10 @@ import {
38
38
  BodyLengthCalculator as __BodyLengthCalculator,
39
39
  CheckOptionalClientConfig as __CheckOptionalClientConfig,
40
40
  ChecksumConstructor as __ChecksumConstructor,
41
- ClientProtocol,
42
41
  Decoder as __Decoder,
43
42
  Encoder as __Encoder,
44
43
  HashConstructor as __HashConstructor,
45
44
  HttpHandlerOptions as __HttpHandlerOptions,
46
- HttpRequest,
47
- HttpResponse,
48
45
  Logger as __Logger,
49
46
  StreamCollector as __StreamCollector,
50
47
  UrlParser as __UrlParser,
@@ -429,7 +426,6 @@ export interface ClientDefaults
429
426
  retryMode?: string | __Provider<string>;
430
427
  logger?: __Logger;
431
428
  extensions?: RuntimeExtension[];
432
- protocol?: ClientProtocol<HttpRequest, HttpResponse>;
433
429
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
434
430
  endpointDiscoveryEnabledProvider?: __Provider<boolean | undefined>;
435
431
  }
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
4
  export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { DynamoDBExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
+ export * from "./schemas/schemas_0";
7
8
  export * from "./pagination";
8
9
  export * from "./waiters";
9
10
  export * from "./models/enums";
@@ -34,8 +34,16 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
34
34
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
35
35
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
36
36
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
37
- apiVersion: string;
38
37
  cacheMiddleware?: boolean | undefined;
38
+ protocol:
39
+ | import("@smithy/types").ClientProtocol<any, any>
40
+ | import("@smithy/types").ClientProtocolCtor<any, any>
41
+ | typeof import("@aws-sdk/core").AwsJson1_0Protocol;
42
+ protocolSettings: {
43
+ defaultNamespace?: string;
44
+ [setting: string]: unknown;
45
+ };
46
+ apiVersion: string;
39
47
  urlParser: import("@smithy/types").UrlParser;
40
48
  base64Decoder: import("@smithy/types").Decoder;
41
49
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -46,10 +54,6 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
46
54
  profile?: string;
47
55
  logger: import("@smithy/types").Logger;
48
56
  extensions: import("./runtimeExtensions").RuntimeExtension[];
49
- protocol: import("@smithy/types").ClientProtocol<
50
- import("@smithy/types").HttpRequest,
51
- import("@smithy/types").HttpResponse
52
- >;
53
57
  customUserAgent?: string | import("@smithy/types").UserAgent;
54
58
  userAgentAppId?:
55
59
  | string
@@ -36,8 +36,16 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
36
36
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
37
37
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
38
38
  userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
39
- apiVersion: string;
40
39
  cacheMiddleware?: boolean | undefined;
40
+ protocol:
41
+ | import("@smithy/types").ClientProtocol<any, any>
42
+ | import("@smithy/types").ClientProtocolCtor<any, any>
43
+ | typeof import("@aws-sdk/core").AwsJson1_0Protocol;
44
+ protocolSettings: {
45
+ defaultNamespace?: string;
46
+ [setting: string]: unknown;
47
+ };
48
+ apiVersion: string;
41
49
  urlParser: import("@smithy/types").UrlParser;
42
50
  base64Decoder: import("@smithy/types").Decoder;
43
51
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -48,10 +56,6 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
48
56
  profile?: string;
49
57
  logger: import("@smithy/types").Logger;
50
58
  extensions: import("./runtimeExtensions").RuntimeExtension[];
51
- protocol: import("@smithy/types").ClientProtocol<
52
- import("@smithy/types").HttpRequest,
53
- import("@smithy/types").HttpResponse
54
- >;
55
59
  customUserAgent?: string | import("@smithy/types").UserAgent;
56
60
  retryStrategy?:
57
61
  | import("@smithy/types").RetryStrategy
@@ -8,8 +8,16 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
8
8
  | Record<string, unknown>
9
9
  | import("@smithy/protocol-http").HttpHandler<any>
10
10
  | import("@smithy/fetch-http-handler").FetchHttpHandler;
11
- apiVersion: string;
12
11
  cacheMiddleware?: boolean;
12
+ protocol:
13
+ | import("@smithy/types").ClientProtocol<any, any>
14
+ | import("@smithy/types").ClientProtocolCtor<any, any>
15
+ | typeof import("@aws-sdk/core").AwsJson1_0Protocol;
16
+ protocolSettings: {
17
+ defaultNamespace?: string;
18
+ [setting: string]: unknown;
19
+ };
20
+ apiVersion: string;
13
21
  urlParser: import("@smithy/types").UrlParser;
14
22
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
15
23
  streamCollector: import("@smithy/types").StreamCollector;
@@ -42,10 +50,6 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
42
50
  retryMode: string | import("@smithy/types").Provider<string>;
43
51
  logger: import("@smithy/types").Logger;
44
52
  extensions: import("./runtimeExtensions").RuntimeExtension[];
45
- protocol: import("@smithy/types").ClientProtocol<
46
- import("@smithy/types").HttpRequest,
47
- import("@smithy/types").HttpResponse
48
- >;
49
53
  defaultsMode:
50
54
  | import("@smithy/smithy-client").DefaultsMode
51
55
  | import("@smithy/types").Provider<
@@ -1,3 +1,4 @@
1
+ import { AwsJson1_0Protocol } from "@aws-sdk/core/protocols";
1
2
  import { DynamoDBClientConfig } from "./DynamoDBClient";
2
3
  export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
3
4
  apiVersion: string;
@@ -14,10 +15,14 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
14
15
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").DynamoDBHttpAuthSchemeProvider;
15
16
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
16
17
  logger: import("@smithy/types").Logger;
17
- protocol: import("@smithy/types").ClientProtocol<
18
- import("@smithy/types").HttpRequest,
19
- import("@smithy/types").HttpResponse
20
- >;
18
+ protocol:
19
+ | import("@smithy/types").ClientProtocol<any, any>
20
+ | import("@smithy/types").ClientProtocolCtor<any, any>
21
+ | typeof AwsJson1_0Protocol;
22
+ protocolSettings: {
23
+ [setting: string]: unknown;
24
+ defaultNamespace?: string;
25
+ };
21
26
  serviceId: string;
22
27
  urlParser: import("@smithy/types").UrlParser;
23
28
  utf8Decoder: import("@smithy/types").Decoder;