aws-sdk-servicediscovery 1.48.0 → 1.49.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: 5278a123f145a2e3e7a6a4e92db9b087110f9c7e665de8e7df72dcacd01fee21
4
- data.tar.gz: ba82743473ec3b2b954201a91b5cc0b4078566c39cdb117f15ec240e2cbd353a
3
+ metadata.gz: 75cc950bbe40cb64166c5d55294731b0cf26f3c5f10b15e3ed819f080acbfc0d
4
+ data.tar.gz: 2c05906a1137ed9e6090ed0294420ffd71a52d2ce1b735cf4ee0888929810370
5
5
  SHA512:
6
- metadata.gz: 4c25b4c5f704e51a4d901dc2fbdc08816412f626898dcd16e0ad96d80517caf3de5e2c462b714ef8a43b4e7a841e46a3fe55884191813a5a585485950f4ee072
7
- data.tar.gz: 64716e49b435e0f437b64801fce1ef5a3683a415c8cce90bbfe8102de37453aca8d8cf45c6235f492fc8604a43893343ad4a384cf5baeea0600479fc3370f245
6
+ metadata.gz: a2192e4bc242fe9a0b12625829e5b13a510701b23efeba1725ed336e089a1fc2e3484785c802519b8ac5296dd7a8ae41bd6c954b13e0d5c13bb5c1d3ceec5e9a
7
+ data.tar.gz: 727423c72217b296c4d805d6136dbbd6257282e191f8df45db0d4ff3f0aa968974f1363783674e9fb765b452f83035fc3e1a5121d2b197d8a85dd17c63cee0ea
data/CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.49.0 (2023-01-18)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
10
+
4
11
  1.48.0 (2022-10-25)
5
12
  ------------------
6
13
 
@@ -250,4 +257,4 @@ Unreleased Changes
250
257
  1.0.0 (2017-12-05)
251
258
  ------------------
252
259
 
253
- * Feature - Initial release of `aws-sdk-servicediscovery`.
260
+ * Feature - Initial release of `aws-sdk-servicediscovery`.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.48.0
1
+ 1.49.0
@@ -2641,7 +2641,7 @@ module Aws::ServiceDiscovery
2641
2641
  params: params,
2642
2642
  config: config)
2643
2643
  context[:gem_name] = 'aws-sdk-servicediscovery'
2644
- context[:gem_version] = '1.48.0'
2644
+ context[:gem_version] = '1.49.0'
2645
2645
  Seahorse::Client::Request.new(handlers, context)
2646
2646
  end
2647
2647
 
@@ -9,113 +9,49 @@
9
9
 
10
10
  module Aws::ServiceDiscovery
11
11
  class EndpointProvider
12
- def initialize(rule_set = nil)
13
- @@rule_set ||= begin
14
- endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
- Aws::Endpoints::RuleSet.new(
16
- version: endpoint_rules['version'],
17
- service_id: endpoint_rules['serviceId'],
18
- parameters: endpoint_rules['parameters'],
19
- rules: endpoint_rules['rules']
20
- )
12
+ def resolve_endpoint(parameters)
13
+ region = parameters.region
14
+ use_dual_stack = parameters.use_dual_stack
15
+ use_fips = parameters.use_fips
16
+ endpoint = parameters.endpoint
17
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
+ if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(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://servicediscovery-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
33
+ 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
+ if Aws::Endpoints::Matchers.string_equals?(region, "servicediscovery")
36
+ return Aws::Endpoints::Endpoint.new(url: "https://servicediscovery-fips.ca-central-1.amazonaws.com", headers: {}, properties: {})
37
+ end
38
+ if Aws::Endpoints::Matchers.string_equals?(region, "servicediscovery")
39
+ return Aws::Endpoints::Endpoint.new(url: "https://servicediscovery-fips.us-gov-west-1.amazonaws.com", headers: {}, properties: {})
40
+ end
41
+ return Aws::Endpoints::Endpoint.new(url: "https://servicediscovery-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
42
+ end
43
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
44
+ end
45
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
46
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
47
+ return Aws::Endpoints::Endpoint.new(url: "https://servicediscovery.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
48
+ end
49
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
50
+ end
51
+ return Aws::Endpoints::Endpoint.new(url: "https://servicediscovery.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
21
52
  end
22
- @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
- end
53
+ raise ArgumentError, 'No endpoint could be resolved'
24
54
 
25
- def resolve_endpoint(parameters)
26
- @provider.resolve_endpoint(parameters)
27
55
  end
28
-
29
- # @api private
30
- RULES = <<-JSON
31
- eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
- bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOnRydWUsImRvY3VtZW50
33
- YXRpb24iOiJUaGUgQVdTIHJlZ2lvbiB1c2VkIHRvIGRpc3BhdGNoIHRoZSBy
34
- ZXF1ZXN0LiIsInR5cGUiOiJTdHJpbmcifSwiVXNlRHVhbFN0YWNrIjp7ImJ1
35
- aWx0SW4iOiJBV1M6OlVzZUR1YWxTdGFjayIsInJlcXVpcmVkIjp0cnVlLCJk
36
- ZWZhdWx0IjpmYWxzZSwiZG9jdW1lbnRhdGlvbiI6IldoZW4gdHJ1ZSwgdXNl
37
- IHRoZSBkdWFsLXN0YWNrIGVuZHBvaW50LiBJZiB0aGUgY29uZmlndXJlZCBl
38
- bmRwb2ludCBkb2VzIG5vdCBzdXBwb3J0IGR1YWwtc3RhY2ssIGRpc3BhdGNo
39
- aW5nIHRoZSByZXF1ZXN0IE1BWSByZXR1cm4gYW4gZXJyb3IuIiwidHlwZSI6
40
- IkJvb2xlYW4ifSwiVXNlRklQUyI6eyJidWlsdEluIjoiQVdTOjpVc2VGSVBT
41
- IiwicmVxdWlyZWQiOnRydWUsImRlZmF1bHQiOmZhbHNlLCJkb2N1bWVudGF0
42
- aW9uIjoiV2hlbiB0cnVlLCBzZW5kIHRoaXMgcmVxdWVzdCB0byB0aGUgRklQ
43
- Uy1jb21wbGlhbnQgcmVnaW9uYWwgZW5kcG9pbnQuIElmIHRoZSBjb25maWd1
44
- cmVkIGVuZHBvaW50IGRvZXMgbm90IGhhdmUgYSBGSVBTIGNvbXBsaWFudCBl
45
- bmRwb2ludCwgZGlzcGF0Y2hpbmcgdGhlIHJlcXVlc3Qgd2lsbCByZXR1cm4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V19LHsiY29uZGl0aW9ucyI6W10sImVycm9yIjoiRHVhbFN0YWNrIGlzIGVu
113
- YWJsZWQgYnV0IHRoaXMgcGFydGl0aW9uIGRvZXMgbm90IHN1cHBvcnQgRHVh
114
- bFN0YWNrIiwidHlwZSI6ImVycm9yIn1dfSx7ImNvbmRpdGlvbnMiOltdLCJl
115
- bmRwb2ludCI6eyJ1cmwiOiJodHRwczovL3NlcnZpY2VkaXNjb3Zlcnkue1Jl
116
- Z2lvbn0ue1BhcnRpdGlvblJlc3VsdCNkbnNTdWZmaXh9IiwicHJvcGVydGll
117
- cyI6e30sImhlYWRlcnMiOnt9fSwidHlwZSI6ImVuZHBvaW50In1dfV19
118
-
119
- JSON
120
56
  end
121
57
  end
@@ -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]
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-servicediscovery/customizations'
52
52
  # @!group service
53
53
  module Aws::ServiceDiscovery
54
54
 
55
- GEM_VERSION = '1.48.0'
55
+ GEM_VERSION = '1.49.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-servicediscovery
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.48.0
4
+ version: 1.49.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: 2022-10-25 00:00:00.000000000 Z
11
+ date: 2023-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core