@aws-sdk/client-connect-contact-lens 3.1137.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.1136.0";
72
+ var version = "3.1137.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -261,10 +261,10 @@ const _hE = "httpError";
261
261
  const _s = "smithy.ts.sdk.synthetic.com.amazonaws.connectcontactlens";
262
262
  const _se = "server";
263
263
  const n0 = "com.amazonaws.connectcontactlens";
264
- const _s_registry = TypeRegistry.for(_s);
264
+ const _s_registry = new TypeRegistry(_s);
265
265
  var ConnectContactLensServiceException$ = [-3, _s, "ConnectContactLensServiceException", 0, [], []];
266
266
  _s_registry.registerError(ConnectContactLensServiceException$, ConnectContactLensServiceException);
267
- const n0_registry = TypeRegistry.for(n0);
267
+ const n0_registry = new TypeRegistry(n0);
268
268
  var AccessDeniedException$ = [-3, n0, _ADE,
269
269
  { [_e]: _c, [_hE]: 403 },
270
270
  [_M],
@@ -53,10 +53,10 @@ const n0 = "com.amazonaws.connectcontactlens";
53
53
  import { TypeRegistry } from "@smithy/core/schema";
54
54
  import { ConnectContactLensServiceException } from "../models/ConnectContactLensServiceException";
55
55
  import { AccessDeniedException, InternalServiceException, InvalidRequestException, ResourceNotFoundException, ThrottlingException, } from "../models/errors";
56
- const _s_registry = TypeRegistry.for(_s);
56
+ const _s_registry = new TypeRegistry(_s);
57
57
  export var ConnectContactLensServiceException$ = [-3, _s, "ConnectContactLensServiceException", 0, [], []];
58
58
  _s_registry.registerError(ConnectContactLensServiceException$, ConnectContactLensServiceException);
59
- const n0_registry = TypeRegistry.for(n0);
59
+ const n0_registry = new TypeRegistry(n0);
60
60
  export var AccessDeniedException$ = [-3, n0, _ADE,
61
61
  { [_e]: _c, [_hE]: 403 },
62
62
  [_M],
@@ -1,13 +1,19 @@
1
- import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator } from "@smithy/types";
2
2
  import { type ListRealtimeContactAnalysisSegmentsCommandInput, type ListRealtimeContactAnalysisSegmentsCommandOutput } from "./commands/ListRealtimeContactAnalysisSegmentsCommand";
3
3
  import { ConnectContactLensClient } from "./ConnectContactLensClient";
4
+ /**
5
+ * @public
6
+ */
7
+ export interface ConnectContactLensRequestOptions extends __HttpHandlerOptions {
8
+ metricsRecorder?: __MetricsRecorder<unknown>;
9
+ }
4
10
  export interface ConnectContactLens {
5
11
  /**
6
12
  * @see {@link ListRealtimeContactAnalysisSegmentsCommand}
7
13
  */
8
- listRealtimeContactAnalysisSegments(args: ListRealtimeContactAnalysisSegmentsCommandInput, options?: __HttpHandlerOptions): Promise<ListRealtimeContactAnalysisSegmentsCommandOutput>;
14
+ listRealtimeContactAnalysisSegments(args: ListRealtimeContactAnalysisSegmentsCommandInput, options?: ConnectContactLensRequestOptions): Promise<ListRealtimeContactAnalysisSegmentsCommandOutput>;
9
15
  listRealtimeContactAnalysisSegments(args: ListRealtimeContactAnalysisSegmentsCommandInput, cb: (err: any, data?: ListRealtimeContactAnalysisSegmentsCommandOutput) => void): void;
10
- listRealtimeContactAnalysisSegments(args: ListRealtimeContactAnalysisSegmentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRealtimeContactAnalysisSegmentsCommandOutput) => void): void;
16
+ listRealtimeContactAnalysisSegments(args: ListRealtimeContactAnalysisSegmentsCommandInput, options: ConnectContactLensRequestOptions, cb: (err: any, data?: ListRealtimeContactAnalysisSegmentsCommandOutput) => void): void;
11
17
  /**
12
18
  * @see {@link ListRealtimeContactAnalysisSegmentsCommand}
13
19
  * @param args - command input.
@@ -1,5 +1,6 @@
1
1
  import {
2
2
  HttpHandlerOptions as __HttpHandlerOptions,
3
+ MetricsRecorder as __MetricsRecorder,
3
4
  PaginationConfiguration,
4
5
  Paginator,
5
6
  } from "@smithy/types";
@@ -8,10 +9,13 @@ import {
8
9
  ListRealtimeContactAnalysisSegmentsCommandOutput,
9
10
  } from "./commands/ListRealtimeContactAnalysisSegmentsCommand";
10
11
  import { ConnectContactLensClient } from "./ConnectContactLensClient";
12
+ export interface ConnectContactLensRequestOptions extends __HttpHandlerOptions {
13
+ metricsRecorder?: __MetricsRecorder<unknown>;
14
+ }
11
15
  export interface ConnectContactLens {
12
16
  listRealtimeContactAnalysisSegments(
13
17
  args: ListRealtimeContactAnalysisSegmentsCommandInput,
14
- options?: __HttpHandlerOptions,
18
+ options?: ConnectContactLensRequestOptions,
15
19
  ): Promise<ListRealtimeContactAnalysisSegmentsCommandOutput>;
16
20
  listRealtimeContactAnalysisSegments(
17
21
  args: ListRealtimeContactAnalysisSegmentsCommandInput,
@@ -19,7 +23,7 @@ export interface ConnectContactLens {
19
23
  ): void;
20
24
  listRealtimeContactAnalysisSegments(
21
25
  args: ListRealtimeContactAnalysisSegmentsCommandInput,
22
- options: __HttpHandlerOptions,
26
+ options: ConnectContactLensRequestOptions,
23
27
  cb: (err: any, data?: ListRealtimeContactAnalysisSegmentsCommandOutput) => void,
24
28
  ): void;
25
29
  paginateListRealtimeContactAnalysisSegments(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-connect-contact-lens",
3
- "version": "3.1137.0",
3
+ "version": "3.1138.0",
4
4
  "description": "AWS SDK for JavaScript Connect Contact Lens Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-connect-contact-lens",
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": {