aws-sdk-servicediscovery 1.47.0 → 1.49.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 +13 -1
- data/VERSION +1 -1
- data/lib/aws-sdk-servicediscovery/client.rb +20 -3
- data/lib/aws-sdk-servicediscovery/endpoint_parameters.rb +69 -0
- data/lib/aws-sdk-servicediscovery/endpoint_provider.rb +57 -0
- data/lib/aws-sdk-servicediscovery/endpoints.rb +379 -0
- data/lib/aws-sdk-servicediscovery/plugins/endpoints.rb +120 -0
- data/lib/aws-sdk-servicediscovery/types.rb +0 -579
- data/lib/aws-sdk-servicediscovery.rb +5 -1
- metadata +8 -4
@@ -10,21 +10,6 @@
|
|
10
10
|
module Aws::ServiceDiscovery
|
11
11
|
module Types
|
12
12
|
|
13
|
-
# @note When making an API call, you may pass CreateHttpNamespaceRequest
|
14
|
-
# data as a hash:
|
15
|
-
#
|
16
|
-
# {
|
17
|
-
# name: "NamespaceNameHttp", # required
|
18
|
-
# creator_request_id: "ResourceId",
|
19
|
-
# description: "ResourceDescription",
|
20
|
-
# tags: [
|
21
|
-
# {
|
22
|
-
# key: "TagKey", # required
|
23
|
-
# value: "TagValue", # required
|
24
|
-
# },
|
25
|
-
# ],
|
26
|
-
# }
|
27
|
-
#
|
28
13
|
# @!attribute [rw] name
|
29
14
|
# The name that you want to assign to this namespace.
|
30
15
|
# @return [String]
|
@@ -79,29 +64,6 @@ module Aws::ServiceDiscovery
|
|
79
64
|
include Aws::Structure
|
80
65
|
end
|
81
66
|
|
82
|
-
# @note When making an API call, you may pass CreatePrivateDnsNamespaceRequest
|
83
|
-
# data as a hash:
|
84
|
-
#
|
85
|
-
# {
|
86
|
-
# name: "NamespaceNamePrivate", # required
|
87
|
-
# creator_request_id: "ResourceId",
|
88
|
-
# description: "ResourceDescription",
|
89
|
-
# vpc: "ResourceId", # required
|
90
|
-
# tags: [
|
91
|
-
# {
|
92
|
-
# key: "TagKey", # required
|
93
|
-
# value: "TagValue", # required
|
94
|
-
# },
|
95
|
-
# ],
|
96
|
-
# properties: {
|
97
|
-
# dns_properties: { # required
|
98
|
-
# soa: { # required
|
99
|
-
# ttl: 1, # required
|
100
|
-
# },
|
101
|
-
# },
|
102
|
-
# },
|
103
|
-
# }
|
104
|
-
#
|
105
67
|
# @!attribute [rw] name
|
106
68
|
# The name that you want to assign to this namespace. When you create
|
107
69
|
# a private DNS namespace, Cloud Map automatically creates an Amazon
|
@@ -170,28 +132,6 @@ module Aws::ServiceDiscovery
|
|
170
132
|
include Aws::Structure
|
171
133
|
end
|
172
134
|
|
173
|
-
# @note When making an API call, you may pass CreatePublicDnsNamespaceRequest
|
174
|
-
# data as a hash:
|
175
|
-
#
|
176
|
-
# {
|
177
|
-
# name: "NamespaceNamePublic", # required
|
178
|
-
# creator_request_id: "ResourceId",
|
179
|
-
# description: "ResourceDescription",
|
180
|
-
# tags: [
|
181
|
-
# {
|
182
|
-
# key: "TagKey", # required
|
183
|
-
# value: "TagValue", # required
|
184
|
-
# },
|
185
|
-
# ],
|
186
|
-
# properties: {
|
187
|
-
# dns_properties: { # required
|
188
|
-
# soa: { # required
|
189
|
-
# ttl: 1, # required
|
190
|
-
# },
|
191
|
-
# },
|
192
|
-
# },
|
193
|
-
# }
|
194
|
-
#
|
195
135
|
# @!attribute [rw] name
|
196
136
|
# The name that you want to assign to this namespace.
|
197
137
|
#
|
@@ -256,41 +196,6 @@ module Aws::ServiceDiscovery
|
|
256
196
|
include Aws::Structure
|
257
197
|
end
|
258
198
|
|
259
|
-
# @note When making an API call, you may pass CreateServiceRequest
|
260
|
-
# data as a hash:
|
261
|
-
#
|
262
|
-
# {
|
263
|
-
# name: "ServiceName", # required
|
264
|
-
# namespace_id: "ResourceId",
|
265
|
-
# creator_request_id: "ResourceId",
|
266
|
-
# description: "ResourceDescription",
|
267
|
-
# dns_config: {
|
268
|
-
# namespace_id: "ResourceId",
|
269
|
-
# routing_policy: "MULTIVALUE", # accepts MULTIVALUE, WEIGHTED
|
270
|
-
# dns_records: [ # required
|
271
|
-
# {
|
272
|
-
# type: "SRV", # required, accepts SRV, A, AAAA, CNAME
|
273
|
-
# ttl: 1, # required
|
274
|
-
# },
|
275
|
-
# ],
|
276
|
-
# },
|
277
|
-
# health_check_config: {
|
278
|
-
# type: "HTTP", # required, accepts HTTP, HTTPS, TCP
|
279
|
-
# resource_path: "ResourcePath",
|
280
|
-
# failure_threshold: 1,
|
281
|
-
# },
|
282
|
-
# health_check_custom_config: {
|
283
|
-
# failure_threshold: 1,
|
284
|
-
# },
|
285
|
-
# tags: [
|
286
|
-
# {
|
287
|
-
# key: "TagKey", # required
|
288
|
-
# value: "TagValue", # required
|
289
|
-
# },
|
290
|
-
# ],
|
291
|
-
# type: "HTTP", # accepts HTTP
|
292
|
-
# }
|
293
|
-
#
|
294
199
|
# @!attribute [rw] name
|
295
200
|
# The name that you want to assign to the service.
|
296
201
|
#
|
@@ -437,13 +342,6 @@ module Aws::ServiceDiscovery
|
|
437
342
|
include Aws::Structure
|
438
343
|
end
|
439
344
|
|
440
|
-
# @note When making an API call, you may pass DeleteNamespaceRequest
|
441
|
-
# data as a hash:
|
442
|
-
#
|
443
|
-
# {
|
444
|
-
# id: "ResourceId", # required
|
445
|
-
# }
|
446
|
-
#
|
447
345
|
# @!attribute [rw] id
|
448
346
|
# The ID of the namespace that you want to delete.
|
449
347
|
# @return [String]
|
@@ -474,13 +372,6 @@ module Aws::ServiceDiscovery
|
|
474
372
|
include Aws::Structure
|
475
373
|
end
|
476
374
|
|
477
|
-
# @note When making an API call, you may pass DeleteServiceRequest
|
478
|
-
# data as a hash:
|
479
|
-
#
|
480
|
-
# {
|
481
|
-
# id: "ResourceId", # required
|
482
|
-
# }
|
483
|
-
#
|
484
375
|
# @!attribute [rw] id
|
485
376
|
# The ID of the service that you want to delete.
|
486
377
|
# @return [String]
|
@@ -497,14 +388,6 @@ module Aws::ServiceDiscovery
|
|
497
388
|
#
|
498
389
|
class DeleteServiceResponse < Aws::EmptyStructure; end
|
499
390
|
|
500
|
-
# @note When making an API call, you may pass DeregisterInstanceRequest
|
501
|
-
# data as a hash:
|
502
|
-
#
|
503
|
-
# {
|
504
|
-
# service_id: "ResourceId", # required
|
505
|
-
# instance_id: "ResourceId", # required
|
506
|
-
# }
|
507
|
-
#
|
508
391
|
# @!attribute [rw] service_id
|
509
392
|
# The ID of the service that the instance is associated with.
|
510
393
|
# @return [String]
|
@@ -545,22 +428,6 @@ module Aws::ServiceDiscovery
|
|
545
428
|
include Aws::Structure
|
546
429
|
end
|
547
430
|
|
548
|
-
# @note When making an API call, you may pass DiscoverInstancesRequest
|
549
|
-
# data as a hash:
|
550
|
-
#
|
551
|
-
# {
|
552
|
-
# namespace_name: "NamespaceName", # required
|
553
|
-
# service_name: "ServiceName", # required
|
554
|
-
# max_results: 1,
|
555
|
-
# query_parameters: {
|
556
|
-
# "AttrKey" => "AttrValue",
|
557
|
-
# },
|
558
|
-
# optional_parameters: {
|
559
|
-
# "AttrKey" => "AttrValue",
|
560
|
-
# },
|
561
|
-
# health_status: "HEALTHY", # accepts HEALTHY, UNHEALTHY, ALL, HEALTHY_OR_ELSE_ALL
|
562
|
-
# }
|
563
|
-
#
|
564
431
|
# @!attribute [rw] namespace_name
|
565
432
|
# The `HttpName` name of the namespace. It's found in the
|
566
433
|
# `HttpProperties` member of the `Properties` member of the namespace.
|
@@ -649,20 +516,6 @@ module Aws::ServiceDiscovery
|
|
649
516
|
# The record types of a service can only be changed by deleting the
|
650
517
|
# service and recreating it with a new `Dnsconfig`.
|
651
518
|
#
|
652
|
-
# @note When making an API call, you may pass DnsConfig
|
653
|
-
# data as a hash:
|
654
|
-
#
|
655
|
-
# {
|
656
|
-
# namespace_id: "ResourceId",
|
657
|
-
# routing_policy: "MULTIVALUE", # accepts MULTIVALUE, WEIGHTED
|
658
|
-
# dns_records: [ # required
|
659
|
-
# {
|
660
|
-
# type: "SRV", # required, accepts SRV, A, AAAA, CNAME
|
661
|
-
# ttl: 1, # required
|
662
|
-
# },
|
663
|
-
# ],
|
664
|
-
# }
|
665
|
-
#
|
666
519
|
# @!attribute [rw] namespace_id
|
667
520
|
# *Use NamespaceId in [Service][1] instead.*
|
668
521
|
#
|
@@ -751,18 +604,6 @@ module Aws::ServiceDiscovery
|
|
751
604
|
# A complex type that contains information about changes to the Route 53
|
752
605
|
# DNS records that Cloud Map creates when you register an instance.
|
753
606
|
#
|
754
|
-
# @note When making an API call, you may pass DnsConfigChange
|
755
|
-
# data as a hash:
|
756
|
-
#
|
757
|
-
# {
|
758
|
-
# dns_records: [ # required
|
759
|
-
# {
|
760
|
-
# type: "SRV", # required, accepts SRV, A, AAAA, CNAME
|
761
|
-
# ttl: 1, # required
|
762
|
-
# },
|
763
|
-
# ],
|
764
|
-
# }
|
765
|
-
#
|
766
607
|
# @!attribute [rw] dns_records
|
767
608
|
# An array that contains one `DnsRecord` object for each Route 53
|
768
609
|
# record that you want Cloud Map to create when you register an
|
@@ -802,14 +643,6 @@ module Aws::ServiceDiscovery
|
|
802
643
|
# records that you want Cloud Map to create when you register an
|
803
644
|
# instance.
|
804
645
|
#
|
805
|
-
# @note When making an API call, you may pass DnsRecord
|
806
|
-
# data as a hash:
|
807
|
-
#
|
808
|
-
# {
|
809
|
-
# type: "SRV", # required, accepts SRV, A, AAAA, CNAME
|
810
|
-
# ttl: 1, # required
|
811
|
-
# }
|
812
|
-
#
|
813
646
|
# @!attribute [rw] type
|
814
647
|
# The type of the resource, which indicates the type of value that
|
815
648
|
# Route 53 returns in response to DNS queries. You can specify values
|
@@ -956,14 +789,6 @@ module Aws::ServiceDiscovery
|
|
956
789
|
include Aws::Structure
|
957
790
|
end
|
958
791
|
|
959
|
-
# @note When making an API call, you may pass GetInstanceRequest
|
960
|
-
# data as a hash:
|
961
|
-
#
|
962
|
-
# {
|
963
|
-
# service_id: "ResourceId", # required
|
964
|
-
# instance_id: "ResourceId", # required
|
965
|
-
# }
|
966
|
-
#
|
967
792
|
# @!attribute [rw] service_id
|
968
793
|
# The ID of the service that the instance is associated with.
|
969
794
|
# @return [String]
|
@@ -993,16 +818,6 @@ module Aws::ServiceDiscovery
|
|
993
818
|
include Aws::Structure
|
994
819
|
end
|
995
820
|
|
996
|
-
# @note When making an API call, you may pass GetInstancesHealthStatusRequest
|
997
|
-
# data as a hash:
|
998
|
-
#
|
999
|
-
# {
|
1000
|
-
# service_id: "ResourceId", # required
|
1001
|
-
# instances: ["ResourceId"],
|
1002
|
-
# max_results: 1,
|
1003
|
-
# next_token: "NextToken",
|
1004
|
-
# }
|
1005
|
-
#
|
1006
821
|
# @!attribute [rw] service_id
|
1007
822
|
# The ID of the service that the instance is associated with.
|
1008
823
|
# @return [String]
|
@@ -1073,13 +888,6 @@ module Aws::ServiceDiscovery
|
|
1073
888
|
include Aws::Structure
|
1074
889
|
end
|
1075
890
|
|
1076
|
-
# @note When making an API call, you may pass GetNamespaceRequest
|
1077
|
-
# data as a hash:
|
1078
|
-
#
|
1079
|
-
# {
|
1080
|
-
# id: "ResourceId", # required
|
1081
|
-
# }
|
1082
|
-
#
|
1083
891
|
# @!attribute [rw] id
|
1084
892
|
# The ID of the namespace that you want to get information about.
|
1085
893
|
# @return [String]
|
@@ -1105,13 +913,6 @@ module Aws::ServiceDiscovery
|
|
1105
913
|
include Aws::Structure
|
1106
914
|
end
|
1107
915
|
|
1108
|
-
# @note When making an API call, you may pass GetOperationRequest
|
1109
|
-
# data as a hash:
|
1110
|
-
#
|
1111
|
-
# {
|
1112
|
-
# operation_id: "ResourceId", # required
|
1113
|
-
# }
|
1114
|
-
#
|
1115
916
|
# @!attribute [rw] operation_id
|
1116
917
|
# The ID of the operation that you want to get more information about.
|
1117
918
|
# @return [String]
|
@@ -1136,13 +937,6 @@ module Aws::ServiceDiscovery
|
|
1136
937
|
include Aws::Structure
|
1137
938
|
end
|
1138
939
|
|
1139
|
-
# @note When making an API call, you may pass GetServiceRequest
|
1140
|
-
# data as a hash:
|
1141
|
-
#
|
1142
|
-
# {
|
1143
|
-
# id: "ResourceId", # required
|
1144
|
-
# }
|
1145
|
-
#
|
1146
940
|
# @!attribute [rw] id
|
1147
941
|
# The ID of the service that you want to get settings for.
|
1148
942
|
# @return [String]
|
@@ -1238,15 +1032,6 @@ module Aws::ServiceDiscovery
|
|
1238
1032
|
# [2]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_HealthCheckConfig.html#Route53-Type-HealthCheckConfig-Regions
|
1239
1033
|
# [3]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_AliasTarget.html#Route53-Type-AliasTarget-EvaluateTargetHealth
|
1240
1034
|
#
|
1241
|
-
# @note When making an API call, you may pass HealthCheckConfig
|
1242
|
-
# data as a hash:
|
1243
|
-
#
|
1244
|
-
# {
|
1245
|
-
# type: "HTTP", # required, accepts HTTP, HTTPS, TCP
|
1246
|
-
# resource_path: "ResourcePath",
|
1247
|
-
# failure_threshold: 1,
|
1248
|
-
# }
|
1249
|
-
#
|
1250
1035
|
# @!attribute [rw] type
|
1251
1036
|
# The type of health check that you want to create, which indicates
|
1252
1037
|
# how Route 53 determines whether an endpoint is healthy.
|
@@ -1362,13 +1147,6 @@ module Aws::ServiceDiscovery
|
|
1362
1147
|
# arrive during that time to change the status back to healthy,
|
1363
1148
|
# Cloud Map stops routing traffic to the resource.
|
1364
1149
|
#
|
1365
|
-
# @note When making an API call, you may pass HealthCheckCustomConfig
|
1366
|
-
# data as a hash:
|
1367
|
-
#
|
1368
|
-
# {
|
1369
|
-
# failure_threshold: 1,
|
1370
|
-
# }
|
1371
|
-
#
|
1372
1150
|
# @!attribute [rw] failure_threshold
|
1373
1151
|
# This parameter is no longer supported and is always set to 1. Cloud
|
1374
1152
|
# Map waits for approximately 30 seconds after receiving an
|
@@ -1441,13 +1219,6 @@ module Aws::ServiceDiscovery
|
|
1441
1219
|
|
1442
1220
|
# Updated properties for the HTTP namespace.
|
1443
1221
|
#
|
1444
|
-
# @note When making an API call, you may pass HttpNamespaceChange
|
1445
|
-
# data as a hash:
|
1446
|
-
#
|
1447
|
-
# {
|
1448
|
-
# description: "ResourceDescription", # required
|
1449
|
-
# }
|
1450
|
-
#
|
1451
1222
|
# @!attribute [rw] description
|
1452
1223
|
# An updated description for the HTTP namespace.
|
1453
1224
|
# @return [String]
|
@@ -1733,15 +1504,6 @@ module Aws::ServiceDiscovery
|
|
1733
1504
|
include Aws::Structure
|
1734
1505
|
end
|
1735
1506
|
|
1736
|
-
# @note When making an API call, you may pass ListInstancesRequest
|
1737
|
-
# data as a hash:
|
1738
|
-
#
|
1739
|
-
# {
|
1740
|
-
# service_id: "ResourceId", # required
|
1741
|
-
# next_token: "NextToken",
|
1742
|
-
# max_results: 1,
|
1743
|
-
# }
|
1744
|
-
#
|
1745
1507
|
# @!attribute [rw] service_id
|
1746
1508
|
# The ID of the service that you want to list instances for.
|
1747
1509
|
# @return [String]
|
@@ -1792,21 +1554,6 @@ module Aws::ServiceDiscovery
|
|
1792
1554
|
include Aws::Structure
|
1793
1555
|
end
|
1794
1556
|
|
1795
|
-
# @note When making an API call, you may pass ListNamespacesRequest
|
1796
|
-
# data as a hash:
|
1797
|
-
#
|
1798
|
-
# {
|
1799
|
-
# next_token: "NextToken",
|
1800
|
-
# max_results: 1,
|
1801
|
-
# filters: [
|
1802
|
-
# {
|
1803
|
-
# name: "TYPE", # required, accepts TYPE, NAME, HTTP_NAME
|
1804
|
-
# values: ["FilterValue"], # required
|
1805
|
-
# condition: "EQ", # accepts EQ, IN, BETWEEN, BEGINS_WITH
|
1806
|
-
# },
|
1807
|
-
# ],
|
1808
|
-
# }
|
1809
|
-
#
|
1810
1557
|
# @!attribute [rw] next_token
|
1811
1558
|
# For the first `ListNamespaces` request, omit this value.
|
1812
1559
|
#
|
@@ -1877,21 +1624,6 @@ module Aws::ServiceDiscovery
|
|
1877
1624
|
include Aws::Structure
|
1878
1625
|
end
|
1879
1626
|
|
1880
|
-
# @note When making an API call, you may pass ListOperationsRequest
|
1881
|
-
# data as a hash:
|
1882
|
-
#
|
1883
|
-
# {
|
1884
|
-
# next_token: "NextToken",
|
1885
|
-
# max_results: 1,
|
1886
|
-
# filters: [
|
1887
|
-
# {
|
1888
|
-
# name: "NAMESPACE_ID", # required, accepts NAMESPACE_ID, SERVICE_ID, STATUS, TYPE, UPDATE_DATE
|
1889
|
-
# values: ["FilterValue"], # required
|
1890
|
-
# condition: "EQ", # accepts EQ, IN, BETWEEN, BEGINS_WITH
|
1891
|
-
# },
|
1892
|
-
# ],
|
1893
|
-
# }
|
1894
|
-
#
|
1895
1627
|
# @!attribute [rw] next_token
|
1896
1628
|
# For the first `ListOperations` request, omit this value.
|
1897
1629
|
#
|
@@ -1963,21 +1695,6 @@ module Aws::ServiceDiscovery
|
|
1963
1695
|
include Aws::Structure
|
1964
1696
|
end
|
1965
1697
|
|
1966
|
-
# @note When making an API call, you may pass ListServicesRequest
|
1967
|
-
# data as a hash:
|
1968
|
-
#
|
1969
|
-
# {
|
1970
|
-
# next_token: "NextToken",
|
1971
|
-
# max_results: 1,
|
1972
|
-
# filters: [
|
1973
|
-
# {
|
1974
|
-
# name: "NAMESPACE_ID", # required, accepts NAMESPACE_ID
|
1975
|
-
# values: ["FilterValue"], # required
|
1976
|
-
# condition: "EQ", # accepts EQ, IN, BETWEEN, BEGINS_WITH
|
1977
|
-
# },
|
1978
|
-
# ],
|
1979
|
-
# }
|
1980
|
-
#
|
1981
1698
|
# @!attribute [rw] next_token
|
1982
1699
|
# For the first `ListServices` request, omit this value.
|
1983
1700
|
#
|
@@ -2046,13 +1763,6 @@ module Aws::ServiceDiscovery
|
|
2046
1763
|
include Aws::Structure
|
2047
1764
|
end
|
2048
1765
|
|
2049
|
-
# @note When making an API call, you may pass ListTagsForResourceRequest
|
2050
|
-
# data as a hash:
|
2051
|
-
#
|
2052
|
-
# {
|
2053
|
-
# resource_arn: "AmazonResourceName", # required
|
2054
|
-
# }
|
2055
|
-
#
|
2056
1766
|
# @!attribute [rw] resource_arn
|
2057
1767
|
# The Amazon Resource Name (ARN) of the resource that you want to
|
2058
1768
|
# retrieve tags for.
|
@@ -2182,15 +1892,6 @@ module Aws::ServiceDiscovery
|
|
2182
1892
|
# A complex type that identifies the namespaces that you want to list.
|
2183
1893
|
# You can choose to list public or private namespaces.
|
2184
1894
|
#
|
2185
|
-
# @note When making an API call, you may pass NamespaceFilter
|
2186
|
-
# data as a hash:
|
2187
|
-
#
|
2188
|
-
# {
|
2189
|
-
# name: "TYPE", # required, accepts TYPE, NAME, HTTP_NAME
|
2190
|
-
# values: ["FilterValue"], # required
|
2191
|
-
# condition: "EQ", # accepts EQ, IN, BETWEEN, BEGINS_WITH
|
2192
|
-
# }
|
2193
|
-
#
|
2194
1895
|
# @!attribute [rw] name
|
2195
1896
|
# Specify the namespaces that you want to get using one of the
|
2196
1897
|
# following.
|
@@ -2430,15 +2131,6 @@ module Aws::ServiceDiscovery
|
|
2430
2131
|
# A complex type that lets you select the operations that you want to
|
2431
2132
|
# list.
|
2432
2133
|
#
|
2433
|
-
# @note When making an API call, you may pass OperationFilter
|
2434
|
-
# data as a hash:
|
2435
|
-
#
|
2436
|
-
# {
|
2437
|
-
# name: "NAMESPACE_ID", # required, accepts NAMESPACE_ID, SERVICE_ID, STATUS, TYPE, UPDATE_DATE
|
2438
|
-
# values: ["FilterValue"], # required
|
2439
|
-
# condition: "EQ", # accepts EQ, IN, BETWEEN, BEGINS_WITH
|
2440
|
-
# }
|
2441
|
-
#
|
2442
2134
|
# @!attribute [rw] name
|
2443
2135
|
# Specify the operations that you want to get:
|
2444
2136
|
#
|
@@ -2555,20 +2247,6 @@ module Aws::ServiceDiscovery
|
|
2555
2247
|
|
2556
2248
|
# Updated properties for the private DNS namespace.
|
2557
2249
|
#
|
2558
|
-
# @note When making an API call, you may pass PrivateDnsNamespaceChange
|
2559
|
-
# data as a hash:
|
2560
|
-
#
|
2561
|
-
# {
|
2562
|
-
# description: "ResourceDescription",
|
2563
|
-
# properties: {
|
2564
|
-
# dns_properties: { # required
|
2565
|
-
# soa: { # required
|
2566
|
-
# ttl: 1, # required
|
2567
|
-
# },
|
2568
|
-
# },
|
2569
|
-
# },
|
2570
|
-
# }
|
2571
|
-
#
|
2572
2250
|
# @!attribute [rw] description
|
2573
2251
|
# An updated description for the private DNS namespace.
|
2574
2252
|
# @return [String]
|
@@ -2588,17 +2266,6 @@ module Aws::ServiceDiscovery
|
|
2588
2266
|
|
2589
2267
|
# DNS properties for the private DNS namespace.
|
2590
2268
|
#
|
2591
|
-
# @note When making an API call, you may pass PrivateDnsNamespaceProperties
|
2592
|
-
# data as a hash:
|
2593
|
-
#
|
2594
|
-
# {
|
2595
|
-
# dns_properties: { # required
|
2596
|
-
# soa: { # required
|
2597
|
-
# ttl: 1, # required
|
2598
|
-
# },
|
2599
|
-
# },
|
2600
|
-
# }
|
2601
|
-
#
|
2602
2269
|
# @!attribute [rw] dns_properties
|
2603
2270
|
# DNS properties for the private DNS namespace.
|
2604
2271
|
# @return [Types::PrivateDnsPropertiesMutable]
|
@@ -2613,17 +2280,6 @@ module Aws::ServiceDiscovery
|
|
2613
2280
|
|
2614
2281
|
# Updated properties for the private DNS namespace.
|
2615
2282
|
#
|
2616
|
-
# @note When making an API call, you may pass PrivateDnsNamespacePropertiesChange
|
2617
|
-
# data as a hash:
|
2618
|
-
#
|
2619
|
-
# {
|
2620
|
-
# dns_properties: { # required
|
2621
|
-
# soa: { # required
|
2622
|
-
# ttl: 1, # required
|
2623
|
-
# },
|
2624
|
-
# },
|
2625
|
-
# }
|
2626
|
-
#
|
2627
2283
|
# @!attribute [rw] dns_properties
|
2628
2284
|
# Updated DNS properties for the private DNS namespace.
|
2629
2285
|
# @return [Types::PrivateDnsPropertiesMutableChange]
|
@@ -2638,15 +2294,6 @@ module Aws::ServiceDiscovery
|
|
2638
2294
|
|
2639
2295
|
# DNS properties for the private DNS namespace.
|
2640
2296
|
#
|
2641
|
-
# @note When making an API call, you may pass PrivateDnsPropertiesMutable
|
2642
|
-
# data as a hash:
|
2643
|
-
#
|
2644
|
-
# {
|
2645
|
-
# soa: { # required
|
2646
|
-
# ttl: 1, # required
|
2647
|
-
# },
|
2648
|
-
# }
|
2649
|
-
#
|
2650
2297
|
# @!attribute [rw] soa
|
2651
2298
|
# Fields for the Start of Authority (SOA) record for the hosted zone
|
2652
2299
|
# for the private DNS namespace.
|
@@ -2662,15 +2309,6 @@ module Aws::ServiceDiscovery
|
|
2662
2309
|
|
2663
2310
|
# Updated DNS properties for the private DNS namespace.
|
2664
2311
|
#
|
2665
|
-
# @note When making an API call, you may pass PrivateDnsPropertiesMutableChange
|
2666
|
-
# data as a hash:
|
2667
|
-
#
|
2668
|
-
# {
|
2669
|
-
# soa: { # required
|
2670
|
-
# ttl: 1, # required
|
2671
|
-
# },
|
2672
|
-
# }
|
2673
|
-
#
|
2674
2312
|
# @!attribute [rw] soa
|
2675
2313
|
# Updated fields for the Start of Authority (SOA) record for the
|
2676
2314
|
# hosted zone for the private DNS namespace.
|
@@ -2686,20 +2324,6 @@ module Aws::ServiceDiscovery
|
|
2686
2324
|
|
2687
2325
|
# Updated properties for the public DNS namespace.
|
2688
2326
|
#
|
2689
|
-
# @note When making an API call, you may pass PublicDnsNamespaceChange
|
2690
|
-
# data as a hash:
|
2691
|
-
#
|
2692
|
-
# {
|
2693
|
-
# description: "ResourceDescription",
|
2694
|
-
# properties: {
|
2695
|
-
# dns_properties: { # required
|
2696
|
-
# soa: { # required
|
2697
|
-
# ttl: 1, # required
|
2698
|
-
# },
|
2699
|
-
# },
|
2700
|
-
# },
|
2701
|
-
# }
|
2702
|
-
#
|
2703
2327
|
# @!attribute [rw] description
|
2704
2328
|
# An updated description for the public DNS namespace.
|
2705
2329
|
# @return [String]
|
@@ -2719,17 +2343,6 @@ module Aws::ServiceDiscovery
|
|
2719
2343
|
|
2720
2344
|
# DNS properties for the public DNS namespace.
|
2721
2345
|
#
|
2722
|
-
# @note When making an API call, you may pass PublicDnsNamespaceProperties
|
2723
|
-
# data as a hash:
|
2724
|
-
#
|
2725
|
-
# {
|
2726
|
-
# dns_properties: { # required
|
2727
|
-
# soa: { # required
|
2728
|
-
# ttl: 1, # required
|
2729
|
-
# },
|
2730
|
-
# },
|
2731
|
-
# }
|
2732
|
-
#
|
2733
2346
|
# @!attribute [rw] dns_properties
|
2734
2347
|
# DNS properties for the public DNS namespace.
|
2735
2348
|
# @return [Types::PublicDnsPropertiesMutable]
|
@@ -2744,17 +2357,6 @@ module Aws::ServiceDiscovery
|
|
2744
2357
|
|
2745
2358
|
# Updated properties for the public DNS namespace.
|
2746
2359
|
#
|
2747
|
-
# @note When making an API call, you may pass PublicDnsNamespacePropertiesChange
|
2748
|
-
# data as a hash:
|
2749
|
-
#
|
2750
|
-
# {
|
2751
|
-
# dns_properties: { # required
|
2752
|
-
# soa: { # required
|
2753
|
-
# ttl: 1, # required
|
2754
|
-
# },
|
2755
|
-
# },
|
2756
|
-
# }
|
2757
|
-
#
|
2758
2360
|
# @!attribute [rw] dns_properties
|
2759
2361
|
# Updated DNS properties for the hosted zone for the public DNS
|
2760
2362
|
# namespace.
|
@@ -2770,15 +2372,6 @@ module Aws::ServiceDiscovery
|
|
2770
2372
|
|
2771
2373
|
# DNS properties for the public DNS namespace.
|
2772
2374
|
#
|
2773
|
-
# @note When making an API call, you may pass PublicDnsPropertiesMutable
|
2774
|
-
# data as a hash:
|
2775
|
-
#
|
2776
|
-
# {
|
2777
|
-
# soa: { # required
|
2778
|
-
# ttl: 1, # required
|
2779
|
-
# },
|
2780
|
-
# }
|
2781
|
-
#
|
2782
2375
|
# @!attribute [rw] soa
|
2783
2376
|
# Start of Authority (SOA) record for the hosted zone for the public
|
2784
2377
|
# DNS namespace.
|
@@ -2794,15 +2387,6 @@ module Aws::ServiceDiscovery
|
|
2794
2387
|
|
2795
2388
|
# Updated DNS properties for the public DNS namespace.
|
2796
2389
|
#
|
2797
|
-
# @note When making an API call, you may pass PublicDnsPropertiesMutableChange
|
2798
|
-
# data as a hash:
|
2799
|
-
#
|
2800
|
-
# {
|
2801
|
-
# soa: { # required
|
2802
|
-
# ttl: 1, # required
|
2803
|
-
# },
|
2804
|
-
# }
|
2805
|
-
#
|
2806
2390
|
# @!attribute [rw] soa
|
2807
2391
|
# Updated fields for the Start of Authority (SOA) record for the
|
2808
2392
|
# hosted zone for the public DNS namespace.
|
@@ -2816,18 +2400,6 @@ module Aws::ServiceDiscovery
|
|
2816
2400
|
include Aws::Structure
|
2817
2401
|
end
|
2818
2402
|
|
2819
|
-
# @note When making an API call, you may pass RegisterInstanceRequest
|
2820
|
-
# data as a hash:
|
2821
|
-
#
|
2822
|
-
# {
|
2823
|
-
# service_id: "ResourceId", # required
|
2824
|
-
# instance_id: "InstanceId", # required
|
2825
|
-
# creator_request_id: "ResourceId",
|
2826
|
-
# attributes: { # required
|
2827
|
-
# "AttrKey" => "AttrValue",
|
2828
|
-
# },
|
2829
|
-
# }
|
2830
|
-
#
|
2831
2403
|
# @!attribute [rw] service_id
|
2832
2404
|
# The ID of the service that you want to use for settings for the
|
2833
2405
|
# instance.
|
@@ -3094,13 +2666,6 @@ module Aws::ServiceDiscovery
|
|
3094
2666
|
# Start of Authority (SOA) properties for a public or private DNS
|
3095
2667
|
# namespace.
|
3096
2668
|
#
|
3097
|
-
# @note When making an API call, you may pass SOA
|
3098
|
-
# data as a hash:
|
3099
|
-
#
|
3100
|
-
# {
|
3101
|
-
# ttl: 1, # required
|
3102
|
-
# }
|
3103
|
-
#
|
3104
2669
|
# @!attribute [rw] ttl
|
3105
2670
|
# The time to live (TTL) for purposes of negative caching.
|
3106
2671
|
# @return [Integer]
|
@@ -3116,13 +2681,6 @@ module Aws::ServiceDiscovery
|
|
3116
2681
|
# Updated Start of Authority (SOA) properties for a public or private
|
3117
2682
|
# DNS namespace.
|
3118
2683
|
#
|
3119
|
-
# @note When making an API call, you may pass SOAChange
|
3120
|
-
# data as a hash:
|
3121
|
-
#
|
3122
|
-
# {
|
3123
|
-
# ttl: 1, # required
|
3124
|
-
# }
|
3125
|
-
#
|
3126
2684
|
# @!attribute [rw] ttl
|
3127
2685
|
# The updated time to live (TTL) for purposes of negative caching.
|
3128
2686
|
# @return [Integer]
|
@@ -3274,26 +2832,6 @@ module Aws::ServiceDiscovery
|
|
3274
2832
|
|
3275
2833
|
# A complex type that contains changes to an existing service.
|
3276
2834
|
#
|
3277
|
-
# @note When making an API call, you may pass ServiceChange
|
3278
|
-
# data as a hash:
|
3279
|
-
#
|
3280
|
-
# {
|
3281
|
-
# description: "ResourceDescription",
|
3282
|
-
# dns_config: {
|
3283
|
-
# dns_records: [ # required
|
3284
|
-
# {
|
3285
|
-
# type: "SRV", # required, accepts SRV, A, AAAA, CNAME
|
3286
|
-
# ttl: 1, # required
|
3287
|
-
# },
|
3288
|
-
# ],
|
3289
|
-
# },
|
3290
|
-
# health_check_config: {
|
3291
|
-
# type: "HTTP", # required, accepts HTTP, HTTPS, TCP
|
3292
|
-
# resource_path: "ResourcePath",
|
3293
|
-
# failure_threshold: 1,
|
3294
|
-
# },
|
3295
|
-
# }
|
3296
|
-
#
|
3297
2835
|
# @!attribute [rw] description
|
3298
2836
|
# A description for the service.
|
3299
2837
|
# @return [String]
|
@@ -3323,15 +2861,6 @@ module Aws::ServiceDiscovery
|
|
3323
2861
|
# A complex type that lets you specify the namespaces that you want to
|
3324
2862
|
# list services for.
|
3325
2863
|
#
|
3326
|
-
# @note When making an API call, you may pass ServiceFilter
|
3327
|
-
# data as a hash:
|
3328
|
-
#
|
3329
|
-
# {
|
3330
|
-
# name: "NAMESPACE_ID", # required, accepts NAMESPACE_ID
|
3331
|
-
# values: ["FilterValue"], # required
|
3332
|
-
# condition: "EQ", # accepts EQ, IN, BETWEEN, BEGINS_WITH
|
3333
|
-
# }
|
3334
|
-
#
|
3335
2864
|
# @!attribute [rw] name
|
3336
2865
|
# Specify `NAMESPACE_ID`.
|
3337
2866
|
# @return [String]
|
@@ -3474,14 +3003,6 @@ module Aws::ServiceDiscovery
|
|
3474
3003
|
|
3475
3004
|
# A custom key-value pair that's associated with a resource.
|
3476
3005
|
#
|
3477
|
-
# @note When making an API call, you may pass Tag
|
3478
|
-
# data as a hash:
|
3479
|
-
#
|
3480
|
-
# {
|
3481
|
-
# key: "TagKey", # required
|
3482
|
-
# value: "TagValue", # required
|
3483
|
-
# }
|
3484
|
-
#
|
3485
3006
|
# @!attribute [rw] key
|
3486
3007
|
# The key identifier, or name, of the tag.
|
3487
3008
|
# @return [String]
|
@@ -3501,19 +3022,6 @@ module Aws::ServiceDiscovery
|
|
3501
3022
|
include Aws::Structure
|
3502
3023
|
end
|
3503
3024
|
|
3504
|
-
# @note When making an API call, you may pass TagResourceRequest
|
3505
|
-
# data as a hash:
|
3506
|
-
#
|
3507
|
-
# {
|
3508
|
-
# resource_arn: "AmazonResourceName", # required
|
3509
|
-
# tags: [ # required
|
3510
|
-
# {
|
3511
|
-
# key: "TagKey", # required
|
3512
|
-
# value: "TagValue", # required
|
3513
|
-
# },
|
3514
|
-
# ],
|
3515
|
-
# }
|
3516
|
-
#
|
3517
3025
|
# @!attribute [rw] resource_arn
|
3518
3026
|
# The Amazon Resource Name (ARN) of the resource that you want to
|
3519
3027
|
# retrieve tags for.
|
@@ -3557,14 +3065,6 @@ module Aws::ServiceDiscovery
|
|
3557
3065
|
include Aws::Structure
|
3558
3066
|
end
|
3559
3067
|
|
3560
|
-
# @note When making an API call, you may pass UntagResourceRequest
|
3561
|
-
# data as a hash:
|
3562
|
-
#
|
3563
|
-
# {
|
3564
|
-
# resource_arn: "AmazonResourceName", # required
|
3565
|
-
# tag_keys: ["TagKey"], # required
|
3566
|
-
# }
|
3567
|
-
#
|
3568
3068
|
# @!attribute [rw] resource_arn
|
3569
3069
|
# The Amazon Resource Name (ARN) of the resource that you want to
|
3570
3070
|
# retrieve tags for.
|
@@ -3587,17 +3087,6 @@ module Aws::ServiceDiscovery
|
|
3587
3087
|
#
|
3588
3088
|
class UntagResourceResponse < Aws::EmptyStructure; end
|
3589
3089
|
|
3590
|
-
# @note When making an API call, you may pass UpdateHttpNamespaceRequest
|
3591
|
-
# data as a hash:
|
3592
|
-
#
|
3593
|
-
# {
|
3594
|
-
# id: "ResourceId", # required
|
3595
|
-
# updater_request_id: "ResourceId",
|
3596
|
-
# namespace: { # required
|
3597
|
-
# description: "ResourceDescription", # required
|
3598
|
-
# },
|
3599
|
-
# }
|
3600
|
-
#
|
3601
3090
|
# @!attribute [rw] id
|
3602
3091
|
# The ID of the namespace that you want to update.
|
3603
3092
|
# @return [String]
|
@@ -3644,15 +3133,6 @@ module Aws::ServiceDiscovery
|
|
3644
3133
|
include Aws::Structure
|
3645
3134
|
end
|
3646
3135
|
|
3647
|
-
# @note When making an API call, you may pass UpdateInstanceCustomHealthStatusRequest
|
3648
|
-
# data as a hash:
|
3649
|
-
#
|
3650
|
-
# {
|
3651
|
-
# service_id: "ResourceId", # required
|
3652
|
-
# instance_id: "ResourceId", # required
|
3653
|
-
# status: "HEALTHY", # required, accepts HEALTHY, UNHEALTHY
|
3654
|
-
# }
|
3655
|
-
#
|
3656
3136
|
# @!attribute [rw] service_id
|
3657
3137
|
# The ID of the service that includes the configuration for the custom
|
3658
3138
|
# health check that you want to change the status for.
|
@@ -3677,24 +3157,6 @@ module Aws::ServiceDiscovery
|
|
3677
3157
|
include Aws::Structure
|
3678
3158
|
end
|
3679
3159
|
|
3680
|
-
# @note When making an API call, you may pass UpdatePrivateDnsNamespaceRequest
|
3681
|
-
# data as a hash:
|
3682
|
-
#
|
3683
|
-
# {
|
3684
|
-
# id: "ResourceId", # required
|
3685
|
-
# updater_request_id: "ResourceId",
|
3686
|
-
# namespace: { # required
|
3687
|
-
# description: "ResourceDescription",
|
3688
|
-
# properties: {
|
3689
|
-
# dns_properties: { # required
|
3690
|
-
# soa: { # required
|
3691
|
-
# ttl: 1, # required
|
3692
|
-
# },
|
3693
|
-
# },
|
3694
|
-
# },
|
3695
|
-
# },
|
3696
|
-
# }
|
3697
|
-
#
|
3698
3160
|
# @!attribute [rw] id
|
3699
3161
|
# The ID of the namespace that you want to update.
|
3700
3162
|
# @return [String]
|
@@ -3741,24 +3203,6 @@ module Aws::ServiceDiscovery
|
|
3741
3203
|
include Aws::Structure
|
3742
3204
|
end
|
3743
3205
|
|
3744
|
-
# @note When making an API call, you may pass UpdatePublicDnsNamespaceRequest
|
3745
|
-
# data as a hash:
|
3746
|
-
#
|
3747
|
-
# {
|
3748
|
-
# id: "ResourceId", # required
|
3749
|
-
# updater_request_id: "ResourceId",
|
3750
|
-
# namespace: { # required
|
3751
|
-
# description: "ResourceDescription",
|
3752
|
-
# properties: {
|
3753
|
-
# dns_properties: { # required
|
3754
|
-
# soa: { # required
|
3755
|
-
# ttl: 1, # required
|
3756
|
-
# },
|
3757
|
-
# },
|
3758
|
-
# },
|
3759
|
-
# },
|
3760
|
-
# }
|
3761
|
-
#
|
3762
3206
|
# @!attribute [rw] id
|
3763
3207
|
# The ID of the namespace being updated.
|
3764
3208
|
# @return [String]
|
@@ -3805,29 +3249,6 @@ module Aws::ServiceDiscovery
|
|
3805
3249
|
include Aws::Structure
|
3806
3250
|
end
|
3807
3251
|
|
3808
|
-
# @note When making an API call, you may pass UpdateServiceRequest
|
3809
|
-
# data as a hash:
|
3810
|
-
#
|
3811
|
-
# {
|
3812
|
-
# id: "ResourceId", # required
|
3813
|
-
# service: { # required
|
3814
|
-
# description: "ResourceDescription",
|
3815
|
-
# dns_config: {
|
3816
|
-
# dns_records: [ # required
|
3817
|
-
# {
|
3818
|
-
# type: "SRV", # required, accepts SRV, A, AAAA, CNAME
|
3819
|
-
# ttl: 1, # required
|
3820
|
-
# },
|
3821
|
-
# ],
|
3822
|
-
# },
|
3823
|
-
# health_check_config: {
|
3824
|
-
# type: "HTTP", # required, accepts HTTP, HTTPS, TCP
|
3825
|
-
# resource_path: "ResourcePath",
|
3826
|
-
# failure_threshold: 1,
|
3827
|
-
# },
|
3828
|
-
# },
|
3829
|
-
# }
|
3830
|
-
#
|
3831
3252
|
# @!attribute [rw] id
|
3832
3253
|
# The ID of the service that you want to update.
|
3833
3254
|
# @return [String]
|