aws-sdk-servicediscovery 1.36.0 → 1.37.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-servicediscovery.rb +1 -1
- data/lib/aws-sdk-servicediscovery/client.rb +251 -84
- data/lib/aws-sdk-servicediscovery/client_api.rb +123 -0
- data/lib/aws-sdk-servicediscovery/types.rb +772 -238
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2fe562674dd2e14e2655049770d2ae3358f0ee7c208eaff9143fd6341bfa648a
|
4
|
+
data.tar.gz: bc442ceae1788da9cd0f1ea783736db3ad9eaa7f0c9a2eee693367578d2d57f3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f9860fc66e551ae180bfc9b059b4d9b428a096e55a89ef5d9f237ff1dc9b60f5d1226560cd726a11876deba14323ee5fe5b238ca5a397817fc731a5da7201b44
|
7
|
+
data.tar.gz: 76917c467a32722b0955f711b3a774655e3278f67f7f867e5b5d3d5d5c660624a92442e474a389f83abad578404af6f4821fd7e9da2625ee04aaa86a14421047
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.37.0 (2021-06-30)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - AWS Cloud Map now allows configuring the TTL of the SOA record for a hosted zone to control the negative caching for new services.
|
8
|
+
|
4
9
|
1.36.0 (2021-06-01)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.37.0
|
@@ -342,8 +342,8 @@ module Aws::ServiceDiscovery
|
|
342
342
|
# can't be discovered using DNS.
|
343
343
|
#
|
344
344
|
# For the current quota on the number of namespaces that you can create
|
345
|
-
# using the same
|
346
|
-
#
|
345
|
+
# using the same account, see [Cloud Map quotas][1] in the *Cloud Map
|
346
|
+
# Developer Guide*.
|
347
347
|
#
|
348
348
|
#
|
349
349
|
#
|
@@ -423,8 +423,8 @@ module Aws::ServiceDiscovery
|
|
423
423
|
# `backend.example.com`. Service instances that are registered using a
|
424
424
|
# private DNS namespace can be discovered using either a
|
425
425
|
# `DiscoverInstances` request or using DNS. For the current quota on the
|
426
|
-
# number of namespaces that you can create using the same
|
427
|
-
#
|
426
|
+
# number of namespaces that you can create using the same account, see
|
427
|
+
# [Cloud Map quotas][1] in the *Cloud Map Developer Guide*.
|
428
428
|
#
|
429
429
|
#
|
430
430
|
#
|
@@ -432,8 +432,8 @@ module Aws::ServiceDiscovery
|
|
432
432
|
#
|
433
433
|
# @option params [required, String] :name
|
434
434
|
# The name that you want to assign to this namespace. When you create a
|
435
|
-
# private DNS namespace,
|
436
|
-
#
|
435
|
+
# private DNS namespace, Cloud Map automatically creates an Amazon Route
|
436
|
+
# 53 private hosted zone that has the same name as the namespace.
|
437
437
|
#
|
438
438
|
# @option params [String] :creator_request_id
|
439
439
|
# A unique string that identifies the request and that allows failed
|
@@ -456,6 +456,9 @@ module Aws::ServiceDiscovery
|
|
456
456
|
# optional value that you define. Tags keys can be up to 128 characters
|
457
457
|
# in length, and tag values can be up to 256 characters in length.
|
458
458
|
#
|
459
|
+
# @option params [Types::PrivateDnsNamespaceProperties] :properties
|
460
|
+
# Properties for the private DNS namespace.
|
461
|
+
#
|
459
462
|
# @return [Types::CreatePrivateDnsNamespaceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
460
463
|
#
|
461
464
|
# * {Types::CreatePrivateDnsNamespaceResponse#operation_id #operation_id} => String
|
@@ -489,6 +492,13 @@ module Aws::ServiceDiscovery
|
|
489
492
|
# value: "TagValue", # required
|
490
493
|
# },
|
491
494
|
# ],
|
495
|
+
# properties: {
|
496
|
+
# dns_properties: { # required
|
497
|
+
# soa: { # required
|
498
|
+
# ttl: 1, # required
|
499
|
+
# },
|
500
|
+
# },
|
501
|
+
# },
|
492
502
|
# })
|
493
503
|
#
|
494
504
|
# @example Response structure
|
@@ -511,8 +521,8 @@ module Aws::ServiceDiscovery
|
|
511
521
|
# `backend.example.com`. You can discover instances that were registered
|
512
522
|
# with a public DNS namespace by using either a `DiscoverInstances`
|
513
523
|
# request or using DNS. For the current quota on the number of
|
514
|
-
# namespaces that you can create using the same
|
515
|
-
#
|
524
|
+
# namespaces that you can create using the same account, see [Cloud Map
|
525
|
+
# quotas][1] in the *Cloud Map Developer Guide*.
|
516
526
|
#
|
517
527
|
#
|
518
528
|
#
|
@@ -538,6 +548,9 @@ module Aws::ServiceDiscovery
|
|
538
548
|
# optional value that you define. Tags keys can be up to 128 characters
|
539
549
|
# in length, and tag values can be up to 256 characters in length.
|
540
550
|
#
|
551
|
+
# @option params [Types::PublicDnsNamespaceProperties] :properties
|
552
|
+
# Properties for the public DNS namespace.
|
553
|
+
#
|
541
554
|
# @return [Types::CreatePublicDnsNamespaceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
542
555
|
#
|
543
556
|
# * {Types::CreatePublicDnsNamespaceResponse#operation_id #operation_id} => String
|
@@ -570,6 +583,13 @@ module Aws::ServiceDiscovery
|
|
570
583
|
# value: "TagValue", # required
|
571
584
|
# },
|
572
585
|
# ],
|
586
|
+
# properties: {
|
587
|
+
# dns_properties: { # required
|
588
|
+
# soa: { # required
|
589
|
+
# ttl: 1, # required
|
590
|
+
# },
|
591
|
+
# },
|
592
|
+
# },
|
573
593
|
# })
|
574
594
|
#
|
575
595
|
# @example Response structure
|
@@ -589,7 +609,7 @@ module Aws::ServiceDiscovery
|
|
589
609
|
# following entities:
|
590
610
|
#
|
591
611
|
# * For public and private DNS namespaces, one of the following
|
592
|
-
# combinations of DNS records in Amazon Route
|
612
|
+
# combinations of DNS records in Amazon Route 53:
|
593
613
|
#
|
594
614
|
# * `A`
|
595
615
|
#
|
@@ -604,12 +624,12 @@ module Aws::ServiceDiscovery
|
|
604
624
|
# * Optionally, a health check
|
605
625
|
#
|
606
626
|
# After you create the service, you can submit a [RegisterInstance][1]
|
607
|
-
# request, and
|
608
|
-
#
|
627
|
+
# request, and Cloud Map uses the values in the configuration to create
|
628
|
+
# the specified entities.
|
609
629
|
#
|
610
630
|
# For the current quota on the number of instances that you can register
|
611
|
-
# using the same namespace and using the same service, see [
|
612
|
-
#
|
631
|
+
# using the same namespace and using the same service, see [Cloud Map
|
632
|
+
# quotas][2] in the *Cloud Map Developer Guide*.
|
613
633
|
#
|
614
634
|
#
|
615
635
|
#
|
@@ -619,17 +639,17 @@ module Aws::ServiceDiscovery
|
|
619
639
|
# @option params [required, String] :name
|
620
640
|
# The name that you want to assign to the service.
|
621
641
|
#
|
622
|
-
# If you want
|
623
|
-
#
|
642
|
+
# If you want Cloud Map to create an `SRV` record when you register an
|
643
|
+
# instance and you're using a system that requires a specific `SRV`
|
624
644
|
# format, such as [HAProxy][1], specify the following for `Name`\:
|
625
645
|
#
|
626
646
|
# * Start the name with an underscore (\_), such as `_exampleservice`.
|
627
647
|
#
|
628
648
|
# * End the name with *.\_protocol*, such as `._tcp`.
|
629
649
|
#
|
630
|
-
# When you register an instance,
|
631
|
-
#
|
632
|
-
#
|
650
|
+
# When you register an instance, Cloud Map creates an `SRV` record and
|
651
|
+
# assigns a name to the record by concatenating the service name and the
|
652
|
+
# namespace name (for example,
|
633
653
|
#
|
634
654
|
# `_exampleservice._tcp.example.com`).
|
635
655
|
#
|
@@ -664,21 +684,21 @@ module Aws::ServiceDiscovery
|
|
664
684
|
# A description for the service.
|
665
685
|
#
|
666
686
|
# @option params [Types::DnsConfig] :dns_config
|
667
|
-
# A complex type that contains information about the Amazon Route
|
668
|
-
# records that you want
|
687
|
+
# A complex type that contains information about the Amazon Route 53
|
688
|
+
# records that you want Cloud Map to create when you register an
|
669
689
|
# instance.
|
670
690
|
#
|
671
691
|
# @option params [Types::HealthCheckConfig] :health_check_config
|
672
692
|
# *Public DNS and HTTP namespaces only.* A complex type that contains
|
673
|
-
# settings for an optional Route
|
674
|
-
# settings for a health check,
|
675
|
-
# with all the Route
|
693
|
+
# settings for an optional Route 53 health check. If you specify
|
694
|
+
# settings for a health check, Cloud Map associates the health check
|
695
|
+
# with all the Route 53 DNS records that you specify in `DnsConfig`.
|
676
696
|
#
|
677
697
|
# If you specify a health check configuration, you can specify either
|
678
698
|
# `HealthCheckCustomConfig` or `HealthCheckConfig` but not both.
|
679
699
|
#
|
680
|
-
# For information about the charges for health checks, see [
|
681
|
-
#
|
700
|
+
# For information about the charges for health checks, see [Cloud Map
|
701
|
+
# Pricing][1].
|
682
702
|
#
|
683
703
|
#
|
684
704
|
#
|
@@ -894,8 +914,8 @@ module Aws::ServiceDiscovery
|
|
894
914
|
req.send_request(options)
|
895
915
|
end
|
896
916
|
|
897
|
-
# Deletes the Amazon Route
|
898
|
-
#
|
917
|
+
# Deletes the Amazon Route 53 DNS records and health check, if any, that
|
918
|
+
# Cloud Map created for the specified instance.
|
899
919
|
#
|
900
920
|
# @option params [required, String] :service_id
|
901
921
|
# The ID of the service that the instance is associated with.
|
@@ -961,10 +981,9 @@ module Aws::ServiceDiscovery
|
|
961
981
|
# instance.
|
962
982
|
#
|
963
983
|
# @option params [Integer] :max_results
|
964
|
-
# The maximum number of instances that you want
|
965
|
-
#
|
966
|
-
#
|
967
|
-
# instances.
|
984
|
+
# The maximum number of instances that you want Cloud Map to return in
|
985
|
+
# the response to a `DiscoverInstances` request. If you don't specify a
|
986
|
+
# value for `MaxResults`, Cloud Map returns up to 100 instances.
|
968
987
|
#
|
969
988
|
# @option params [Hash<String,String>] :query_parameters
|
970
989
|
# Filters to scope the results based on custom attributes for the
|
@@ -1142,8 +1161,8 @@ module Aws::ServiceDiscovery
|
|
1142
1161
|
# An array that contains the IDs of all the instances that you want to
|
1143
1162
|
# get the health status for.
|
1144
1163
|
#
|
1145
|
-
# If you omit `Instances`,
|
1146
|
-
#
|
1164
|
+
# If you omit `Instances`, Cloud Map returns the health status for all
|
1165
|
+
# the instances that are associated with the specified service.
|
1147
1166
|
#
|
1148
1167
|
# <note markdown="1"> To get the IDs for the instances that you've registered by using a
|
1149
1168
|
# specified service, submit a [ListInstances][1] request.
|
@@ -1155,9 +1174,9 @@ module Aws::ServiceDiscovery
|
|
1155
1174
|
# [1]: https://docs.aws.amazon.com/cloud-map/latest/api/API_ListInstances.html
|
1156
1175
|
#
|
1157
1176
|
# @option params [Integer] :max_results
|
1158
|
-
# The maximum number of instances that you want
|
1159
|
-
#
|
1160
|
-
# specify a value for `MaxResults`,
|
1177
|
+
# The maximum number of instances that you want Cloud Map to return in
|
1178
|
+
# the response to a `GetInstancesHealthStatus` request. If you don't
|
1179
|
+
# specify a value for `MaxResults`, Cloud Map returns up to 100
|
1161
1180
|
# instances.
|
1162
1181
|
#
|
1163
1182
|
# @option params [String] :next_token
|
@@ -1269,6 +1288,7 @@ module Aws::ServiceDiscovery
|
|
1269
1288
|
# resp.namespace.description #=> String
|
1270
1289
|
# resp.namespace.service_count #=> Integer
|
1271
1290
|
# resp.namespace.properties.dns_properties.hosted_zone_id #=> String
|
1291
|
+
# resp.namespace.properties.dns_properties.soa.ttl #=> Integer
|
1272
1292
|
# resp.namespace.properties.http_properties.http_name #=> String
|
1273
1293
|
# resp.namespace.create_date #=> Time
|
1274
1294
|
# resp.namespace.creator_request_id #=> String
|
@@ -1333,7 +1353,7 @@ module Aws::ServiceDiscovery
|
|
1333
1353
|
# @example Response structure
|
1334
1354
|
#
|
1335
1355
|
# resp.operation.id #=> String
|
1336
|
-
# resp.operation.type #=> String, one of "CREATE_NAMESPACE", "DELETE_NAMESPACE", "UPDATE_SERVICE", "REGISTER_INSTANCE", "DEREGISTER_INSTANCE"
|
1356
|
+
# resp.operation.type #=> String, one of "CREATE_NAMESPACE", "DELETE_NAMESPACE", "UPDATE_NAMESPACE", "UPDATE_SERVICE", "REGISTER_INSTANCE", "DEREGISTER_INSTANCE"
|
1337
1357
|
# resp.operation.status #=> String, one of "SUBMITTED", "PENDING", "SUCCESS", "FAIL"
|
1338
1358
|
# resp.operation.error_message #=> String
|
1339
1359
|
# resp.operation.error_code #=> String
|
@@ -1438,9 +1458,9 @@ module Aws::ServiceDiscovery
|
|
1438
1458
|
# in the next request.
|
1439
1459
|
#
|
1440
1460
|
# @option params [Integer] :max_results
|
1441
|
-
# The maximum number of instances that you want
|
1442
|
-
#
|
1443
|
-
# value for `MaxResults`,
|
1461
|
+
# The maximum number of instances that you want Cloud Map to return in
|
1462
|
+
# the response to a `ListInstances` request. If you don't specify a
|
1463
|
+
# value for `MaxResults`, Cloud Map returns up to 100 instances.
|
1444
1464
|
#
|
1445
1465
|
# @return [Types::ListInstancesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1446
1466
|
#
|
@@ -1497,7 +1517,7 @@ module Aws::ServiceDiscovery
|
|
1497
1517
|
end
|
1498
1518
|
|
1499
1519
|
# Lists summary information about the namespaces that were created by
|
1500
|
-
# the current
|
1520
|
+
# the current account.
|
1501
1521
|
#
|
1502
1522
|
# @option params [String] :next_token
|
1503
1523
|
# For the first `ListNamespaces` request, omit this value.
|
@@ -1506,18 +1526,18 @@ module Aws::ServiceDiscovery
|
|
1506
1526
|
# request to get the next group of results. Specify the value of
|
1507
1527
|
# `NextToken` from the previous response in the next request.
|
1508
1528
|
#
|
1509
|
-
# <note markdown="1">
|
1510
|
-
#
|
1511
|
-
#
|
1529
|
+
# <note markdown="1"> Cloud Map gets `MaxResults` namespaces and then filters them based on
|
1530
|
+
# the specified criteria. It's possible that no namespaces in the first
|
1531
|
+
# `MaxResults` namespaces matched the specified criteria but that
|
1512
1532
|
# subsequent groups of `MaxResults` namespaces do contain namespaces
|
1513
1533
|
# that match the criteria.
|
1514
1534
|
#
|
1515
1535
|
# </note>
|
1516
1536
|
#
|
1517
1537
|
# @option params [Integer] :max_results
|
1518
|
-
# The maximum number of namespaces that you want
|
1519
|
-
#
|
1520
|
-
# value for `MaxResults`,
|
1538
|
+
# The maximum number of namespaces that you want Cloud Map to return in
|
1539
|
+
# the response to a `ListNamespaces` request. If you don't specify a
|
1540
|
+
# value for `MaxResults`, Cloud Map returns up to 100 namespaces.
|
1521
1541
|
#
|
1522
1542
|
# @option params [Array<Types::NamespaceFilter>] :filters
|
1523
1543
|
# A complex type that contains specifications for the namespaces that
|
@@ -1616,6 +1636,7 @@ module Aws::ServiceDiscovery
|
|
1616
1636
|
# resp.namespaces[0].description #=> String
|
1617
1637
|
# resp.namespaces[0].service_count #=> Integer
|
1618
1638
|
# resp.namespaces[0].properties.dns_properties.hosted_zone_id #=> String
|
1639
|
+
# resp.namespaces[0].properties.dns_properties.soa.ttl #=> Integer
|
1619
1640
|
# resp.namespaces[0].properties.http_properties.http_name #=> String
|
1620
1641
|
# resp.namespaces[0].create_date #=> Time
|
1621
1642
|
# resp.next_token #=> String
|
@@ -1638,18 +1659,18 @@ module Aws::ServiceDiscovery
|
|
1638
1659
|
# request to get the next group of results. Specify the value of
|
1639
1660
|
# `NextToken` from the previous response in the next request.
|
1640
1661
|
#
|
1641
|
-
# <note markdown="1">
|
1642
|
-
#
|
1643
|
-
#
|
1662
|
+
# <note markdown="1"> Cloud Map gets `MaxResults` operations and then filters them based on
|
1663
|
+
# the specified criteria. It's possible that no operations in the first
|
1664
|
+
# `MaxResults` operations matched the specified criteria but that
|
1644
1665
|
# subsequent groups of `MaxResults` operations do contain operations
|
1645
1666
|
# that match the criteria.
|
1646
1667
|
#
|
1647
1668
|
# </note>
|
1648
1669
|
#
|
1649
1670
|
# @option params [Integer] :max_results
|
1650
|
-
# The maximum number of items that you want
|
1651
|
-
#
|
1652
|
-
#
|
1671
|
+
# The maximum number of items that you want Cloud Map to return in the
|
1672
|
+
# response to a `ListOperations` request. If you don't specify a value
|
1673
|
+
# for `MaxResults`, Cloud Map returns up to 100 operations.
|
1653
1674
|
#
|
1654
1675
|
# @option params [Array<Types::OperationFilter>] :filters
|
1655
1676
|
# A complex type that contains specifications for the operations that
|
@@ -1742,18 +1763,18 @@ module Aws::ServiceDiscovery
|
|
1742
1763
|
# request to get the next group of results. Specify the value of
|
1743
1764
|
# `NextToken` from the previous response in the next request.
|
1744
1765
|
#
|
1745
|
-
# <note markdown="1">
|
1746
|
-
#
|
1747
|
-
#
|
1766
|
+
# <note markdown="1"> Cloud Map gets `MaxResults` services and then filters them based on
|
1767
|
+
# the specified criteria. It's possible that no services in the first
|
1768
|
+
# `MaxResults` services matched the specified criteria but that
|
1748
1769
|
# subsequent groups of `MaxResults` services do contain services that
|
1749
1770
|
# match the criteria.
|
1750
1771
|
#
|
1751
1772
|
# </note>
|
1752
1773
|
#
|
1753
1774
|
# @option params [Integer] :max_results
|
1754
|
-
# The maximum number of services that you want
|
1755
|
-
#
|
1756
|
-
# value for `MaxResults`,
|
1775
|
+
# The maximum number of services that you want Cloud Map to return in
|
1776
|
+
# the response to a `ListServices` request. If you don't specify a
|
1777
|
+
# value for `MaxResults`, Cloud Map returns up to 100 services.
|
1757
1778
|
#
|
1758
1779
|
# @option params [Array<Types::ServiceFilter>] :filters
|
1759
1780
|
# A complex type that contains specifications for the namespaces that
|
@@ -1915,7 +1936,7 @@ module Aws::ServiceDiscovery
|
|
1915
1936
|
#
|
1916
1937
|
# For more information, see [CreateService][1].
|
1917
1938
|
#
|
1918
|
-
# When
|
1939
|
+
# When Cloud Map receives a DNS query for the specified DNS name, it
|
1919
1940
|
# returns the applicable value:
|
1920
1941
|
#
|
1921
1942
|
# * **If the health check is healthy**\: returns all the records
|
@@ -1927,8 +1948,8 @@ module Aws::ServiceDiscovery
|
|
1927
1948
|
# all the records
|
1928
1949
|
#
|
1929
1950
|
# For the current quota on the number of instances that you can register
|
1930
|
-
# using the same namespace and using the same service, see [
|
1931
|
-
#
|
1951
|
+
# using the same namespace and using the same service, see [Cloud Map
|
1952
|
+
# quotas][2] in the *Cloud Map Developer Guide*.
|
1932
1953
|
#
|
1933
1954
|
#
|
1934
1955
|
#
|
@@ -1953,10 +1974,10 @@ module Aws::ServiceDiscovery
|
|
1953
1974
|
# * To register a new instance, you must specify a value that's unique
|
1954
1975
|
# among instances that you register by using the same service.
|
1955
1976
|
#
|
1956
|
-
# * If you specify an existing `InstanceId` and `ServiceId`,
|
1957
|
-
#
|
1958
|
-
# existing health check,
|
1959
|
-
#
|
1977
|
+
# * If you specify an existing `InstanceId` and `ServiceId`, Cloud Map
|
1978
|
+
# updates the existing DNS records, if any. If there's also an
|
1979
|
+
# existing health check, Cloud Map deletes the old health check and
|
1980
|
+
# creates a new one.
|
1960
1981
|
#
|
1961
1982
|
# <note markdown="1"> The health check isn't deleted immediately, so it will still appear
|
1962
1983
|
# for a while if you submit a `ListHealthChecks` request, for example.
|
@@ -1992,11 +2013,11 @@ module Aws::ServiceDiscovery
|
|
1992
2013
|
#
|
1993
2014
|
# AWS\_ALIAS\_DNS\_NAME
|
1994
2015
|
#
|
1995
|
-
# : If you want
|
1996
|
-
#
|
1997
|
-
#
|
2016
|
+
# : If you want Cloud Map to create an Amazon Route 53 alias record that
|
2017
|
+
# routes traffic to an Elastic Load Balancing load balancer, specify
|
2018
|
+
# the DNS name that's associated with the load balancer. For
|
1998
2019
|
# information about how to get the DNS name, see "DNSName" in the
|
1999
|
-
# topic [AliasTarget][1] in the *Route
|
2020
|
+
# topic [AliasTarget][1] in the *Route 53 API Reference*.
|
2000
2021
|
#
|
2001
2022
|
# Note the following:
|
2002
2023
|
#
|
@@ -2008,13 +2029,13 @@ module Aws::ServiceDiscovery
|
|
2008
2029
|
# `RoutingPolicy` must be `WEIGHTED`.
|
2009
2030
|
#
|
2010
2031
|
# * If the service that's specified by `ServiceId` includes
|
2011
|
-
# `HealthCheckConfig` settings,
|
2012
|
-
#
|
2013
|
-
#
|
2032
|
+
# `HealthCheckConfig` settings, Cloud Map will create the Route 53
|
2033
|
+
# health check, but it doesn't associate the health check with the
|
2034
|
+
# alias record.
|
2014
2035
|
#
|
2015
2036
|
# * Auto naming currently doesn't support creating alias records that
|
2016
|
-
# route traffic to
|
2017
|
-
# load balancers.
|
2037
|
+
# route traffic to Amazon Web Services resources other than Elastic
|
2038
|
+
# Load Balancing load balancers.
|
2018
2039
|
#
|
2019
2040
|
# * If you specify a value for `AWS_ALIAS_DNS_NAME`, don't specify
|
2020
2041
|
# values for any of the `AWS_INSTANCE` attributes.
|
@@ -2039,7 +2060,7 @@ module Aws::ServiceDiscovery
|
|
2039
2060
|
# AWS\_INSTANCE\_CNAME
|
2040
2061
|
#
|
2041
2062
|
# : If the service configuration includes a `CNAME` record, the domain
|
2042
|
-
# name that you want Route
|
2063
|
+
# name that you want Route 53 to return in response to DNS queries
|
2043
2064
|
# (for example, `example.com`).
|
2044
2065
|
#
|
2045
2066
|
# This value is required if the service specified by `ServiceId`
|
@@ -2048,7 +2069,7 @@ module Aws::ServiceDiscovery
|
|
2048
2069
|
# AWS\_INSTANCE\_IPV4
|
2049
2070
|
#
|
2050
2071
|
# : If the service configuration includes an `A` record, the IPv4
|
2051
|
-
# address that you want Route
|
2072
|
+
# address that you want Route 53 to return in response to DNS queries
|
2052
2073
|
# (for example, `192.0.2.44`).
|
2053
2074
|
#
|
2054
2075
|
# This value is required if the service specified by `ServiceId`
|
@@ -2059,7 +2080,7 @@ module Aws::ServiceDiscovery
|
|
2059
2080
|
# AWS\_INSTANCE\_IPV6
|
2060
2081
|
#
|
2061
2082
|
# : If the service configuration includes an `AAAA` record, the IPv6
|
2062
|
-
# address that you want Route
|
2083
|
+
# address that you want Route 53 to return in response to DNS queries
|
2063
2084
|
# (for example, `2001:0db8:85a3:0000:0000:abcd:0001:2345`).
|
2064
2085
|
#
|
2065
2086
|
# This value is required if the service specified by `ServiceId`
|
@@ -2070,13 +2091,13 @@ module Aws::ServiceDiscovery
|
|
2070
2091
|
# AWS\_INSTANCE\_PORT
|
2071
2092
|
#
|
2072
2093
|
# : If the service includes an `SRV` record, the value that you want
|
2073
|
-
# Route
|
2094
|
+
# Route 53 to return for the port.
|
2074
2095
|
#
|
2075
2096
|
# If the service includes `HealthCheckConfig`, the port on the
|
2076
|
-
# endpoint that you want Route
|
2097
|
+
# endpoint that you want Route 53 to send requests to.
|
2077
2098
|
#
|
2078
2099
|
# This value is required if you specified settings for an `SRV` record
|
2079
|
-
# or a Route
|
2100
|
+
# or a Route 53 health check when you created the service.
|
2080
2101
|
#
|
2081
2102
|
# Custom attributes
|
2082
2103
|
#
|
@@ -2239,13 +2260,57 @@ module Aws::ServiceDiscovery
|
|
2239
2260
|
req.send_request(options)
|
2240
2261
|
end
|
2241
2262
|
|
2263
|
+
# Updates an HTTP namespace.
|
2264
|
+
#
|
2265
|
+
# @option params [required, String] :id
|
2266
|
+
# The ID of the namespace that you want to update.
|
2267
|
+
#
|
2268
|
+
# @option params [String] :updater_request_id
|
2269
|
+
# A unique string that identifies the request and that allows failed
|
2270
|
+
# `UpdateHttpNamespace` requests to be retried without the risk of
|
2271
|
+
# running the operation twice. `UpdaterRequestId` can be any unique
|
2272
|
+
# string (for example, a date/timestamp).
|
2273
|
+
#
|
2274
|
+
# **A suitable default value is auto-generated.** You should normally
|
2275
|
+
# not need to pass this option.**
|
2276
|
+
#
|
2277
|
+
# @option params [required, Types::HttpNamespaceChange] :namespace
|
2278
|
+
# Updated properties for the the HTTP namespace.
|
2279
|
+
#
|
2280
|
+
# @return [Types::UpdateHttpNamespaceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2281
|
+
#
|
2282
|
+
# * {Types::UpdateHttpNamespaceResponse#operation_id #operation_id} => String
|
2283
|
+
#
|
2284
|
+
# @example Request syntax with placeholder values
|
2285
|
+
#
|
2286
|
+
# resp = client.update_http_namespace({
|
2287
|
+
# id: "ResourceId", # required
|
2288
|
+
# updater_request_id: "ResourceId",
|
2289
|
+
# namespace: { # required
|
2290
|
+
# description: "ResourceDescription", # required
|
2291
|
+
# },
|
2292
|
+
# })
|
2293
|
+
#
|
2294
|
+
# @example Response structure
|
2295
|
+
#
|
2296
|
+
# resp.operation_id #=> String
|
2297
|
+
#
|
2298
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/UpdateHttpNamespace AWS API Documentation
|
2299
|
+
#
|
2300
|
+
# @overload update_http_namespace(params = {})
|
2301
|
+
# @param [Hash] params ({})
|
2302
|
+
def update_http_namespace(params = {}, options = {})
|
2303
|
+
req = build_request(:update_http_namespace, params)
|
2304
|
+
req.send_request(options)
|
2305
|
+
end
|
2306
|
+
|
2242
2307
|
# Submits a request to change the health status of a custom health check
|
2243
2308
|
# to healthy or unhealthy.
|
2244
2309
|
#
|
2245
2310
|
# You can use `UpdateInstanceCustomHealthStatus` to change the status
|
2246
2311
|
# only for custom health checks, which you define using
|
2247
2312
|
# `HealthCheckCustomConfig` when you create a service. You can't use it
|
2248
|
-
# to change the status for Route
|
2313
|
+
# to change the status for Route 53 health checks, which you define
|
2249
2314
|
# using `HealthCheckConfig`.
|
2250
2315
|
#
|
2251
2316
|
# For more information, see [HealthCheckCustomConfig][1].
|
@@ -2295,6 +2360,108 @@ module Aws::ServiceDiscovery
|
|
2295
2360
|
req.send_request(options)
|
2296
2361
|
end
|
2297
2362
|
|
2363
|
+
# Updates a private DNS namespace.
|
2364
|
+
#
|
2365
|
+
# @option params [required, String] :id
|
2366
|
+
# The ID of the namespace that you want to update.
|
2367
|
+
#
|
2368
|
+
# @option params [String] :updater_request_id
|
2369
|
+
# A unique string that identifies the request and that allows failed
|
2370
|
+
# `UpdatePrivateDnsNamespace` requests to be retried without the risk of
|
2371
|
+
# running the operation twice. `UpdaterRequestId` can be any unique
|
2372
|
+
# string (for example, a date/timestamp).
|
2373
|
+
#
|
2374
|
+
# **A suitable default value is auto-generated.** You should normally
|
2375
|
+
# not need to pass this option.**
|
2376
|
+
#
|
2377
|
+
# @option params [required, Types::PrivateDnsNamespaceChange] :namespace
|
2378
|
+
# Updated properties for the private DNS namespace.
|
2379
|
+
#
|
2380
|
+
# @return [Types::UpdatePrivateDnsNamespaceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2381
|
+
#
|
2382
|
+
# * {Types::UpdatePrivateDnsNamespaceResponse#operation_id #operation_id} => String
|
2383
|
+
#
|
2384
|
+
# @example Request syntax with placeholder values
|
2385
|
+
#
|
2386
|
+
# resp = client.update_private_dns_namespace({
|
2387
|
+
# id: "ResourceId", # required
|
2388
|
+
# updater_request_id: "ResourceId",
|
2389
|
+
# namespace: { # required
|
2390
|
+
# description: "ResourceDescription",
|
2391
|
+
# properties: {
|
2392
|
+
# dns_properties: { # required
|
2393
|
+
# soa: { # required
|
2394
|
+
# ttl: 1, # required
|
2395
|
+
# },
|
2396
|
+
# },
|
2397
|
+
# },
|
2398
|
+
# },
|
2399
|
+
# })
|
2400
|
+
#
|
2401
|
+
# @example Response structure
|
2402
|
+
#
|
2403
|
+
# resp.operation_id #=> String
|
2404
|
+
#
|
2405
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/UpdatePrivateDnsNamespace AWS API Documentation
|
2406
|
+
#
|
2407
|
+
# @overload update_private_dns_namespace(params = {})
|
2408
|
+
# @param [Hash] params ({})
|
2409
|
+
def update_private_dns_namespace(params = {}, options = {})
|
2410
|
+
req = build_request(:update_private_dns_namespace, params)
|
2411
|
+
req.send_request(options)
|
2412
|
+
end
|
2413
|
+
|
2414
|
+
# Updates a public DNS namespace.
|
2415
|
+
#
|
2416
|
+
# @option params [required, String] :id
|
2417
|
+
# The ID of the namespace being updated.
|
2418
|
+
#
|
2419
|
+
# @option params [String] :updater_request_id
|
2420
|
+
# A unique string that identifies the request and that allows failed
|
2421
|
+
# `UpdatePublicDnsNamespace` requests to be retried without the risk of
|
2422
|
+
# running the operation twice. `UpdaterRequestId` can be any unique
|
2423
|
+
# string (for example, a date/timestamp).
|
2424
|
+
#
|
2425
|
+
# **A suitable default value is auto-generated.** You should normally
|
2426
|
+
# not need to pass this option.**
|
2427
|
+
#
|
2428
|
+
# @option params [required, Types::PublicDnsNamespaceChange] :namespace
|
2429
|
+
# Updated properties for the public DNS namespace.
|
2430
|
+
#
|
2431
|
+
# @return [Types::UpdatePublicDnsNamespaceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2432
|
+
#
|
2433
|
+
# * {Types::UpdatePublicDnsNamespaceResponse#operation_id #operation_id} => String
|
2434
|
+
#
|
2435
|
+
# @example Request syntax with placeholder values
|
2436
|
+
#
|
2437
|
+
# resp = client.update_public_dns_namespace({
|
2438
|
+
# id: "ResourceId", # required
|
2439
|
+
# updater_request_id: "ResourceId",
|
2440
|
+
# namespace: { # required
|
2441
|
+
# description: "ResourceDescription",
|
2442
|
+
# properties: {
|
2443
|
+
# dns_properties: { # required
|
2444
|
+
# soa: { # required
|
2445
|
+
# ttl: 1, # required
|
2446
|
+
# },
|
2447
|
+
# },
|
2448
|
+
# },
|
2449
|
+
# },
|
2450
|
+
# })
|
2451
|
+
#
|
2452
|
+
# @example Response structure
|
2453
|
+
#
|
2454
|
+
# resp.operation_id #=> String
|
2455
|
+
#
|
2456
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/UpdatePublicDnsNamespace AWS API Documentation
|
2457
|
+
#
|
2458
|
+
# @overload update_public_dns_namespace(params = {})
|
2459
|
+
# @param [Hash] params ({})
|
2460
|
+
def update_public_dns_namespace(params = {}, options = {})
|
2461
|
+
req = build_request(:update_public_dns_namespace, params)
|
2462
|
+
req.send_request(options)
|
2463
|
+
end
|
2464
|
+
|
2298
2465
|
# Submits a request to perform the following operations:
|
2299
2466
|
#
|
2300
2467
|
# * Update the TTL setting for existing `DnsRecords` configurations
|
@@ -2316,7 +2483,7 @@ module Aws::ServiceDiscovery
|
|
2316
2483
|
# an `UpdateService` request, the configuration isn't deleted from
|
2317
2484
|
# the service.
|
2318
2485
|
#
|
2319
|
-
# When you update settings for a service,
|
2486
|
+
# When you update settings for a service, Cloud Map also updates the
|
2320
2487
|
# corresponding settings in all the records and health checks that were
|
2321
2488
|
# created by using the specified service.
|
2322
2489
|
#
|
@@ -2407,7 +2574,7 @@ module Aws::ServiceDiscovery
|
|
2407
2574
|
params: params,
|
2408
2575
|
config: config)
|
2409
2576
|
context[:gem_name] = 'aws-sdk-servicediscovery'
|
2410
|
-
context[:gem_version] = '1.
|
2577
|
+
context[:gem_version] = '1.37.0'
|
2411
2578
|
Seahorse::Client::Request.new(handlers, context)
|
2412
2579
|
end
|
2413
2580
|
|