@aws-sdk/client-migration-hub-refactor-spaces 3.267.0 → 3.268.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +1 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +1 -0
- package/dist-types/MigrationHubRefactorSpaces.d.ts +4 -2
- package/dist-types/commands/CreateEnvironmentCommand.d.ts +4 -2
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +1 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const
|
|
5
|
-
const a =
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
4
|
+
const q = "fn", r = "argv", s = "ref";
|
|
5
|
+
const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [s]: "Endpoint" }, j = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, k = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, l = {}, m = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsFIPS"] }] }, n = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsDualStack"] }] }, o = [j], p = [k];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [q]: "isSet", [r]: [i] }], type: e, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: p, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ endpoint: { url: "https://refactor-spaces-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: o, type: e, rules: [{ conditions: [m], type: e, rules: [{ endpoint: { url: "https://refactor-spaces-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [n], type: e, rules: [{ endpoint: { url: "https://refactor-spaces.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { endpoint: { url: "https://refactor-spaces.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -169,6 +169,7 @@ class ValidationException extends MigrationHubRefactorSpacesServiceException_1.M
|
|
|
169
169
|
exports.ValidationException = ValidationException;
|
|
170
170
|
var NetworkFabricType;
|
|
171
171
|
(function (NetworkFabricType) {
|
|
172
|
+
NetworkFabricType["NONE"] = "NONE";
|
|
172
173
|
NetworkFabricType["TRANSIT_GATEWAY"] = "TRANSIT_GATEWAY";
|
|
173
174
|
})(NetworkFabricType = exports.NetworkFabricType || (exports.NetworkFabricType = {}));
|
|
174
175
|
var EnvironmentState;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
const a =
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
1
|
+
const q = "fn", r = "argv", s = "ref";
|
|
2
|
+
const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [s]: "Endpoint" }, j = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, k = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, l = {}, m = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsFIPS"] }] }, n = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsDualStack"] }] }, o = [j], p = [k];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [q]: "isSet", [r]: [i] }], type: e, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: p, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ endpoint: { url: "https://refactor-spaces-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: o, type: e, rules: [{ conditions: [m], type: e, rules: [{ endpoint: { url: "https://refactor-spaces-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [n], type: e, rules: [{ endpoint: { url: "https://refactor-spaces.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { endpoint: { url: "https://refactor-spaces.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -158,6 +158,7 @@ export class ValidationException extends __BaseException {
|
|
|
158
158
|
}
|
|
159
159
|
export var NetworkFabricType;
|
|
160
160
|
(function (NetworkFabricType) {
|
|
161
|
+
NetworkFabricType["NONE"] = "NONE";
|
|
161
162
|
NetworkFabricType["TRANSIT_GATEWAY"] = "TRANSIT_GATEWAY";
|
|
162
163
|
})(NetworkFabricType || (NetworkFabricType = {}));
|
|
163
164
|
export var EnvironmentState;
|
|
@@ -49,8 +49,10 @@ export declare class MigrationHubRefactorSpaces extends MigrationHubRefactorSpac
|
|
|
49
49
|
* Refactor Spaces applications, services, and routes created within the environment. They are referred
|
|
50
50
|
* to as the <i>environment owner</i>. The environment owner has cross-account
|
|
51
51
|
* visibility and control of Refactor Spaces resources that are added to the environment by other
|
|
52
|
-
* accounts that the environment is shared with
|
|
53
|
-
*
|
|
52
|
+
* accounts that the environment is shared with.</p>
|
|
53
|
+
* <p>When creating an environment with
|
|
54
|
+
* a network fabric type of <code>TRANSIT_GATEWAY</code>,
|
|
55
|
+
* Refactor Spaces provisions a transit gateway in your account.</p>
|
|
54
56
|
*/
|
|
55
57
|
createEnvironment(args: CreateEnvironmentCommandInput, options?: __HttpHandlerOptions): Promise<CreateEnvironmentCommandOutput>;
|
|
56
58
|
createEnvironment(args: CreateEnvironmentCommandInput, cb: (err: any, data?: CreateEnvironmentCommandOutput) => void): void;
|
|
@@ -12,8 +12,10 @@ export interface CreateEnvironmentCommandOutput extends CreateEnvironmentRespons
|
|
|
12
12
|
* Refactor Spaces applications, services, and routes created within the environment. They are referred
|
|
13
13
|
* to as the <i>environment owner</i>. The environment owner has cross-account
|
|
14
14
|
* visibility and control of Refactor Spaces resources that are added to the environment by other
|
|
15
|
-
* accounts that the environment is shared with
|
|
16
|
-
*
|
|
15
|
+
* accounts that the environment is shared with.</p>
|
|
16
|
+
* <p>When creating an environment with
|
|
17
|
+
* a network fabric type of <code>TRANSIT_GATEWAY</code>,
|
|
18
|
+
* Refactor Spaces provisions a transit gateway in your account.</p>
|
|
17
19
|
* @example
|
|
18
20
|
* Use a bare-bones client and the command you need to make an API call.
|
|
19
21
|
* ```javascript
|
|
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
|
|
|
12
12
|
defaultSigningName: string;
|
|
13
13
|
};
|
|
14
14
|
export interface EndpointParameters extends __EndpointParameters {
|
|
15
|
-
Region
|
|
15
|
+
Region: string;
|
|
16
16
|
UseDualStack?: boolean;
|
|
17
17
|
UseFIPS?: boolean;
|
|
18
18
|
Endpoint?: string;
|
|
@@ -453,6 +453,7 @@ export declare class ValidationException extends __BaseException {
|
|
|
453
453
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
454
454
|
}
|
|
455
455
|
export declare enum NetworkFabricType {
|
|
456
|
+
NONE = "NONE",
|
|
456
457
|
TRANSIT_GATEWAY = "TRANSIT_GATEWAY"
|
|
457
458
|
}
|
|
458
459
|
export interface CreateEnvironmentRequest {
|
|
@@ -27,7 +27,7 @@ export declare const resolveClientEndpointParameters: <T>(
|
|
|
27
27
|
defaultSigningName: string;
|
|
28
28
|
};
|
|
29
29
|
export interface EndpointParameters extends __EndpointParameters {
|
|
30
|
-
Region
|
|
30
|
+
Region: string;
|
|
31
31
|
UseDualStack?: boolean;
|
|
32
32
|
UseFIPS?: boolean;
|
|
33
33
|
Endpoint?: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-migration-hub-refactor-spaces",
|
|
3
3
|
"description": "AWS SDK for JavaScript Migration Hub Refactor Spaces Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.268.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",
|