@aws-sdk/client-migrationhub-config 3.170.0 → 3.178.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/CHANGELOG.md CHANGED
@@ -3,6 +3,22 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.178.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.177.0...v3.178.0) (2022-09-23)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-migrationhub-config
9
+
10
+
11
+
12
+
13
+
14
+ # [3.171.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.170.0...v3.171.0) (2022-09-14)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/client-migrationhub-config
17
+
18
+
19
+
20
+
21
+
6
22
  # [3.170.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.169.0...v3.170.0) (2022-09-13)
7
23
 
8
24
  **Note:** Version bump only for package @aws-sdk/client-migrationhub-config
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: MigrationHubConfigClientConfig)
31
31
  tls?: boolean | undefined;
32
32
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
33
33
  credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
34
- signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
34
+ signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme | undefined) => Promise<import("@aws-sdk/types").RequestSigner>) | undefined;
35
35
  signingEscapePath?: boolean | undefined;
36
36
  systemClockOffset?: number | undefined;
37
37
  signingRegion?: string | undefined;
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: MigrationHubConfigClientConfig)
31
31
  tls?: boolean | undefined;
32
32
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
33
33
  credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
34
- signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
34
+ signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme | undefined) => Promise<import("@aws-sdk/types").RequestSigner>) | undefined;
35
35
  signingEscapePath?: boolean | undefined;
36
36
  systemClockOffset?: number | undefined;
37
37
  signingRegion?: string | undefined;
@@ -30,7 +30,7 @@ export declare const getRuntimeConfig: (config: MigrationHubConfigClientConfig)
30
30
  tls?: boolean | undefined;
31
31
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
32
32
  credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
33
- signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
33
+ signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme | undefined) => Promise<import("@aws-sdk/types").RequestSigner>) | undefined;
34
34
  signingEscapePath?: boolean | undefined;
35
35
  systemClockOffset?: number | undefined;
36
36
  signingRegion?: string | undefined;
@@ -12,7 +12,6 @@ import {
12
12
  GetHomeRegionCommandOutput,
13
13
  } from "./commands/GetHomeRegionCommand";
14
14
  import { MigrationHubConfigClient } from "./MigrationHubConfigClient";
15
-
16
15
  export declare class MigrationHubConfig extends MigrationHubConfigClient {
17
16
  createHomeRegionControl(
18
17
  args: CreateHomeRegionControlCommandInput,
@@ -27,7 +26,6 @@ export declare class MigrationHubConfig extends MigrationHubConfigClient {
27
26
  options: __HttpHandlerOptions,
28
27
  cb: (err: any, data?: CreateHomeRegionControlCommandOutput) => void
29
28
  ): void;
30
-
31
29
  describeHomeRegionControls(
32
30
  args: DescribeHomeRegionControlsCommandInput,
33
31
  options?: __HttpHandlerOptions
@@ -41,7 +39,6 @@ export declare class MigrationHubConfig extends MigrationHubConfigClient {
41
39
  options: __HttpHandlerOptions,
42
40
  cb: (err: any, data?: DescribeHomeRegionControlsCommandOutput) => void
43
41
  ): void;
44
-
45
42
  getHomeRegion(
46
43
  args: GetHomeRegionCommandInput,
47
44
  options?: __HttpHandlerOptions
@@ -65,47 +65,26 @@ export declare type ServiceOutputTypes =
65
65
  export interface ClientDefaults
66
66
  extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
67
67
  requestHandler?: __HttpHandler;
68
-
69
68
  sha256?: __HashConstructor;
70
-
71
69
  urlParser?: __UrlParser;
72
-
73
70
  bodyLengthChecker?: __BodyLengthCalculator;
74
-
75
71
  streamCollector?: __StreamCollector;
76
-
77
72
  base64Decoder?: __Decoder;
78
-
79
73
  base64Encoder?: __Encoder;
80
-
81
74
  utf8Decoder?: __Decoder;
82
-
83
75
  utf8Encoder?: __Encoder;
84
-
85
76
  runtime?: string;
86
-
87
77
  disableHostPrefix?: boolean;
88
-
89
78
  maxAttempts?: number | __Provider<number>;
90
-
91
79
  retryMode?: string | __Provider<string>;
92
-
93
80
  logger?: __Logger;
94
-
95
81
  useDualstackEndpoint?: boolean | __Provider<boolean>;
96
-
97
82
  useFipsEndpoint?: boolean | __Provider<boolean>;
98
-
99
83
  serviceId?: string;
100
-
101
84
  region?: string | __Provider<string>;
102
-
103
85
  credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
104
-
105
86
  regionInfoProvider?: RegionInfoProvider;
106
-
107
87
  defaultUserAgentProvider?: Provider<__UserAgent>;
108
-
109
88
  defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
110
89
  }
111
90
  declare type MigrationHubConfigClientConfigType = Partial<
@@ -118,7 +97,6 @@ declare type MigrationHubConfigClientConfigType = Partial<
118
97
  HostHeaderInputConfig &
119
98
  AwsAuthInputConfig &
120
99
  UserAgentInputConfig;
121
-
122
100
  export interface MigrationHubConfigClientConfig
123
101
  extends MigrationHubConfigClientConfigType {}
124
102
  declare type MigrationHubConfigClientResolvedConfigType =
@@ -130,10 +108,8 @@ declare type MigrationHubConfigClientResolvedConfigType =
130
108
  HostHeaderResolvedConfig &
131
109
  AwsAuthResolvedConfig &
132
110
  UserAgentResolvedConfig;
133
-
134
111
  export interface MigrationHubConfigClientResolvedConfig
135
112
  extends MigrationHubConfigClientResolvedConfigType {}
136
-
137
113
  export declare class MigrationHubConfigClient extends __Client<
138
114
  __HttpHandlerOptions,
139
115
  ServiceInputTypes,
@@ -142,7 +118,6 @@ export declare class MigrationHubConfigClient extends __Client<
142
118
  > {
143
119
  readonly config: MigrationHubConfigClientResolvedConfig;
144
120
  constructor(configuration: MigrationHubConfigClientConfig);
145
-
146
121
  destroy(): void;
147
122
  }
148
123
  export {};
@@ -19,7 +19,6 @@ export interface CreateHomeRegionControlCommandInput
19
19
  export interface CreateHomeRegionControlCommandOutput
20
20
  extends CreateHomeRegionControlResult,
21
21
  __MetadataBearer {}
22
-
23
22
  export declare class CreateHomeRegionControlCommand extends $Command<
24
23
  CreateHomeRegionControlCommandInput,
25
24
  CreateHomeRegionControlCommandOutput,
@@ -27,7 +26,6 @@ export declare class CreateHomeRegionControlCommand extends $Command<
27
26
  > {
28
27
  readonly input: CreateHomeRegionControlCommandInput;
29
28
  constructor(input: CreateHomeRegionControlCommandInput);
30
-
31
29
  resolveMiddleware(
32
30
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
31
  configuration: MigrationHubConfigClientResolvedConfig,
@@ -19,7 +19,6 @@ export interface DescribeHomeRegionControlsCommandInput
19
19
  export interface DescribeHomeRegionControlsCommandOutput
20
20
  extends DescribeHomeRegionControlsResult,
21
21
  __MetadataBearer {}
22
-
23
22
  export declare class DescribeHomeRegionControlsCommand extends $Command<
24
23
  DescribeHomeRegionControlsCommandInput,
25
24
  DescribeHomeRegionControlsCommandOutput,
@@ -27,7 +26,6 @@ export declare class DescribeHomeRegionControlsCommand extends $Command<
27
26
  > {
28
27
  readonly input: DescribeHomeRegionControlsCommandInput;
29
28
  constructor(input: DescribeHomeRegionControlsCommandInput);
30
-
31
29
  resolveMiddleware(
32
30
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
31
  configuration: MigrationHubConfigClientResolvedConfig,
@@ -15,7 +15,6 @@ export interface GetHomeRegionCommandInput extends GetHomeRegionRequest {}
15
15
  export interface GetHomeRegionCommandOutput
16
16
  extends GetHomeRegionResult,
17
17
  __MetadataBearer {}
18
-
19
18
  export declare class GetHomeRegionCommand extends $Command<
20
19
  GetHomeRegionCommandInput,
21
20
  GetHomeRegionCommandOutput,
@@ -23,7 +22,6 @@ export declare class GetHomeRegionCommand extends $Command<
23
22
  > {
24
23
  readonly input: GetHomeRegionCommandInput;
25
24
  constructor(input: GetHomeRegionCommandInput);
26
-
27
25
  resolveMiddleware(
28
26
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
29
27
  configuration: MigrationHubConfigClientResolvedConfig,
@@ -2,7 +2,6 @@ import {
2
2
  ServiceException as __ServiceException,
3
3
  ServiceExceptionOptions as __ServiceExceptionOptions,
4
4
  } from "@aws-sdk/smithy-client";
5
-
6
5
  export declare class MigrationHubConfigServiceException extends __ServiceException {
7
6
  constructor(options: __ServiceExceptionOptions);
8
7
  }
@@ -1,11 +1,9 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
2
  import { MigrationHubConfigServiceException as __BaseException } from "./MigrationHubConfigServiceException";
3
-
4
3
  export declare class AccessDeniedException extends __BaseException {
5
4
  readonly name: "AccessDeniedException";
6
5
  readonly $fault: "client";
7
6
  Message?: string;
8
-
9
7
  constructor(
10
8
  opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
11
9
  );
@@ -13,129 +11,97 @@ export declare class AccessDeniedException extends __BaseException {
13
11
  export declare enum TargetType {
14
12
  ACCOUNT = "ACCOUNT",
15
13
  }
16
-
17
14
  export interface Target {
18
15
  Type: TargetType | string | undefined;
19
-
20
16
  Id?: string;
21
17
  }
22
18
  export interface CreateHomeRegionControlRequest {
23
19
  HomeRegion: string | undefined;
24
-
25
20
  Target: Target | undefined;
26
-
27
21
  DryRun?: boolean;
28
22
  }
29
-
30
23
  export interface HomeRegionControl {
31
24
  ControlId?: string;
32
-
33
25
  HomeRegion?: string;
34
-
35
26
  Target?: Target;
36
-
37
27
  RequestedTime?: Date;
38
28
  }
39
29
  export interface CreateHomeRegionControlResult {
40
30
  HomeRegionControl?: HomeRegionControl;
41
31
  }
42
-
43
32
  export declare class DryRunOperation extends __BaseException {
44
33
  readonly name: "DryRunOperation";
45
34
  readonly $fault: "client";
46
35
  Message?: string;
47
-
48
36
  constructor(opts: __ExceptionOptionType<DryRunOperation, __BaseException>);
49
37
  }
50
-
51
38
  export declare class InternalServerError extends __BaseException {
52
39
  readonly name: "InternalServerError";
53
40
  readonly $fault: "server";
54
41
  Message?: string;
55
-
56
42
  constructor(
57
43
  opts: __ExceptionOptionType<InternalServerError, __BaseException>
58
44
  );
59
45
  }
60
-
61
46
  export declare class InvalidInputException extends __BaseException {
62
47
  readonly name: "InvalidInputException";
63
48
  readonly $fault: "client";
64
49
  Message?: string;
65
-
66
50
  constructor(
67
51
  opts: __ExceptionOptionType<InvalidInputException, __BaseException>
68
52
  );
69
53
  }
70
-
71
54
  export declare class ServiceUnavailableException extends __BaseException {
72
55
  readonly name: "ServiceUnavailableException";
73
56
  readonly $fault: "server";
74
57
  Message?: string;
75
-
76
58
  constructor(
77
59
  opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
78
60
  );
79
61
  }
80
-
81
62
  export declare class ThrottlingException extends __BaseException {
82
63
  readonly name: "ThrottlingException";
83
64
  readonly $fault: "client";
84
65
  Message: string | undefined;
85
-
86
66
  RetryAfterSeconds?: number;
87
-
88
67
  constructor(
89
68
  opts: __ExceptionOptionType<ThrottlingException, __BaseException>
90
69
  );
91
70
  }
92
71
  export interface DescribeHomeRegionControlsRequest {
93
72
  ControlId?: string;
94
-
95
73
  HomeRegion?: string;
96
-
97
74
  Target?: Target;
98
-
99
75
  MaxResults?: number;
100
-
101
76
  NextToken?: string;
102
77
  }
103
78
  export interface DescribeHomeRegionControlsResult {
104
79
  HomeRegionControls?: HomeRegionControl[];
105
-
106
80
  NextToken?: string;
107
81
  }
108
82
  export interface GetHomeRegionRequest {}
109
83
  export interface GetHomeRegionResult {
110
84
  HomeRegion?: string;
111
85
  }
112
-
113
86
  export declare const TargetFilterSensitiveLog: (obj: Target) => any;
114
-
115
87
  export declare const CreateHomeRegionControlRequestFilterSensitiveLog: (
116
88
  obj: CreateHomeRegionControlRequest
117
89
  ) => any;
118
-
119
90
  export declare const HomeRegionControlFilterSensitiveLog: (
120
91
  obj: HomeRegionControl
121
92
  ) => any;
122
-
123
93
  export declare const CreateHomeRegionControlResultFilterSensitiveLog: (
124
94
  obj: CreateHomeRegionControlResult
125
95
  ) => any;
126
-
127
96
  export declare const DescribeHomeRegionControlsRequestFilterSensitiveLog: (
128
97
  obj: DescribeHomeRegionControlsRequest
129
98
  ) => any;
130
-
131
99
  export declare const DescribeHomeRegionControlsResultFilterSensitiveLog: (
132
100
  obj: DescribeHomeRegionControlsResult
133
101
  ) => any;
134
-
135
102
  export declare const GetHomeRegionRequestFilterSensitiveLog: (
136
103
  obj: GetHomeRegionRequest
137
104
  ) => any;
138
-
139
105
  export declare const GetHomeRegionResultFilterSensitiveLog: (
140
106
  obj: GetHomeRegionResult
141
107
  ) => any;
@@ -1,6 +1,5 @@
1
1
  import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
2
  import { MigrationHubConfigClientConfig } from "./MigrationHubConfigClient";
3
-
4
3
  export declare const getRuntimeConfig: (
5
4
  config: MigrationHubConfigClientConfig
6
5
  ) => {
@@ -53,7 +52,9 @@ export declare const getRuntimeConfig: (
53
52
  | undefined;
54
53
  signer?:
55
54
  | import("@aws-sdk/types").RequestSigner
56
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner>
55
+ | ((
56
+ authScheme?: import("@aws-sdk/types").AuthScheme | undefined
57
+ ) => Promise<import("@aws-sdk/types").RequestSigner>)
57
58
  | undefined;
58
59
  signingEscapePath?: boolean | undefined;
59
60
  systemClockOffset?: number | undefined;
@@ -1,6 +1,5 @@
1
1
  import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
2
  import { MigrationHubConfigClientConfig } from "./MigrationHubConfigClient";
3
-
4
3
  export declare const getRuntimeConfig: (
5
4
  config: MigrationHubConfigClientConfig
6
5
  ) => {
@@ -53,7 +52,9 @@ export declare const getRuntimeConfig: (
53
52
  | undefined;
54
53
  signer?:
55
54
  | import("@aws-sdk/types").RequestSigner
56
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner>
55
+ | ((
56
+ authScheme?: import("@aws-sdk/types").AuthScheme | undefined
57
+ ) => Promise<import("@aws-sdk/types").RequestSigner>)
57
58
  | undefined;
58
59
  signingEscapePath?: boolean | undefined;
59
60
  systemClockOffset?: number | undefined;
@@ -1,5 +1,4 @@
1
1
  import { MigrationHubConfigClientConfig } from "./MigrationHubConfigClient";
2
-
3
2
  export declare const getRuntimeConfig: (
4
3
  config: MigrationHubConfigClientConfig
5
4
  ) => {
@@ -54,7 +53,9 @@ export declare const getRuntimeConfig: (
54
53
  | undefined;
55
54
  signer?:
56
55
  | import("@aws-sdk/types").RequestSigner
57
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner>
56
+ | ((
57
+ authScheme?: import("@aws-sdk/types").AuthScheme | undefined
58
+ ) => Promise<import("@aws-sdk/types").RequestSigner>)
58
59
  | undefined;
59
60
  signingEscapePath?: boolean | undefined;
60
61
  systemClockOffset?: number | undefined;
@@ -1,6 +1,5 @@
1
1
  import { Logger as __Logger } from "@aws-sdk/types";
2
2
  import { MigrationHubConfigClientConfig } from "./MigrationHubConfigClient";
3
-
4
3
  export declare const getRuntimeConfig: (
5
4
  config: MigrationHubConfigClientConfig
6
5
  ) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-migrationhub-config",
3
3
  "description": "AWS SDK for JavaScript Migrationhub Config Client for Node.js, Browser and React Native",
4
- "version": "3.170.0",
4
+ "version": "3.178.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -19,35 +19,35 @@
19
19
  "dependencies": {
20
20
  "@aws-crypto/sha256-browser": "2.0.0",
21
21
  "@aws-crypto/sha256-js": "2.0.0",
22
- "@aws-sdk/client-sts": "3.170.0",
23
- "@aws-sdk/config-resolver": "3.170.0",
24
- "@aws-sdk/credential-provider-node": "3.170.0",
25
- "@aws-sdk/fetch-http-handler": "3.170.0",
26
- "@aws-sdk/hash-node": "3.170.0",
27
- "@aws-sdk/invalid-dependency": "3.170.0",
28
- "@aws-sdk/middleware-content-length": "3.170.0",
29
- "@aws-sdk/middleware-host-header": "3.170.0",
30
- "@aws-sdk/middleware-logger": "3.170.0",
31
- "@aws-sdk/middleware-recursion-detection": "3.170.0",
32
- "@aws-sdk/middleware-retry": "3.170.0",
33
- "@aws-sdk/middleware-serde": "3.170.0",
34
- "@aws-sdk/middleware-signing": "3.170.0",
35
- "@aws-sdk/middleware-stack": "3.170.0",
36
- "@aws-sdk/middleware-user-agent": "3.170.0",
37
- "@aws-sdk/node-config-provider": "3.170.0",
38
- "@aws-sdk/node-http-handler": "3.170.0",
39
- "@aws-sdk/protocol-http": "3.170.0",
40
- "@aws-sdk/smithy-client": "3.170.0",
41
- "@aws-sdk/types": "3.170.0",
42
- "@aws-sdk/url-parser": "3.170.0",
22
+ "@aws-sdk/client-sts": "3.178.0",
23
+ "@aws-sdk/config-resolver": "3.178.0",
24
+ "@aws-sdk/credential-provider-node": "3.178.0",
25
+ "@aws-sdk/fetch-http-handler": "3.178.0",
26
+ "@aws-sdk/hash-node": "3.178.0",
27
+ "@aws-sdk/invalid-dependency": "3.178.0",
28
+ "@aws-sdk/middleware-content-length": "3.178.0",
29
+ "@aws-sdk/middleware-host-header": "3.178.0",
30
+ "@aws-sdk/middleware-logger": "3.178.0",
31
+ "@aws-sdk/middleware-recursion-detection": "3.178.0",
32
+ "@aws-sdk/middleware-retry": "3.178.0",
33
+ "@aws-sdk/middleware-serde": "3.178.0",
34
+ "@aws-sdk/middleware-signing": "3.178.0",
35
+ "@aws-sdk/middleware-stack": "3.178.0",
36
+ "@aws-sdk/middleware-user-agent": "3.178.0",
37
+ "@aws-sdk/node-config-provider": "3.178.0",
38
+ "@aws-sdk/node-http-handler": "3.178.0",
39
+ "@aws-sdk/protocol-http": "3.178.0",
40
+ "@aws-sdk/smithy-client": "3.178.0",
41
+ "@aws-sdk/types": "3.178.0",
42
+ "@aws-sdk/url-parser": "3.178.0",
43
43
  "@aws-sdk/util-base64-browser": "3.170.0",
44
44
  "@aws-sdk/util-base64-node": "3.170.0",
45
45
  "@aws-sdk/util-body-length-browser": "3.170.0",
46
46
  "@aws-sdk/util-body-length-node": "3.170.0",
47
- "@aws-sdk/util-defaults-mode-browser": "3.170.0",
48
- "@aws-sdk/util-defaults-mode-node": "3.170.0",
49
- "@aws-sdk/util-user-agent-browser": "3.170.0",
50
- "@aws-sdk/util-user-agent-node": "3.170.0",
47
+ "@aws-sdk/util-defaults-mode-browser": "3.178.0",
48
+ "@aws-sdk/util-defaults-mode-node": "3.178.0",
49
+ "@aws-sdk/util-user-agent-browser": "3.178.0",
50
+ "@aws-sdk/util-user-agent-node": "3.178.0",
51
51
  "@aws-sdk/util-utf8-browser": "3.170.0",
52
52
  "@aws-sdk/util-utf8-node": "3.170.0",
53
53
  "tslib": "^2.3.1"