@aws-sdk/client-route53-recovery-cluster 3.1137.0 → 3.1139.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.1138.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -311,10 +311,10 @@ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.route53recoverycluster";
311
311
  const _sC = "serviceCode";
312
312
  const _se = "server";
313
313
  const n0 = "com.amazonaws.route53recoverycluster";
314
- const _s_registry = TypeRegistry.for(_s);
314
+ const _s_registry = new TypeRegistry(_s);
315
315
  var Route53RecoveryClusterServiceException$ = [-3, _s, "Route53RecoveryClusterServiceException", 0, [], []];
316
316
  _s_registry.registerError(Route53RecoveryClusterServiceException$, Route53RecoveryClusterServiceException);
317
- const n0_registry = TypeRegistry.for(n0);
317
+ const n0_registry = new TypeRegistry(n0);
318
318
  var AccessDeniedException$ = [-3, n0, _ADE,
319
319
  { [_e]: _c, [_hE]: 403 },
320
320
  [_m],
@@ -53,10 +53,10 @@ const n0 = "com.amazonaws.route53recoverycluster";
53
53
  import { TypeRegistry } from "@smithy/core/schema";
54
54
  import { AccessDeniedException, ConflictException, EndpointTemporarilyUnavailableException, InternalServerException, ResourceNotFoundException, ServiceLimitExceededException, ThrottlingException, ValidationException, } from "../models/errors";
55
55
  import { Route53RecoveryClusterServiceException } from "../models/Route53RecoveryClusterServiceException";
56
- const _s_registry = TypeRegistry.for(_s);
56
+ const _s_registry = new TypeRegistry(_s);
57
57
  export var Route53RecoveryClusterServiceException$ = [-3, _s, "Route53RecoveryClusterServiceException", 0, [], []];
58
58
  _s_registry.registerError(Route53RecoveryClusterServiceException$, Route53RecoveryClusterServiceException);
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,35 +1,41 @@
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 GetRoutingControlStateCommandInput, type GetRoutingControlStateCommandOutput } from "./commands/GetRoutingControlStateCommand";
3
3
  import { type ListRoutingControlsCommandInput, type ListRoutingControlsCommandOutput } from "./commands/ListRoutingControlsCommand";
4
4
  import { type UpdateRoutingControlStateCommandInput, type UpdateRoutingControlStateCommandOutput } from "./commands/UpdateRoutingControlStateCommand";
5
5
  import { type UpdateRoutingControlStatesCommandInput, type UpdateRoutingControlStatesCommandOutput } from "./commands/UpdateRoutingControlStatesCommand";
6
6
  import { Route53RecoveryClusterClient } from "./Route53RecoveryClusterClient";
7
+ /**
8
+ * @public
9
+ */
10
+ export interface Route53RecoveryClusterRequestOptions extends __HttpHandlerOptions {
11
+ metricsRecorder?: __MetricsRecorder<unknown>;
12
+ }
7
13
  export interface Route53RecoveryCluster {
8
14
  /**
9
15
  * @see {@link GetRoutingControlStateCommand}
10
16
  */
11
- getRoutingControlState(args: GetRoutingControlStateCommandInput, options?: __HttpHandlerOptions): Promise<GetRoutingControlStateCommandOutput>;
17
+ getRoutingControlState(args: GetRoutingControlStateCommandInput, options?: Route53RecoveryClusterRequestOptions): Promise<GetRoutingControlStateCommandOutput>;
12
18
  getRoutingControlState(args: GetRoutingControlStateCommandInput, cb: (err: any, data?: GetRoutingControlStateCommandOutput) => void): void;
13
- getRoutingControlState(args: GetRoutingControlStateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRoutingControlStateCommandOutput) => void): void;
19
+ getRoutingControlState(args: GetRoutingControlStateCommandInput, options: Route53RecoveryClusterRequestOptions, cb: (err: any, data?: GetRoutingControlStateCommandOutput) => void): void;
14
20
  /**
15
21
  * @see {@link ListRoutingControlsCommand}
16
22
  */
17
23
  listRoutingControls(): Promise<ListRoutingControlsCommandOutput>;
18
- listRoutingControls(args: ListRoutingControlsCommandInput, options?: __HttpHandlerOptions): Promise<ListRoutingControlsCommandOutput>;
24
+ listRoutingControls(args: ListRoutingControlsCommandInput, options?: Route53RecoveryClusterRequestOptions): Promise<ListRoutingControlsCommandOutput>;
19
25
  listRoutingControls(args: ListRoutingControlsCommandInput, cb: (err: any, data?: ListRoutingControlsCommandOutput) => void): void;
20
- listRoutingControls(args: ListRoutingControlsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRoutingControlsCommandOutput) => void): void;
26
+ listRoutingControls(args: ListRoutingControlsCommandInput, options: Route53RecoveryClusterRequestOptions, cb: (err: any, data?: ListRoutingControlsCommandOutput) => void): void;
21
27
  /**
22
28
  * @see {@link UpdateRoutingControlStateCommand}
23
29
  */
24
- updateRoutingControlState(args: UpdateRoutingControlStateCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRoutingControlStateCommandOutput>;
30
+ updateRoutingControlState(args: UpdateRoutingControlStateCommandInput, options?: Route53RecoveryClusterRequestOptions): Promise<UpdateRoutingControlStateCommandOutput>;
25
31
  updateRoutingControlState(args: UpdateRoutingControlStateCommandInput, cb: (err: any, data?: UpdateRoutingControlStateCommandOutput) => void): void;
26
- updateRoutingControlState(args: UpdateRoutingControlStateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRoutingControlStateCommandOutput) => void): void;
32
+ updateRoutingControlState(args: UpdateRoutingControlStateCommandInput, options: Route53RecoveryClusterRequestOptions, cb: (err: any, data?: UpdateRoutingControlStateCommandOutput) => void): void;
27
33
  /**
28
34
  * @see {@link UpdateRoutingControlStatesCommand}
29
35
  */
30
- updateRoutingControlStates(args: UpdateRoutingControlStatesCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRoutingControlStatesCommandOutput>;
36
+ updateRoutingControlStates(args: UpdateRoutingControlStatesCommandInput, options?: Route53RecoveryClusterRequestOptions): Promise<UpdateRoutingControlStatesCommandOutput>;
31
37
  updateRoutingControlStates(args: UpdateRoutingControlStatesCommandInput, cb: (err: any, data?: UpdateRoutingControlStatesCommandOutput) => void): void;
32
- updateRoutingControlStates(args: UpdateRoutingControlStatesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRoutingControlStatesCommandOutput) => void): void;
38
+ updateRoutingControlStates(args: UpdateRoutingControlStatesCommandInput, options: Route53RecoveryClusterRequestOptions, cb: (err: any, data?: UpdateRoutingControlStatesCommandOutput) => void): void;
33
39
  /**
34
40
  * @see {@link ListRoutingControlsCommand}
35
41
  * @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";
@@ -20,10 +21,13 @@ import {
20
21
  UpdateRoutingControlStatesCommandOutput,
21
22
  } from "./commands/UpdateRoutingControlStatesCommand";
22
23
  import { Route53RecoveryClusterClient } from "./Route53RecoveryClusterClient";
24
+ export interface Route53RecoveryClusterRequestOptions extends __HttpHandlerOptions {
25
+ metricsRecorder?: __MetricsRecorder<unknown>;
26
+ }
23
27
  export interface Route53RecoveryCluster {
24
28
  getRoutingControlState(
25
29
  args: GetRoutingControlStateCommandInput,
26
- options?: __HttpHandlerOptions,
30
+ options?: Route53RecoveryClusterRequestOptions,
27
31
  ): Promise<GetRoutingControlStateCommandOutput>;
28
32
  getRoutingControlState(
29
33
  args: GetRoutingControlStateCommandInput,
@@ -31,13 +35,13 @@ export interface Route53RecoveryCluster {
31
35
  ): void;
32
36
  getRoutingControlState(
33
37
  args: GetRoutingControlStateCommandInput,
34
- options: __HttpHandlerOptions,
38
+ options: Route53RecoveryClusterRequestOptions,
35
39
  cb: (err: any, data?: GetRoutingControlStateCommandOutput) => void,
36
40
  ): void;
37
41
  listRoutingControls(): Promise<ListRoutingControlsCommandOutput>;
38
42
  listRoutingControls(
39
43
  args: ListRoutingControlsCommandInput,
40
- options?: __HttpHandlerOptions,
44
+ options?: Route53RecoveryClusterRequestOptions,
41
45
  ): Promise<ListRoutingControlsCommandOutput>;
42
46
  listRoutingControls(
43
47
  args: ListRoutingControlsCommandInput,
@@ -45,12 +49,12 @@ export interface Route53RecoveryCluster {
45
49
  ): void;
46
50
  listRoutingControls(
47
51
  args: ListRoutingControlsCommandInput,
48
- options: __HttpHandlerOptions,
52
+ options: Route53RecoveryClusterRequestOptions,
49
53
  cb: (err: any, data?: ListRoutingControlsCommandOutput) => void,
50
54
  ): void;
51
55
  updateRoutingControlState(
52
56
  args: UpdateRoutingControlStateCommandInput,
53
- options?: __HttpHandlerOptions,
57
+ options?: Route53RecoveryClusterRequestOptions,
54
58
  ): Promise<UpdateRoutingControlStateCommandOutput>;
55
59
  updateRoutingControlState(
56
60
  args: UpdateRoutingControlStateCommandInput,
@@ -58,12 +62,12 @@ export interface Route53RecoveryCluster {
58
62
  ): void;
59
63
  updateRoutingControlState(
60
64
  args: UpdateRoutingControlStateCommandInput,
61
- options: __HttpHandlerOptions,
65
+ options: Route53RecoveryClusterRequestOptions,
62
66
  cb: (err: any, data?: UpdateRoutingControlStateCommandOutput) => void,
63
67
  ): void;
64
68
  updateRoutingControlStates(
65
69
  args: UpdateRoutingControlStatesCommandInput,
66
- options?: __HttpHandlerOptions,
70
+ options?: Route53RecoveryClusterRequestOptions,
67
71
  ): Promise<UpdateRoutingControlStatesCommandOutput>;
68
72
  updateRoutingControlStates(
69
73
  args: UpdateRoutingControlStatesCommandInput,
@@ -71,7 +75,7 @@ export interface Route53RecoveryCluster {
71
75
  ): void;
72
76
  updateRoutingControlStates(
73
77
  args: UpdateRoutingControlStatesCommandInput,
74
- options: __HttpHandlerOptions,
78
+ options: Route53RecoveryClusterRequestOptions,
75
79
  cb: (err: any, data?: UpdateRoutingControlStatesCommandOutput) => void,
76
80
  ): void;
77
81
  paginateListRoutingControls(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-route53-recovery-cluster",
3
- "version": "3.1137.0",
3
+ "version": "3.1139.0",
4
4
  "description": "AWS SDK for JavaScript Route53 Recovery Cluster Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-route53-recovery-cluster",
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": {