@aws-sdk/client-migration-hub-refactor-spaces 3.338.0 → 3.340.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.
@@ -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
@@ -70,6 +70,7 @@ export interface GetRouteCommandOutput extends GetRouteResponse, __MetadataBeare
70
70
  * // },
71
71
  * // LastUpdatedTime: new Date("TIMESTAMP"),
72
72
  * // CreatedTime: new Date("TIMESTAMP"),
73
+ * // AppendSourcePath: true || false,
73
74
  * // };
74
75
  *
75
76
  * ```
@@ -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
- * have been granted access. </p>
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>The path to use to match traffic. Paths must start with <code>/</code> and are relative to
669
- * the base of the application.</p>
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>The path to use to match traffic. Paths must start with <code>/</code> and are relative to
1478
- * the base of the application. </p>
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>The path to use to match traffic. Paths must start with <code>/</code> and are relative to
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.338.0",
4
+ "version": "3.340.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",