@aws-sdk/client-migration-hub-refactor-spaces 3.338.0 → 3.341.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/protocols/Aws_restJson1.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +2 -0
- package/dist-types/commands/CreateRouteCommand.d.ts +2 -0
- package/dist-types/commands/GetRouteCommand.d.ts +1 -0
- package/dist-types/commands/ListRoutesCommand.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +24 -8
- package/dist-types/ts3.4/models/models_0.d.ts +3 -0
- package/package.json +28 -28
|
@@ -1214,6 +1214,7 @@ const de_GetRouteCommand = async (output, context) => {
|
|
|
1214
1214
|
});
|
|
1215
1215
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1216
1216
|
const doc = (0, smithy_client_1.take)(data, {
|
|
1217
|
+
AppendSourcePath: smithy_client_1.expectBoolean,
|
|
1217
1218
|
ApplicationId: smithy_client_1.expectString,
|
|
1218
1219
|
Arn: smithy_client_1.expectString,
|
|
1219
1220
|
CreatedByAccountId: smithy_client_1.expectString,
|
|
@@ -1989,6 +1990,7 @@ const de_RouteSummaries = (output, context) => {
|
|
|
1989
1990
|
};
|
|
1990
1991
|
const de_RouteSummary = (output, context) => {
|
|
1991
1992
|
return (0, smithy_client_1.take)(output, {
|
|
1993
|
+
AppendSourcePath: smithy_client_1.expectBoolean,
|
|
1992
1994
|
ApplicationId: smithy_client_1.expectString,
|
|
1993
1995
|
Arn: smithy_client_1.expectString,
|
|
1994
1996
|
CreatedByAccountId: smithy_client_1.expectString,
|
|
@@ -1175,6 +1175,7 @@ export const de_GetRouteCommand = async (output, context) => {
|
|
|
1175
1175
|
});
|
|
1176
1176
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1177
1177
|
const doc = take(data, {
|
|
1178
|
+
AppendSourcePath: __expectBoolean,
|
|
1178
1179
|
ApplicationId: __expectString,
|
|
1179
1180
|
Arn: __expectString,
|
|
1180
1181
|
CreatedByAccountId: __expectString,
|
|
@@ -1938,6 +1939,7 @@ const de_RouteSummaries = (output, context) => {
|
|
|
1938
1939
|
};
|
|
1939
1940
|
const de_RouteSummary = (output, context) => {
|
|
1940
1941
|
return take(output, {
|
|
1942
|
+
AppendSourcePath: __expectBoolean,
|
|
1941
1943
|
ApplicationId: __expectString,
|
|
1942
1944
|
Arn: __expectString,
|
|
1943
1945
|
CreatedByAccountId: __expectString,
|
|
@@ -116,6 +116,7 @@ export interface CreateRouteCommandOutput extends CreateRouteResponse, __Metadat
|
|
|
116
116
|
* "STRING_VALUE",
|
|
117
117
|
* ],
|
|
118
118
|
* IncludeChildPaths: true || false,
|
|
119
|
+
* AppendSourcePath: true || false,
|
|
119
120
|
* },
|
|
120
121
|
* Tags: { // TagMap
|
|
121
122
|
* "<keys>": "STRING_VALUE",
|
|
@@ -139,6 +140,7 @@ export interface CreateRouteCommandOutput extends CreateRouteResponse, __Metadat
|
|
|
139
140
|
* // "STRING_VALUE",
|
|
140
141
|
* // ],
|
|
141
142
|
* // IncludeChildPaths: true || false,
|
|
143
|
+
* // AppendSourcePath: true || false,
|
|
142
144
|
* // },
|
|
143
145
|
* // State: "STRING_VALUE",
|
|
144
146
|
* // Tags: { // TagMap
|
|
@@ -73,6 +73,7 @@ export interface ListRoutesCommandOutput extends ListRoutesResponse, __MetadataB
|
|
|
73
73
|
* // },
|
|
74
74
|
* // LastUpdatedTime: new Date("TIMESTAMP"),
|
|
75
75
|
* // CreatedTime: new Date("TIMESTAMP"),
|
|
76
|
+
* // AppendSourcePath: true || false,
|
|
76
77
|
* // },
|
|
77
78
|
* // ],
|
|
78
79
|
* // NextToken: "STRING_VALUE",
|
|
@@ -70,8 +70,10 @@ export interface ApiGatewayProxyInput {
|
|
|
70
70
|
* the request, the value is set to <code>REGIONAL</code> by default.</p>
|
|
71
71
|
* <p>If the value is set to <code>PRIVATE</code> in the request, this creates a private API
|
|
72
72
|
* endpoint that is isolated from the public internet. The private endpoint can only be accessed
|
|
73
|
-
* by using Amazon Virtual Private Cloud (Amazon VPC) endpoints for Amazon API Gateway that
|
|
74
|
-
*
|
|
73
|
+
* by using Amazon Virtual Private Cloud (Amazon VPC) interface endpoints for the Amazon API Gateway that has been granted access.
|
|
74
|
+
* For more information about creating a private connection with Refactor Spaces and interface
|
|
75
|
+
* endpoint (Amazon Web Services PrivateLink) availability, see <a href="https://docs.aws.amazon.com/migrationhub-refactor-spaces/latest/userguide/vpc-interface-endpoints.html">Access
|
|
76
|
+
* Refactor Spaces using an interface endpoint (Amazon Web Services PrivateLink)</a>.</p>
|
|
75
77
|
*/
|
|
76
78
|
EndpointType?: ApiGatewayEndpointType | string;
|
|
77
79
|
/**
|
|
@@ -665,8 +667,9 @@ export type HttpMethod = (typeof HttpMethod)[keyof typeof HttpMethod];
|
|
|
665
667
|
*/
|
|
666
668
|
export interface UriPathRouteInput {
|
|
667
669
|
/**
|
|
668
|
-
* <p>
|
|
669
|
-
* the base of the application
|
|
670
|
+
* <p>This is the path that Refactor Spaces uses to match traffic. Paths must start with <code>/</code> and are relative to
|
|
671
|
+
* the base of the application. To use path parameters in the source path, add a variable in curly braces.
|
|
672
|
+
* For example, the resource path \{user\} represents a path parameter called 'user'.</p>
|
|
670
673
|
*/
|
|
671
674
|
SourcePath: string | undefined;
|
|
672
675
|
/**
|
|
@@ -685,6 +688,10 @@ export interface UriPathRouteInput {
|
|
|
685
688
|
* this route's service. </p>
|
|
686
689
|
*/
|
|
687
690
|
IncludeChildPaths?: boolean;
|
|
691
|
+
/**
|
|
692
|
+
* <p>If set to <code>true</code>, this option appends the source path to the service URL endpoint.</p>
|
|
693
|
+
*/
|
|
694
|
+
AppendSourcePath?: boolean;
|
|
688
695
|
}
|
|
689
696
|
/**
|
|
690
697
|
* @public
|
|
@@ -1474,8 +1481,9 @@ export interface GetRouteResponse {
|
|
|
1474
1481
|
*/
|
|
1475
1482
|
EnvironmentId?: string;
|
|
1476
1483
|
/**
|
|
1477
|
-
* <p>
|
|
1478
|
-
* the base of the application.
|
|
1484
|
+
* <p>This is the path that Refactor Spaces uses to match traffic. Paths must start with <code>/</code> and are relative to
|
|
1485
|
+
* the base of the application. To use path parameters in the source path, add a variable in curly braces.
|
|
1486
|
+
* For example, the resource path \{user\} represents a path parameter called 'user'.</p>
|
|
1479
1487
|
*/
|
|
1480
1488
|
SourcePath?: string;
|
|
1481
1489
|
/**
|
|
@@ -1513,6 +1521,10 @@ export interface GetRouteResponse {
|
|
|
1513
1521
|
* <p>The timestamp of when the route is created. </p>
|
|
1514
1522
|
*/
|
|
1515
1523
|
CreatedTime?: Date;
|
|
1524
|
+
/**
|
|
1525
|
+
* <p>If set to <code>true</code>, this option appends the source path to the service URL endpoint.</p>
|
|
1526
|
+
*/
|
|
1527
|
+
AppendSourcePath?: boolean;
|
|
1516
1528
|
}
|
|
1517
1529
|
/**
|
|
1518
1530
|
* @public
|
|
@@ -1804,8 +1816,8 @@ export interface RouteSummary {
|
|
|
1804
1816
|
*/
|
|
1805
1817
|
EnvironmentId?: string;
|
|
1806
1818
|
/**
|
|
1807
|
-
* <p>
|
|
1808
|
-
* the base of the application.</p>
|
|
1819
|
+
* <p>This is the path that Refactor Spaces uses to match traffic. Paths must start with <code>/</code> and are relative to
|
|
1820
|
+
* the base of the application. To use path parameters in the source path, add a variable in curly braces. For example, the resource path \{user\} represents a path parameter called 'user'.</p>
|
|
1809
1821
|
*/
|
|
1810
1822
|
SourcePath?: string;
|
|
1811
1823
|
/**
|
|
@@ -1843,6 +1855,10 @@ export interface RouteSummary {
|
|
|
1843
1855
|
* <p>A timestamp that indicates when the route is created. </p>
|
|
1844
1856
|
*/
|
|
1845
1857
|
CreatedTime?: Date;
|
|
1858
|
+
/**
|
|
1859
|
+
* <p>If set to <code>true</code>, this option appends the source path to the service URL endpoint.</p>
|
|
1860
|
+
*/
|
|
1861
|
+
AppendSourcePath?: boolean;
|
|
1846
1862
|
}
|
|
1847
1863
|
/**
|
|
1848
1864
|
* @public
|
|
@@ -254,6 +254,7 @@ export interface UriPathRouteInput {
|
|
|
254
254
|
ActivationState: RouteActivationState | string | undefined;
|
|
255
255
|
Methods?: (HttpMethod | string)[];
|
|
256
256
|
IncludeChildPaths?: boolean;
|
|
257
|
+
AppendSourcePath?: boolean;
|
|
257
258
|
}
|
|
258
259
|
export interface CreateRouteRequest {
|
|
259
260
|
EnvironmentIdentifier: string | undefined;
|
|
@@ -480,6 +481,7 @@ export interface GetRouteResponse {
|
|
|
480
481
|
Error?: ErrorResponse;
|
|
481
482
|
LastUpdatedTime?: Date;
|
|
482
483
|
CreatedTime?: Date;
|
|
484
|
+
AppendSourcePath?: boolean;
|
|
483
485
|
}
|
|
484
486
|
export interface GetServiceRequest {
|
|
485
487
|
EnvironmentIdentifier: string | undefined;
|
|
@@ -573,6 +575,7 @@ export interface RouteSummary {
|
|
|
573
575
|
Error?: ErrorResponse;
|
|
574
576
|
LastUpdatedTime?: Date;
|
|
575
577
|
CreatedTime?: Date;
|
|
578
|
+
AppendSourcePath?: boolean;
|
|
576
579
|
}
|
|
577
580
|
export interface ListRoutesResponse {
|
|
578
581
|
RouteSummaryList?: RouteSummary[];
|
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.341.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",
|
|
@@ -21,36 +21,36 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.341.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.341.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.341.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.341.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.341.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.341.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.341.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.341.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.341.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.341.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.341.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.341.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.341.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.341.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.341.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.341.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.341.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.341.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.341.0",
|
|
43
|
+
"@aws-sdk/types": "3.341.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.341.0",
|
|
45
45
|
"@aws-sdk/util-base64": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-retry": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.341.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.341.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.341.0",
|
|
51
|
+
"@aws-sdk/util-retry": "3.341.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.341.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.341.0",
|
|
54
54
|
"@aws-sdk/util-utf8": "3.310.0",
|
|
55
55
|
"@smithy/protocol-http": "^1.0.1",
|
|
56
56
|
"@smithy/types": "^1.0.0",
|