@aws-sdk/client-simpledbv2 3.1136.0 → 3.1138.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-cjs/index.js CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1135.0";
72
+ var version = "3.1137.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -269,10 +269,10 @@ const _sKP = "s3KeyPrefix";
269
269
  const _sSA = "s3SseAlgorithm";
270
270
  const _sSKKI = "s3SseKmsKeyId";
271
271
  const n0 = "com.amazonaws.simpledbv2";
272
- const _s_registry = TypeRegistry.for(_s);
272
+ const _s_registry = new TypeRegistry(_s);
273
273
  var SimpleDBv2ServiceException$ = [-3, _s, "SimpleDBv2ServiceException", 0, [], []];
274
274
  _s_registry.registerError(SimpleDBv2ServiceException$, SimpleDBv2ServiceException);
275
- const n0_registry = TypeRegistry.for(n0);
275
+ const n0_registry = new TypeRegistry(n0);
276
276
  var ConflictException$ = [-3, n0, _CE,
277
277
  { [_e]: _c, [_hE]: 400 },
278
278
  [_m],
@@ -44,10 +44,10 @@ const n0 = "com.amazonaws.simpledbv2";
44
44
  import { TypeRegistry } from "@smithy/core/schema";
45
45
  import { ConflictException, InvalidNextTokenException, InvalidParameterCombinationException, InvalidParameterValueException, NoSuchDomainException, NoSuchExportException, NumberExportsLimitExceeded, } from "../models/errors";
46
46
  import { SimpleDBv2ServiceException } from "../models/SimpleDBv2ServiceException";
47
- const _s_registry = TypeRegistry.for(_s);
47
+ const _s_registry = new TypeRegistry(_s);
48
48
  export var SimpleDBv2ServiceException$ = [-3, _s, "SimpleDBv2ServiceException", 0, [], []];
49
49
  _s_registry.registerError(SimpleDBv2ServiceException$, SimpleDBv2ServiceException);
50
- const n0_registry = TypeRegistry.for(n0);
50
+ const n0_registry = new TypeRegistry(n0);
51
51
  export var ConflictException$ = [-3, n0, _CE,
52
52
  { [_e]: _c, [_hE]: 400 },
53
53
  [_m],
@@ -1,29 +1,35 @@
1
1
  import { type WaiterResult } from "@smithy/core/client";
2
- import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator, WaiterConfiguration } from "@smithy/types";
2
+ import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator, WaiterConfiguration } from "@smithy/types";
3
3
  import { type GetExportCommandInput, type GetExportCommandOutput } from "./commands/GetExportCommand";
4
4
  import { type ListExportsCommandInput, type ListExportsCommandOutput } from "./commands/ListExportsCommand";
5
5
  import { type StartDomainExportCommandInput, type StartDomainExportCommandOutput } from "./commands/StartDomainExportCommand";
6
6
  import { SimpleDBv2Client } from "./SimpleDBv2Client";
7
+ /**
8
+ * @public
9
+ */
10
+ export interface SimpleDBv2RequestOptions extends __HttpHandlerOptions {
11
+ metricsRecorder?: __MetricsRecorder<unknown>;
12
+ }
7
13
  export interface SimpleDBv2 {
8
14
  /**
9
15
  * @see {@link GetExportCommand}
10
16
  */
11
- getExport(args: GetExportCommandInput, options?: __HttpHandlerOptions): Promise<GetExportCommandOutput>;
17
+ getExport(args: GetExportCommandInput, options?: SimpleDBv2RequestOptions): Promise<GetExportCommandOutput>;
12
18
  getExport(args: GetExportCommandInput, cb: (err: any, data?: GetExportCommandOutput) => void): void;
13
- getExport(args: GetExportCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetExportCommandOutput) => void): void;
19
+ getExport(args: GetExportCommandInput, options: SimpleDBv2RequestOptions, cb: (err: any, data?: GetExportCommandOutput) => void): void;
14
20
  /**
15
21
  * @see {@link ListExportsCommand}
16
22
  */
17
23
  listExports(): Promise<ListExportsCommandOutput>;
18
- listExports(args: ListExportsCommandInput, options?: __HttpHandlerOptions): Promise<ListExportsCommandOutput>;
24
+ listExports(args: ListExportsCommandInput, options?: SimpleDBv2RequestOptions): Promise<ListExportsCommandOutput>;
19
25
  listExports(args: ListExportsCommandInput, cb: (err: any, data?: ListExportsCommandOutput) => void): void;
20
- listExports(args: ListExportsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListExportsCommandOutput) => void): void;
26
+ listExports(args: ListExportsCommandInput, options: SimpleDBv2RequestOptions, cb: (err: any, data?: ListExportsCommandOutput) => void): void;
21
27
  /**
22
28
  * @see {@link StartDomainExportCommand}
23
29
  */
24
- startDomainExport(args: StartDomainExportCommandInput, options?: __HttpHandlerOptions): Promise<StartDomainExportCommandOutput>;
30
+ startDomainExport(args: StartDomainExportCommandInput, options?: SimpleDBv2RequestOptions): Promise<StartDomainExportCommandOutput>;
25
31
  startDomainExport(args: StartDomainExportCommandInput, cb: (err: any, data?: StartDomainExportCommandOutput) => void): void;
26
- startDomainExport(args: StartDomainExportCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartDomainExportCommandOutput) => void): void;
32
+ startDomainExport(args: StartDomainExportCommandInput, options: SimpleDBv2RequestOptions, cb: (err: any, data?: StartDomainExportCommandOutput) => void): void;
27
33
  /**
28
34
  * @see {@link ListExportsCommand}
29
35
  * @param args - command input.
@@ -1,6 +1,7 @@
1
1
  import { WaiterResult } from "@smithy/core/client";
2
2
  import {
3
3
  HttpHandlerOptions as __HttpHandlerOptions,
4
+ MetricsRecorder as __MetricsRecorder,
4
5
  PaginationConfiguration,
5
6
  Paginator,
6
7
  WaiterConfiguration,
@@ -12,10 +13,13 @@ import {
12
13
  StartDomainExportCommandOutput,
13
14
  } from "./commands/StartDomainExportCommand";
14
15
  import { SimpleDBv2Client } from "./SimpleDBv2Client";
16
+ export interface SimpleDBv2RequestOptions extends __HttpHandlerOptions {
17
+ metricsRecorder?: __MetricsRecorder<unknown>;
18
+ }
15
19
  export interface SimpleDBv2 {
16
20
  getExport(
17
21
  args: GetExportCommandInput,
18
- options?: __HttpHandlerOptions,
22
+ options?: SimpleDBv2RequestOptions,
19
23
  ): Promise<GetExportCommandOutput>;
20
24
  getExport(
21
25
  args: GetExportCommandInput,
@@ -23,13 +27,13 @@ export interface SimpleDBv2 {
23
27
  ): void;
24
28
  getExport(
25
29
  args: GetExportCommandInput,
26
- options: __HttpHandlerOptions,
30
+ options: SimpleDBv2RequestOptions,
27
31
  cb: (err: any, data?: GetExportCommandOutput) => void,
28
32
  ): void;
29
33
  listExports(): Promise<ListExportsCommandOutput>;
30
34
  listExports(
31
35
  args: ListExportsCommandInput,
32
- options?: __HttpHandlerOptions,
36
+ options?: SimpleDBv2RequestOptions,
33
37
  ): Promise<ListExportsCommandOutput>;
34
38
  listExports(
35
39
  args: ListExportsCommandInput,
@@ -37,12 +41,12 @@ export interface SimpleDBv2 {
37
41
  ): void;
38
42
  listExports(
39
43
  args: ListExportsCommandInput,
40
- options: __HttpHandlerOptions,
44
+ options: SimpleDBv2RequestOptions,
41
45
  cb: (err: any, data?: ListExportsCommandOutput) => void,
42
46
  ): void;
43
47
  startDomainExport(
44
48
  args: StartDomainExportCommandInput,
45
- options?: __HttpHandlerOptions,
49
+ options?: SimpleDBv2RequestOptions,
46
50
  ): Promise<StartDomainExportCommandOutput>;
47
51
  startDomainExport(
48
52
  args: StartDomainExportCommandInput,
@@ -50,7 +54,7 @@ export interface SimpleDBv2 {
50
54
  ): void;
51
55
  startDomainExport(
52
56
  args: StartDomainExportCommandInput,
53
- options: __HttpHandlerOptions,
57
+ options: SimpleDBv2RequestOptions,
54
58
  cb: (err: any, data?: StartDomainExportCommandOutput) => void,
55
59
  ): void;
56
60
  paginateListExports(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-simpledbv2",
3
- "version": "3.1136.0",
3
+ "version": "3.1138.0",
4
4
  "description": "AWS SDK for JavaScript Simpledbv2 Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-simpledbv2",
6
6
  "license": "Apache-2.0",
@@ -46,13 +46,13 @@
46
46
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.978.0",
50
- "@aws-sdk/credential-provider-node": "^3.972.83",
51
- "@aws-sdk/types": "^3.974.5",
52
- "@smithy/core": "^3.33.3",
53
- "@smithy/fetch-http-handler": "^5.7.2",
54
- "@smithy/node-http-handler": "^4.11.3",
55
- "@smithy/types": "^4.17.2",
49
+ "@aws-sdk/core": "^3.978.1",
50
+ "@aws-sdk/credential-provider-node": "^3.972.84",
51
+ "@aws-sdk/types": "^3.974.6",
52
+ "@smithy/core": "^3.35.0",
53
+ "@smithy/fetch-http-handler": "^5.8.0",
54
+ "@smithy/node-http-handler": "^4.12.1",
55
+ "@smithy/types": "^4.19.0",
56
56
  "tslib": "^2.6.2"
57
57
  },
58
58
  "devDependencies": {