aws-sdk-servicediscovery 1.61.0 → 1.62.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/client.rb +1 -1
- data/lib/aws-sdk-servicediscovery/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-servicediscovery.rb +1 -1
- data/sig/client.rbs +505 -0
- data/sig/errors.rbs +64 -0
- data/sig/resource.rbs +80 -0
- data/sig/types.rbs +648 -0
- data/sig/waiters.rbs +13 -0
- metadata +13 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fb4c2ff2a1b698addb907302fa8abcc8145f28744fb7704bfc8b2f271bc03c5b
|
4
|
+
data.tar.gz: d47de9414cfc94a2e9a64c779e984ab523e1bad309f2b6cadc8dfa5485959945
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7920308e8e9b039c77aaae8bc658a699c7747c974efab3f1f1e5c2dd0dc35a0f46b249d78cc31409cc01ef8982a0b5378be60c7c411870dd73b0d444652a30cf
|
7
|
+
data.tar.gz: 4ecbe38e8ababd56197d437fe5e5e1034a053fc0bbaf02cd8454d6eb4402a4274c20ece95cbaabe762d30e7804bff0a46f402130ee9871782bdb8637d61256a5
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.62.0
|
@@ -2699,7 +2699,7 @@ module Aws::ServiceDiscovery
|
|
2699
2699
|
params: params,
|
2700
2700
|
config: config)
|
2701
2701
|
context[:gem_name] = 'aws-sdk-servicediscovery'
|
2702
|
-
context[:gem_version] = '1.
|
2702
|
+
context[:gem_version] = '1.62.0'
|
2703
2703
|
Seahorse::Client::Request.new(handlers, context)
|
2704
2704
|
end
|
2705
2705
|
|
@@ -14,6 +14,7 @@ module Aws::ServiceDiscovery
|
|
14
14
|
option(
|
15
15
|
:endpoint_provider,
|
16
16
|
doc_type: 'Aws::ServiceDiscovery::EndpointProvider',
|
17
|
+
rbs_type: 'untyped',
|
17
18
|
docstring: 'The endpoint provider used to resolve endpoints. Any '\
|
18
19
|
'object that responds to `#resolve_endpoint(parameters)` '\
|
19
20
|
'where `parameters` is a Struct similar to '\
|
data/sig/client.rbs
ADDED
@@ -0,0 +1,505 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module ServiceDiscovery
|
10
|
+
class Client < ::Seahorse::Client::Base
|
11
|
+
include ::Aws::ClientStubs
|
12
|
+
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ServiceDiscovery/Client.html#initialize-instance_method
|
14
|
+
def self.new: (
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_key_id: String,
|
18
|
+
?active_endpoint_cache: bool,
|
19
|
+
?adaptive_retry_wait_to_fill: bool,
|
20
|
+
?client_side_monitoring: bool,
|
21
|
+
?client_side_monitoring_client_id: String,
|
22
|
+
?client_side_monitoring_host: String,
|
23
|
+
?client_side_monitoring_port: Integer,
|
24
|
+
?client_side_monitoring_publisher: untyped,
|
25
|
+
?convert_params: bool,
|
26
|
+
?correct_clock_skew: bool,
|
27
|
+
?defaults_mode: String,
|
28
|
+
?disable_host_prefix_injection: bool,
|
29
|
+
?disable_request_compression: bool,
|
30
|
+
?endpoint: String,
|
31
|
+
?endpoint_cache_max_entries: Integer,
|
32
|
+
?endpoint_cache_max_threads: Integer,
|
33
|
+
?endpoint_cache_poll_interval: Integer,
|
34
|
+
?endpoint_discovery: bool,
|
35
|
+
?ignore_configured_endpoint_urls: bool,
|
36
|
+
?log_formatter: untyped,
|
37
|
+
?log_level: Symbol,
|
38
|
+
?logger: untyped,
|
39
|
+
?max_attempts: Integer,
|
40
|
+
?profile: String,
|
41
|
+
?request_min_compression_size_bytes: Integer,
|
42
|
+
?retry_backoff: Proc,
|
43
|
+
?retry_base_delay: Float,
|
44
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
45
|
+
?retry_limit: Integer,
|
46
|
+
?retry_max_delay: Integer,
|
47
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
48
|
+
?sdk_ua_app_id: String,
|
49
|
+
?secret_access_key: String,
|
50
|
+
?session_token: String,
|
51
|
+
?simple_json: bool,
|
52
|
+
?stub_responses: untyped,
|
53
|
+
?token_provider: untyped,
|
54
|
+
?use_dualstack_endpoint: bool,
|
55
|
+
?use_fips_endpoint: bool,
|
56
|
+
?validate_params: bool,
|
57
|
+
?endpoint_provider: untyped,
|
58
|
+
?http_proxy: String,
|
59
|
+
?http_open_timeout: (Float | Integer),
|
60
|
+
?http_read_timeout: (Float | Integer),
|
61
|
+
?http_idle_timeout: (Float | Integer),
|
62
|
+
?http_continue_timeout: (Float | Integer),
|
63
|
+
?ssl_timeout: (Float | Integer | nil),
|
64
|
+
?http_wire_trace: bool,
|
65
|
+
?ssl_verify_peer: bool,
|
66
|
+
?ssl_ca_bundle: String,
|
67
|
+
?ssl_ca_directory: String,
|
68
|
+
?ssl_ca_store: String,
|
69
|
+
?on_chunk_received: Proc,
|
70
|
+
?on_chunk_sent: Proc,
|
71
|
+
?raise_response_errors: bool
|
72
|
+
) -> instance
|
73
|
+
| (?Hash[Symbol, untyped]) -> instance
|
74
|
+
|
75
|
+
|
76
|
+
interface _CreateHttpNamespaceResponseSuccess
|
77
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateHttpNamespaceResponse]
|
78
|
+
def operation_id: () -> ::String
|
79
|
+
end
|
80
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ServiceDiscovery/Client.html#create_http_namespace-instance_method
|
81
|
+
def create_http_namespace: (
|
82
|
+
name: ::String,
|
83
|
+
?creator_request_id: ::String,
|
84
|
+
?description: ::String,
|
85
|
+
?tags: Array[
|
86
|
+
{
|
87
|
+
key: ::String,
|
88
|
+
value: ::String
|
89
|
+
},
|
90
|
+
]
|
91
|
+
) -> _CreateHttpNamespaceResponseSuccess
|
92
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateHttpNamespaceResponseSuccess
|
93
|
+
|
94
|
+
interface _CreatePrivateDnsNamespaceResponseSuccess
|
95
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreatePrivateDnsNamespaceResponse]
|
96
|
+
def operation_id: () -> ::String
|
97
|
+
end
|
98
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ServiceDiscovery/Client.html#create_private_dns_namespace-instance_method
|
99
|
+
def create_private_dns_namespace: (
|
100
|
+
name: ::String,
|
101
|
+
?creator_request_id: ::String,
|
102
|
+
?description: ::String,
|
103
|
+
vpc: ::String,
|
104
|
+
?tags: Array[
|
105
|
+
{
|
106
|
+
key: ::String,
|
107
|
+
value: ::String
|
108
|
+
},
|
109
|
+
],
|
110
|
+
?properties: {
|
111
|
+
dns_properties: {
|
112
|
+
soa: {
|
113
|
+
ttl: ::Integer
|
114
|
+
}
|
115
|
+
}
|
116
|
+
}
|
117
|
+
) -> _CreatePrivateDnsNamespaceResponseSuccess
|
118
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreatePrivateDnsNamespaceResponseSuccess
|
119
|
+
|
120
|
+
interface _CreatePublicDnsNamespaceResponseSuccess
|
121
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreatePublicDnsNamespaceResponse]
|
122
|
+
def operation_id: () -> ::String
|
123
|
+
end
|
124
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ServiceDiscovery/Client.html#create_public_dns_namespace-instance_method
|
125
|
+
def create_public_dns_namespace: (
|
126
|
+
name: ::String,
|
127
|
+
?creator_request_id: ::String,
|
128
|
+
?description: ::String,
|
129
|
+
?tags: Array[
|
130
|
+
{
|
131
|
+
key: ::String,
|
132
|
+
value: ::String
|
133
|
+
},
|
134
|
+
],
|
135
|
+
?properties: {
|
136
|
+
dns_properties: {
|
137
|
+
soa: {
|
138
|
+
ttl: ::Integer
|
139
|
+
}
|
140
|
+
}
|
141
|
+
}
|
142
|
+
) -> _CreatePublicDnsNamespaceResponseSuccess
|
143
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreatePublicDnsNamespaceResponseSuccess
|
144
|
+
|
145
|
+
interface _CreateServiceResponseSuccess
|
146
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateServiceResponse]
|
147
|
+
def service: () -> Types::Service
|
148
|
+
end
|
149
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ServiceDiscovery/Client.html#create_service-instance_method
|
150
|
+
def create_service: (
|
151
|
+
name: ::String,
|
152
|
+
?namespace_id: ::String,
|
153
|
+
?creator_request_id: ::String,
|
154
|
+
?description: ::String,
|
155
|
+
?dns_config: {
|
156
|
+
namespace_id: ::String?,
|
157
|
+
routing_policy: ("MULTIVALUE" | "WEIGHTED")?,
|
158
|
+
dns_records: Array[
|
159
|
+
{
|
160
|
+
type: ("SRV" | "A" | "AAAA" | "CNAME"),
|
161
|
+
ttl: ::Integer
|
162
|
+
},
|
163
|
+
]
|
164
|
+
},
|
165
|
+
?health_check_config: {
|
166
|
+
type: ("HTTP" | "HTTPS" | "TCP"),
|
167
|
+
resource_path: ::String?,
|
168
|
+
failure_threshold: ::Integer?
|
169
|
+
},
|
170
|
+
?health_check_custom_config: {
|
171
|
+
failure_threshold: ::Integer?
|
172
|
+
},
|
173
|
+
?tags: Array[
|
174
|
+
{
|
175
|
+
key: ::String,
|
176
|
+
value: ::String
|
177
|
+
},
|
178
|
+
],
|
179
|
+
?type: ("HTTP")
|
180
|
+
) -> _CreateServiceResponseSuccess
|
181
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateServiceResponseSuccess
|
182
|
+
|
183
|
+
interface _DeleteNamespaceResponseSuccess
|
184
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteNamespaceResponse]
|
185
|
+
def operation_id: () -> ::String
|
186
|
+
end
|
187
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ServiceDiscovery/Client.html#delete_namespace-instance_method
|
188
|
+
def delete_namespace: (
|
189
|
+
id: ::String
|
190
|
+
) -> _DeleteNamespaceResponseSuccess
|
191
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteNamespaceResponseSuccess
|
192
|
+
|
193
|
+
interface _DeleteServiceResponseSuccess
|
194
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteServiceResponse]
|
195
|
+
end
|
196
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ServiceDiscovery/Client.html#delete_service-instance_method
|
197
|
+
def delete_service: (
|
198
|
+
id: ::String
|
199
|
+
) -> _DeleteServiceResponseSuccess
|
200
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteServiceResponseSuccess
|
201
|
+
|
202
|
+
interface _DeregisterInstanceResponseSuccess
|
203
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeregisterInstanceResponse]
|
204
|
+
def operation_id: () -> ::String
|
205
|
+
end
|
206
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ServiceDiscovery/Client.html#deregister_instance-instance_method
|
207
|
+
def deregister_instance: (
|
208
|
+
service_id: ::String,
|
209
|
+
instance_id: ::String
|
210
|
+
) -> _DeregisterInstanceResponseSuccess
|
211
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeregisterInstanceResponseSuccess
|
212
|
+
|
213
|
+
interface _DiscoverInstancesResponseSuccess
|
214
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DiscoverInstancesResponse]
|
215
|
+
def instances: () -> ::Array[Types::HttpInstanceSummary]
|
216
|
+
def instances_revision: () -> ::Integer
|
217
|
+
end
|
218
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ServiceDiscovery/Client.html#discover_instances-instance_method
|
219
|
+
def discover_instances: (
|
220
|
+
namespace_name: ::String,
|
221
|
+
service_name: ::String,
|
222
|
+
?max_results: ::Integer,
|
223
|
+
?query_parameters: Hash[::String, ::String],
|
224
|
+
?optional_parameters: Hash[::String, ::String],
|
225
|
+
?health_status: ("HEALTHY" | "UNHEALTHY" | "ALL" | "HEALTHY_OR_ELSE_ALL")
|
226
|
+
) -> _DiscoverInstancesResponseSuccess
|
227
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DiscoverInstancesResponseSuccess
|
228
|
+
|
229
|
+
interface _DiscoverInstancesRevisionResponseSuccess
|
230
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DiscoverInstancesRevisionResponse]
|
231
|
+
def instances_revision: () -> ::Integer
|
232
|
+
end
|
233
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ServiceDiscovery/Client.html#discover_instances_revision-instance_method
|
234
|
+
def discover_instances_revision: (
|
235
|
+
namespace_name: ::String,
|
236
|
+
service_name: ::String
|
237
|
+
) -> _DiscoverInstancesRevisionResponseSuccess
|
238
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DiscoverInstancesRevisionResponseSuccess
|
239
|
+
|
240
|
+
interface _GetInstanceResponseSuccess
|
241
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetInstanceResponse]
|
242
|
+
def instance: () -> Types::Instance
|
243
|
+
end
|
244
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ServiceDiscovery/Client.html#get_instance-instance_method
|
245
|
+
def get_instance: (
|
246
|
+
service_id: ::String,
|
247
|
+
instance_id: ::String
|
248
|
+
) -> _GetInstanceResponseSuccess
|
249
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetInstanceResponseSuccess
|
250
|
+
|
251
|
+
interface _GetInstancesHealthStatusResponseSuccess
|
252
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetInstancesHealthStatusResponse]
|
253
|
+
def status: () -> ::Hash[::String, ("HEALTHY" | "UNHEALTHY" | "UNKNOWN")]
|
254
|
+
def next_token: () -> ::String
|
255
|
+
end
|
256
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ServiceDiscovery/Client.html#get_instances_health_status-instance_method
|
257
|
+
def get_instances_health_status: (
|
258
|
+
service_id: ::String,
|
259
|
+
?instances: Array[::String],
|
260
|
+
?max_results: ::Integer,
|
261
|
+
?next_token: ::String
|
262
|
+
) -> _GetInstancesHealthStatusResponseSuccess
|
263
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetInstancesHealthStatusResponseSuccess
|
264
|
+
|
265
|
+
interface _GetNamespaceResponseSuccess
|
266
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetNamespaceResponse]
|
267
|
+
def namespace: () -> Types::Namespace
|
268
|
+
end
|
269
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ServiceDiscovery/Client.html#get_namespace-instance_method
|
270
|
+
def get_namespace: (
|
271
|
+
id: ::String
|
272
|
+
) -> _GetNamespaceResponseSuccess
|
273
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetNamespaceResponseSuccess
|
274
|
+
|
275
|
+
interface _GetOperationResponseSuccess
|
276
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetOperationResponse]
|
277
|
+
def operation: () -> Types::Operation
|
278
|
+
end
|
279
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ServiceDiscovery/Client.html#get_operation-instance_method
|
280
|
+
def get_operation: (
|
281
|
+
operation_id: ::String
|
282
|
+
) -> _GetOperationResponseSuccess
|
283
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetOperationResponseSuccess
|
284
|
+
|
285
|
+
interface _GetServiceResponseSuccess
|
286
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetServiceResponse]
|
287
|
+
def service: () -> Types::Service
|
288
|
+
end
|
289
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ServiceDiscovery/Client.html#get_service-instance_method
|
290
|
+
def get_service: (
|
291
|
+
id: ::String
|
292
|
+
) -> _GetServiceResponseSuccess
|
293
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetServiceResponseSuccess
|
294
|
+
|
295
|
+
interface _ListInstancesResponseSuccess
|
296
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListInstancesResponse]
|
297
|
+
def instances: () -> ::Array[Types::InstanceSummary]
|
298
|
+
def next_token: () -> ::String
|
299
|
+
end
|
300
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ServiceDiscovery/Client.html#list_instances-instance_method
|
301
|
+
def list_instances: (
|
302
|
+
service_id: ::String,
|
303
|
+
?next_token: ::String,
|
304
|
+
?max_results: ::Integer
|
305
|
+
) -> _ListInstancesResponseSuccess
|
306
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListInstancesResponseSuccess
|
307
|
+
|
308
|
+
interface _ListNamespacesResponseSuccess
|
309
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListNamespacesResponse]
|
310
|
+
def namespaces: () -> ::Array[Types::NamespaceSummary]
|
311
|
+
def next_token: () -> ::String
|
312
|
+
end
|
313
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ServiceDiscovery/Client.html#list_namespaces-instance_method
|
314
|
+
def list_namespaces: (
|
315
|
+
?next_token: ::String,
|
316
|
+
?max_results: ::Integer,
|
317
|
+
?filters: Array[
|
318
|
+
{
|
319
|
+
name: ("TYPE" | "NAME" | "HTTP_NAME"),
|
320
|
+
values: Array[::String],
|
321
|
+
condition: ("EQ" | "IN" | "BETWEEN" | "BEGINS_WITH")?
|
322
|
+
},
|
323
|
+
]
|
324
|
+
) -> _ListNamespacesResponseSuccess
|
325
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListNamespacesResponseSuccess
|
326
|
+
|
327
|
+
interface _ListOperationsResponseSuccess
|
328
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListOperationsResponse]
|
329
|
+
def operations: () -> ::Array[Types::OperationSummary]
|
330
|
+
def next_token: () -> ::String
|
331
|
+
end
|
332
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ServiceDiscovery/Client.html#list_operations-instance_method
|
333
|
+
def list_operations: (
|
334
|
+
?next_token: ::String,
|
335
|
+
?max_results: ::Integer,
|
336
|
+
?filters: Array[
|
337
|
+
{
|
338
|
+
name: ("NAMESPACE_ID" | "SERVICE_ID" | "STATUS" | "TYPE" | "UPDATE_DATE"),
|
339
|
+
values: Array[::String],
|
340
|
+
condition: ("EQ" | "IN" | "BETWEEN" | "BEGINS_WITH")?
|
341
|
+
},
|
342
|
+
]
|
343
|
+
) -> _ListOperationsResponseSuccess
|
344
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListOperationsResponseSuccess
|
345
|
+
|
346
|
+
interface _ListServicesResponseSuccess
|
347
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListServicesResponse]
|
348
|
+
def services: () -> ::Array[Types::ServiceSummary]
|
349
|
+
def next_token: () -> ::String
|
350
|
+
end
|
351
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ServiceDiscovery/Client.html#list_services-instance_method
|
352
|
+
def list_services: (
|
353
|
+
?next_token: ::String,
|
354
|
+
?max_results: ::Integer,
|
355
|
+
?filters: Array[
|
356
|
+
{
|
357
|
+
name: ("NAMESPACE_ID"),
|
358
|
+
values: Array[::String],
|
359
|
+
condition: ("EQ" | "IN" | "BETWEEN" | "BEGINS_WITH")?
|
360
|
+
},
|
361
|
+
]
|
362
|
+
) -> _ListServicesResponseSuccess
|
363
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListServicesResponseSuccess
|
364
|
+
|
365
|
+
interface _ListTagsForResourceResponseSuccess
|
366
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
|
367
|
+
def tags: () -> ::Array[Types::Tag]
|
368
|
+
end
|
369
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ServiceDiscovery/Client.html#list_tags_for_resource-instance_method
|
370
|
+
def list_tags_for_resource: (
|
371
|
+
resource_arn: ::String
|
372
|
+
) -> _ListTagsForResourceResponseSuccess
|
373
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
|
374
|
+
|
375
|
+
interface _RegisterInstanceResponseSuccess
|
376
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::RegisterInstanceResponse]
|
377
|
+
def operation_id: () -> ::String
|
378
|
+
end
|
379
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ServiceDiscovery/Client.html#register_instance-instance_method
|
380
|
+
def register_instance: (
|
381
|
+
service_id: ::String,
|
382
|
+
instance_id: ::String,
|
383
|
+
?creator_request_id: ::String,
|
384
|
+
attributes: Hash[::String, ::String]
|
385
|
+
) -> _RegisterInstanceResponseSuccess
|
386
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RegisterInstanceResponseSuccess
|
387
|
+
|
388
|
+
interface _TagResourceResponseSuccess
|
389
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
|
390
|
+
end
|
391
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ServiceDiscovery/Client.html#tag_resource-instance_method
|
392
|
+
def tag_resource: (
|
393
|
+
resource_arn: ::String,
|
394
|
+
tags: Array[
|
395
|
+
{
|
396
|
+
key: ::String,
|
397
|
+
value: ::String
|
398
|
+
},
|
399
|
+
]
|
400
|
+
) -> _TagResourceResponseSuccess
|
401
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
|
402
|
+
|
403
|
+
interface _UntagResourceResponseSuccess
|
404
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
|
405
|
+
end
|
406
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ServiceDiscovery/Client.html#untag_resource-instance_method
|
407
|
+
def untag_resource: (
|
408
|
+
resource_arn: ::String,
|
409
|
+
tag_keys: Array[::String]
|
410
|
+
) -> _UntagResourceResponseSuccess
|
411
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
|
412
|
+
|
413
|
+
interface _UpdateHttpNamespaceResponseSuccess
|
414
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateHttpNamespaceResponse]
|
415
|
+
def operation_id: () -> ::String
|
416
|
+
end
|
417
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ServiceDiscovery/Client.html#update_http_namespace-instance_method
|
418
|
+
def update_http_namespace: (
|
419
|
+
id: ::String,
|
420
|
+
?updater_request_id: ::String,
|
421
|
+
namespace: {
|
422
|
+
description: ::String
|
423
|
+
}
|
424
|
+
) -> _UpdateHttpNamespaceResponseSuccess
|
425
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateHttpNamespaceResponseSuccess
|
426
|
+
|
427
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ServiceDiscovery/Client.html#update_instance_custom_health_status-instance_method
|
428
|
+
def update_instance_custom_health_status: (
|
429
|
+
service_id: ::String,
|
430
|
+
instance_id: ::String,
|
431
|
+
status: ("HEALTHY" | "UNHEALTHY")
|
432
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
433
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
434
|
+
|
435
|
+
interface _UpdatePrivateDnsNamespaceResponseSuccess
|
436
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdatePrivateDnsNamespaceResponse]
|
437
|
+
def operation_id: () -> ::String
|
438
|
+
end
|
439
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ServiceDiscovery/Client.html#update_private_dns_namespace-instance_method
|
440
|
+
def update_private_dns_namespace: (
|
441
|
+
id: ::String,
|
442
|
+
?updater_request_id: ::String,
|
443
|
+
namespace: {
|
444
|
+
description: ::String?,
|
445
|
+
properties: {
|
446
|
+
dns_properties: {
|
447
|
+
soa: {
|
448
|
+
ttl: ::Integer
|
449
|
+
}
|
450
|
+
}
|
451
|
+
}?
|
452
|
+
}
|
453
|
+
) -> _UpdatePrivateDnsNamespaceResponseSuccess
|
454
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePrivateDnsNamespaceResponseSuccess
|
455
|
+
|
456
|
+
interface _UpdatePublicDnsNamespaceResponseSuccess
|
457
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdatePublicDnsNamespaceResponse]
|
458
|
+
def operation_id: () -> ::String
|
459
|
+
end
|
460
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ServiceDiscovery/Client.html#update_public_dns_namespace-instance_method
|
461
|
+
def update_public_dns_namespace: (
|
462
|
+
id: ::String,
|
463
|
+
?updater_request_id: ::String,
|
464
|
+
namespace: {
|
465
|
+
description: ::String?,
|
466
|
+
properties: {
|
467
|
+
dns_properties: {
|
468
|
+
soa: {
|
469
|
+
ttl: ::Integer
|
470
|
+
}
|
471
|
+
}
|
472
|
+
}?
|
473
|
+
}
|
474
|
+
) -> _UpdatePublicDnsNamespaceResponseSuccess
|
475
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePublicDnsNamespaceResponseSuccess
|
476
|
+
|
477
|
+
interface _UpdateServiceResponseSuccess
|
478
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateServiceResponse]
|
479
|
+
def operation_id: () -> ::String
|
480
|
+
end
|
481
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ServiceDiscovery/Client.html#update_service-instance_method
|
482
|
+
def update_service: (
|
483
|
+
id: ::String,
|
484
|
+
service: {
|
485
|
+
description: ::String?,
|
486
|
+
dns_config: {
|
487
|
+
dns_records: Array[
|
488
|
+
{
|
489
|
+
type: ("SRV" | "A" | "AAAA" | "CNAME"),
|
490
|
+
ttl: ::Integer
|
491
|
+
},
|
492
|
+
]
|
493
|
+
}?,
|
494
|
+
health_check_config: {
|
495
|
+
type: ("HTTP" | "HTTPS" | "TCP"),
|
496
|
+
resource_path: ::String?,
|
497
|
+
failure_threshold: ::Integer?
|
498
|
+
}?
|
499
|
+
}
|
500
|
+
) -> _UpdateServiceResponseSuccess
|
501
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateServiceResponseSuccess
|
502
|
+
end
|
503
|
+
end
|
504
|
+
end
|
505
|
+
|
data/sig/errors.rbs
ADDED
@@ -0,0 +1,64 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module ServiceDiscovery
|
10
|
+
module Errors
|
11
|
+
class ServiceError < ::Aws::Errors::ServiceError
|
12
|
+
end
|
13
|
+
|
14
|
+
class CustomHealthNotFound < ::Aws::Errors::ServiceError
|
15
|
+
def message: () -> ::String
|
16
|
+
end
|
17
|
+
class DuplicateRequest < ::Aws::Errors::ServiceError
|
18
|
+
def message: () -> ::String
|
19
|
+
def duplicate_operation_id: () -> ::String
|
20
|
+
end
|
21
|
+
class InstanceNotFound < ::Aws::Errors::ServiceError
|
22
|
+
def message: () -> ::String
|
23
|
+
end
|
24
|
+
class InvalidInput < ::Aws::Errors::ServiceError
|
25
|
+
def message: () -> ::String
|
26
|
+
end
|
27
|
+
class NamespaceAlreadyExists < ::Aws::Errors::ServiceError
|
28
|
+
def message: () -> ::String
|
29
|
+
def creator_request_id: () -> ::String
|
30
|
+
def namespace_id: () -> ::String
|
31
|
+
end
|
32
|
+
class NamespaceNotFound < ::Aws::Errors::ServiceError
|
33
|
+
def message: () -> ::String
|
34
|
+
end
|
35
|
+
class OperationNotFound < ::Aws::Errors::ServiceError
|
36
|
+
def message: () -> ::String
|
37
|
+
end
|
38
|
+
class RequestLimitExceeded < ::Aws::Errors::ServiceError
|
39
|
+
def message: () -> ::String
|
40
|
+
end
|
41
|
+
class ResourceInUse < ::Aws::Errors::ServiceError
|
42
|
+
def message: () -> ::String
|
43
|
+
end
|
44
|
+
class ResourceLimitExceeded < ::Aws::Errors::ServiceError
|
45
|
+
def message: () -> ::String
|
46
|
+
end
|
47
|
+
class ResourceNotFoundException < ::Aws::Errors::ServiceError
|
48
|
+
def message: () -> ::String
|
49
|
+
end
|
50
|
+
class ServiceAlreadyExists < ::Aws::Errors::ServiceError
|
51
|
+
def message: () -> ::String
|
52
|
+
def creator_request_id: () -> ::String
|
53
|
+
def service_id: () -> ::String
|
54
|
+
end
|
55
|
+
class ServiceNotFound < ::Aws::Errors::ServiceError
|
56
|
+
def message: () -> ::String
|
57
|
+
end
|
58
|
+
class TooManyTagsException < ::Aws::Errors::ServiceError
|
59
|
+
def message: () -> ::String
|
60
|
+
def resource_name: () -> ::String
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
64
|
+
end
|