Skip to content

Commit 7cd0d74

Browse files
author
AWS
committed
AWS Migration Hub Refactor Spaces Update: This SDK update allows for path parameter syntax to be passed to the CreateRoute API. Path parameter syntax require parameters to be enclosed in {} characters. This update also includes a new AppendSourcePath field which lets users forward the source path to the Service URL endpoint.
1 parent 5d20e33 commit 7cd0d74

File tree

2 files changed

+23
-5
lines changed

2 files changed

+23
-5
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS Migration Hub Refactor Spaces",
4+
"contributor": "",
5+
"description": "This SDK update allows for path parameter syntax to be passed to the CreateRoute API. Path parameter syntax require parameters to be enclosed in {} characters. This update also includes a new AppendSourcePath field which lets users forward the source path to the Service URL endpoint."
6+
}

services/migrationhubrefactorspaces/src/main/resources/codegen-resources/service-2.json

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@
552552
"members":{
553553
"EndpointType":{
554554
"shape":"ApiGatewayEndpointType",
555-
"documentation":"<p>The type of endpoint to use for the API Gateway proxy. If no value is specified in the request, the value is set to <code>REGIONAL</code> by default.</p> <p>If the value is set to <code>PRIVATE</code> in the request, this creates a private API endpoint that is isolated from the public internet. The private endpoint can only be accessed by using Amazon Virtual Private Cloud (Amazon VPC) endpoints for Amazon API Gateway that have been granted access. </p>"
555+
"documentation":"<p>The type of endpoint to use for the API Gateway proxy. If no value is specified in the request, the value is set to <code>REGIONAL</code> by default.</p> <p>If the value is set to <code>PRIVATE</code> in the request, this creates a private API endpoint that is isolated from the public internet. The private endpoint can only be accessed by using Amazon Virtual Private Cloud (Amazon VPC) interface endpoints for the Amazon API Gateway that has been granted access. For more information about creating a private connection with Refactor Spaces and interface endpoint (Amazon Web Services PrivateLink) availability, see <a href=\"https://docs.aws.amazon.com/migrationhub-refactor-spaces/latest/userguide/vpc-interface-endpoints.html\">Access Refactor Spaces using an interface endpoint (Amazon Web Services PrivateLink)</a>.</p>"
556556
},
557557
"StageName":{
558558
"shape":"StageName",
@@ -1761,6 +1761,10 @@
17611761
"GetRouteResponse":{
17621762
"type":"structure",
17631763
"members":{
1764+
"AppendSourcePath":{
1765+
"shape":"Boolean",
1766+
"documentation":"<p>If set to <code>true</code>, this option appends the source path to the service URL endpoint.</p>"
1767+
},
17641768
"ApplicationId":{
17651769
"shape":"ApplicationId",
17661770
"documentation":"<p>The ID of the application that the route belongs to. </p>"
@@ -1819,7 +1823,7 @@
18191823
},
18201824
"SourcePath":{
18211825
"shape":"UriPath",
1822-
"documentation":"<p>The path to use to match traffic. Paths must start with <code>/</code> and are relative to the base of the application. </p>"
1826+
"documentation":"<p>This is the path that Refactor Spaces uses to match traffic. Paths must start with <code>/</code> and are relative to 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>"
18231827
},
18241828
"State":{
18251829
"shape":"RouteState",
@@ -2380,6 +2384,10 @@
23802384
"RouteSummary":{
23812385
"type":"structure",
23822386
"members":{
2387+
"AppendSourcePath":{
2388+
"shape":"Boolean",
2389+
"documentation":"<p>If set to <code>true</code>, this option appends the source path to the service URL endpoint.</p>"
2390+
},
23832391
"ApplicationId":{
23842392
"shape":"ApplicationId",
23852393
"documentation":"<p>The unique identifier of the application. </p>"
@@ -2438,7 +2446,7 @@
24382446
},
24392447
"SourcePath":{
24402448
"shape":"UriPath",
2441-
"documentation":"<p>The path to use to match traffic. Paths must start with <code>/</code> and are relative to the base of the application.</p>"
2449+
"documentation":"<p>This is the path that Refactor Spaces uses to match traffic. Paths must start with <code>/</code> and are relative to 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>"
24422450
},
24432451
"State":{
24442452
"shape":"RouteState",
@@ -2786,7 +2794,7 @@
27862794
"type":"string",
27872795
"max":2048,
27882796
"min":1,
2789-
"pattern":"^(/[a-zA-Z0-9._-]+)+$"
2797+
"pattern":"^(/([a-zA-Z0-9._:-]+|\\{[a-zA-Z0-9._:-]+\\}))+$"
27902798
},
27912799
"UriPathRouteInput":{
27922800
"type":"structure",
@@ -2799,6 +2807,10 @@
27992807
"shape":"RouteActivationState",
28002808
"documentation":"<p>If set to <code>ACTIVE</code>, traffic is forwarded to this route’s service after the route is created. </p>"
28012809
},
2810+
"AppendSourcePath":{
2811+
"shape":"Boolean",
2812+
"documentation":"<p>If set to <code>true</code>, this option appends the source path to the service URL endpoint.</p>"
2813+
},
28022814
"IncludeChildPaths":{
28032815
"shape":"Boolean",
28042816
"documentation":"<p>Indicates whether to match all subpaths of the given source path. If this value is <code>false</code>, requests must match the source path exactly before they are forwarded to this route's service. </p>"
@@ -2809,7 +2821,7 @@
28092821
},
28102822
"SourcePath":{
28112823
"shape":"UriPath",
2812-
"documentation":"<p>The path to use to match traffic. Paths must start with <code>/</code> and are relative to the base of the application.</p>"
2824+
"documentation":"<p>This is the path that Refactor Spaces uses to match traffic. Paths must start with <code>/</code> and are relative to 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>"
28132825
}
28142826
},
28152827
"documentation":"<p>The configuration for the URI path route type. </p>"

0 commit comments

Comments
 (0)