aws-sdk-migrationhubrefactorspaces 1.11.0 → 1.12.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: 80d06c403301186b77650eeb4453f23090bd0fed052db5c2e68ad1ad823066ad
4
+ data.tar.gz: 521eabd3d48d55d5d602ba623226a6531dac813be6e19b133ba0b405b86f8a9d
5
5
  SHA512:
6
- metadata.gz: 11db53b35abd93924b44e438edb4151abb0f41090f08572572e0d6f7c003ad1baad3b4aaff383ca9469f2065981c1dccdec77a0375cc2a6b1ae53f1f0d8dc543
7
- data.tar.gz: 24876314599149cb4a265c896f467964b21d83b3c3464aa4bcde4d3158379d39c0ea0299a7d3ce6955f345efb93a1fb5b7082b89a74d8dc89ccd551395563d6c
6
+ metadata.gz: d120a376ddf2dd190845b7b3a626ce28541a9c05f88a76502146d10751e720af28b030338f3996bf15accd2f21305d5b641fc861867882698d7b8c07c330411e
7
+ data.tar.gz: 455dab7663fc7221778f2fdf343d7f9e05f97d11d08c182bd461a650cf92c076378808bd92da72c6eba00901ff2cc29bed739b57324a4e6b26b5f62bd2247514
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.12.0 (2023-04-14)
5
+ ------------------
6
+
7
+ * Feature - Doc only update for Refactor Spaces environments without network bridge feature.
8
+
4
9
  1.11.0 (2023-02-09)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.11.0
1
+ 1.12.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.
@@ -1874,7 +1922,7 @@ module Aws::MigrationHubRefactorSpaces
1874
1922
  params: params,
1875
1923
  config: config)
1876
1924
  context[:gem_name] = 'aws-sdk-migrationhubrefactorspaces'
1877
- context[:gem_version] = '1.11.0'
1925
+ context[:gem_version] = '1.12.0'
1878
1926
  Seahorse::Client::Request.new(handlers, context)
1879
1927
  end
1880
1928
 
@@ -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
@@ -1077,7 +1077,7 @@ module Aws::MigrationHubRefactorSpaces
1077
1077
  # @return [Hash<String,String>]
1078
1078
  #
1079
1079
  # @!attribute [rw] transit_gateway_id
1080
- # The ID of the transit gateway set up by the environment.
1080
+ # The ID of the Transit Gateway set up by the environment.
1081
1081
  # @return [String]
1082
1082
  #
1083
1083
  # @see http://docs.aws.amazon.com/goto/WebAPI/migration-hub-refactor-spaces-2021-10-26/EnvironmentSummary AWS API Documentation
@@ -1343,7 +1343,8 @@ module Aws::MigrationHubRefactorSpaces
1343
1343
  # @return [Hash<String,String>]
1344
1344
  #
1345
1345
  # @!attribute [rw] transit_gateway_id
1346
- # The ID of the transit gateway set up by the environment.
1346
+ # The ID of the Transit Gateway set up by the environment, if
1347
+ # applicable.
1347
1348
  # @return [String]
1348
1349
  #
1349
1350
  # @see http://docs.aws.amazon.com/goto/WebAPI/migration-hub-refactor-spaces-2021-10-26/GetEnvironmentResponse AWS API Documentation
@@ -1464,11 +1465,11 @@ module Aws::MigrationHubRefactorSpaces
1464
1465
  # @!attribute [rw] route_id
1465
1466
  # The unique identifier of the route.
1466
1467
  #
1467
- # **DEFAULT**\: All traffic that does not match another route is
1468
+ # **DEFAULT**: All traffic that does not match another route is
1468
1469
  # forwarded to the default route. Applications must have a default
1469
1470
  # route before any other routes can be created.
1470
1471
  #
1471
- # **URI\_PATH**\: A route that is based on a URI path.
1472
+ # **URI\_PATH**: A route that is based on a URI path.
1472
1473
  # @return [String]
1473
1474
  #
1474
1475
  # @!attribute [rw] route_type
@@ -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.12.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.12.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-04-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core