@aws-sdk/client-migrationhub-config 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
 
@@ -264,10 +264,10 @@ const _hH = "httpHeader";
264
264
  const _s = "smithy.ts.sdk.synthetic.com.amazonaws.migrationhubconfig";
265
265
  const _se = "server";
266
266
  const n0 = "com.amazonaws.migrationhubconfig";
267
- const _s_registry = TypeRegistry.for(_s);
267
+ const _s_registry = new TypeRegistry(_s);
268
268
  var MigrationHubConfigServiceException$ = [-3, _s, "MigrationHubConfigServiceException", 0, [], []];
269
269
  _s_registry.registerError(MigrationHubConfigServiceException$, MigrationHubConfigServiceException);
270
- const n0_registry = TypeRegistry.for(n0);
270
+ const n0_registry = new TypeRegistry(n0);
271
271
  var AccessDeniedException$ = [-3, n0, _ADE,
272
272
  { [_e]: _c },
273
273
  [_M],
@@ -40,10 +40,10 @@ const n0 = "com.amazonaws.migrationhubconfig";
40
40
  import { TypeRegistry } from "@smithy/core/schema";
41
41
  import { AccessDeniedException, DryRunOperation, InternalServerError, InvalidInputException, ServiceUnavailableException, ThrottlingException, } from "../models/errors";
42
42
  import { MigrationHubConfigServiceException } from "../models/MigrationHubConfigServiceException";
43
- const _s_registry = TypeRegistry.for(_s);
43
+ const _s_registry = new TypeRegistry(_s);
44
44
  export var MigrationHubConfigServiceException$ = [-3, _s, "MigrationHubConfigServiceException", 0, [], []];
45
45
  _s_registry.registerError(MigrationHubConfigServiceException$, MigrationHubConfigServiceException);
46
- const n0_registry = TypeRegistry.for(n0);
46
+ const n0_registry = new TypeRegistry(n0);
47
47
  export var AccessDeniedException$ = [-3, n0, _ADE,
48
48
  { [_e]: _c },
49
49
  [_M],
@@ -1,36 +1,42 @@
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 CreateHomeRegionControlCommandInput, type CreateHomeRegionControlCommandOutput } from "./commands/CreateHomeRegionControlCommand";
3
3
  import { type DeleteHomeRegionControlCommandInput, type DeleteHomeRegionControlCommandOutput } from "./commands/DeleteHomeRegionControlCommand";
4
4
  import { type DescribeHomeRegionControlsCommandInput, type DescribeHomeRegionControlsCommandOutput } from "./commands/DescribeHomeRegionControlsCommand";
5
5
  import { type GetHomeRegionCommandInput, type GetHomeRegionCommandOutput } from "./commands/GetHomeRegionCommand";
6
6
  import { MigrationHubConfigClient } from "./MigrationHubConfigClient";
7
+ /**
8
+ * @public
9
+ */
10
+ export interface MigrationHubConfigRequestOptions extends __HttpHandlerOptions {
11
+ metricsRecorder?: __MetricsRecorder<unknown>;
12
+ }
7
13
  export interface MigrationHubConfig {
8
14
  /**
9
15
  * @see {@link CreateHomeRegionControlCommand}
10
16
  */
11
- createHomeRegionControl(args: CreateHomeRegionControlCommandInput, options?: __HttpHandlerOptions): Promise<CreateHomeRegionControlCommandOutput>;
17
+ createHomeRegionControl(args: CreateHomeRegionControlCommandInput, options?: MigrationHubConfigRequestOptions): Promise<CreateHomeRegionControlCommandOutput>;
12
18
  createHomeRegionControl(args: CreateHomeRegionControlCommandInput, cb: (err: any, data?: CreateHomeRegionControlCommandOutput) => void): void;
13
- createHomeRegionControl(args: CreateHomeRegionControlCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateHomeRegionControlCommandOutput) => void): void;
19
+ createHomeRegionControl(args: CreateHomeRegionControlCommandInput, options: MigrationHubConfigRequestOptions, cb: (err: any, data?: CreateHomeRegionControlCommandOutput) => void): void;
14
20
  /**
15
21
  * @see {@link DeleteHomeRegionControlCommand}
16
22
  */
17
- deleteHomeRegionControl(args: DeleteHomeRegionControlCommandInput, options?: __HttpHandlerOptions): Promise<DeleteHomeRegionControlCommandOutput>;
23
+ deleteHomeRegionControl(args: DeleteHomeRegionControlCommandInput, options?: MigrationHubConfigRequestOptions): Promise<DeleteHomeRegionControlCommandOutput>;
18
24
  deleteHomeRegionControl(args: DeleteHomeRegionControlCommandInput, cb: (err: any, data?: DeleteHomeRegionControlCommandOutput) => void): void;
19
- deleteHomeRegionControl(args: DeleteHomeRegionControlCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteHomeRegionControlCommandOutput) => void): void;
25
+ deleteHomeRegionControl(args: DeleteHomeRegionControlCommandInput, options: MigrationHubConfigRequestOptions, cb: (err: any, data?: DeleteHomeRegionControlCommandOutput) => void): void;
20
26
  /**
21
27
  * @see {@link DescribeHomeRegionControlsCommand}
22
28
  */
23
29
  describeHomeRegionControls(): Promise<DescribeHomeRegionControlsCommandOutput>;
24
- describeHomeRegionControls(args: DescribeHomeRegionControlsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeHomeRegionControlsCommandOutput>;
30
+ describeHomeRegionControls(args: DescribeHomeRegionControlsCommandInput, options?: MigrationHubConfigRequestOptions): Promise<DescribeHomeRegionControlsCommandOutput>;
25
31
  describeHomeRegionControls(args: DescribeHomeRegionControlsCommandInput, cb: (err: any, data?: DescribeHomeRegionControlsCommandOutput) => void): void;
26
- describeHomeRegionControls(args: DescribeHomeRegionControlsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeHomeRegionControlsCommandOutput) => void): void;
32
+ describeHomeRegionControls(args: DescribeHomeRegionControlsCommandInput, options: MigrationHubConfigRequestOptions, cb: (err: any, data?: DescribeHomeRegionControlsCommandOutput) => void): void;
27
33
  /**
28
34
  * @see {@link GetHomeRegionCommand}
29
35
  */
30
36
  getHomeRegion(): Promise<GetHomeRegionCommandOutput>;
31
- getHomeRegion(args: GetHomeRegionCommandInput, options?: __HttpHandlerOptions): Promise<GetHomeRegionCommandOutput>;
37
+ getHomeRegion(args: GetHomeRegionCommandInput, options?: MigrationHubConfigRequestOptions): Promise<GetHomeRegionCommandOutput>;
32
38
  getHomeRegion(args: GetHomeRegionCommandInput, cb: (err: any, data?: GetHomeRegionCommandOutput) => void): void;
33
- getHomeRegion(args: GetHomeRegionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetHomeRegionCommandOutput) => void): void;
39
+ getHomeRegion(args: GetHomeRegionCommandInput, options: MigrationHubConfigRequestOptions, cb: (err: any, data?: GetHomeRegionCommandOutput) => void): void;
34
40
  /**
35
41
  * @see {@link DescribeHomeRegionControlsCommand}
36
42
  * @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
  GetHomeRegionCommandOutput,
21
22
  } from "./commands/GetHomeRegionCommand";
22
23
  import { MigrationHubConfigClient } from "./MigrationHubConfigClient";
24
+ export interface MigrationHubConfigRequestOptions extends __HttpHandlerOptions {
25
+ metricsRecorder?: __MetricsRecorder<unknown>;
26
+ }
23
27
  export interface MigrationHubConfig {
24
28
  createHomeRegionControl(
25
29
  args: CreateHomeRegionControlCommandInput,
26
- options?: __HttpHandlerOptions,
30
+ options?: MigrationHubConfigRequestOptions,
27
31
  ): Promise<CreateHomeRegionControlCommandOutput>;
28
32
  createHomeRegionControl(
29
33
  args: CreateHomeRegionControlCommandInput,
@@ -31,12 +35,12 @@ export interface MigrationHubConfig {
31
35
  ): void;
32
36
  createHomeRegionControl(
33
37
  args: CreateHomeRegionControlCommandInput,
34
- options: __HttpHandlerOptions,
38
+ options: MigrationHubConfigRequestOptions,
35
39
  cb: (err: any, data?: CreateHomeRegionControlCommandOutput) => void,
36
40
  ): void;
37
41
  deleteHomeRegionControl(
38
42
  args: DeleteHomeRegionControlCommandInput,
39
- options?: __HttpHandlerOptions,
43
+ options?: MigrationHubConfigRequestOptions,
40
44
  ): Promise<DeleteHomeRegionControlCommandOutput>;
41
45
  deleteHomeRegionControl(
42
46
  args: DeleteHomeRegionControlCommandInput,
@@ -44,13 +48,13 @@ export interface MigrationHubConfig {
44
48
  ): void;
45
49
  deleteHomeRegionControl(
46
50
  args: DeleteHomeRegionControlCommandInput,
47
- options: __HttpHandlerOptions,
51
+ options: MigrationHubConfigRequestOptions,
48
52
  cb: (err: any, data?: DeleteHomeRegionControlCommandOutput) => void,
49
53
  ): void;
50
54
  describeHomeRegionControls(): Promise<DescribeHomeRegionControlsCommandOutput>;
51
55
  describeHomeRegionControls(
52
56
  args: DescribeHomeRegionControlsCommandInput,
53
- options?: __HttpHandlerOptions,
57
+ options?: MigrationHubConfigRequestOptions,
54
58
  ): Promise<DescribeHomeRegionControlsCommandOutput>;
55
59
  describeHomeRegionControls(
56
60
  args: DescribeHomeRegionControlsCommandInput,
@@ -58,13 +62,13 @@ export interface MigrationHubConfig {
58
62
  ): void;
59
63
  describeHomeRegionControls(
60
64
  args: DescribeHomeRegionControlsCommandInput,
61
- options: __HttpHandlerOptions,
65
+ options: MigrationHubConfigRequestOptions,
62
66
  cb: (err: any, data?: DescribeHomeRegionControlsCommandOutput) => void,
63
67
  ): void;
64
68
  getHomeRegion(): Promise<GetHomeRegionCommandOutput>;
65
69
  getHomeRegion(
66
70
  args: GetHomeRegionCommandInput,
67
- options?: __HttpHandlerOptions,
71
+ options?: MigrationHubConfigRequestOptions,
68
72
  ): Promise<GetHomeRegionCommandOutput>;
69
73
  getHomeRegion(
70
74
  args: GetHomeRegionCommandInput,
@@ -72,7 +76,7 @@ export interface MigrationHubConfig {
72
76
  ): void;
73
77
  getHomeRegion(
74
78
  args: GetHomeRegionCommandInput,
75
- options: __HttpHandlerOptions,
79
+ options: MigrationHubConfigRequestOptions,
76
80
  cb: (err: any, data?: GetHomeRegionCommandOutput) => void,
77
81
  ): void;
78
82
  paginateDescribeHomeRegionControls(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-migrationhub-config",
3
- "version": "3.1137.0",
3
+ "version": "3.1138.0",
4
4
  "description": "AWS SDK for JavaScript Migrationhub Config Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-migrationhub-config",
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": {