aws-sdk-migrationhubrefactorspaces 1.11.0 → 1.13.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cc18d710ef9cc0a460878db5bfa66c04e9f70bc926c46ec8883177c90d8de32a
4
- data.tar.gz: 83190ec30f992ca96b71ec3759ffe25760a4b70f9cd030f3daaac8027e19e789
3
+ metadata.gz: 56d19e61b896462ea8dc20e8297bf26cf009b5e35972c0f68f4bfaf0db2f9b23
4
+ data.tar.gz: 97fd06fc19ed3e736eae702147807eddce82617a28ebdfcdb18e373279a3a8a9
5
5
  SHA512:
6
- metadata.gz: 11db53b35abd93924b44e438edb4151abb0f41090f08572572e0d6f7c003ad1baad3b4aaff383ca9469f2065981c1dccdec77a0375cc2a6b1ae53f1f0d8dc543
7
- data.tar.gz: 24876314599149cb4a265c896f467964b21d83b3c3464aa4bcde4d3158379d39c0ea0299a7d3ce6955f345efb93a1fb5b7082b89a74d8dc89ccd551395563d6c
6
+ metadata.gz: 140a3bf3f043bab721c4016a7fdd745d9e52b1398a868ef76a98ba6ab2f2a6f6cdff9d256f0a577c997ff6eeebff4ac3c79386ce9e0a38152c7313846e0a6902
7
+ data.tar.gz: e47878874f3550cfad3ea9f537a45787514e5f344d371ddef0a4e2661d8ab8a843aa0092507e44c849cdd1167f034b46de07d00ceba6564a7d029a6b9c6db7b7
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.13.0 (2023-05-25)
5
+ ------------------
6
+
7
+ * Feature - 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.
8
+
9
+ 1.12.0 (2023-04-14)
10
+ ------------------
11
+
12
+ * Feature - Doc only update for Refactor Spaces environments without network bridge feature.
13
+
4
14
  1.11.0 (2023-02-09)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.11.0
1
+ 1.13.0
@@ -375,6 +375,19 @@ module Aws::MigrationHubRefactorSpaces
375
375
  # Gateway, API Gateway VPC link, and Network Load Balancer for the
376
376
  # application proxy inside your account.
377
377
  #
378
+ # In environments created with a
379
+ # [CreateEnvironment:NetworkFabricType][1] of `NONE` you need to
380
+ # configure [ VPC to VPC connectivity][2] between your service VPC and
381
+ # the application proxy VPC to route traffic through the application
382
+ # proxy to a service with a private URL endpoint. For more information,
383
+ # see [ Create an application][3] in the *Refactor Spaces User Guide*.
384
+ #
385
+ #
386
+ #
387
+ # [1]: https://docs.aws.amazon.com/migrationhub-refactor-spaces/latest/APIReference/API_CreateEnvironment.html#migrationhubrefactorspaces-CreateEnvironment-request-NetworkFabricType
388
+ # [2]: https://docs.aws.amazon.com/whitepapers/latest/aws-vpc-connectivity-options/amazon-vpc-to-amazon-vpc-connectivity-options.html
389
+ # [3]: https://docs.aws.amazon.com/migrationhub-refactor-spaces/latest/userguide/getting-started-create-application.html
390
+ #
378
391
  # @option params [Types::ApiGatewayProxyInput] :api_gateway_proxy
379
392
  # A wrapper object holding the API Gateway endpoint type and stage name
380
393
  # for the proxy.
@@ -471,9 +484,18 @@ module Aws::MigrationHubRefactorSpaces
471
484
  # Spaces resources that are added to the environment by other accounts
472
485
  # that the environment is shared with.
473
486
  #
474
- # When creating an environment with a network fabric type of
475
- # `TRANSIT_GATEWAY`, Refactor Spaces provisions a transit gateway in
476
- # your account.
487
+ # When creating an environment with a
488
+ # [CreateEnvironment:NetworkFabricType][1] of `TRANSIT_GATEWAY`,
489
+ # Refactor Spaces provisions a transit gateway to enable services in
490
+ # VPCs to communicate directly across accounts. If
491
+ # [CreateEnvironment:NetworkFabricType][1] is `NONE`, Refactor Spaces
492
+ # does not create a transit gateway and you must use your network
493
+ # infrastructure to route traffic to services with private URL
494
+ # endpoints.
495
+ #
496
+ #
497
+ #
498
+ # [1]: https://docs.aws.amazon.com/migrationhub-refactor-spaces/latest/APIReference/API_CreateEnvironment.html#migrationhubrefactorspaces-CreateEnvironment-request-NetworkFabricType
477
499
  #
478
500
  # @option params [String] :client_token
479
501
  # A unique, case-sensitive identifier that you provide to ensure the
@@ -560,62 +582,88 @@ module Aws::MigrationHubRefactorSpaces
560
582
  # When you create a route, Refactor Spaces configures the Amazon API
561
583
  # Gateway to send traffic to the target service as follows:
562
584
  #
563
- # * If the service has a URL endpoint, and the endpoint resolves to a
585
+ # * **URL Endpoints**
586
+ #
587
+ # If the service has a URL endpoint, and the endpoint resolves to a
564
588
  # private IP address, Refactor Spaces routes traffic using the API
565
- # Gateway VPC link.
589
+ # Gateway VPC link. If a service endpoint resolves to a public IP
590
+ # address, Refactor Spaces routes traffic over the public internet.
591
+ # Services can have HTTP or HTTPS URL endpoints. For HTTPS URLs,
592
+ # publicly-signed certificates are supported. Private Certificate
593
+ # Authorities (CAs) are permitted only if the CA's domain is also
594
+ # publicly resolvable.
595
+ #
596
+ # Refactor Spaces automatically resolves the public Domain Name System
597
+ # (DNS) names that are set in `CreateService:UrlEndpoint `when you
598
+ # create a service. The DNS names resolve when the DNS time-to-live
599
+ # (TTL) expires, or every 60 seconds for TTLs less than 60 seconds.
600
+ # This periodic DNS resolution ensures that the route configuration
601
+ # remains up-to-date.
602
+ #
603
+ #
604
+ #
605
+ # **One-time health check**
566
606
  #
567
- # * If the service has a URL endpoint, and the endpoint resolves to a
568
- # public IP address, Refactor Spaces routes traffic over the public
569
- # internet.
607
+ # A one-time health check is performed on the service when either the
608
+ # route is updated from inactive to active, or when it is created with
609
+ # an active state. If the health check fails, the route transitions
610
+ # the route state to `FAILED`, an error code of
611
+ # `SERVICE_ENDPOINT_HEALTH_CHECK_FAILURE` is provided, and no traffic
612
+ # is sent to the service.
570
613
  #
571
- # * If the service has an Lambda function endpoint, then Refactor Spaces
614
+ # For private URLs, a target group is created on the Network Load
615
+ # Balancer and the load balancer target group runs default target
616
+ # health checks. By default, the health check is run against the
617
+ # service endpoint URL. Optionally, the health check can be performed
618
+ # against a different protocol, port, and/or path using the
619
+ # [CreateService:UrlEndpoint][1] parameter. All other health check
620
+ # settings for the load balancer use the default values described in
621
+ # the [Health checks for your target groups][2] in the *Elastic Load
622
+ # Balancing guide*. The health check is considered successful if at
623
+ # least one target within the target group transitions to a healthy
624
+ # state.
625
+ #
626
+ #
627
+ #
628
+ # * **Lambda function endpoints**
629
+ #
630
+ # If the service has an Lambda function endpoint, then Refactor Spaces
572
631
  # configures the Lambda function's resource policy to allow the
573
632
  # application's API Gateway to invoke the function.
574
633
  #
575
- # A one-time health check is performed on the service when either the
576
- # route is updated from inactive to active, or when it is created with
577
- # an active state. If the health check fails, the route transitions the
578
- # route state to `FAILED`, an error code of
579
- # `SERVICE_ENDPOINT_HEALTH_CHECK_FAILURE` is provided, and no traffic is
580
- # sent to the service.
581
- #
582
- # For Lambda functions, the Lambda function state is checked. If the
583
- # function is not active, the function configuration is updated so that
584
- # Lambda resources are provisioned. If the Lambda state is `Failed`,
585
- # then the route creation fails. For more information, see the
586
- # [GetFunctionConfiguration's State response parameter][1] in the
587
- # *Lambda Developer Guide*.
588
- #
589
- # For Lambda endpoints, a check is performed to determine that a Lambda
590
- # function with the specified ARN exists. If it does not exist, the
591
- # health check fails. For public URLs, a connection is opened to the
592
- # public endpoint. If the URL is not reachable, the health check fails.
593
- #
594
- # Refactor Spaces automatically resolves the public Domain Name System
595
- # (DNS) names that are set in CreateServiceRequest$UrlEndpoint when you
596
- # create a service. The DNS names resolve when the DNS time-to-live
597
- # (TTL) expires, or every 60 seconds for TTLs less than 60 seconds. This
598
- # periodic DNS resolution ensures that the route configuration remains
599
- # up-to-date.
600
- #
601
- # For private URLS, a target group is created on the Elastic Load
602
- # Balancing and the target group health check is run. The
603
- # `HealthCheckProtocol`, `HealthCheckPort`, and `HealthCheckPath` are
604
- # the same protocol, port, and path specified in the URL or health URL,
605
- # if used. All other settings use the default values, as described in
606
- # [Health checks for your target groups][2]. The health check is
607
- # considered successful if at least one target within the target group
608
- # transitions to a healthy state.
609
- #
610
- # Services can have HTTP or HTTPS URL endpoints. For HTTPS URLs,
611
- # publicly-signed certificates are supported. Private Certificate
612
- # Authorities (CAs) are permitted only if the CA's domain is also
613
- # publicly resolvable.
614
- #
615
- #
616
- #
617
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/API_GetFunctionConfiguration.html#SSS-GetFunctionConfiguration-response-State
634
+ # The Lambda function state is checked. If the function is not active,
635
+ # the function configuration is updated so that Lambda resources are
636
+ # provisioned. If the Lambda state is `Failed`, then the route
637
+ # creation fails. For more information, see the
638
+ # [GetFunctionConfiguration's State response parameter][3] in the
639
+ # *Lambda Developer Guide*.
640
+ #
641
+ # A check is performed to determine that a Lambda function with the
642
+ # specified ARN exists. If it does not exist, the health check fails.
643
+ # For public URLs, a connection is opened to the public endpoint. If
644
+ # the URL is not reachable, the health check fails.
645
+ #
646
+ # **Environments without a network bridge**
647
+ #
648
+ # When you create environments without a network bridge
649
+ # ([CreateEnvironment:NetworkFabricType][4] is `NONE)` and you use your
650
+ # own networking infrastructure, you need to configure [VPC to VPC
651
+ # connectivity][5] between your network and the application proxy VPC.
652
+ # Route creation from the application proxy to service endpoints will
653
+ # fail if your network is not configured to connect to the application
654
+ # proxy VPC. For more information, see [ Create a route][6] in the
655
+ # *Refactor Spaces User Guide*.
656
+ #
657
+ #
658
+ #
659
+ #
660
+ #
661
+ # [1]: https://docs.aws.amazon.com/migrationhub-refactor-spaces/latest/APIReference/API_CreateService.html#migrationhubrefactorspaces-CreateService-request-UrlEndpoint
618
662
  # [2]: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/target-group-health-checks.html
663
+ # [3]: https://docs.aws.amazon.com/lambda/latest/dg/API_GetFunctionConfiguration.html#SSS-GetFunctionConfiguration-response-State
664
+ # [4]: https://docs.aws.amazon.com/migrationhub-refactor-spaces/latest/APIReference/API_CreateEnvironment.html#migrationhubrefactorspaces-CreateEnvironment-request-NetworkFabricType
665
+ # [5]: https://docs.aws.amazon.com/whitepapers/latest/aws-vpc-connectivity-options/amazon-vpc-to-amazon-vpc-connectivity-options.html
666
+ # [6]: https://docs.aws.amazon.com/migrationhub-refactor-spaces/latest/userguide/getting-started-create-role.html
619
667
  #
620
668
  # @option params [required, String] :application_identifier
621
669
  # The ID of the application within which the route is being created.
@@ -682,6 +730,7 @@ module Aws::MigrationHubRefactorSpaces
682
730
  # },
683
731
  # uri_path_route: {
684
732
  # activation_state: "ACTIVE", # required, accepts ACTIVE, INACTIVE
733
+ # append_source_path: false,
685
734
  # include_child_paths: false,
686
735
  # methods: ["DELETE"], # accepts DELETE, GET, HEAD, OPTIONS, PATCH, POST, PUT
687
736
  # source_path: "UriPath", # required
@@ -703,6 +752,7 @@ module Aws::MigrationHubRefactorSpaces
703
752
  # resp.tags #=> Hash
704
753
  # resp.tags["TagMapKeyString"] #=> String
705
754
  # resp.uri_path_route.activation_state #=> String, one of "ACTIVE", "INACTIVE"
755
+ # resp.uri_path_route.append_source_path #=> Boolean
706
756
  # resp.uri_path_route.include_child_paths #=> Boolean
707
757
  # resp.uri_path_route.methods #=> Array
708
758
  # resp.uri_path_route.methods[0] #=> String, one of "DELETE", "GET", "HEAD", "OPTIONS", "PATCH", "POST", "PUT"
@@ -1216,6 +1266,7 @@ module Aws::MigrationHubRefactorSpaces
1216
1266
  #
1217
1267
  # @return [Types::GetRouteResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1218
1268
  #
1269
+ # * {Types::GetRouteResponse#append_source_path #append_source_path} => Boolean
1219
1270
  # * {Types::GetRouteResponse#application_id #application_id} => String
1220
1271
  # * {Types::GetRouteResponse#arn #arn} => String
1221
1272
  # * {Types::GetRouteResponse#created_by_account_id #created_by_account_id} => String
@@ -1244,6 +1295,7 @@ module Aws::MigrationHubRefactorSpaces
1244
1295
  #
1245
1296
  # @example Response structure
1246
1297
  #
1298
+ # resp.append_source_path #=> Boolean
1247
1299
  # resp.application_id #=> String
1248
1300
  # resp.arn #=> String
1249
1301
  # resp.created_by_account_id #=> String
@@ -1572,6 +1624,7 @@ module Aws::MigrationHubRefactorSpaces
1572
1624
  #
1573
1625
  # resp.next_token #=> String
1574
1626
  # resp.route_summary_list #=> Array
1627
+ # resp.route_summary_list[0].append_source_path #=> Boolean
1575
1628
  # resp.route_summary_list[0].application_id #=> String
1576
1629
  # resp.route_summary_list[0].arn #=> String
1577
1630
  # resp.route_summary_list[0].created_by_account_id #=> String
@@ -1874,7 +1927,7 @@ module Aws::MigrationHubRefactorSpaces
1874
1927
  params: params,
1875
1928
  config: config)
1876
1929
  context[:gem_name] = 'aws-sdk-migrationhubrefactorspaces'
1877
- context[:gem_version] = '1.11.0'
1930
+ context[:gem_version] = '1.13.0'
1878
1931
  Seahorse::Client::Request.new(handlers, context)
1879
1932
  end
1880
1933
 
@@ -440,6 +440,7 @@ module Aws::MigrationHubRefactorSpaces
440
440
  GetRouteRequest.add_member(:route_identifier, Shapes::ShapeRef.new(shape: RouteId, required: true, location: "uri", location_name: "RouteIdentifier"))
441
441
  GetRouteRequest.struct_class = Types::GetRouteRequest
442
442
 
443
+ GetRouteResponse.add_member(:append_source_path, Shapes::ShapeRef.new(shape: Boolean, location_name: "AppendSourcePath"))
443
444
  GetRouteResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, location_name: "ApplicationId"))
444
445
  GetRouteResponse.add_member(:arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "Arn"))
445
446
  GetRouteResponse.add_member(:created_by_account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "CreatedByAccountId"))
@@ -568,6 +569,7 @@ module Aws::MigrationHubRefactorSpaces
568
569
 
569
570
  RouteSummaries.member = Shapes::ShapeRef.new(shape: RouteSummary)
570
571
 
572
+ RouteSummary.add_member(:append_source_path, Shapes::ShapeRef.new(shape: Boolean, location_name: "AppendSourcePath"))
571
573
  RouteSummary.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, location_name: "ApplicationId"))
572
574
  RouteSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "Arn"))
573
575
  RouteSummary.add_member(:created_by_account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "CreatedByAccountId"))
@@ -653,6 +655,7 @@ module Aws::MigrationHubRefactorSpaces
653
655
  UpdateRouteResponse.struct_class = Types::UpdateRouteResponse
654
656
 
655
657
  UriPathRouteInput.add_member(:activation_state, Shapes::ShapeRef.new(shape: RouteActivationState, required: true, location_name: "ActivationState"))
658
+ UriPathRouteInput.add_member(:append_source_path, Shapes::ShapeRef.new(shape: Boolean, location_name: "AppendSourcePath"))
656
659
  UriPathRouteInput.add_member(:include_child_paths, Shapes::ShapeRef.new(shape: Boolean, location_name: "IncludeChildPaths"))
657
660
  UriPathRouteInput.add_member(:methods, Shapes::ShapeRef.new(shape: HttpMethods, location_name: "Methods"))
658
661
  UriPathRouteInput.add_member(:source_path, Shapes::ShapeRef.new(shape: UriPath, required: true, location_name: "SourcePath"))
@@ -50,9 +50,6 @@ module Aws::MigrationHubRefactorSpaces
50
50
 
51
51
  def initialize(options = {})
52
52
  self[:region] = options[:region]
53
- if self[:region].nil?
54
- raise ArgumentError, "Missing required EndpointParameter: :region"
55
- end
56
53
  self[:use_dual_stack] = options[:use_dual_stack]
57
54
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
58
55
  if self[:use_dual_stack].nil?
@@ -14,36 +14,39 @@ module Aws::MigrationHubRefactorSpaces
14
14
  use_dual_stack = parameters.use_dual_stack
15
15
  use_fips = parameters.use_fips
16
16
  endpoint = parameters.endpoint
17
- if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
- if Aws::Endpoints::Matchers.set?(endpoint)
19
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
- raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
- end
22
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
- raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
- end
25
- return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
- end
27
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
- return Aws::Endpoints::Endpoint.new(url: "https://refactor-spaces-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
- end
31
- raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
- end
17
+ if Aws::Endpoints::Matchers.set?(endpoint)
33
18
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
- return Aws::Endpoints::Endpoint.new(url: "https://refactor-spaces-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
- end
37
- raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
19
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
38
20
  end
39
21
  if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
40
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
- return Aws::Endpoints::Endpoint.new(url: "https://refactor-spaces.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
22
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
+ end
24
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
25
+ end
26
+ if Aws::Endpoints::Matchers.set?(region)
27
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
29
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
30
+ return Aws::Endpoints::Endpoint.new(url: "https://refactor-spaces-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
31
+ end
32
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
+ end
34
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
36
+ return Aws::Endpoints::Endpoint.new(url: "https://refactor-spaces-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
+ end
38
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
39
+ end
40
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
41
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
42
+ return Aws::Endpoints::Endpoint.new(url: "https://refactor-spaces.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
43
+ end
44
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
42
45
  end
43
- raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
46
+ return Aws::Endpoints::Endpoint.new(url: "https://refactor-spaces.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
44
47
  end
45
- return Aws::Endpoints::Endpoint.new(url: "https://refactor-spaces.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
46
48
  end
49
+ raise ArgumentError, "Invalid Configuration: Missing Region"
47
50
  raise ArgumentError, 'No endpoint could be resolved'
48
51
 
49
52
  end
@@ -79,8 +79,16 @@ module Aws::MigrationHubRefactorSpaces
79
79
  # If the value is set to `PRIVATE` in the request, this creates a
80
80
  # private API endpoint that is isolated from the public internet. The
81
81
  # private endpoint can only be accessed by using Amazon Virtual
82
- # Private Cloud (Amazon VPC) endpoints for Amazon API Gateway that
83
- # have been granted access.
82
+ # Private Cloud (Amazon VPC) interface endpoints for the Amazon API
83
+ # Gateway that has been granted access. For more information about
84
+ # creating a private connection with Refactor Spaces and interface
85
+ # endpoint (Amazon Web Services PrivateLink) availability, see [Access
86
+ # Refactor Spaces using an interface endpoint (Amazon Web Services
87
+ # PrivateLink)][1].
88
+ #
89
+ #
90
+ #
91
+ # [1]: https://docs.aws.amazon.com/migrationhub-refactor-spaces/latest/userguide/vpc-interface-endpoints.html
84
92
  # @return [String]
85
93
  #
86
94
  # @!attribute [rw] stage_name
@@ -1077,7 +1085,7 @@ module Aws::MigrationHubRefactorSpaces
1077
1085
  # @return [Hash<String,String>]
1078
1086
  #
1079
1087
  # @!attribute [rw] transit_gateway_id
1080
- # The ID of the transit gateway set up by the environment.
1088
+ # The ID of the Transit Gateway set up by the environment.
1081
1089
  # @return [String]
1082
1090
  #
1083
1091
  # @see http://docs.aws.amazon.com/goto/WebAPI/migration-hub-refactor-spaces-2021-10-26/EnvironmentSummary AWS API Documentation
@@ -1343,7 +1351,8 @@ module Aws::MigrationHubRefactorSpaces
1343
1351
  # @return [Hash<String,String>]
1344
1352
  #
1345
1353
  # @!attribute [rw] transit_gateway_id
1346
- # The ID of the transit gateway set up by the environment.
1354
+ # The ID of the Transit Gateway set up by the environment, if
1355
+ # applicable.
1347
1356
  # @return [String]
1348
1357
  #
1349
1358
  # @see http://docs.aws.amazon.com/goto/WebAPI/migration-hub-refactor-spaces-2021-10-26/GetEnvironmentResponse AWS API Documentation
@@ -1413,6 +1422,11 @@ module Aws::MigrationHubRefactorSpaces
1413
1422
  include Aws::Structure
1414
1423
  end
1415
1424
 
1425
+ # @!attribute [rw] append_source_path
1426
+ # If set to `true`, this option appends the source path to the service
1427
+ # URL endpoint.
1428
+ # @return [Boolean]
1429
+ #
1416
1430
  # @!attribute [rw] application_id
1417
1431
  # The ID of the application that the route belongs to.
1418
1432
  # @return [String]
@@ -1464,11 +1478,11 @@ module Aws::MigrationHubRefactorSpaces
1464
1478
  # @!attribute [rw] route_id
1465
1479
  # The unique identifier of the route.
1466
1480
  #
1467
- # **DEFAULT**\: All traffic that does not match another route is
1481
+ # **DEFAULT**: All traffic that does not match another route is
1468
1482
  # forwarded to the default route. Applications must have a default
1469
1483
  # route before any other routes can be created.
1470
1484
  #
1471
- # **URI\_PATH**\: A route that is based on a URI path.
1485
+ # **URI\_PATH**: A route that is based on a URI path.
1472
1486
  # @return [String]
1473
1487
  #
1474
1488
  # @!attribute [rw] route_type
@@ -1480,8 +1494,11 @@ module Aws::MigrationHubRefactorSpaces
1480
1494
  # @return [String]
1481
1495
  #
1482
1496
  # @!attribute [rw] source_path
1483
- # The path to use to match traffic. Paths must start with `/` and are
1484
- # relative to the base of the application.
1497
+ # This is the path that Refactor Spaces uses to match traffic. Paths
1498
+ # must start with `/` and are relative to the base of the application.
1499
+ # To use path parameters in the source path, add a variable in curly
1500
+ # braces. For example, the resource path \\\{user\\} represents a path
1501
+ # parameter called 'user'.
1485
1502
  # @return [String]
1486
1503
  #
1487
1504
  # @!attribute [rw] state
@@ -1497,6 +1514,7 @@ module Aws::MigrationHubRefactorSpaces
1497
1514
  # @see http://docs.aws.amazon.com/goto/WebAPI/migration-hub-refactor-spaces-2021-10-26/GetRouteResponse AWS API Documentation
1498
1515
  #
1499
1516
  class GetRouteResponse < Struct.new(
1517
+ :append_source_path,
1500
1518
  :application_id,
1501
1519
  :arn,
1502
1520
  :created_by_account_id,
@@ -1991,6 +2009,11 @@ module Aws::MigrationHubRefactorSpaces
1991
2009
 
1992
2010
  # The summary information for the routes as a response to `ListRoutes`.
1993
2011
  #
2012
+ # @!attribute [rw] append_source_path
2013
+ # If set to `true`, this option appends the source path to the service
2014
+ # URL endpoint.
2015
+ # @return [Boolean]
2016
+ #
1994
2017
  # @!attribute [rw] application_id
1995
2018
  # The unique identifier of the application.
1996
2019
  # @return [String]
@@ -2052,8 +2075,11 @@ module Aws::MigrationHubRefactorSpaces
2052
2075
  # @return [String]
2053
2076
  #
2054
2077
  # @!attribute [rw] source_path
2055
- # The path to use to match traffic. Paths must start with `/` and are
2056
- # relative to the base of the application.
2078
+ # This is the path that Refactor Spaces uses to match traffic. Paths
2079
+ # must start with `/` and are relative to the base of the application.
2080
+ # To use path parameters in the source path, add a variable in curly
2081
+ # braces. For example, the resource path \\\{user\\} represents a path
2082
+ # parameter called 'user'.
2057
2083
  # @return [String]
2058
2084
  #
2059
2085
  # @!attribute [rw] state
@@ -2067,6 +2093,7 @@ module Aws::MigrationHubRefactorSpaces
2067
2093
  # @see http://docs.aws.amazon.com/goto/WebAPI/migration-hub-refactor-spaces-2021-10-26/RouteSummary AWS API Documentation
2068
2094
  #
2069
2095
  class RouteSummary < Struct.new(
2096
+ :append_source_path,
2070
2097
  :application_id,
2071
2098
  :arn,
2072
2099
  :created_by_account_id,
@@ -2370,6 +2397,11 @@ module Aws::MigrationHubRefactorSpaces
2370
2397
  # after the route is created.
2371
2398
  # @return [String]
2372
2399
  #
2400
+ # @!attribute [rw] append_source_path
2401
+ # If set to `true`, this option appends the source path to the service
2402
+ # URL endpoint.
2403
+ # @return [Boolean]
2404
+ #
2373
2405
  # @!attribute [rw] include_child_paths
2374
2406
  # Indicates whether to match all subpaths of the given source path. If
2375
2407
  # this value is `false`, requests must match the source path exactly
@@ -2383,14 +2415,18 @@ module Aws::MigrationHubRefactorSpaces
2383
2415
  # @return [Array<String>]
2384
2416
  #
2385
2417
  # @!attribute [rw] source_path
2386
- # The path to use to match traffic. Paths must start with `/` and are
2387
- # relative to the base of the application.
2418
+ # This is the path that Refactor Spaces uses to match traffic. Paths
2419
+ # must start with `/` and are relative to the base of the application.
2420
+ # To use path parameters in the source path, add a variable in curly
2421
+ # braces. For example, the resource path \\\{user\\} represents a path
2422
+ # parameter called 'user'.
2388
2423
  # @return [String]
2389
2424
  #
2390
2425
  # @see http://docs.aws.amazon.com/goto/WebAPI/migration-hub-refactor-spaces-2021-10-26/UriPathRouteInput AWS API Documentation
2391
2426
  #
2392
2427
  class UriPathRouteInput < Struct.new(
2393
2428
  :activation_state,
2429
+ :append_source_path,
2394
2430
  :include_child_paths,
2395
2431
  :methods,
2396
2432
  :source_path)
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-migrationhubrefactorspaces/customizations'
52
52
  # @!group service
53
53
  module Aws::MigrationHubRefactorSpaces
54
54
 
55
- GEM_VERSION = '1.11.0'
55
+ GEM_VERSION = '1.13.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-migrationhubrefactorspaces
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.11.0
4
+ version: 1.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-02-09 00:00:00.000000000 Z
11
+ date: 2023-05-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core