@aws-sdk/client-uxc 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
@@ -67,7 +67,7 @@ const commonParams = {
67
67
  Region: { type: "builtInParams", name: "region" },
68
68
  };
69
69
 
70
- var version = "3.1136.0";
70
+ var version = "3.1137.0";
71
71
  var packageInfo = {
72
72
  version: version};
73
73
 
@@ -202,10 +202,10 @@ const _ser = "services";
202
202
  const _vR = "visibleRegions";
203
203
  const _vS = "visibleServices";
204
204
  const n0 = "com.amazonaws.uxc";
205
- const _s_registry = TypeRegistry.for(_s);
205
+ const _s_registry = new TypeRegistry(_s);
206
206
  var UxcServiceException$ = [-3, _s, "UxcServiceException", 0, [], []];
207
207
  _s_registry.registerError(UxcServiceException$, UxcServiceException);
208
- const n0_registry = TypeRegistry.for(n0);
208
+ const n0_registry = new TypeRegistry(n0);
209
209
  var AccessDeniedException$ = [-3, n0, _ADE,
210
210
  { [_e]: _c, [_hE]: 403 },
211
211
  [_m],
@@ -33,10 +33,10 @@ const n0 = "com.amazonaws.uxc";
33
33
  import { TypeRegistry } from "@smithy/core/schema";
34
34
  import { AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, } from "../models/errors";
35
35
  import { UxcServiceException } from "../models/UxcServiceException";
36
- const _s_registry = TypeRegistry.for(_s);
36
+ const _s_registry = new TypeRegistry(_s);
37
37
  export var UxcServiceException$ = [-3, _s, "UxcServiceException", 0, [], []];
38
38
  _s_registry.registerError(UxcServiceException$, UxcServiceException);
39
- const n0_registry = TypeRegistry.for(n0);
39
+ const n0_registry = new TypeRegistry(n0);
40
40
  export var AccessDeniedException$ = [-3, n0, _ADE,
41
41
  { [_e]: _c, [_hE]: 403 },
42
42
  [_m],
@@ -1,30 +1,36 @@
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 GetAccountCustomizationsCommandInput, type GetAccountCustomizationsCommandOutput } from "./commands/GetAccountCustomizationsCommand";
3
3
  import { type ListServicesCommandInput, type ListServicesCommandOutput } from "./commands/ListServicesCommand";
4
4
  import { type UpdateAccountCustomizationsCommandInput, type UpdateAccountCustomizationsCommandOutput } from "./commands/UpdateAccountCustomizationsCommand";
5
5
  import { UxcClient } from "./UxcClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export interface UxcRequestOptions extends __HttpHandlerOptions {
10
+ metricsRecorder?: __MetricsRecorder<unknown>;
11
+ }
6
12
  export interface Uxc {
7
13
  /**
8
14
  * @see {@link GetAccountCustomizationsCommand}
9
15
  */
10
16
  getAccountCustomizations(): Promise<GetAccountCustomizationsCommandOutput>;
11
- getAccountCustomizations(args: GetAccountCustomizationsCommandInput, options?: __HttpHandlerOptions): Promise<GetAccountCustomizationsCommandOutput>;
17
+ getAccountCustomizations(args: GetAccountCustomizationsCommandInput, options?: UxcRequestOptions): Promise<GetAccountCustomizationsCommandOutput>;
12
18
  getAccountCustomizations(args: GetAccountCustomizationsCommandInput, cb: (err: any, data?: GetAccountCustomizationsCommandOutput) => void): void;
13
- getAccountCustomizations(args: GetAccountCustomizationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAccountCustomizationsCommandOutput) => void): void;
19
+ getAccountCustomizations(args: GetAccountCustomizationsCommandInput, options: UxcRequestOptions, cb: (err: any, data?: GetAccountCustomizationsCommandOutput) => void): void;
14
20
  /**
15
21
  * @see {@link ListServicesCommand}
16
22
  */
17
23
  listServices(): Promise<ListServicesCommandOutput>;
18
- listServices(args: ListServicesCommandInput, options?: __HttpHandlerOptions): Promise<ListServicesCommandOutput>;
24
+ listServices(args: ListServicesCommandInput, options?: UxcRequestOptions): Promise<ListServicesCommandOutput>;
19
25
  listServices(args: ListServicesCommandInput, cb: (err: any, data?: ListServicesCommandOutput) => void): void;
20
- listServices(args: ListServicesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListServicesCommandOutput) => void): void;
26
+ listServices(args: ListServicesCommandInput, options: UxcRequestOptions, cb: (err: any, data?: ListServicesCommandOutput) => void): void;
21
27
  /**
22
28
  * @see {@link UpdateAccountCustomizationsCommand}
23
29
  */
24
30
  updateAccountCustomizations(): Promise<UpdateAccountCustomizationsCommandOutput>;
25
- updateAccountCustomizations(args: UpdateAccountCustomizationsCommandInput, options?: __HttpHandlerOptions): Promise<UpdateAccountCustomizationsCommandOutput>;
31
+ updateAccountCustomizations(args: UpdateAccountCustomizationsCommandInput, options?: UxcRequestOptions): Promise<UpdateAccountCustomizationsCommandOutput>;
26
32
  updateAccountCustomizations(args: UpdateAccountCustomizationsCommandInput, cb: (err: any, data?: UpdateAccountCustomizationsCommandOutput) => void): void;
27
- updateAccountCustomizations(args: UpdateAccountCustomizationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAccountCustomizationsCommandOutput) => void): void;
33
+ updateAccountCustomizations(args: UpdateAccountCustomizationsCommandInput, options: UxcRequestOptions, cb: (err: any, data?: UpdateAccountCustomizationsCommandOutput) => void): void;
28
34
  /**
29
35
  * @see {@link ListServicesCommand}
30
36
  * @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";
@@ -16,11 +17,14 @@ import {
16
17
  UpdateAccountCustomizationsCommandOutput,
17
18
  } from "./commands/UpdateAccountCustomizationsCommand";
18
19
  import { UxcClient } from "./UxcClient";
20
+ export interface UxcRequestOptions extends __HttpHandlerOptions {
21
+ metricsRecorder?: __MetricsRecorder<unknown>;
22
+ }
19
23
  export interface Uxc {
20
24
  getAccountCustomizations(): Promise<GetAccountCustomizationsCommandOutput>;
21
25
  getAccountCustomizations(
22
26
  args: GetAccountCustomizationsCommandInput,
23
- options?: __HttpHandlerOptions,
27
+ options?: UxcRequestOptions,
24
28
  ): Promise<GetAccountCustomizationsCommandOutput>;
25
29
  getAccountCustomizations(
26
30
  args: GetAccountCustomizationsCommandInput,
@@ -28,13 +32,13 @@ export interface Uxc {
28
32
  ): void;
29
33
  getAccountCustomizations(
30
34
  args: GetAccountCustomizationsCommandInput,
31
- options: __HttpHandlerOptions,
35
+ options: UxcRequestOptions,
32
36
  cb: (err: any, data?: GetAccountCustomizationsCommandOutput) => void,
33
37
  ): void;
34
38
  listServices(): Promise<ListServicesCommandOutput>;
35
39
  listServices(
36
40
  args: ListServicesCommandInput,
37
- options?: __HttpHandlerOptions,
41
+ options?: UxcRequestOptions,
38
42
  ): Promise<ListServicesCommandOutput>;
39
43
  listServices(
40
44
  args: ListServicesCommandInput,
@@ -42,13 +46,13 @@ export interface Uxc {
42
46
  ): void;
43
47
  listServices(
44
48
  args: ListServicesCommandInput,
45
- options: __HttpHandlerOptions,
49
+ options: UxcRequestOptions,
46
50
  cb: (err: any, data?: ListServicesCommandOutput) => void,
47
51
  ): void;
48
52
  updateAccountCustomizations(): Promise<UpdateAccountCustomizationsCommandOutput>;
49
53
  updateAccountCustomizations(
50
54
  args: UpdateAccountCustomizationsCommandInput,
51
- options?: __HttpHandlerOptions,
55
+ options?: UxcRequestOptions,
52
56
  ): Promise<UpdateAccountCustomizationsCommandOutput>;
53
57
  updateAccountCustomizations(
54
58
  args: UpdateAccountCustomizationsCommandInput,
@@ -56,7 +60,7 @@ export interface Uxc {
56
60
  ): void;
57
61
  updateAccountCustomizations(
58
62
  args: UpdateAccountCustomizationsCommandInput,
59
- options: __HttpHandlerOptions,
63
+ options: UxcRequestOptions,
60
64
  cb: (err: any, data?: UpdateAccountCustomizationsCommandOutput) => void,
61
65
  ): void;
62
66
  paginateListServices(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-uxc",
3
- "version": "3.1137.0",
3
+ "version": "3.1138.0",
4
4
  "description": "AWS SDK for JavaScript Uxc Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-uxc",
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": {