@aws-sdk/client-dynamodb 3.1086.0 → 3.1088.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 (86) hide show
  1. package/dist-cjs/index.js +1 -1
  2. package/dist-types/ts3.4/DynamoDB.d.ts +196 -301
  3. package/dist-types/ts3.4/DynamoDBClient.d.ts +31 -82
  4. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
  5. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +11 -15
  6. package/dist-types/ts3.4/commandBuilder.d.ts +7 -13
  7. package/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +5 -10
  8. package/dist-types/ts3.4/commands/BatchGetItemCommand.d.ts +3 -5
  9. package/dist-types/ts3.4/commands/BatchWriteItemCommand.d.ts +3 -5
  10. package/dist-types/ts3.4/commands/CreateBackupCommand.d.ts +3 -5
  11. package/dist-types/ts3.4/commands/CreateGlobalTableCommand.d.ts +4 -9
  12. package/dist-types/ts3.4/commands/CreateTableCommand.d.ts +3 -5
  13. package/dist-types/ts3.4/commands/DeleteBackupCommand.d.ts +3 -5
  14. package/dist-types/ts3.4/commands/DeleteItemCommand.d.ts +3 -5
  15. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +5 -10
  16. package/dist-types/ts3.4/commands/DeleteTableCommand.d.ts +3 -5
  17. package/dist-types/ts3.4/commands/DescribeBackupCommand.d.ts +3 -5
  18. package/dist-types/ts3.4/commands/DescribeContinuousBackupsCommand.d.ts +4 -6
  19. package/dist-types/ts3.4/commands/DescribeContributorInsightsCommand.d.ts +4 -6
  20. package/dist-types/ts3.4/commands/DescribeEndpointsCommand.d.ts +4 -9
  21. package/dist-types/ts3.4/commands/DescribeExportCommand.d.ts +3 -5
  22. package/dist-types/ts3.4/commands/DescribeGlobalTableCommand.d.ts +5 -10
  23. package/dist-types/ts3.4/commands/DescribeGlobalTableSettingsCommand.d.ts +4 -6
  24. package/dist-types/ts3.4/commands/DescribeImportCommand.d.ts +3 -5
  25. package/dist-types/ts3.4/commands/DescribeKinesisStreamingDestinationCommand.d.ts +4 -6
  26. package/dist-types/ts3.4/commands/DescribeLimitsCommand.d.ts +2 -4
  27. package/dist-types/ts3.4/commands/DescribeTableCommand.d.ts +3 -5
  28. package/dist-types/ts3.4/commands/DescribeTableReplicaAutoScalingCommand.d.ts +4 -6
  29. package/dist-types/ts3.4/commands/DescribeTimeToLiveCommand.d.ts +5 -10
  30. package/dist-types/ts3.4/commands/DisableKinesisStreamingDestinationCommand.d.ts +4 -6
  31. package/dist-types/ts3.4/commands/EnableKinesisStreamingDestinationCommand.d.ts +4 -6
  32. package/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts +4 -9
  33. package/dist-types/ts3.4/commands/ExecuteTransactionCommand.d.ts +5 -10
  34. package/dist-types/ts3.4/commands/ExportTableToPointInTimeCommand.d.ts +5 -10
  35. package/dist-types/ts3.4/commands/GetItemCommand.d.ts +6 -2
  36. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +4 -9
  37. package/dist-types/ts3.4/commands/ImportTableCommand.d.ts +3 -5
  38. package/dist-types/ts3.4/commands/ListBackupsCommand.d.ts +2 -4
  39. package/dist-types/ts3.4/commands/ListContributorInsightsCommand.d.ts +4 -9
  40. package/dist-types/ts3.4/commands/ListExportsCommand.d.ts +2 -4
  41. package/dist-types/ts3.4/commands/ListGlobalTablesCommand.d.ts +3 -8
  42. package/dist-types/ts3.4/commands/ListImportsCommand.d.ts +2 -4
  43. package/dist-types/ts3.4/commands/ListTablesCommand.d.ts +2 -4
  44. package/dist-types/ts3.4/commands/ListTagsOfResourceCommand.d.ts +5 -10
  45. package/dist-types/ts3.4/commands/PutItemCommand.d.ts +6 -2
  46. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +4 -9
  47. package/dist-types/ts3.4/commands/QueryCommand.d.ts +6 -2
  48. package/dist-types/ts3.4/commands/RestoreTableFromBackupCommand.d.ts +5 -10
  49. package/dist-types/ts3.4/commands/RestoreTableToPointInTimeCommand.d.ts +4 -6
  50. package/dist-types/ts3.4/commands/ScanCommand.d.ts +6 -2
  51. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -2
  52. package/dist-types/ts3.4/commands/TransactGetItemsCommand.d.ts +4 -9
  53. package/dist-types/ts3.4/commands/TransactWriteItemsCommand.d.ts +5 -10
  54. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -2
  55. package/dist-types/ts3.4/commands/UpdateContinuousBackupsCommand.d.ts +5 -10
  56. package/dist-types/ts3.4/commands/UpdateContributorInsightsCommand.d.ts +4 -6
  57. package/dist-types/ts3.4/commands/UpdateGlobalTableCommand.d.ts +4 -9
  58. package/dist-types/ts3.4/commands/UpdateGlobalTableSettingsCommand.d.ts +4 -6
  59. package/dist-types/ts3.4/commands/UpdateItemCommand.d.ts +3 -5
  60. package/dist-types/ts3.4/commands/UpdateKinesisStreamingDestinationCommand.d.ts +4 -6
  61. package/dist-types/ts3.4/commands/UpdateTableCommand.d.ts +3 -5
  62. package/dist-types/ts3.4/commands/UpdateTableReplicaAutoScalingCommand.d.ts +4 -6
  63. package/dist-types/ts3.4/commands/UpdateTimeToLiveCommand.d.ts +4 -9
  64. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  65. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
  66. package/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
  67. package/dist-types/ts3.4/models/enums.d.ts +13 -26
  68. package/dist-types/ts3.4/models/errors.d.ts +36 -130
  69. package/dist-types/ts3.4/models/models_0.d.ts +40 -120
  70. package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
  71. package/dist-types/ts3.4/pagination/ListExportsPaginator.d.ts +1 -4
  72. package/dist-types/ts3.4/pagination/ListImportsPaginator.d.ts +1 -4
  73. package/dist-types/ts3.4/pagination/ListTablesPaginator.d.ts +1 -4
  74. package/dist-types/ts3.4/pagination/QueryPaginator.d.ts +1 -4
  75. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +12 -34
  76. package/dist-types/ts3.4/runtimeConfig.d.ts +10 -23
  77. package/dist-types/ts3.4/runtimeConfig.native.d.ts +12 -34
  78. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -1
  79. package/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
  80. package/dist-types/ts3.4/waiters/waitForContributorInsightsEnabled.d.ts +3 -7
  81. package/dist-types/ts3.4/waiters/waitForExportCompleted.d.ts +3 -5
  82. package/dist-types/ts3.4/waiters/waitForImportCompleted.d.ts +3 -5
  83. package/dist-types/ts3.4/waiters/waitForKinesisStreamingDestinationActive.d.ts +3 -5
  84. package/dist-types/ts3.4/waiters/waitForTableExists.d.ts +3 -5
  85. package/dist-types/ts3.4/waiters/waitForTableNotExists.d.ts +3 -5
  86. package/package.json +42 -42
@@ -1,6 +1,5 @@
1
1
  import { PaginationConfiguration } from "@smithy/types";
2
2
  import { DynamoDBClient } from "../DynamoDBClient";
3
- export interface DynamoDBPaginationConfiguration
4
- extends PaginationConfiguration {
3
+ export interface DynamoDBPaginationConfiguration extends PaginationConfiguration {
5
4
  client: DynamoDBClient;
6
5
  }
@@ -1,8 +1,5 @@
1
1
  import { Paginator } from "@smithy/types";
2
- import {
3
- ListExportsCommandInput,
4
- ListExportsCommandOutput,
5
- } from "../commands/ListExportsCommand";
2
+ import { ListExportsCommandInput, ListExportsCommandOutput } from "../commands/ListExportsCommand";
6
3
  import { DynamoDBPaginationConfiguration } from "./Interfaces";
7
4
  export declare const paginateListExports: (
8
5
  config: DynamoDBPaginationConfiguration,
@@ -1,8 +1,5 @@
1
1
  import { Paginator } from "@smithy/types";
2
- import {
3
- ListImportsCommandInput,
4
- ListImportsCommandOutput,
5
- } from "../commands/ListImportsCommand";
2
+ import { ListImportsCommandInput, ListImportsCommandOutput } from "../commands/ListImportsCommand";
6
3
  import { DynamoDBPaginationConfiguration } from "./Interfaces";
7
4
  export declare const paginateListImports: (
8
5
  config: DynamoDBPaginationConfiguration,
@@ -1,8 +1,5 @@
1
1
  import { Paginator } from "@smithy/types";
2
- import {
3
- ListTablesCommandInput,
4
- ListTablesCommandOutput,
5
- } from "../commands/ListTablesCommand";
2
+ import { ListTablesCommandInput, ListTablesCommandOutput } from "../commands/ListTablesCommand";
6
3
  import { DynamoDBPaginationConfiguration } from "./Interfaces";
7
4
  export declare const paginateListTables: (
8
5
  config: DynamoDBPaginationConfiguration,
@@ -1,8 +1,5 @@
1
1
  import { Paginator } from "@smithy/types";
2
- import {
3
- QueryCommandInput,
4
- QueryCommandOutput,
5
- } from "../commands/QueryCommand";
2
+ import { QueryCommandInput, QueryCommandOutput } from "../commands/QueryCommand";
6
3
  import { DynamoDBPaginationConfiguration } from "./Interfaces";
7
4
  export declare const paginateQuery: (
8
5
  config: DynamoDBPaginationConfiguration,
@@ -5,35 +5,21 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
5
5
  defaultsMode: import("@smithy/types").Provider<
6
6
  import("@smithy/core/client").ResolvedDefaultsMode
7
7
  >;
8
- accountIdEndpointMode:
9
- | "disabled"
10
- | "preferred"
11
- | "required"
12
- | (() => Promise<string>);
8
+ accountIdEndpointMode: "disabled" | "preferred" | "required" | (() => Promise<string>);
13
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
14
10
  credentialDefaultProvider:
15
11
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
16
- | ((
17
- _: unknown
18
- ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
12
+ | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
19
13
  defaultUserAgentProvider: (
20
- config?: import("@aws-sdk/core/client").PreviouslyResolved
14
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
21
15
  ) => Promise<import("@smithy/types").UserAgent>;
22
- endpointDiscoveryEnabledProvider: import("@smithy/types").Provider<
23
- boolean | undefined
24
- >;
16
+ endpointDiscoveryEnabledProvider: import("@smithy/types").Provider<boolean | undefined>;
25
17
  maxAttempts: number | import("@smithy/types").Provider<number>;
26
18
  region: string | import("@smithy/types").Provider<any>;
27
- requestHandler:
28
- | import("@smithy/core/protocols").HttpHandler<any>
29
- | RequestHandler;
19
+ requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
30
20
  retryMode: string | import("@smithy/types").Provider<string>;
31
21
  streamCollector: (
32
- stream:
33
- | import("stream").Readable
34
- | import("stream/web").ReadableStream
35
- | ReadableStream
36
- | Blob
22
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
37
23
  ) => Promise<Uint8Array>;
38
24
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
39
25
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
@@ -61,13 +47,8 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
61
47
  logger: import("@smithy/types").Logger;
62
48
  extensions: import("./runtimeExtensions").RuntimeExtension[];
63
49
  customUserAgent?: string | import("@smithy/types").UserAgent;
64
- userAgentAppId?:
65
- | string
66
- | undefined
67
- | import("@smithy/types").Provider<string | undefined>;
68
- retryStrategy?:
69
- | import("@smithy/types").RetryStrategy
70
- | import("@smithy/types").RetryStrategyV2;
50
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
51
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
71
52
  endpoint?:
72
53
  | ((
73
54
  | string
@@ -89,7 +70,7 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
89
70
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
90
71
  context?: {
91
72
  logger?: import("@smithy/types").Logger;
92
- }
73
+ },
93
74
  ) => import("@smithy/types").EndpointV2;
94
75
  tls?: boolean;
95
76
  serviceConfiguredEndpoint?: never;
@@ -102,19 +83,16 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
102
83
  signer?:
103
84
  | import("@smithy/types").RequestSigner
104
85
  | ((
105
- authScheme?: import("@smithy/types").AuthScheme
86
+ authScheme?: import("@smithy/types").AuthScheme,
106
87
  ) => Promise<import("@smithy/types").RequestSigner>);
107
88
  signingEscapePath?: boolean;
108
89
  systemClockOffset?: number;
109
90
  signingRegion?: string;
110
91
  signerConstructor?: new (
111
92
  options: import("@smithy/signature-v4").SignatureV4Init &
112
- import("@smithy/signature-v4").SignatureV4CryptoInit
93
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
113
94
  ) => import("@smithy/types").RequestSigner;
114
95
  endpointCacheSize?: number;
115
96
  endpointDiscoveryEnabled?: boolean | undefined;
116
- accountId?:
117
- | string
118
- | undefined
119
- | import("@smithy/types").Provider<string | undefined>;
97
+ accountId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
120
98
  };
@@ -17,26 +17,18 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
17
17
  credentialDefaultProvider:
18
18
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
19
19
  | ((
20
- init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
20
+ init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit,
21
21
  ) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
22
22
  defaultUserAgentProvider: (
23
- config?: import("@aws-sdk/core/client").PreviouslyResolved
23
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
24
24
  ) => Promise<import("@smithy/types").UserAgent>;
25
- endpointDiscoveryEnabledProvider: import("@smithy/types").Provider<
26
- boolean | undefined
27
- >;
25
+ endpointDiscoveryEnabledProvider: import("@smithy/types").Provider<boolean | undefined>;
28
26
  maxAttempts: number | import("@smithy/types").Provider<number>;
29
27
  region: string | import("@smithy/types").Provider<string>;
30
- requestHandler:
31
- | RequestHandler
32
- | import("@smithy/core/protocols").HttpHandler<any>;
28
+ requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
33
29
  retryMode: string | import("@smithy/types").Provider<string>;
34
30
  streamCollector: (
35
- stream:
36
- | import("stream").Readable
37
- | import("stream/web").ReadableStream
38
- | ReadableStream
39
- | Blob
31
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
40
32
  ) => Promise<Uint8Array>;
41
33
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
42
34
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
@@ -63,9 +55,7 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
63
55
  logger: import("@smithy/types").Logger;
64
56
  extensions: import("./runtimeExtensions").RuntimeExtension[];
65
57
  customUserAgent?: string | import("@smithy/types").UserAgent;
66
- retryStrategy?:
67
- | import("@smithy/types").RetryStrategy
68
- | import("@smithy/types").RetryStrategyV2;
58
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
69
59
  endpoint?:
70
60
  | ((
71
61
  | string
@@ -87,7 +77,7 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
87
77
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
88
78
  context?: {
89
79
  logger?: import("@smithy/types").Logger;
90
- }
80
+ },
91
81
  ) => import("@smithy/types").EndpointV2;
92
82
  tls?: boolean;
93
83
  serviceConfiguredEndpoint?: never;
@@ -99,19 +89,16 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
99
89
  signer?:
100
90
  | import("@smithy/types").RequestSigner
101
91
  | ((
102
- authScheme?: import("@smithy/types").AuthScheme
92
+ authScheme?: import("@smithy/types").AuthScheme,
103
93
  ) => Promise<import("@smithy/types").RequestSigner>);
104
94
  signingEscapePath?: boolean;
105
95
  systemClockOffset?: number;
106
96
  signingRegion?: string;
107
97
  signerConstructor?: new (
108
98
  options: import("@smithy/signature-v4").SignatureV4Init &
109
- import("@smithy/signature-v4").SignatureV4CryptoInit
99
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
110
100
  ) => import("@smithy/types").RequestSigner;
111
101
  endpointCacheSize?: number;
112
102
  endpointDiscoveryEnabled?: boolean | undefined;
113
- accountId?:
114
- | string
115
- | undefined
116
- | import("@smithy/types").Provider<string | undefined>;
103
+ accountId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
117
104
  };
@@ -21,11 +21,7 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
21
21
  urlParser: import("@smithy/types").UrlParser;
22
22
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
23
23
  streamCollector: (
24
- stream:
25
- | import("stream").Readable
26
- | import("stream/web").ReadableStream
27
- | ReadableStream
28
- | Blob
24
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
29
25
  ) => Promise<Uint8Array>;
30
26
  base64Decoder: import("@smithy/types").Decoder;
31
27
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -39,39 +35,24 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
39
35
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
40
36
  region: string | import("@smithy/types").Provider<any>;
41
37
  profile?: string;
42
- accountIdEndpointMode:
43
- | "disabled"
44
- | "preferred"
45
- | "required"
46
- | (() => Promise<string>);
38
+ accountIdEndpointMode: "disabled" | "preferred" | "required" | (() => Promise<string>);
47
39
  defaultUserAgentProvider: (
48
- config?: import("@aws-sdk/core/client").PreviouslyResolved
40
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
49
41
  ) => Promise<import("@smithy/types").UserAgent>;
50
42
  credentialDefaultProvider:
51
43
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
52
- | ((
53
- _: unknown
54
- ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
44
+ | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
55
45
  maxAttempts: number | import("@smithy/types").Provider<number>;
56
46
  retryMode: string | import("@smithy/types").Provider<string>;
57
47
  logger: import("@smithy/types").Logger;
58
48
  extensions: import("./runtimeExtensions").RuntimeExtension[];
59
49
  defaultsMode:
60
50
  | import("@smithy/core/client").DefaultsMode
61
- | import("@smithy/types").Provider<
62
- import("@smithy/core/client").DefaultsMode
63
- >;
64
- endpointDiscoveryEnabledProvider: import("@smithy/types").Provider<
65
- boolean | undefined
66
- >;
51
+ | import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
52
+ endpointDiscoveryEnabledProvider: import("@smithy/types").Provider<boolean | undefined>;
67
53
  customUserAgent?: string | import("@smithy/types").UserAgent;
68
- userAgentAppId?:
69
- | string
70
- | undefined
71
- | import("@smithy/types").Provider<string | undefined>;
72
- retryStrategy?:
73
- | import("@smithy/types").RetryStrategy
74
- | import("@smithy/types").RetryStrategyV2;
54
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
55
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
75
56
  endpoint?:
76
57
  | ((
77
58
  | string
@@ -93,7 +74,7 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
93
74
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
94
75
  context?: {
95
76
  logger?: import("@smithy/types").Logger;
96
- }
77
+ },
97
78
  ) => import("@smithy/types").EndpointV2;
98
79
  tls?: boolean;
99
80
  serviceConfiguredEndpoint?: never;
@@ -106,19 +87,16 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
106
87
  signer?:
107
88
  | import("@smithy/types").RequestSigner
108
89
  | ((
109
- authScheme?: import("@smithy/types").AuthScheme
90
+ authScheme?: import("@smithy/types").AuthScheme,
110
91
  ) => Promise<import("@smithy/types").RequestSigner>);
111
92
  signingEscapePath?: boolean;
112
93
  systemClockOffset?: number;
113
94
  signingRegion?: string;
114
95
  signerConstructor?: new (
115
96
  options: import("@smithy/signature-v4").SignatureV4Init &
116
- import("@smithy/signature-v4").SignatureV4CryptoInit
97
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
117
98
  ) => import("@smithy/types").RequestSigner;
118
99
  endpointCacheSize?: number;
119
100
  endpointDiscoveryEnabled?: boolean | undefined;
120
- accountId?:
121
- | string
122
- | undefined
123
- | import("@smithy/types").Provider<string | undefined>;
101
+ accountId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
124
102
  };
@@ -9,7 +9,7 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
9
9
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
10
10
  context?: {
11
11
  logger?: import("@smithy/types").Logger;
12
- }
12
+ },
13
13
  ) => import("@smithy/types").EndpointV2;
14
14
  extensions: import("./runtimeExtensions").RuntimeExtension[];
15
15
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").DynamoDBHttpAuthSchemeProvider;
@@ -7,5 +7,5 @@ export interface RuntimeExtensionsConfig {
7
7
  }
8
8
  export declare const resolveRuntimeExtensions: (
9
9
  runtimeConfig: any,
10
- extensions: RuntimeExtension[]
10
+ extensions: RuntimeExtension[],
11
11
  ) => any;
@@ -7,13 +7,9 @@ import { DynamoDBClient } from "../DynamoDBClient";
7
7
  import { DynamoDBServiceException } from "../models/DynamoDBServiceException";
8
8
  export declare const waitForContributorInsightsEnabled: (
9
9
  params: WaiterConfiguration<DynamoDBClient>,
10
- input: DescribeContributorInsightsCommandInput
11
- ) => Promise<
12
- WaiterResult<
13
- DescribeContributorInsightsCommandOutput | DynamoDBServiceException
14
- >
15
- >;
10
+ input: DescribeContributorInsightsCommandInput,
11
+ ) => Promise<WaiterResult<DescribeContributorInsightsCommandOutput | DynamoDBServiceException>>;
16
12
  export declare const waitUntilContributorInsightsEnabled: (
17
13
  params: WaiterConfiguration<DynamoDBClient>,
18
- input: DescribeContributorInsightsCommandInput
14
+ input: DescribeContributorInsightsCommandInput,
19
15
  ) => Promise<WaiterResult<DescribeContributorInsightsCommandOutput>>;
@@ -7,11 +7,9 @@ import { DynamoDBClient } from "../DynamoDBClient";
7
7
  import { DynamoDBServiceException } from "../models/DynamoDBServiceException";
8
8
  export declare const waitForExportCompleted: (
9
9
  params: WaiterConfiguration<DynamoDBClient>,
10
- input: DescribeExportCommandInput
11
- ) => Promise<
12
- WaiterResult<DescribeExportCommandOutput | DynamoDBServiceException>
13
- >;
10
+ input: DescribeExportCommandInput,
11
+ ) => Promise<WaiterResult<DescribeExportCommandOutput | DynamoDBServiceException>>;
14
12
  export declare const waitUntilExportCompleted: (
15
13
  params: WaiterConfiguration<DynamoDBClient>,
16
- input: DescribeExportCommandInput
14
+ input: DescribeExportCommandInput,
17
15
  ) => Promise<WaiterResult<DescribeExportCommandOutput>>;
@@ -7,11 +7,9 @@ import { DynamoDBClient } from "../DynamoDBClient";
7
7
  import { DynamoDBServiceException } from "../models/DynamoDBServiceException";
8
8
  export declare const waitForImportCompleted: (
9
9
  params: WaiterConfiguration<DynamoDBClient>,
10
- input: DescribeImportCommandInput
11
- ) => Promise<
12
- WaiterResult<DescribeImportCommandOutput | DynamoDBServiceException>
13
- >;
10
+ input: DescribeImportCommandInput,
11
+ ) => Promise<WaiterResult<DescribeImportCommandOutput | DynamoDBServiceException>>;
14
12
  export declare const waitUntilImportCompleted: (
15
13
  params: WaiterConfiguration<DynamoDBClient>,
16
- input: DescribeImportCommandInput
14
+ input: DescribeImportCommandInput,
17
15
  ) => Promise<WaiterResult<DescribeImportCommandOutput>>;
@@ -7,13 +7,11 @@ import { DynamoDBClient } from "../DynamoDBClient";
7
7
  import { DynamoDBServiceException } from "../models/DynamoDBServiceException";
8
8
  export declare const waitForKinesisStreamingDestinationActive: (
9
9
  params: WaiterConfiguration<DynamoDBClient>,
10
- input: DescribeKinesisStreamingDestinationCommandInput
10
+ input: DescribeKinesisStreamingDestinationCommandInput,
11
11
  ) => Promise<
12
- WaiterResult<
13
- DescribeKinesisStreamingDestinationCommandOutput | DynamoDBServiceException
14
- >
12
+ WaiterResult<DescribeKinesisStreamingDestinationCommandOutput | DynamoDBServiceException>
15
13
  >;
16
14
  export declare const waitUntilKinesisStreamingDestinationActive: (
17
15
  params: WaiterConfiguration<DynamoDBClient>,
18
- input: DescribeKinesisStreamingDestinationCommandInput
16
+ input: DescribeKinesisStreamingDestinationCommandInput,
19
17
  ) => Promise<WaiterResult<DescribeKinesisStreamingDestinationCommandOutput>>;
@@ -7,11 +7,9 @@ import { DynamoDBClient } from "../DynamoDBClient";
7
7
  import { DynamoDBServiceException } from "../models/DynamoDBServiceException";
8
8
  export declare const waitForTableExists: (
9
9
  params: WaiterConfiguration<DynamoDBClient>,
10
- input: DescribeTableCommandInput
11
- ) => Promise<
12
- WaiterResult<DescribeTableCommandOutput | DynamoDBServiceException>
13
- >;
10
+ input: DescribeTableCommandInput,
11
+ ) => Promise<WaiterResult<DescribeTableCommandOutput | DynamoDBServiceException>>;
14
12
  export declare const waitUntilTableExists: (
15
13
  params: WaiterConfiguration<DynamoDBClient>,
16
- input: DescribeTableCommandInput
14
+ input: DescribeTableCommandInput,
17
15
  ) => Promise<WaiterResult<DescribeTableCommandOutput>>;
@@ -8,11 +8,9 @@ import { DynamoDBServiceException } from "../models/DynamoDBServiceException";
8
8
  import { ResourceNotFoundException } from "../models/errors";
9
9
  export declare const waitForTableNotExists: (
10
10
  params: WaiterConfiguration<DynamoDBClient>,
11
- input: DescribeTableCommandInput
12
- ) => Promise<
13
- WaiterResult<DescribeTableCommandOutput | DynamoDBServiceException>
14
- >;
11
+ input: DescribeTableCommandInput,
12
+ ) => Promise<WaiterResult<DescribeTableCommandOutput | DynamoDBServiceException>>;
15
13
  export declare const waitUntilTableNotExists: (
16
14
  params: WaiterConfiguration<DynamoDBClient>,
17
- input: DescribeTableCommandInput
15
+ input: DescribeTableCommandInput,
18
16
  ) => Promise<WaiterResult<ResourceNotFoundException>>;
package/package.json CHANGED
@@ -1,7 +1,38 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-dynamodb",
3
+ "version": "3.1088.0",
3
4
  "description": "AWS SDK for JavaScript Dynamodb Client for Node.js, Browser and React Native",
4
- "version": "3.1086.0",
5
+ "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-dynamodb",
6
+ "license": "Apache-2.0",
7
+ "author": {
8
+ "name": "AWS SDK for JavaScript Team",
9
+ "url": "https://aws.amazon.com/sdk-for-javascript/"
10
+ },
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "https://github.com/aws/aws-sdk-js-v3.git",
14
+ "directory": "clients/client-dynamodb"
15
+ },
16
+ "files": [
17
+ "dist-*/**"
18
+ ],
19
+ "sideEffects": false,
20
+ "main": "./dist-cjs/index.js",
21
+ "module": "./dist-es/index.js",
22
+ "browser": {
23
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
24
+ },
25
+ "types": "./dist-types/index.d.ts",
26
+ "typesVersions": {
27
+ "<4.5": {
28
+ "dist-types/*": [
29
+ "dist-types/ts3.4/*"
30
+ ]
31
+ }
32
+ },
33
+ "react-native": {
34
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
35
+ },
5
36
  "scripts": {
6
37
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
38
  "build:cjs": "node ../../scripts/compilation/inline",
@@ -20,24 +51,20 @@
20
51
  "test:e2e:watch": "yarn g:vitest watch -c vitest.config.e2e.mts",
21
52
  "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
22
53
  },
23
- "main": "./dist-cjs/index.js",
24
- "types": "./dist-types/index.d.ts",
25
- "module": "./dist-es/index.js",
26
- "sideEffects": false,
27
54
  "dependencies": {
28
- "@aws-sdk/core": "^3.975.1",
29
- "@aws-sdk/credential-provider-node": "^3.972.67",
30
- "@aws-sdk/dynamodb-codec": "^3.973.31",
31
- "@aws-sdk/middleware-endpoint-discovery": "^3.972.23",
32
- "@aws-sdk/types": "^3.974.0",
33
- "@smithy/core": "^3.29.2",
34
- "@smithy/fetch-http-handler": "^5.6.4",
35
- "@smithy/node-http-handler": "^4.9.4",
36
- "@smithy/types": "^4.16.0",
55
+ "@aws-sdk/core": "^3.975.3",
56
+ "@aws-sdk/credential-provider-node": "^3.972.69",
57
+ "@aws-sdk/dynamodb-codec": "^3.973.33",
58
+ "@aws-sdk/middleware-endpoint-discovery": "^3.972.25",
59
+ "@aws-sdk/types": "^3.974.2",
60
+ "@smithy/core": "^3.29.4",
61
+ "@smithy/fetch-http-handler": "^5.6.6",
62
+ "@smithy/node-http-handler": "^4.9.6",
63
+ "@smithy/types": "^4.16.1",
37
64
  "tslib": "^2.6.2"
38
65
  },
39
66
  "devDependencies": {
40
- "@smithy/snapshot-testing": "^2.2.7",
67
+ "@smithy/snapshot-testing": "^2.2.9",
41
68
  "@tsconfig/node20": "20.1.8",
42
69
  "@types/node": "^20.14.8",
43
70
  "concurrently": "7.0.0",
@@ -48,32 +75,5 @@
48
75
  },
49
76
  "engines": {
50
77
  "node": ">=20.0.0"
51
- },
52
- "typesVersions": {
53
- "<4.5": {
54
- "dist-types/*": [
55
- "dist-types/ts3.4/*"
56
- ]
57
- }
58
- },
59
- "files": [
60
- "dist-*/**"
61
- ],
62
- "author": {
63
- "name": "AWS SDK for JavaScript Team",
64
- "url": "https://aws.amazon.com/sdk-for-javascript/"
65
- },
66
- "license": "Apache-2.0",
67
- "browser": {
68
- "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
69
- },
70
- "react-native": {
71
- "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
72
- },
73
- "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-dynamodb",
74
- "repository": {
75
- "type": "git",
76
- "url": "https://github.com/aws/aws-sdk-js-v3.git",
77
- "directory": "clients/client-dynamodb"
78
78
  }
79
79
  }