@aws-sdk/client-migration-hub-refactor-spaces 3.194.0 → 3.197.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.
Files changed (128) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist-cjs/MigrationHubRefactorSpacesClient.js +11 -8
  3. package/dist-cjs/commands/CreateApplicationCommand.js +10 -0
  4. package/dist-cjs/commands/CreateEnvironmentCommand.js +10 -0
  5. package/dist-cjs/commands/CreateRouteCommand.js +10 -0
  6. package/dist-cjs/commands/CreateServiceCommand.js +10 -0
  7. package/dist-cjs/commands/DeleteApplicationCommand.js +10 -0
  8. package/dist-cjs/commands/DeleteEnvironmentCommand.js +10 -0
  9. package/dist-cjs/commands/DeleteResourcePolicyCommand.js +10 -0
  10. package/dist-cjs/commands/DeleteRouteCommand.js +10 -0
  11. package/dist-cjs/commands/DeleteServiceCommand.js +10 -0
  12. package/dist-cjs/commands/GetApplicationCommand.js +10 -0
  13. package/dist-cjs/commands/GetEnvironmentCommand.js +10 -0
  14. package/dist-cjs/commands/GetResourcePolicyCommand.js +10 -0
  15. package/dist-cjs/commands/GetRouteCommand.js +10 -0
  16. package/dist-cjs/commands/GetServiceCommand.js +10 -0
  17. package/dist-cjs/commands/ListApplicationsCommand.js +10 -0
  18. package/dist-cjs/commands/ListEnvironmentVpcsCommand.js +10 -0
  19. package/dist-cjs/commands/ListEnvironmentsCommand.js +10 -0
  20. package/dist-cjs/commands/ListRoutesCommand.js +10 -0
  21. package/dist-cjs/commands/ListServicesCommand.js +10 -0
  22. package/dist-cjs/commands/ListTagsForResourceCommand.js +10 -0
  23. package/dist-cjs/commands/PutResourcePolicyCommand.js +10 -0
  24. package/dist-cjs/commands/TagResourceCommand.js +10 -0
  25. package/dist-cjs/commands/UntagResourceCommand.js +10 -0
  26. package/dist-cjs/commands/UpdateRouteCommand.js +10 -0
  27. package/dist-cjs/endpoint/EndpointParameters.js +13 -0
  28. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  29. package/dist-cjs/endpoint/ruleset.js +312 -0
  30. package/dist-cjs/runtimeConfig.shared.js +3 -3
  31. package/dist-es/MigrationHubRefactorSpacesClient.js +12 -9
  32. package/dist-es/commands/CreateApplicationCommand.js +10 -0
  33. package/dist-es/commands/CreateEnvironmentCommand.js +10 -0
  34. package/dist-es/commands/CreateRouteCommand.js +10 -0
  35. package/dist-es/commands/CreateServiceCommand.js +10 -0
  36. package/dist-es/commands/DeleteApplicationCommand.js +10 -0
  37. package/dist-es/commands/DeleteEnvironmentCommand.js +10 -0
  38. package/dist-es/commands/DeleteResourcePolicyCommand.js +10 -0
  39. package/dist-es/commands/DeleteRouteCommand.js +10 -0
  40. package/dist-es/commands/DeleteServiceCommand.js +10 -0
  41. package/dist-es/commands/GetApplicationCommand.js +10 -0
  42. package/dist-es/commands/GetEnvironmentCommand.js +10 -0
  43. package/dist-es/commands/GetResourcePolicyCommand.js +10 -0
  44. package/dist-es/commands/GetRouteCommand.js +10 -0
  45. package/dist-es/commands/GetServiceCommand.js +10 -0
  46. package/dist-es/commands/ListApplicationsCommand.js +10 -0
  47. package/dist-es/commands/ListEnvironmentVpcsCommand.js +10 -0
  48. package/dist-es/commands/ListEnvironmentsCommand.js +10 -0
  49. package/dist-es/commands/ListRoutesCommand.js +10 -0
  50. package/dist-es/commands/ListServicesCommand.js +10 -0
  51. package/dist-es/commands/ListTagsForResourceCommand.js +10 -0
  52. package/dist-es/commands/PutResourcePolicyCommand.js +10 -0
  53. package/dist-es/commands/TagResourceCommand.js +10 -0
  54. package/dist-es/commands/UntagResourceCommand.js +10 -0
  55. package/dist-es/commands/UpdateRouteCommand.js +10 -0
  56. package/dist-es/endpoint/EndpointParameters.js +8 -0
  57. package/dist-es/endpoint/endpointResolver.js +8 -0
  58. package/dist-es/endpoint/ruleset.js +309 -0
  59. package/dist-es/runtimeConfig.shared.js +2 -2
  60. package/dist-types/MigrationHubRefactorSpacesClient.d.ts +6 -9
  61. package/dist-types/commands/CreateApplicationCommand.d.ts +2 -0
  62. package/dist-types/commands/CreateEnvironmentCommand.d.ts +2 -0
  63. package/dist-types/commands/CreateRouteCommand.d.ts +2 -0
  64. package/dist-types/commands/CreateServiceCommand.d.ts +2 -0
  65. package/dist-types/commands/DeleteApplicationCommand.d.ts +2 -0
  66. package/dist-types/commands/DeleteEnvironmentCommand.d.ts +2 -0
  67. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +2 -0
  68. package/dist-types/commands/DeleteRouteCommand.d.ts +2 -0
  69. package/dist-types/commands/DeleteServiceCommand.d.ts +2 -0
  70. package/dist-types/commands/GetApplicationCommand.d.ts +2 -0
  71. package/dist-types/commands/GetEnvironmentCommand.d.ts +2 -0
  72. package/dist-types/commands/GetResourcePolicyCommand.d.ts +2 -0
  73. package/dist-types/commands/GetRouteCommand.d.ts +2 -0
  74. package/dist-types/commands/GetServiceCommand.d.ts +2 -0
  75. package/dist-types/commands/ListApplicationsCommand.d.ts +2 -0
  76. package/dist-types/commands/ListEnvironmentVpcsCommand.d.ts +2 -0
  77. package/dist-types/commands/ListEnvironmentsCommand.d.ts +2 -0
  78. package/dist-types/commands/ListRoutesCommand.d.ts +2 -0
  79. package/dist-types/commands/ListServicesCommand.d.ts +2 -0
  80. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
  81. package/dist-types/commands/PutResourcePolicyCommand.d.ts +2 -0
  82. package/dist-types/commands/TagResourceCommand.d.ts +2 -0
  83. package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
  84. package/dist-types/commands/UpdateRouteCommand.d.ts +2 -0
  85. package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
  86. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  87. package/dist-types/endpoint/ruleset.d.ts +2 -0
  88. package/dist-types/runtimeConfig.browser.d.ts +4 -2
  89. package/dist-types/runtimeConfig.d.ts +4 -2
  90. package/dist-types/runtimeConfig.native.d.ts +4 -2
  91. package/dist-types/runtimeConfig.shared.d.ts +3 -1
  92. package/dist-types/ts3.4/MigrationHubRefactorSpacesClient.d.ts +15 -8
  93. package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +2 -0
  94. package/dist-types/ts3.4/commands/CreateEnvironmentCommand.d.ts +2 -0
  95. package/dist-types/ts3.4/commands/CreateRouteCommand.d.ts +2 -0
  96. package/dist-types/ts3.4/commands/CreateServiceCommand.d.ts +2 -0
  97. package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +2 -0
  98. package/dist-types/ts3.4/commands/DeleteEnvironmentCommand.d.ts +2 -0
  99. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +2 -0
  100. package/dist-types/ts3.4/commands/DeleteRouteCommand.d.ts +2 -0
  101. package/dist-types/ts3.4/commands/DeleteServiceCommand.d.ts +2 -0
  102. package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +2 -0
  103. package/dist-types/ts3.4/commands/GetEnvironmentCommand.d.ts +2 -0
  104. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +2 -0
  105. package/dist-types/ts3.4/commands/GetRouteCommand.d.ts +2 -0
  106. package/dist-types/ts3.4/commands/GetServiceCommand.d.ts +2 -0
  107. package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +2 -0
  108. package/dist-types/ts3.4/commands/ListEnvironmentVpcsCommand.d.ts +2 -0
  109. package/dist-types/ts3.4/commands/ListEnvironmentsCommand.d.ts +2 -0
  110. package/dist-types/ts3.4/commands/ListRoutesCommand.d.ts +2 -0
  111. package/dist-types/ts3.4/commands/ListServicesCommand.d.ts +2 -0
  112. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -0
  113. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +2 -0
  114. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -0
  115. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -0
  116. package/dist-types/ts3.4/commands/UpdateRouteCommand.d.ts +2 -0
  117. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +34 -0
  118. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  119. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  120. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +23 -4
  121. package/dist-types/ts3.4/runtimeConfig.d.ts +23 -4
  122. package/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -1
  123. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
  124. package/package.json +28 -26
  125. package/dist-cjs/endpoints.js +0 -132
  126. package/dist-es/endpoints.js +0 -128
  127. package/dist-types/endpoints.d.ts +0 -2
  128. package/dist-types/ts3.4/endpoints.d.ts +0 -2
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { MigrationHubRefactorSpacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubRefactorSpacesClient";
@@ -26,6 +27,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
26
27
  */
27
28
  export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, MigrationHubRefactorSpacesClientResolvedConfig> {
28
29
  readonly input: ListTagsForResourceCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
29
31
  constructor(input: ListTagsForResourceCommandInput);
30
32
  /**
31
33
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { MigrationHubRefactorSpacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubRefactorSpacesClient";
@@ -29,6 +30,7 @@ export interface PutResourcePolicyCommandOutput extends PutResourcePolicyRespons
29
30
  */
30
31
  export declare class PutResourcePolicyCommand extends $Command<PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput, MigrationHubRefactorSpacesClientResolvedConfig> {
31
32
  readonly input: PutResourcePolicyCommandInput;
33
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
32
34
  constructor(input: PutResourcePolicyCommandInput);
33
35
  /**
34
36
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { MigrationHubRefactorSpacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubRefactorSpacesClient";
@@ -31,6 +32,7 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
31
32
  */
32
33
  export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, MigrationHubRefactorSpacesClientResolvedConfig> {
33
34
  readonly input: TagResourceCommandInput;
35
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
34
36
  constructor(input: TagResourceCommandInput);
35
37
  /**
36
38
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { MigrationHubRefactorSpacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubRefactorSpacesClient";
@@ -27,6 +28,7 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
27
28
  */
28
29
  export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, MigrationHubRefactorSpacesClientResolvedConfig> {
29
30
  readonly input: UntagResourceCommandInput;
31
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
32
  constructor(input: UntagResourceCommandInput);
31
33
  /**
32
34
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { MigrationHubRefactorSpacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubRefactorSpacesClient";
@@ -27,6 +28,7 @@ export interface UpdateRouteCommandOutput extends UpdateRouteResponse, __Metadat
27
28
  */
28
29
  export declare class UpdateRouteCommand extends $Command<UpdateRouteCommandInput, UpdateRouteCommandOutput, MigrationHubRefactorSpacesClientResolvedConfig> {
29
30
  readonly input: UpdateRouteCommandInput;
31
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
32
  constructor(input: UpdateRouteCommandInput);
31
33
  /**
32
34
  * @internal
@@ -0,0 +1,19 @@
1
+ import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@aws-sdk/types";
2
+ export interface ClientInputEndpointParameters {
3
+ region?: string | Provider<string>;
4
+ useDualstackEndpoint?: boolean | Provider<boolean>;
5
+ useFipsEndpoint?: boolean | Provider<boolean>;
6
+ endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
7
+ }
8
+ export declare type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
9
+ defaultSigningName: string;
10
+ };
11
+ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
12
+ defaultSigningName: string;
13
+ };
14
+ export interface EndpointParameters extends __EndpointParameters {
15
+ Region?: string;
16
+ UseDualStack?: boolean;
17
+ UseFIPS?: boolean;
18
+ Endpoint?: string;
19
+ }
@@ -0,0 +1,5 @@
1
+ import { EndpointV2, Logger } from "@aws-sdk/types";
2
+ import { EndpointParameters } from "./EndpointParameters";
3
+ export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
4
+ logger?: Logger;
5
+ }) => EndpointV2;
@@ -0,0 +1,2 @@
1
+ import { RuleSetObject } from "@aws-sdk/util-endpoints";
2
+ export declare const ruleSet: RuleSetObject;
@@ -26,8 +26,10 @@ export declare const getRuntimeConfig: (config: MigrationHubRefactorSpacesClient
26
26
  disableHostPrefix: boolean;
27
27
  logger: import("@aws-sdk/types").Logger;
28
28
  serviceId: string;
29
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
30
- endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
29
+ endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>)) | undefined;
30
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
31
+ logger?: import("@aws-sdk/types").Logger | undefined;
32
+ }) => import("@aws-sdk/types").EndpointV2;
31
33
  tls?: boolean | undefined;
32
34
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
33
35
  credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
@@ -26,8 +26,10 @@ export declare const getRuntimeConfig: (config: MigrationHubRefactorSpacesClient
26
26
  disableHostPrefix: boolean;
27
27
  logger: import("@aws-sdk/types").Logger;
28
28
  serviceId: string;
29
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
30
- endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
29
+ endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>)) | undefined;
30
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
31
+ logger?: import("@aws-sdk/types").Logger | undefined;
32
+ }) => import("@aws-sdk/types").EndpointV2;
31
33
  tls?: boolean | undefined;
32
34
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
33
35
  credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
@@ -23,10 +23,12 @@ export declare const getRuntimeConfig: (config: MigrationHubRefactorSpacesClient
23
23
  serviceId: string;
24
24
  region: string | import("@aws-sdk/types").Provider<any>;
25
25
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
26
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
27
26
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
28
27
  defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
29
- endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
28
+ endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> | undefined;
29
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
30
+ logger?: import("@aws-sdk/types").Logger | undefined;
31
+ }) => import("@aws-sdk/types").EndpointV2;
30
32
  tls?: boolean | undefined;
31
33
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
32
34
  credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
@@ -6,8 +6,10 @@ import { MigrationHubRefactorSpacesClientConfig } from "./MigrationHubRefactorSp
6
6
  export declare const getRuntimeConfig: (config: MigrationHubRefactorSpacesClientConfig) => {
7
7
  apiVersion: string;
8
8
  disableHostPrefix: boolean;
9
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
10
+ logger?: __Logger | undefined;
11
+ }) => import("@aws-sdk/types").EndpointV2;
9
12
  logger: __Logger;
10
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
11
13
  serviceId: string;
12
14
  urlParser: import("@aws-sdk/types").UrlParser;
13
15
  };
@@ -1,9 +1,11 @@
1
1
  import {
2
- EndpointsInputConfig,
3
- EndpointsResolvedConfig,
4
2
  RegionInputConfig,
5
3
  RegionResolvedConfig,
6
4
  } from "@aws-sdk/config-resolver";
5
+ import {
6
+ EndpointInputConfig,
7
+ EndpointResolvedConfig,
8
+ } from "@aws-sdk/middleware-endpoint";
7
9
  import {
8
10
  HostHeaderInputConfig,
9
11
  HostHeaderResolvedConfig,
@@ -37,7 +39,6 @@ import {
37
39
  Logger as __Logger,
38
40
  Provider as __Provider,
39
41
  Provider,
40
- RegionInfoProvider,
41
42
  StreamCollector as __StreamCollector,
42
43
  UrlParser as __UrlParser,
43
44
  UserAgent as __UserAgent,
@@ -138,6 +139,11 @@ import {
138
139
  UpdateRouteCommandInput,
139
140
  UpdateRouteCommandOutput,
140
141
  } from "./commands/UpdateRouteCommand";
142
+ import {
143
+ ClientInputEndpointParameters,
144
+ ClientResolvedEndpointParameters,
145
+ EndpointParameters,
146
+ } from "./endpoint/EndpointParameters";
141
147
  export declare type ServiceInputTypes =
142
148
  | CreateApplicationCommandInput
143
149
  | CreateEnvironmentCommandInput
@@ -209,7 +215,6 @@ export interface ClientDefaults
209
215
  serviceId?: string;
210
216
  region?: string | __Provider<string>;
211
217
  credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
212
- regionInfoProvider?: RegionInfoProvider;
213
218
  defaultUserAgentProvider?: Provider<__UserAgent>;
214
219
  defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
215
220
  }
@@ -218,22 +223,24 @@ declare type MigrationHubRefactorSpacesClientConfigType = Partial<
218
223
  > &
219
224
  ClientDefaults &
220
225
  RegionInputConfig &
221
- EndpointsInputConfig &
226
+ EndpointInputConfig<EndpointParameters> &
222
227
  RetryInputConfig &
223
228
  HostHeaderInputConfig &
224
229
  AwsAuthInputConfig &
225
- UserAgentInputConfig;
230
+ UserAgentInputConfig &
231
+ ClientInputEndpointParameters;
226
232
  export interface MigrationHubRefactorSpacesClientConfig
227
233
  extends MigrationHubRefactorSpacesClientConfigType {}
228
234
  declare type MigrationHubRefactorSpacesClientResolvedConfigType =
229
235
  __SmithyResolvedConfiguration<__HttpHandlerOptions> &
230
236
  Required<ClientDefaults> &
231
237
  RegionResolvedConfig &
232
- EndpointsResolvedConfig &
238
+ EndpointResolvedConfig<EndpointParameters> &
233
239
  RetryResolvedConfig &
234
240
  HostHeaderResolvedConfig &
235
241
  AwsAuthResolvedConfig &
236
- UserAgentResolvedConfig;
242
+ UserAgentResolvedConfig &
243
+ ClientResolvedEndpointParameters;
237
244
  export interface MigrationHubRefactorSpacesClientResolvedConfig
238
245
  extends MigrationHubRefactorSpacesClientResolvedConfigType {}
239
246
  export declare class MigrationHubRefactorSpacesClient extends __Client<
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class CreateApplicationCommand extends $Command<
25
26
  MigrationHubRefactorSpacesClientResolvedConfig
26
27
  > {
27
28
  readonly input: CreateApplicationCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: CreateApplicationCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class CreateEnvironmentCommand extends $Command<
25
26
  MigrationHubRefactorSpacesClientResolvedConfig
26
27
  > {
27
28
  readonly input: CreateEnvironmentCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: CreateEnvironmentCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class CreateRouteCommand extends $Command<
21
22
  MigrationHubRefactorSpacesClientResolvedConfig
22
23
  > {
23
24
  readonly input: CreateRouteCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: CreateRouteCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -24,6 +25,7 @@ export declare class CreateServiceCommand extends $Command<
24
25
  MigrationHubRefactorSpacesClientResolvedConfig
25
26
  > {
26
27
  readonly input: CreateServiceCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
29
  constructor(input: CreateServiceCommandInput);
28
30
  resolveMiddleware(
29
31
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class DeleteApplicationCommand extends $Command<
25
26
  MigrationHubRefactorSpacesClientResolvedConfig
26
27
  > {
27
28
  readonly input: DeleteApplicationCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: DeleteApplicationCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class DeleteEnvironmentCommand extends $Command<
25
26
  MigrationHubRefactorSpacesClientResolvedConfig
26
27
  > {
27
28
  readonly input: DeleteEnvironmentCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: DeleteEnvironmentCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class DeleteResourcePolicyCommand extends $Command<
25
26
  MigrationHubRefactorSpacesClientResolvedConfig
26
27
  > {
27
28
  readonly input: DeleteResourcePolicyCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: DeleteResourcePolicyCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class DeleteRouteCommand extends $Command<
21
22
  MigrationHubRefactorSpacesClientResolvedConfig
22
23
  > {
23
24
  readonly input: DeleteRouteCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: DeleteRouteCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -24,6 +25,7 @@ export declare class DeleteServiceCommand extends $Command<
24
25
  MigrationHubRefactorSpacesClientResolvedConfig
25
26
  > {
26
27
  readonly input: DeleteServiceCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
29
  constructor(input: DeleteServiceCommandInput);
28
30
  resolveMiddleware(
29
31
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -24,6 +25,7 @@ export declare class GetApplicationCommand extends $Command<
24
25
  MigrationHubRefactorSpacesClientResolvedConfig
25
26
  > {
26
27
  readonly input: GetApplicationCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
29
  constructor(input: GetApplicationCommandInput);
28
30
  resolveMiddleware(
29
31
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -24,6 +25,7 @@ export declare class GetEnvironmentCommand extends $Command<
24
25
  MigrationHubRefactorSpacesClientResolvedConfig
25
26
  > {
26
27
  readonly input: GetEnvironmentCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
29
  constructor(input: GetEnvironmentCommandInput);
28
30
  resolveMiddleware(
29
31
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class GetResourcePolicyCommand extends $Command<
25
26
  MigrationHubRefactorSpacesClientResolvedConfig
26
27
  > {
27
28
  readonly input: GetResourcePolicyCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: GetResourcePolicyCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class GetRouteCommand extends $Command<
21
22
  MigrationHubRefactorSpacesClientResolvedConfig
22
23
  > {
23
24
  readonly input: GetRouteCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: GetRouteCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class GetServiceCommand extends $Command<
21
22
  MigrationHubRefactorSpacesClientResolvedConfig
22
23
  > {
23
24
  readonly input: GetServiceCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: GetServiceCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -24,6 +25,7 @@ export declare class ListApplicationsCommand extends $Command<
24
25
  MigrationHubRefactorSpacesClientResolvedConfig
25
26
  > {
26
27
  readonly input: ListApplicationsCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
29
  constructor(input: ListApplicationsCommandInput);
28
30
  resolveMiddleware(
29
31
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class ListEnvironmentVpcsCommand extends $Command<
25
26
  MigrationHubRefactorSpacesClientResolvedConfig
26
27
  > {
27
28
  readonly input: ListEnvironmentVpcsCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: ListEnvironmentVpcsCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -24,6 +25,7 @@ export declare class ListEnvironmentsCommand extends $Command<
24
25
  MigrationHubRefactorSpacesClientResolvedConfig
25
26
  > {
26
27
  readonly input: ListEnvironmentsCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
29
  constructor(input: ListEnvironmentsCommandInput);
28
30
  resolveMiddleware(
29
31
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class ListRoutesCommand extends $Command<
21
22
  MigrationHubRefactorSpacesClientResolvedConfig
22
23
  > {
23
24
  readonly input: ListRoutesCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: ListRoutesCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class ListServicesCommand extends $Command<
21
22
  MigrationHubRefactorSpacesClientResolvedConfig
22
23
  > {
23
24
  readonly input: ListServicesCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: ListServicesCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class ListTagsForResourceCommand extends $Command<
25
26
  MigrationHubRefactorSpacesClientResolvedConfig
26
27
  > {
27
28
  readonly input: ListTagsForResourceCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: ListTagsForResourceCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class PutResourcePolicyCommand extends $Command<
25
26
  MigrationHubRefactorSpacesClientResolvedConfig
26
27
  > {
27
28
  readonly input: PutResourcePolicyCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: PutResourcePolicyCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class TagResourceCommand extends $Command<
21
22
  MigrationHubRefactorSpacesClientResolvedConfig
22
23
  > {
23
24
  readonly input: TagResourceCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: TagResourceCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -24,6 +25,7 @@ export declare class UntagResourceCommand extends $Command<
24
25
  MigrationHubRefactorSpacesClientResolvedConfig
25
26
  > {
26
27
  readonly input: UntagResourceCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
29
  constructor(input: UntagResourceCommandInput);
28
30
  resolveMiddleware(
29
31
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class UpdateRouteCommand extends $Command<
21
22
  MigrationHubRefactorSpacesClientResolvedConfig
22
23
  > {
23
24
  readonly input: UpdateRouteCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: UpdateRouteCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -0,0 +1,34 @@
1
+ import {
2
+ Endpoint,
3
+ EndpointParameters as __EndpointParameters,
4
+ EndpointV2,
5
+ Provider,
6
+ } from "@aws-sdk/types";
7
+ export interface ClientInputEndpointParameters {
8
+ region?: string | Provider<string>;
9
+ useDualstackEndpoint?: boolean | Provider<boolean>;
10
+ useFipsEndpoint?: boolean | Provider<boolean>;
11
+ endpoint?:
12
+ | string
13
+ | Provider<string>
14
+ | Endpoint
15
+ | Provider<Endpoint>
16
+ | EndpointV2
17
+ | Provider<EndpointV2>;
18
+ }
19
+ export declare type ClientResolvedEndpointParameters =
20
+ ClientInputEndpointParameters & {
21
+ defaultSigningName: string;
22
+ };
23
+ export declare const resolveClientEndpointParameters: <T>(
24
+ options: T & ClientInputEndpointParameters
25
+ ) => T &
26
+ ClientInputEndpointParameters & {
27
+ defaultSigningName: string;
28
+ };
29
+ export interface EndpointParameters extends __EndpointParameters {
30
+ Region?: string;
31
+ UseDualStack?: boolean;
32
+ UseFIPS?: boolean;
33
+ Endpoint?: string;
34
+ }
@@ -0,0 +1,8 @@
1
+ import { EndpointV2, Logger } from "@aws-sdk/types";
2
+ import { EndpointParameters } from "./EndpointParameters";
3
+ export declare const defaultEndpointResolver: (
4
+ endpointParams: EndpointParameters,
5
+ context?: {
6
+ logger?: Logger;
7
+ }
8
+ ) => EndpointV2;
@@ -0,0 +1,2 @@
1
+ import { RuleSetObject } from "@aws-sdk/util-endpoints";
2
+ export declare const ruleSet: RuleSetObject;