aws-sdk-arcregionswitch 1.5.0 → 1.6.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: 4f9ab17d7d9dbe7ec4860ee5aab62f58bfca78a60d9fcb1cbac53520e778fa8b
4
- data.tar.gz: 3e132295c7a42bb4cb57aa5ecbc4fc25d7fb25b33132e0b4872a2b67e6ad7e29
3
+ metadata.gz: b923b3453a4b595a065c3681c5b056df13d9f77cdfdd64c910c569e1e5539e64
4
+ data.tar.gz: 2b151c0bf47e6f133fcce2fdb2be74f734ce2eaade919aea80472a734dc6bee8
5
5
  SHA512:
6
- metadata.gz: f26fa7b38ae9c1d4e6ae1f847c4f484be55f5002468fce2f595dd7c78dab279a0db0b11fd9b0807d811ed81a3173a0bb13a48a48ba4bcc23f5ff5324c910bb93
7
- data.tar.gz: 2bc33fbf07477f7f950d8cbd6fd6c9f5e5d00a6f78e66784af92069da793ee6972fda100f419f6404ff2b17f0fa6d184d1c6fc91886a63f3e8b3c590f2bbc032
6
+ metadata.gz: 7b2ebf0cfbc87181d62855bf50194fb9f05e923cb97a1c02d2a6a7e8d2e7a7e83c818e96ba89b7589750dc829faa0e9585d3c6c02c56906f2248bea07a3ade45
7
+ data.tar.gz: 192e72a3dc6282429542c94209338faa6d7379d9f504d83d126fbe24c9347076cb3ddd9a4f34ca9e76dee5e304180fdf2a9815f6b86203d8d1b708b2aa0162e9
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.6.0 (2025-12-18)
5
+ ------------------
6
+
7
+ * Feature - New API to list Route 53 health checks created by ARC region switch for a plan in a specific AWS Region using the Region switch Regional data plane.
8
+
4
9
  1.5.0 (2025-11-21)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.5.0
1
+ 1.6.0
@@ -1731,6 +1731,7 @@ module Aws::ARCRegionswitch
1731
1731
  # resp.health_checks[0].hosted_zone_id #=> String
1732
1732
  # resp.health_checks[0].record_name #=> String
1733
1733
  # resp.health_checks[0].health_check_id #=> String
1734
+ # resp.health_checks[0].status #=> String, one of "healthy", "unhealthy", "unknown"
1734
1735
  # resp.health_checks[0].region #=> String
1735
1736
  # resp.next_token #=> String
1736
1737
  #
@@ -1743,6 +1744,95 @@ module Aws::ARCRegionswitch
1743
1744
  req.send_request(options)
1744
1745
  end
1745
1746
 
1747
+ # List the Amazon Route 53 health checks in a specific Amazon Web
1748
+ # Services Region.
1749
+ #
1750
+ # @option params [required, String] :arn
1751
+ # The Amazon Resource Name (ARN) of the Arc Region Switch Plan.
1752
+ #
1753
+ # @option params [String] :hosted_zone_id
1754
+ # The hosted zone ID for the health checks.
1755
+ #
1756
+ # @option params [String] :record_name
1757
+ # The record name for the health checks.
1758
+ #
1759
+ # @option params [Integer] :max_results
1760
+ # The number of objects that you want to return with this call.
1761
+ #
1762
+ # @option params [String] :next_token
1763
+ # Specifies that you want to receive the next page of results. Valid
1764
+ # only if you received a `nextToken` response in the previous request.
1765
+ # If you did, it indicates that more output is available. Set this
1766
+ # parameter to the value provided by the previous call's `nextToken`
1767
+ # response to request the next page of results.
1768
+ #
1769
+ # @return [Types::ListRoute53HealthChecksInRegionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1770
+ #
1771
+ # * {Types::ListRoute53HealthChecksInRegionResponse#health_checks #health_checks} => Array<Types::Route53HealthCheck>
1772
+ # * {Types::ListRoute53HealthChecksInRegionResponse#next_token #next_token} => String
1773
+ #
1774
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1775
+ #
1776
+ #
1777
+ # @example Example: Example ListRoute53HealthChecksInRegion
1778
+ #
1779
+ # resp = client.list_route_53_health_checks_in_region({
1780
+ # arn: "arn:aws:arc-region-switch::123456789012:plan/example:000000",
1781
+ # hosted_zone_id: "Z0123456789ABCDEFGHI",
1782
+ # max_results: 10,
1783
+ # next_token: "eyJNYXJrZXIiOiBudWxsLCAiYm90b190cnVuY2F0ZV9hbW91bnQiOiAxfQ",
1784
+ # record_name: "my.record.name",
1785
+ # })
1786
+ #
1787
+ # resp.to_h outputs the following:
1788
+ # {
1789
+ # health_checks: [
1790
+ # {
1791
+ # health_check_id: "01234567-8901-abcd-efgh-ijklmnop0123",
1792
+ # hosted_zone_id: "Z0123456789ABCDEFGHI",
1793
+ # record_name: "my.record.name",
1794
+ # region: "us-west-2",
1795
+ # status: "healthy",
1796
+ # },
1797
+ # {
1798
+ # health_check_id: "zyxwvuts-rqpo-9876-5432-10nmlkji0123",
1799
+ # hosted_zone_id: "Z0123456789ABCDEFGHI",
1800
+ # record_name: "my.record.name",
1801
+ # region: "us-east-1",
1802
+ # status: "healthy",
1803
+ # },
1804
+ # ],
1805
+ # }
1806
+ #
1807
+ # @example Request syntax with placeholder values
1808
+ #
1809
+ # resp = client.list_route_53_health_checks_in_region({
1810
+ # arn: "PlanArn", # required
1811
+ # hosted_zone_id: "Route53HostedZoneId",
1812
+ # record_name: "Route53RecordName",
1813
+ # max_results: 1,
1814
+ # next_token: "NextToken",
1815
+ # })
1816
+ #
1817
+ # @example Response structure
1818
+ #
1819
+ # resp.health_checks #=> Array
1820
+ # resp.health_checks[0].hosted_zone_id #=> String
1821
+ # resp.health_checks[0].record_name #=> String
1822
+ # resp.health_checks[0].health_check_id #=> String
1823
+ # resp.health_checks[0].status #=> String, one of "healthy", "unhealthy", "unknown"
1824
+ # resp.health_checks[0].region #=> String
1825
+ # resp.next_token #=> String
1826
+ #
1827
+ # @see http://docs.aws.amazon.com/goto/WebAPI/arc-region-switch-2022-07-26/ListRoute53HealthChecksInRegion AWS API Documentation
1828
+ #
1829
+ # @overload list_route_53_health_checks_in_region(params = {})
1830
+ # @param [Hash] params ({})
1831
+ def list_route_53_health_checks_in_region(params = {}, options = {})
1832
+ req = build_request(:list_route_53_health_checks_in_region, params)
1833
+ req.send_request(options)
1834
+ end
1835
+
1746
1836
  # Lists the tags attached to a Region switch resource.
1747
1837
  #
1748
1838
  # @option params [required, String] :arn
@@ -2318,7 +2408,7 @@ module Aws::ARCRegionswitch
2318
2408
  tracer: tracer
2319
2409
  )
2320
2410
  context[:gem_name] = 'aws-sdk-arcregionswitch'
2321
- context[:gem_version] = '1.5.0'
2411
+ context[:gem_version] = '1.6.0'
2322
2412
  Seahorse::Client::Request.new(handlers, context)
2323
2413
  end
2324
2414
 
@@ -121,6 +121,9 @@ module Aws::ARCRegionswitch
121
121
  ListPlansInRegionResponse = Shapes::StructureShape.new(name: 'ListPlansInRegionResponse')
122
122
  ListPlansRequest = Shapes::StructureShape.new(name: 'ListPlansRequest')
123
123
  ListPlansResponse = Shapes::StructureShape.new(name: 'ListPlansResponse')
124
+ ListRoute53HealthChecksInRegionRequest = Shapes::StructureShape.new(name: 'ListRoute53HealthChecksInRegionRequest')
125
+ ListRoute53HealthChecksInRegionRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListRoute53HealthChecksInRegionRequestMaxResultsInteger')
126
+ ListRoute53HealthChecksInRegionResponse = Shapes::StructureShape.new(name: 'ListRoute53HealthChecksInRegionResponse')
124
127
  ListRoute53HealthChecksRequest = Shapes::StructureShape.new(name: 'ListRoute53HealthChecksRequest')
125
128
  ListRoute53HealthChecksRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListRoute53HealthChecksRequestMaxResultsInteger')
126
129
  ListRoute53HealthChecksResponse = Shapes::StructureShape.new(name: 'ListRoute53HealthChecksResponse')
@@ -154,6 +157,7 @@ module Aws::ARCRegionswitch
154
157
  Route53HealthCheckConfigurationTimeoutMinutesInteger = Shapes::IntegerShape.new(name: 'Route53HealthCheckConfigurationTimeoutMinutesInteger')
155
158
  Route53HealthCheckId = Shapes::StringShape.new(name: 'Route53HealthCheckId')
156
159
  Route53HealthCheckList = Shapes::ListShape.new(name: 'Route53HealthCheckList')
160
+ Route53HealthCheckStatus = Shapes::StringShape.new(name: 'Route53HealthCheckStatus')
157
161
  Route53HostedZoneId = Shapes::StringShape.new(name: 'Route53HostedZoneId')
158
162
  Route53RecordName = Shapes::StringShape.new(name: 'Route53RecordName')
159
163
  Route53ResourceRecordSet = Shapes::StructureShape.new(name: 'Route53ResourceRecordSet')
@@ -516,6 +520,17 @@ module Aws::ARCRegionswitch
516
520
  ListPlansResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
517
521
  ListPlansResponse.struct_class = Types::ListPlansResponse
518
522
 
523
+ ListRoute53HealthChecksInRegionRequest.add_member(:arn, Shapes::ShapeRef.new(shape: PlanArn, required: true, location_name: "arn"))
524
+ ListRoute53HealthChecksInRegionRequest.add_member(:hosted_zone_id, Shapes::ShapeRef.new(shape: Route53HostedZoneId, location_name: "hostedZoneId"))
525
+ ListRoute53HealthChecksInRegionRequest.add_member(:record_name, Shapes::ShapeRef.new(shape: Route53RecordName, location_name: "recordName"))
526
+ ListRoute53HealthChecksInRegionRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListRoute53HealthChecksInRegionRequestMaxResultsInteger, location_name: "maxResults"))
527
+ ListRoute53HealthChecksInRegionRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
528
+ ListRoute53HealthChecksInRegionRequest.struct_class = Types::ListRoute53HealthChecksInRegionRequest
529
+
530
+ ListRoute53HealthChecksInRegionResponse.add_member(:health_checks, Shapes::ShapeRef.new(shape: Route53HealthCheckList, location_name: "healthChecks"))
531
+ ListRoute53HealthChecksInRegionResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
532
+ ListRoute53HealthChecksInRegionResponse.struct_class = Types::ListRoute53HealthChecksInRegionResponse
533
+
519
534
  ListRoute53HealthChecksRequest.add_member(:arn, Shapes::ShapeRef.new(shape: PlanArn, required: true, location_name: "arn"))
520
535
  ListRoute53HealthChecksRequest.add_member(:hosted_zone_id, Shapes::ShapeRef.new(shape: Route53HostedZoneId, location_name: "hostedZoneId"))
521
536
  ListRoute53HealthChecksRequest.add_member(:record_name, Shapes::ShapeRef.new(shape: Route53RecordName, location_name: "recordName"))
@@ -590,6 +605,7 @@ module Aws::ARCRegionswitch
590
605
  Route53HealthCheck.add_member(:hosted_zone_id, Shapes::ShapeRef.new(shape: Route53HostedZoneId, required: true, location_name: "hostedZoneId"))
591
606
  Route53HealthCheck.add_member(:record_name, Shapes::ShapeRef.new(shape: Route53RecordName, required: true, location_name: "recordName"))
592
607
  Route53HealthCheck.add_member(:health_check_id, Shapes::ShapeRef.new(shape: Route53HealthCheckId, location_name: "healthCheckId"))
608
+ Route53HealthCheck.add_member(:status, Shapes::ShapeRef.new(shape: Route53HealthCheckStatus, location_name: "status"))
593
609
  Route53HealthCheck.add_member(:region, Shapes::ShapeRef.new(shape: Region, required: true, location_name: "region"))
594
610
  Route53HealthCheck.struct_class = Types::Route53HealthCheck
595
611
 
@@ -906,6 +922,24 @@ module Aws::ARCRegionswitch
906
922
  )
907
923
  end)
908
924
 
925
+ api.add_operation(:list_route_53_health_checks_in_region, Seahorse::Model::Operation.new.tap do |o|
926
+ o.name = "ListRoute53HealthChecksInRegion"
927
+ o.http_method = "POST"
928
+ o.http_request_uri = "/"
929
+ o.input = Shapes::ShapeRef.new(shape: ListRoute53HealthChecksInRegionRequest)
930
+ o.output = Shapes::ShapeRef.new(shape: ListRoute53HealthChecksInRegionResponse)
931
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
932
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
933
+ o.errors << Shapes::ShapeRef.new(shape: IllegalArgumentException)
934
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
935
+ o[:pager] = Aws::Pager.new(
936
+ limit_key: "max_results",
937
+ tokens: {
938
+ "next_token" => "next_token"
939
+ }
940
+ )
941
+ end)
942
+
909
943
  api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
910
944
  o.name = "ListTagsForResource"
911
945
  o.http_method = "POST"
@@ -13,22 +13,22 @@ module Aws::ARCRegionswitch
13
13
  # @!attribute use_fips
14
14
  # When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
15
15
  #
16
- # @return [Boolean]
16
+ # @return [boolean]
17
17
  #
18
18
  # @!attribute endpoint
19
19
  # Override the endpoint used to send this request
20
20
  #
21
- # @return [String]
21
+ # @return [string]
22
22
  #
23
23
  # @!attribute region
24
24
  # The AWS region used to dispatch the request.
25
25
  #
26
- # @return [String]
26
+ # @return [string]
27
27
  #
28
28
  # @!attribute use_control_plane_endpoint
29
29
  # Whether the operation is a control plane operation. Control plane operations are routed to a centralized endpoint in the partition leader.
30
30
  #
31
- # @return [Boolean]
31
+ # @return [boolean]
32
32
  #
33
33
  EndpointParameters = Struct.new(
34
34
  :use_fips,
@@ -1447,6 +1447,63 @@ module Aws::ARCRegionswitch
1447
1447
  include Aws::Structure
1448
1448
  end
1449
1449
 
1450
+ # @!attribute [rw] arn
1451
+ # The Amazon Resource Name (ARN) of the Arc Region Switch Plan.
1452
+ # @return [String]
1453
+ #
1454
+ # @!attribute [rw] hosted_zone_id
1455
+ # The hosted zone ID for the health checks.
1456
+ # @return [String]
1457
+ #
1458
+ # @!attribute [rw] record_name
1459
+ # The record name for the health checks.
1460
+ # @return [String]
1461
+ #
1462
+ # @!attribute [rw] max_results
1463
+ # The number of objects that you want to return with this call.
1464
+ # @return [Integer]
1465
+ #
1466
+ # @!attribute [rw] next_token
1467
+ # Specifies that you want to receive the next page of results. Valid
1468
+ # only if you received a `nextToken` response in the previous request.
1469
+ # If you did, it indicates that more output is available. Set this
1470
+ # parameter to the value provided by the previous call's `nextToken`
1471
+ # response to request the next page of results.
1472
+ # @return [String]
1473
+ #
1474
+ # @see http://docs.aws.amazon.com/goto/WebAPI/arc-region-switch-2022-07-26/ListRoute53HealthChecksInRegionRequest AWS API Documentation
1475
+ #
1476
+ class ListRoute53HealthChecksInRegionRequest < Struct.new(
1477
+ :arn,
1478
+ :hosted_zone_id,
1479
+ :record_name,
1480
+ :max_results,
1481
+ :next_token)
1482
+ SENSITIVE = []
1483
+ include Aws::Structure
1484
+ end
1485
+
1486
+ # @!attribute [rw] health_checks
1487
+ # List of the health checks requested.
1488
+ # @return [Array<Types::Route53HealthCheck>]
1489
+ #
1490
+ # @!attribute [rw] next_token
1491
+ # Specifies that you want to receive the next page of results. Valid
1492
+ # only if you received a `nextToken` response in the previous request.
1493
+ # If you did, it indicates that more output is available. Set this
1494
+ # parameter to the value provided by the previous call's `nextToken`
1495
+ # response to request the next page of results.
1496
+ # @return [String]
1497
+ #
1498
+ # @see http://docs.aws.amazon.com/goto/WebAPI/arc-region-switch-2022-07-26/ListRoute53HealthChecksInRegionResponse AWS API Documentation
1499
+ #
1500
+ class ListRoute53HealthChecksInRegionResponse < Struct.new(
1501
+ :health_checks,
1502
+ :next_token)
1503
+ SENSITIVE = []
1504
+ include Aws::Structure
1505
+ end
1506
+
1450
1507
  # @!attribute [rw] arn
1451
1508
  # The Amazon Resource Name (ARN) of the Amazon Route 53 health check
1452
1509
  # request.
@@ -1743,6 +1800,10 @@ module Aws::ARCRegionswitch
1743
1800
  # The Amazon Route 53 health check ID.
1744
1801
  # @return [String]
1745
1802
  #
1803
+ # @!attribute [rw] status
1804
+ # The Amazon Route 53 health check status.
1805
+ # @return [String]
1806
+ #
1746
1807
  # @!attribute [rw] region
1747
1808
  # The Amazon Route 53 Region.
1748
1809
  # @return [String]
@@ -1753,6 +1814,7 @@ module Aws::ARCRegionswitch
1753
1814
  :hosted_zone_id,
1754
1815
  :record_name,
1755
1816
  :health_check_id,
1817
+ :status,
1756
1818
  :region)
1757
1819
  SENSITIVE = []
1758
1820
  include Aws::Structure
@@ -55,7 +55,7 @@ module Aws::ARCRegionswitch
55
55
  autoload :EndpointProvider, 'aws-sdk-arcregionswitch/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-arcregionswitch/endpoints'
57
57
 
58
- GEM_VERSION = '1.5.0'
58
+ GEM_VERSION = '1.6.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -417,6 +417,21 @@ module Aws
417
417
  ) -> _ListRoute53HealthChecksResponseSuccess
418
418
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRoute53HealthChecksResponseSuccess
419
419
 
420
+ interface _ListRoute53HealthChecksInRegionResponseSuccess
421
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListRoute53HealthChecksInRegionResponse]
422
+ def health_checks: () -> ::Array[Types::Route53HealthCheck]
423
+ def next_token: () -> ::String
424
+ end
425
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ARCRegionswitch/Client.html#list_route_53_health_checks_in_region-instance_method
426
+ def list_route_53_health_checks_in_region: (
427
+ arn: ::String,
428
+ ?hosted_zone_id: ::String,
429
+ ?record_name: ::String,
430
+ ?max_results: ::Integer,
431
+ ?next_token: ::String
432
+ ) -> _ListRoute53HealthChecksInRegionResponseSuccess
433
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRoute53HealthChecksInRegionResponseSuccess
434
+
420
435
  interface _ListTagsForResourceResponseSuccess
421
436
  include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
422
437
  def resource_tags: () -> ::Hash[::String, ::String]
data/sig/types.rbs CHANGED
@@ -415,6 +415,21 @@ module Aws::ARCRegionswitch
415
415
  SENSITIVE: []
416
416
  end
417
417
 
418
+ class ListRoute53HealthChecksInRegionRequest
419
+ attr_accessor arn: ::String
420
+ attr_accessor hosted_zone_id: ::String
421
+ attr_accessor record_name: ::String
422
+ attr_accessor max_results: ::Integer
423
+ attr_accessor next_token: ::String
424
+ SENSITIVE: []
425
+ end
426
+
427
+ class ListRoute53HealthChecksInRegionResponse
428
+ attr_accessor health_checks: ::Array[Types::Route53HealthCheck]
429
+ attr_accessor next_token: ::String
430
+ SENSITIVE: []
431
+ end
432
+
418
433
  class ListRoute53HealthChecksRequest
419
434
  attr_accessor arn: ::String
420
435
  attr_accessor hosted_zone_id: ::String
@@ -496,6 +511,7 @@ module Aws::ARCRegionswitch
496
511
  attr_accessor hosted_zone_id: ::String
497
512
  attr_accessor record_name: ::String
498
513
  attr_accessor health_check_id: ::String
514
+ attr_accessor status: ("healthy" | "unhealthy" | "unknown")
499
515
  attr_accessor region: ::String
500
516
  SENSITIVE: []
501
517
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-arcregionswitch
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services