@aws-sdk/client-migration-hub-refactor-spaces 3.51.0 → 3.54.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 +30 -0
- package/README.md +3 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/MigrationHubRefactorSpacesServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +126 -2
- package/dist-cjs/protocols/Aws_restJson1.js +284 -1072
- package/dist-es/index.js +1 -0
- package/dist-es/models/MigrationHubRefactorSpacesServiceException.js +12 -0
- package/dist-es/models/models_0.js +117 -1
- package/dist-es/protocols/Aws_restJson1.js +581 -1173
- package/dist-types/MigrationHubRefactorSpaces.d.ts +29 -19
- package/dist-types/MigrationHubRefactorSpacesClient.d.ts +5 -2
- package/dist-types/commands/CreateApplicationCommand.d.ts +2 -2
- package/dist-types/commands/CreateEnvironmentCommand.d.ts +5 -4
- package/dist-types/commands/CreateRouteCommand.d.ts +14 -10
- package/dist-types/commands/CreateServiceCommand.d.ts +1 -1
- package/dist-types/commands/ListEnvironmentVpcsCommand.d.ts +2 -1
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +2 -1
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/MigrationHubRefactorSpacesServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +78 -37
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/MigrationHubRefactorSpacesClient.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/MigrationHubRefactorSpacesServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +42 -25
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +33 -33
|
@@ -31,22 +31,26 @@ import { MigrationHubRefactorSpacesClient } from "./MigrationHubRefactorSpacesCl
|
|
|
31
31
|
* request parameters and the response. Alternatively, you can use one of the Amazon Web Services SDKs to
|
|
32
32
|
* access an API that is tailored to the programming language or platform that you're using. For
|
|
33
33
|
* more information, see <a href="http://aws.amazon.com/tools/#SDKs">Amazon Web Services SDKs</a>.</p>
|
|
34
|
+
*
|
|
35
|
+
* <p>To share Refactor Spaces environments with other Amazon Web Services accounts or with Organizations
|
|
36
|
+
* and their OUs, use Resource Access Manager's <code>CreateResourceShare</code> API. See <a href="https://docs.aws.amazon.com/ram/latest/APIReference/API_CreateResourceShare.html">CreateResourceShare</a> in the <i>Amazon Web Services RAM API Reference</i>.</p>
|
|
34
37
|
*/
|
|
35
38
|
export declare class MigrationHubRefactorSpaces extends MigrationHubRefactorSpacesClient {
|
|
36
39
|
/**
|
|
37
40
|
* <p>Creates an Amazon Web Services Migration Hub Refactor Spaces application. The account that owns the environment also owns the
|
|
38
41
|
* applications created inside the environment, regardless of the account that creates the
|
|
39
|
-
* application. Refactor Spaces provisions
|
|
40
|
-
*
|
|
42
|
+
* application. Refactor Spaces provisions an Amazon API Gateway, API Gateway VPC link, and
|
|
43
|
+
* Network Load Balancer for the application proxy inside your account.</p>
|
|
41
44
|
*/
|
|
42
45
|
createApplication(args: CreateApplicationCommandInput, options?: __HttpHandlerOptions): Promise<CreateApplicationCommandOutput>;
|
|
43
46
|
createApplication(args: CreateApplicationCommandInput, cb: (err: any, data?: CreateApplicationCommandOutput) => void): void;
|
|
44
47
|
createApplication(args: CreateApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateApplicationCommandOutput) => void): void;
|
|
45
48
|
/**
|
|
46
|
-
* <p>Creates an Amazon Web Services Migration Hub Refactor Spaces environment. The caller owns the environment resource, and
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
*
|
|
49
|
+
* <p>Creates an Amazon Web Services Migration Hub Refactor Spaces environment. The caller owns the environment resource, and all
|
|
50
|
+
* Refactor Spaces applications, services, and routes created within the environment. They are referred
|
|
51
|
+
* to as the <i>environment owner</i>. The environment owner has cross-account
|
|
52
|
+
* visibility and control of Refactor Spaces resources that are added to the environment by other
|
|
53
|
+
* accounts that the environment is shared with. When creating an environment, Refactor Spaces
|
|
50
54
|
* provisions a transit gateway in your account.</p>
|
|
51
55
|
*/
|
|
52
56
|
createEnvironment(args: CreateEnvironmentCommandInput, options?: __HttpHandlerOptions): Promise<CreateEnvironmentCommandOutput>;
|
|
@@ -70,25 +74,29 @@ export declare class MigrationHubRefactorSpaces extends MigrationHubRefactorSpac
|
|
|
70
74
|
* Refactor Spaces routes traffic over the public internet.</p>
|
|
71
75
|
* </li>
|
|
72
76
|
* <li>
|
|
73
|
-
* <p>If the service has an Lambda function endpoint, then Refactor Spaces
|
|
74
|
-
* the
|
|
75
|
-
*
|
|
77
|
+
* <p>If the service has an Lambda function endpoint, then Refactor Spaces
|
|
78
|
+
* configures the Lambda function's resource policy to allow the application's
|
|
79
|
+
* API Gateway to invoke the function.</p>
|
|
76
80
|
* </li>
|
|
77
81
|
* </ul>
|
|
78
|
-
* <p>A health check is performed on the service when the route is created. If the
|
|
79
|
-
* fails, the route transitions to <code>FAILED</code>, and no traffic is sent to
|
|
80
|
-
*
|
|
81
|
-
*
|
|
82
|
+
* <p>A one-time health check is performed on the service when the route is created. If the
|
|
83
|
+
* health check fails, the route transitions to <code>FAILED</code>, and no traffic is sent to
|
|
84
|
+
* the service.</p>
|
|
85
|
+
* <p>For Lambda functions, the Lambda function state is checked. If the
|
|
86
|
+
* function is not active, the function configuration is updated so that Lambda
|
|
82
87
|
* resources are provisioned. If the Lambda state is <code>Failed</code>, then the
|
|
83
88
|
* route creation fails. For more information, see the <a href="https://docs.aws.amazon.com/lambda/latest/dg/API_GetFunctionConfiguration.html#SSS-GetFunctionConfiguration-response-State">GetFunctionConfiguration's State response parameter</a> in the <i>Lambda Developer Guide</i>.</p>
|
|
84
|
-
* <p>For public URLs, a connection is opened to the public endpoint. If the URL is not
|
|
85
|
-
* the health check fails. For private URLs, a target group is created and the target
|
|
86
|
-
* health check is run.</p>
|
|
89
|
+
* <p>For public URLs, a connection is opened to the public endpoint. If the URL is not
|
|
90
|
+
* reachable, the health check fails. For private URLs, a target group is created and the target
|
|
91
|
+
* group health check is run.</p>
|
|
87
92
|
* <p>The <code>HealthCheckProtocol</code>, <code>HealthCheckPort</code>, and
|
|
88
93
|
* <code>HealthCheckPath</code> are the same protocol, port, and path specified in the URL or
|
|
89
94
|
* health URL, if used. All other settings use the default values, as described in <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/application/target-group-health-checks.html">Health checks
|
|
90
95
|
* for your target groups</a>. The health check is considered successful if at least one
|
|
91
96
|
* target within the target group transitions to a healthy state.</p>
|
|
97
|
+
* <p>Services can have HTTP or HTTPS URL endpoints. For HTTPS URLs, publicly-signed
|
|
98
|
+
* certificates are supported. Private Certificate Authorities (CAs) are permitted only if the
|
|
99
|
+
* CA's domain is publicly resolvable.</p>
|
|
92
100
|
*/
|
|
93
101
|
createRoute(args: CreateRouteCommandInput, options?: __HttpHandlerOptions): Promise<CreateRouteCommandOutput>;
|
|
94
102
|
createRoute(args: CreateRouteCommandInput, cb: (err: any, data?: CreateRouteCommandOutput) => void): void;
|
|
@@ -99,7 +107,7 @@ export declare class MigrationHubRefactorSpaces extends MigrationHubRefactorSpac
|
|
|
99
107
|
* Services have either a URL endpoint in a virtual private cloud (VPC), or a Lambda
|
|
100
108
|
* function endpoint.</p>
|
|
101
109
|
* <important>
|
|
102
|
-
* <p>If an Amazon Web Services
|
|
110
|
+
* <p>If an Amazon Web Services resource is launched in a service VPC, and you want it to be
|
|
103
111
|
* accessible to all of an environment’s services with VPCs and routes, apply the
|
|
104
112
|
* <code>RefactorSpacesSecurityGroup</code> to the resource. Alternatively, to add more
|
|
105
113
|
* cross-account constraints, apply your own security group.</p>
|
|
@@ -184,7 +192,8 @@ export declare class MigrationHubRefactorSpaces extends MigrationHubRefactorSpac
|
|
|
184
192
|
listEnvironments(args: ListEnvironmentsCommandInput, cb: (err: any, data?: ListEnvironmentsCommandOutput) => void): void;
|
|
185
193
|
listEnvironments(args: ListEnvironmentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEnvironmentsCommandOutput) => void): void;
|
|
186
194
|
/**
|
|
187
|
-
* <p>Lists all
|
|
195
|
+
* <p>Lists all Amazon Web Services Migration Hub Refactor Spaces service virtual private clouds (VPCs) that are part of the
|
|
196
|
+
* environment. </p>
|
|
188
197
|
*/
|
|
189
198
|
listEnvironmentVpcs(args: ListEnvironmentVpcsCommandInput, options?: __HttpHandlerOptions): Promise<ListEnvironmentVpcsCommandOutput>;
|
|
190
199
|
listEnvironmentVpcs(args: ListEnvironmentVpcsCommandInput, cb: (err: any, data?: ListEnvironmentVpcsCommandOutput) => void): void;
|
|
@@ -212,7 +221,8 @@ export declare class MigrationHubRefactorSpaces extends MigrationHubRefactorSpac
|
|
|
212
221
|
* <p>Attaches a resource-based permission policy to the Amazon Web Services Migration Hub Refactor Spaces environment. The policy
|
|
213
222
|
* must contain the same actions and condition statements as the
|
|
214
223
|
* <code>arn:aws:ram::aws:permission/AWSRAMDefaultPermissionRefactorSpacesEnvironment</code>
|
|
215
|
-
* permission in Resource Access Manager. The policy must not contain new lines or blank lines.
|
|
224
|
+
* permission in Resource Access Manager. The policy must not contain new lines or blank lines.
|
|
225
|
+
* </p>
|
|
216
226
|
*/
|
|
217
227
|
putResourcePolicy(args: PutResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutResourcePolicyCommandOutput>;
|
|
218
228
|
putResourcePolicy(args: PutResourcePolicyCommandInput, cb: (err: any, data?: PutResourcePolicyCommandOutput) => void): void;
|
|
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { CreateApplicationCommandInput, CreateApplicationCommandOutput } from "./commands/CreateApplicationCommand";
|
|
10
10
|
import { CreateEnvironmentCommandInput, CreateEnvironmentCommandOutput } from "./commands/CreateEnvironmentCommand";
|
|
11
11
|
import { CreateRouteCommandInput, CreateRouteCommandOutput } from "./commands/CreateRouteCommand";
|
|
@@ -51,7 +51,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
51
51
|
* A function that can calculate the length of a request body.
|
|
52
52
|
* @internal
|
|
53
53
|
*/
|
|
54
|
-
bodyLengthChecker?:
|
|
54
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
55
55
|
/**
|
|
56
56
|
* A function that converts a stream into an array of bytes.
|
|
57
57
|
* @internal
|
|
@@ -156,6 +156,9 @@ export interface MigrationHubRefactorSpacesClientResolvedConfig extends Migratio
|
|
|
156
156
|
* request parameters and the response. Alternatively, you can use one of the Amazon Web Services SDKs to
|
|
157
157
|
* access an API that is tailored to the programming language or platform that you're using. For
|
|
158
158
|
* more information, see <a href="http://aws.amazon.com/tools/#SDKs">Amazon Web Services SDKs</a>.</p>
|
|
159
|
+
*
|
|
160
|
+
* <p>To share Refactor Spaces environments with other Amazon Web Services accounts or with Organizations
|
|
161
|
+
* and their OUs, use Resource Access Manager's <code>CreateResourceShare</code> API. See <a href="https://docs.aws.amazon.com/ram/latest/APIReference/API_CreateResourceShare.html">CreateResourceShare</a> in the <i>Amazon Web Services RAM API Reference</i>.</p>
|
|
159
162
|
*/
|
|
160
163
|
export declare class MigrationHubRefactorSpacesClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, MigrationHubRefactorSpacesClientResolvedConfig> {
|
|
161
164
|
/**
|
|
@@ -9,8 +9,8 @@ export interface CreateApplicationCommandOutput extends CreateApplicationRespons
|
|
|
9
9
|
/**
|
|
10
10
|
* <p>Creates an Amazon Web Services Migration Hub Refactor Spaces application. The account that owns the environment also owns the
|
|
11
11
|
* applications created inside the environment, regardless of the account that creates the
|
|
12
|
-
* application. Refactor Spaces provisions
|
|
13
|
-
*
|
|
12
|
+
* application. Refactor Spaces provisions an Amazon API Gateway, API Gateway VPC link, and
|
|
13
|
+
* Network Load Balancer for the application proxy inside your account.</p>
|
|
14
14
|
* @example
|
|
15
15
|
* Use a bare-bones client and the command you need to make an API call.
|
|
16
16
|
* ```javascript
|
|
@@ -7,10 +7,11 @@ export interface CreateEnvironmentCommandInput extends CreateEnvironmentRequest
|
|
|
7
7
|
export interface CreateEnvironmentCommandOutput extends CreateEnvironmentResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Creates an Amazon Web Services Migration Hub Refactor Spaces environment. The caller owns the environment resource, and
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
10
|
+
* <p>Creates an Amazon Web Services Migration Hub Refactor Spaces environment. The caller owns the environment resource, and all
|
|
11
|
+
* Refactor Spaces applications, services, and routes created within the environment. They are referred
|
|
12
|
+
* to as the <i>environment owner</i>. The environment owner has cross-account
|
|
13
|
+
* visibility and control of Refactor Spaces resources that are added to the environment by other
|
|
14
|
+
* accounts that the environment is shared with. When creating an environment, Refactor Spaces
|
|
14
15
|
* provisions a transit gateway in your account.</p>
|
|
15
16
|
* @example
|
|
16
17
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -24,25 +24,29 @@ export interface CreateRouteCommandOutput extends CreateRouteResponse, __Metadat
|
|
|
24
24
|
* Refactor Spaces routes traffic over the public internet.</p>
|
|
25
25
|
* </li>
|
|
26
26
|
* <li>
|
|
27
|
-
* <p>If the service has an Lambda function endpoint, then Refactor Spaces
|
|
28
|
-
* the
|
|
29
|
-
*
|
|
27
|
+
* <p>If the service has an Lambda function endpoint, then Refactor Spaces
|
|
28
|
+
* configures the Lambda function's resource policy to allow the application's
|
|
29
|
+
* API Gateway to invoke the function.</p>
|
|
30
30
|
* </li>
|
|
31
31
|
* </ul>
|
|
32
|
-
* <p>A health check is performed on the service when the route is created. If the
|
|
33
|
-
* fails, the route transitions to <code>FAILED</code>, and no traffic is sent to
|
|
34
|
-
*
|
|
35
|
-
*
|
|
32
|
+
* <p>A one-time health check is performed on the service when the route is created. If the
|
|
33
|
+
* health check fails, the route transitions to <code>FAILED</code>, and no traffic is sent to
|
|
34
|
+
* the service.</p>
|
|
35
|
+
* <p>For Lambda functions, the Lambda function state is checked. If the
|
|
36
|
+
* function is not active, the function configuration is updated so that Lambda
|
|
36
37
|
* resources are provisioned. If the Lambda state is <code>Failed</code>, then the
|
|
37
38
|
* route creation fails. For more information, see the <a href="https://docs.aws.amazon.com/lambda/latest/dg/API_GetFunctionConfiguration.html#SSS-GetFunctionConfiguration-response-State">GetFunctionConfiguration's State response parameter</a> in the <i>Lambda Developer Guide</i>.</p>
|
|
38
|
-
* <p>For public URLs, a connection is opened to the public endpoint. If the URL is not
|
|
39
|
-
* the health check fails. For private URLs, a target group is created and the target
|
|
40
|
-
* health check is run.</p>
|
|
39
|
+
* <p>For public URLs, a connection is opened to the public endpoint. If the URL is not
|
|
40
|
+
* reachable, the health check fails. For private URLs, a target group is created and the target
|
|
41
|
+
* group health check is run.</p>
|
|
41
42
|
* <p>The <code>HealthCheckProtocol</code>, <code>HealthCheckPort</code>, and
|
|
42
43
|
* <code>HealthCheckPath</code> are the same protocol, port, and path specified in the URL or
|
|
43
44
|
* health URL, if used. All other settings use the default values, as described in <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/application/target-group-health-checks.html">Health checks
|
|
44
45
|
* for your target groups</a>. The health check is considered successful if at least one
|
|
45
46
|
* target within the target group transitions to a healthy state.</p>
|
|
47
|
+
* <p>Services can have HTTP or HTTPS URL endpoints. For HTTPS URLs, publicly-signed
|
|
48
|
+
* certificates are supported. Private Certificate Authorities (CAs) are permitted only if the
|
|
49
|
+
* CA's domain is publicly resolvable.</p>
|
|
46
50
|
* @example
|
|
47
51
|
* Use a bare-bones client and the command you need to make an API call.
|
|
48
52
|
* ```javascript
|
|
@@ -12,7 +12,7 @@ export interface CreateServiceCommandOutput extends CreateServiceResponse, __Met
|
|
|
12
12
|
* Services have either a URL endpoint in a virtual private cloud (VPC), or a Lambda
|
|
13
13
|
* function endpoint.</p>
|
|
14
14
|
* <important>
|
|
15
|
-
* <p>If an Amazon Web Services
|
|
15
|
+
* <p>If an Amazon Web Services resource is launched in a service VPC, and you want it to be
|
|
16
16
|
* accessible to all of an environment’s services with VPCs and routes, apply the
|
|
17
17
|
* <code>RefactorSpacesSecurityGroup</code> to the resource. Alternatively, to add more
|
|
18
18
|
* cross-account constraints, apply your own security group.</p>
|
|
@@ -7,7 +7,8 @@ export interface ListEnvironmentVpcsCommandInput extends ListEnvironmentVpcsRequ
|
|
|
7
7
|
export interface ListEnvironmentVpcsCommandOutput extends ListEnvironmentVpcsResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Lists all
|
|
10
|
+
* <p>Lists all Amazon Web Services Migration Hub Refactor Spaces service virtual private clouds (VPCs) that are part of the
|
|
11
|
+
* environment. </p>
|
|
11
12
|
* @example
|
|
12
13
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
14
|
* ```javascript
|
|
@@ -10,7 +10,8 @@ export interface PutResourcePolicyCommandOutput extends PutResourcePolicyRespons
|
|
|
10
10
|
* <p>Attaches a resource-based permission policy to the Amazon Web Services Migration Hub Refactor Spaces environment. The policy
|
|
11
11
|
* must contain the same actions and condition statements as the
|
|
12
12
|
* <code>arn:aws:ram::aws:permission/AWSRAMDefaultPermissionRefactorSpacesEnvironment</code>
|
|
13
|
-
* permission in Resource Access Manager. The policy must not contain new lines or blank lines.
|
|
13
|
+
* permission in Resource Access Manager. The policy must not contain new lines or blank lines.
|
|
14
|
+
* </p>
|
|
14
15
|
* @example
|
|
15
16
|
* Use a bare-bones client and the command you need to make an API call.
|
|
16
17
|
* ```javascript
|
package/dist-types/index.d.ts
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
/**
|
|
3
|
+
* Base exception class for all service exceptions from MigrationHubRefactorSpaces service.
|
|
4
|
+
*/
|
|
5
|
+
export declare class MigrationHubRefactorSpacesServiceException extends __ServiceException {
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
constructor(options: __ServiceExceptionOptions);
|
|
10
|
+
}
|
|
@@ -1,11 +1,16 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { MigrationHubRefactorSpacesServiceException as __BaseException } from "./MigrationHubRefactorSpacesServiceException";
|
|
2
3
|
/**
|
|
3
4
|
* <p>The user does not have sufficient access to perform this action. </p>
|
|
4
5
|
*/
|
|
5
|
-
export
|
|
6
|
-
name: "AccessDeniedException";
|
|
7
|
-
$fault: "client";
|
|
6
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
7
|
+
readonly name: "AccessDeniedException";
|
|
8
|
+
readonly $fault: "client";
|
|
8
9
|
Message: string | undefined;
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
9
14
|
}
|
|
10
15
|
export declare enum ApiGatewayEndpointType {
|
|
11
16
|
PRIVATE = "PRIVATE",
|
|
@@ -32,7 +37,8 @@ export interface ApiGatewayProxyConfig {
|
|
|
32
37
|
*/
|
|
33
38
|
NlbArn?: string;
|
|
34
39
|
/**
|
|
35
|
-
* <p>The name of the Network Load Balancer that is configured by the API Gateway proxy.
|
|
40
|
+
* <p>The name of the Network Load Balancer that is configured by the API Gateway proxy.
|
|
41
|
+
* </p>
|
|
36
42
|
*/
|
|
37
43
|
NlbName?: string;
|
|
38
44
|
/**
|
|
@@ -95,7 +101,8 @@ export interface ApiGatewayProxySummary {
|
|
|
95
101
|
*/
|
|
96
102
|
NlbArn?: string;
|
|
97
103
|
/**
|
|
98
|
-
* <p>The name of the Network Load Balancer that is configured by the API Gateway proxy.
|
|
104
|
+
* <p>The name of the Network Load Balancer that is configured by the API Gateway proxy.
|
|
105
|
+
* </p>
|
|
99
106
|
*/
|
|
100
107
|
NlbName?: string;
|
|
101
108
|
/**
|
|
@@ -204,11 +211,12 @@ export interface ApplicationSummary {
|
|
|
204
211
|
*/
|
|
205
212
|
Name?: string;
|
|
206
213
|
/**
|
|
207
|
-
* <p>
|
|
214
|
+
* <p>The Amazon Resource Name (ARN) of the application. </p>
|
|
208
215
|
*/
|
|
209
216
|
Arn?: string;
|
|
210
217
|
/**
|
|
211
|
-
* <p>The Amazon Web Services account ID of the application owner
|
|
218
|
+
* <p>The Amazon Web Services account ID of the application owner (which is always the same as
|
|
219
|
+
* the environment owner account ID).</p>
|
|
212
220
|
*/
|
|
213
221
|
OwnerAccountId?: string;
|
|
214
222
|
/**
|
|
@@ -267,9 +275,9 @@ export declare namespace ApplicationSummary {
|
|
|
267
275
|
/**
|
|
268
276
|
* <p>Updating or deleting a resource can cause an inconsistent state.</p>
|
|
269
277
|
*/
|
|
270
|
-
export
|
|
271
|
-
name: "ConflictException";
|
|
272
|
-
$fault: "client";
|
|
278
|
+
export declare class ConflictException extends __BaseException {
|
|
279
|
+
readonly name: "ConflictException";
|
|
280
|
+
readonly $fault: "client";
|
|
273
281
|
Message: string | undefined;
|
|
274
282
|
/**
|
|
275
283
|
* <p>The ID of the resource. </p>
|
|
@@ -279,6 +287,10 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
|
|
|
279
287
|
* <p>The type of resource. </p>
|
|
280
288
|
*/
|
|
281
289
|
ResourceType: string | undefined;
|
|
290
|
+
/**
|
|
291
|
+
* @internal
|
|
292
|
+
*/
|
|
293
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
282
294
|
}
|
|
283
295
|
export interface CreateApplicationRequest {
|
|
284
296
|
/**
|
|
@@ -335,7 +347,8 @@ export interface CreateApplicationResponse {
|
|
|
335
347
|
*/
|
|
336
348
|
Arn?: string;
|
|
337
349
|
/**
|
|
338
|
-
* <p>The Amazon Web Services account ID of the application owner
|
|
350
|
+
* <p>The Amazon Web Services account ID of the application owner (which is always the same as
|
|
351
|
+
* the environment owner account ID).</p>
|
|
339
352
|
*/
|
|
340
353
|
OwnerAccountId?: string;
|
|
341
354
|
/**
|
|
@@ -391,17 +404,21 @@ export declare namespace CreateApplicationResponse {
|
|
|
391
404
|
/**
|
|
392
405
|
* <p>An unexpected error occurred while processing the request.</p>
|
|
393
406
|
*/
|
|
394
|
-
export
|
|
395
|
-
name: "InternalServerException";
|
|
396
|
-
$fault: "server";
|
|
407
|
+
export declare class InternalServerException extends __BaseException {
|
|
408
|
+
readonly name: "InternalServerException";
|
|
409
|
+
readonly $fault: "server";
|
|
397
410
|
Message: string | undefined;
|
|
411
|
+
/**
|
|
412
|
+
* @internal
|
|
413
|
+
*/
|
|
414
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
398
415
|
}
|
|
399
416
|
/**
|
|
400
417
|
* <p>The request references a resource that does not exist. </p>
|
|
401
418
|
*/
|
|
402
|
-
export
|
|
403
|
-
name: "ResourceNotFoundException";
|
|
404
|
-
$fault: "client";
|
|
419
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
420
|
+
readonly name: "ResourceNotFoundException";
|
|
421
|
+
readonly $fault: "client";
|
|
405
422
|
Message: string | undefined;
|
|
406
423
|
/**
|
|
407
424
|
* <p>The ID of the resource. </p>
|
|
@@ -411,13 +428,17 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
|
|
|
411
428
|
* <p>The type of resource. </p>
|
|
412
429
|
*/
|
|
413
430
|
ResourceType: string | undefined;
|
|
431
|
+
/**
|
|
432
|
+
* @internal
|
|
433
|
+
*/
|
|
434
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
414
435
|
}
|
|
415
436
|
/**
|
|
416
437
|
* <p>The request would cause a service quota to be exceeded. </p>
|
|
417
438
|
*/
|
|
418
|
-
export
|
|
419
|
-
name: "ServiceQuotaExceededException";
|
|
420
|
-
$fault: "client";
|
|
439
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
440
|
+
readonly name: "ServiceQuotaExceededException";
|
|
441
|
+
readonly $fault: "client";
|
|
421
442
|
Message: string | undefined;
|
|
422
443
|
/**
|
|
423
444
|
* <p>The ID of the resource. </p>
|
|
@@ -437,13 +458,17 @@ export interface ServiceQuotaExceededException extends __SmithyException, $Metad
|
|
|
437
458
|
* exception service code. </p>
|
|
438
459
|
*/
|
|
439
460
|
ServiceCode: string | undefined;
|
|
461
|
+
/**
|
|
462
|
+
* @internal
|
|
463
|
+
*/
|
|
464
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
440
465
|
}
|
|
441
466
|
/**
|
|
442
467
|
* <p>Request was denied because the request was throttled. </p>
|
|
443
468
|
*/
|
|
444
|
-
export
|
|
445
|
-
name: "ThrottlingException";
|
|
446
|
-
$fault: "client";
|
|
469
|
+
export declare class ThrottlingException extends __BaseException {
|
|
470
|
+
readonly name: "ThrottlingException";
|
|
471
|
+
readonly $fault: "client";
|
|
447
472
|
Message: string | undefined;
|
|
448
473
|
/**
|
|
449
474
|
* <p>Service quota requirement to identify originating quota. Reached throttling quota
|
|
@@ -459,14 +484,23 @@ export interface ThrottlingException extends __SmithyException, $MetadataBearer
|
|
|
459
484
|
* <p>The number of seconds to wait before retrying. </p>
|
|
460
485
|
*/
|
|
461
486
|
RetryAfterSeconds?: number;
|
|
487
|
+
/**
|
|
488
|
+
* @internal
|
|
489
|
+
*/
|
|
490
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
462
491
|
}
|
|
463
492
|
/**
|
|
464
|
-
* <p>The input does not satisfy the constraints specified by an Amazon Web Service.
|
|
493
|
+
* <p>The input does not satisfy the constraints specified by an Amazon Web Service.
|
|
494
|
+
* </p>
|
|
465
495
|
*/
|
|
466
|
-
export
|
|
467
|
-
name: "ValidationException";
|
|
468
|
-
$fault: "client";
|
|
496
|
+
export declare class ValidationException extends __BaseException {
|
|
497
|
+
readonly name: "ValidationException";
|
|
498
|
+
readonly $fault: "client";
|
|
469
499
|
Message: string | undefined;
|
|
500
|
+
/**
|
|
501
|
+
* @internal
|
|
502
|
+
*/
|
|
503
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
470
504
|
}
|
|
471
505
|
export declare enum NetworkFabricType {
|
|
472
506
|
TRANSIT_GATEWAY = "TRANSIT_GATEWAY"
|
|
@@ -584,7 +618,8 @@ export interface UriPathRouteInput {
|
|
|
584
618
|
*/
|
|
585
619
|
SourcePath: string | undefined;
|
|
586
620
|
/**
|
|
587
|
-
* <p>Indicates whether traffic is forwarded to this route’s service after the route is created.
|
|
621
|
+
* <p>Indicates whether traffic is forwarded to this route’s service after the route is created.
|
|
622
|
+
* </p>
|
|
588
623
|
*/
|
|
589
624
|
ActivationState: RouteActivationState | string | undefined;
|
|
590
625
|
/**
|
|
@@ -683,7 +718,7 @@ export interface CreateRouteResponse {
|
|
|
683
718
|
*/
|
|
684
719
|
RouteType?: RouteType | string;
|
|
685
720
|
/**
|
|
686
|
-
* <p>The ID of service in which the
|
|
721
|
+
* <p>The ID of service in which the route is created. Traffic that matches this route is
|
|
687
722
|
* forwarded to this service.</p>
|
|
688
723
|
*/
|
|
689
724
|
ServiceId?: string;
|
|
@@ -696,7 +731,7 @@ export interface CreateRouteResponse {
|
|
|
696
731
|
*/
|
|
697
732
|
UriPathRoute?: UriPathRouteInput;
|
|
698
733
|
/**
|
|
699
|
-
* <p>
|
|
734
|
+
* <p>The current state of the route. </p>
|
|
700
735
|
*/
|
|
701
736
|
State?: RouteState | string;
|
|
702
737
|
/**
|
|
@@ -1036,7 +1071,7 @@ export interface DeleteRouteResponse {
|
|
|
1036
1071
|
*/
|
|
1037
1072
|
ServiceId?: string;
|
|
1038
1073
|
/**
|
|
1039
|
-
* <p>
|
|
1074
|
+
* <p>The ID of the application that the route belongs to.</p>
|
|
1040
1075
|
*/
|
|
1041
1076
|
ApplicationId?: string;
|
|
1042
1077
|
/**
|
|
@@ -1116,7 +1151,8 @@ export declare namespace DeleteServiceResponse {
|
|
|
1116
1151
|
const filterSensitiveLog: (obj: DeleteServiceResponse) => any;
|
|
1117
1152
|
}
|
|
1118
1153
|
/**
|
|
1119
|
-
* <p>The summary information for environments as a response to <code>ListEnvironments</code>.
|
|
1154
|
+
* <p>The summary information for environments as a response to <code>ListEnvironments</code>.
|
|
1155
|
+
* </p>
|
|
1120
1156
|
*/
|
|
1121
1157
|
export interface EnvironmentSummary {
|
|
1122
1158
|
/**
|
|
@@ -1242,7 +1278,8 @@ export interface GetApplicationResponse {
|
|
|
1242
1278
|
*/
|
|
1243
1279
|
Arn?: string;
|
|
1244
1280
|
/**
|
|
1245
|
-
* <p>The Amazon Web Services account ID of the application owner
|
|
1281
|
+
* <p>The Amazon Web Services account ID of the application owner (which is always the same as
|
|
1282
|
+
* the environment owner account ID).</p>
|
|
1246
1283
|
*/
|
|
1247
1284
|
OwnerAccountId?: string;
|
|
1248
1285
|
/**
|
|
@@ -1641,10 +1678,14 @@ export declare namespace GetServiceResponse {
|
|
|
1641
1678
|
/**
|
|
1642
1679
|
* <p>The resource policy is not valid.</p>
|
|
1643
1680
|
*/
|
|
1644
|
-
export
|
|
1645
|
-
name: "InvalidResourcePolicyException";
|
|
1646
|
-
$fault: "client";
|
|
1681
|
+
export declare class InvalidResourcePolicyException extends __BaseException {
|
|
1682
|
+
readonly name: "InvalidResourcePolicyException";
|
|
1683
|
+
readonly $fault: "client";
|
|
1647
1684
|
Message: string | undefined;
|
|
1685
|
+
/**
|
|
1686
|
+
* @internal
|
|
1687
|
+
*/
|
|
1688
|
+
constructor(opts: __ExceptionOptionType<InvalidResourcePolicyException, __BaseException>);
|
|
1648
1689
|
}
|
|
1649
1690
|
/**
|
|
1650
1691
|
* <p>The summary for the Lambda endpoint type. </p>
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: MigrationHubRefactorSpacesClient
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: MigrationHubRefactorSpacesClient
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: MigrationHubRefactorSpacesClient
|
|
|
8
8
|
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
9
9
|
apiVersion: string;
|
|
10
10
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
13
13
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
14
14
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { CreateApplicationCommandInput, CreateApplicationCommandOutput } from "./commands/CreateApplicationCommand";
|
|
10
10
|
import { CreateEnvironmentCommandInput, CreateEnvironmentCommandOutput } from "./commands/CreateEnvironmentCommand";
|
|
11
11
|
import { CreateRouteCommandInput, CreateRouteCommandOutput } from "./commands/CreateRouteCommand";
|
|
@@ -39,7 +39,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
39
39
|
|
|
40
40
|
urlParser?: __UrlParser;
|
|
41
41
|
|
|
42
|
-
bodyLengthChecker?:
|
|
42
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
43
43
|
|
|
44
44
|
streamCollector?: __StreamCollector;
|
|
45
45
|
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
|
|
3
|
+
export declare class MigrationHubRefactorSpacesServiceException extends __ServiceException {
|
|
4
|
+
|
|
5
|
+
constructor(options: __ServiceExceptionOptions);
|
|
6
|
+
}
|