aws-sdk-servicediscovery 1.61.0 → 1.63.0

Sign up to get free protection for your applications and to get access to all the features.
data/sig/types.rbs ADDED
@@ -0,0 +1,648 @@
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::ServiceDiscovery
9
+ module Types
10
+
11
+ class CreateHttpNamespaceRequest
12
+ attr_accessor name: ::String
13
+ attr_accessor creator_request_id: ::String
14
+ attr_accessor description: ::String
15
+ attr_accessor tags: ::Array[Types::Tag]
16
+ SENSITIVE: []
17
+ end
18
+
19
+ class CreateHttpNamespaceResponse
20
+ attr_accessor operation_id: ::String
21
+ SENSITIVE: []
22
+ end
23
+
24
+ class CreatePrivateDnsNamespaceRequest
25
+ attr_accessor name: ::String
26
+ attr_accessor creator_request_id: ::String
27
+ attr_accessor description: ::String
28
+ attr_accessor vpc: ::String
29
+ attr_accessor tags: ::Array[Types::Tag]
30
+ attr_accessor properties: Types::PrivateDnsNamespaceProperties
31
+ SENSITIVE: []
32
+ end
33
+
34
+ class CreatePrivateDnsNamespaceResponse
35
+ attr_accessor operation_id: ::String
36
+ SENSITIVE: []
37
+ end
38
+
39
+ class CreatePublicDnsNamespaceRequest
40
+ attr_accessor name: ::String
41
+ attr_accessor creator_request_id: ::String
42
+ attr_accessor description: ::String
43
+ attr_accessor tags: ::Array[Types::Tag]
44
+ attr_accessor properties: Types::PublicDnsNamespaceProperties
45
+ SENSITIVE: []
46
+ end
47
+
48
+ class CreatePublicDnsNamespaceResponse
49
+ attr_accessor operation_id: ::String
50
+ SENSITIVE: []
51
+ end
52
+
53
+ class CreateServiceRequest
54
+ attr_accessor name: ::String
55
+ attr_accessor namespace_id: ::String
56
+ attr_accessor creator_request_id: ::String
57
+ attr_accessor description: ::String
58
+ attr_accessor dns_config: Types::DnsConfig
59
+ attr_accessor health_check_config: Types::HealthCheckConfig
60
+ attr_accessor health_check_custom_config: Types::HealthCheckCustomConfig
61
+ attr_accessor tags: ::Array[Types::Tag]
62
+ attr_accessor type: ("HTTP")
63
+ SENSITIVE: []
64
+ end
65
+
66
+ class CreateServiceResponse
67
+ attr_accessor service: Types::Service
68
+ SENSITIVE: []
69
+ end
70
+
71
+ class CustomHealthNotFound
72
+ attr_accessor message: ::String
73
+ SENSITIVE: []
74
+ end
75
+
76
+ class DeleteNamespaceRequest
77
+ attr_accessor id: ::String
78
+ SENSITIVE: []
79
+ end
80
+
81
+ class DeleteNamespaceResponse
82
+ attr_accessor operation_id: ::String
83
+ SENSITIVE: []
84
+ end
85
+
86
+ class DeleteServiceRequest
87
+ attr_accessor id: ::String
88
+ SENSITIVE: []
89
+ end
90
+
91
+ class DeleteServiceResponse < Aws::EmptyStructure
92
+ end
93
+
94
+ class DeregisterInstanceRequest
95
+ attr_accessor service_id: ::String
96
+ attr_accessor instance_id: ::String
97
+ SENSITIVE: []
98
+ end
99
+
100
+ class DeregisterInstanceResponse
101
+ attr_accessor operation_id: ::String
102
+ SENSITIVE: []
103
+ end
104
+
105
+ class DiscoverInstancesRequest
106
+ attr_accessor namespace_name: ::String
107
+ attr_accessor service_name: ::String
108
+ attr_accessor max_results: ::Integer
109
+ attr_accessor query_parameters: ::Hash[::String, ::String]
110
+ attr_accessor optional_parameters: ::Hash[::String, ::String]
111
+ attr_accessor health_status: ("HEALTHY" | "UNHEALTHY" | "ALL" | "HEALTHY_OR_ELSE_ALL")
112
+ SENSITIVE: []
113
+ end
114
+
115
+ class DiscoverInstancesResponse
116
+ attr_accessor instances: ::Array[Types::HttpInstanceSummary]
117
+ attr_accessor instances_revision: ::Integer
118
+ SENSITIVE: []
119
+ end
120
+
121
+ class DiscoverInstancesRevisionRequest
122
+ attr_accessor namespace_name: ::String
123
+ attr_accessor service_name: ::String
124
+ SENSITIVE: []
125
+ end
126
+
127
+ class DiscoverInstancesRevisionResponse
128
+ attr_accessor instances_revision: ::Integer
129
+ SENSITIVE: []
130
+ end
131
+
132
+ class DnsConfig
133
+ attr_accessor namespace_id: ::String
134
+ attr_accessor routing_policy: ("MULTIVALUE" | "WEIGHTED")
135
+ attr_accessor dns_records: ::Array[Types::DnsRecord]
136
+ SENSITIVE: []
137
+ end
138
+
139
+ class DnsConfigChange
140
+ attr_accessor dns_records: ::Array[Types::DnsRecord]
141
+ SENSITIVE: []
142
+ end
143
+
144
+ class DnsProperties
145
+ attr_accessor hosted_zone_id: ::String
146
+ attr_accessor soa: Types::SOA
147
+ SENSITIVE: []
148
+ end
149
+
150
+ class DnsRecord
151
+ attr_accessor type: ("SRV" | "A" | "AAAA" | "CNAME")
152
+ attr_accessor ttl: ::Integer
153
+ SENSITIVE: []
154
+ end
155
+
156
+ class DuplicateRequest
157
+ attr_accessor message: ::String
158
+ attr_accessor duplicate_operation_id: ::String
159
+ SENSITIVE: []
160
+ end
161
+
162
+ class GetInstanceRequest
163
+ attr_accessor service_id: ::String
164
+ attr_accessor instance_id: ::String
165
+ SENSITIVE: []
166
+ end
167
+
168
+ class GetInstanceResponse
169
+ attr_accessor instance: Types::Instance
170
+ SENSITIVE: []
171
+ end
172
+
173
+ class GetInstancesHealthStatusRequest
174
+ attr_accessor service_id: ::String
175
+ attr_accessor instances: ::Array[::String]
176
+ attr_accessor max_results: ::Integer
177
+ attr_accessor next_token: ::String
178
+ SENSITIVE: []
179
+ end
180
+
181
+ class GetInstancesHealthStatusResponse
182
+ attr_accessor status: ::Hash[::String, ("HEALTHY" | "UNHEALTHY" | "UNKNOWN")]
183
+ attr_accessor next_token: ::String
184
+ SENSITIVE: []
185
+ end
186
+
187
+ class GetNamespaceRequest
188
+ attr_accessor id: ::String
189
+ SENSITIVE: []
190
+ end
191
+
192
+ class GetNamespaceResponse
193
+ attr_accessor namespace: Types::Namespace
194
+ SENSITIVE: []
195
+ end
196
+
197
+ class GetOperationRequest
198
+ attr_accessor operation_id: ::String
199
+ SENSITIVE: []
200
+ end
201
+
202
+ class GetOperationResponse
203
+ attr_accessor operation: Types::Operation
204
+ SENSITIVE: []
205
+ end
206
+
207
+ class GetServiceRequest
208
+ attr_accessor id: ::String
209
+ SENSITIVE: []
210
+ end
211
+
212
+ class GetServiceResponse
213
+ attr_accessor service: Types::Service
214
+ SENSITIVE: []
215
+ end
216
+
217
+ class HealthCheckConfig
218
+ attr_accessor type: ("HTTP" | "HTTPS" | "TCP")
219
+ attr_accessor resource_path: ::String
220
+ attr_accessor failure_threshold: ::Integer
221
+ SENSITIVE: []
222
+ end
223
+
224
+ class HealthCheckCustomConfig
225
+ attr_accessor failure_threshold: ::Integer
226
+ SENSITIVE: []
227
+ end
228
+
229
+ class HttpInstanceSummary
230
+ attr_accessor instance_id: ::String
231
+ attr_accessor namespace_name: ::String
232
+ attr_accessor service_name: ::String
233
+ attr_accessor health_status: ("HEALTHY" | "UNHEALTHY" | "UNKNOWN")
234
+ attr_accessor attributes: ::Hash[::String, ::String]
235
+ SENSITIVE: []
236
+ end
237
+
238
+ class HttpNamespaceChange
239
+ attr_accessor description: ::String
240
+ SENSITIVE: []
241
+ end
242
+
243
+ class HttpProperties
244
+ attr_accessor http_name: ::String
245
+ SENSITIVE: []
246
+ end
247
+
248
+ class Instance
249
+ attr_accessor id: ::String
250
+ attr_accessor creator_request_id: ::String
251
+ attr_accessor attributes: ::Hash[::String, ::String]
252
+ SENSITIVE: []
253
+ end
254
+
255
+ class InstanceNotFound
256
+ attr_accessor message: ::String
257
+ SENSITIVE: []
258
+ end
259
+
260
+ class InstanceSummary
261
+ attr_accessor id: ::String
262
+ attr_accessor attributes: ::Hash[::String, ::String]
263
+ SENSITIVE: []
264
+ end
265
+
266
+ class InvalidInput
267
+ attr_accessor message: ::String
268
+ SENSITIVE: []
269
+ end
270
+
271
+ class ListInstancesRequest
272
+ attr_accessor service_id: ::String
273
+ attr_accessor next_token: ::String
274
+ attr_accessor max_results: ::Integer
275
+ SENSITIVE: []
276
+ end
277
+
278
+ class ListInstancesResponse
279
+ attr_accessor instances: ::Array[Types::InstanceSummary]
280
+ attr_accessor next_token: ::String
281
+ SENSITIVE: []
282
+ end
283
+
284
+ class ListNamespacesRequest
285
+ attr_accessor next_token: ::String
286
+ attr_accessor max_results: ::Integer
287
+ attr_accessor filters: ::Array[Types::NamespaceFilter]
288
+ SENSITIVE: []
289
+ end
290
+
291
+ class ListNamespacesResponse
292
+ attr_accessor namespaces: ::Array[Types::NamespaceSummary]
293
+ attr_accessor next_token: ::String
294
+ SENSITIVE: []
295
+ end
296
+
297
+ class ListOperationsRequest
298
+ attr_accessor next_token: ::String
299
+ attr_accessor max_results: ::Integer
300
+ attr_accessor filters: ::Array[Types::OperationFilter]
301
+ SENSITIVE: []
302
+ end
303
+
304
+ class ListOperationsResponse
305
+ attr_accessor operations: ::Array[Types::OperationSummary]
306
+ attr_accessor next_token: ::String
307
+ SENSITIVE: []
308
+ end
309
+
310
+ class ListServicesRequest
311
+ attr_accessor next_token: ::String
312
+ attr_accessor max_results: ::Integer
313
+ attr_accessor filters: ::Array[Types::ServiceFilter]
314
+ SENSITIVE: []
315
+ end
316
+
317
+ class ListServicesResponse
318
+ attr_accessor services: ::Array[Types::ServiceSummary]
319
+ attr_accessor next_token: ::String
320
+ SENSITIVE: []
321
+ end
322
+
323
+ class ListTagsForResourceRequest
324
+ attr_accessor resource_arn: ::String
325
+ SENSITIVE: []
326
+ end
327
+
328
+ class ListTagsForResourceResponse
329
+ attr_accessor tags: ::Array[Types::Tag]
330
+ SENSITIVE: []
331
+ end
332
+
333
+ class Namespace
334
+ attr_accessor id: ::String
335
+ attr_accessor arn: ::String
336
+ attr_accessor name: ::String
337
+ attr_accessor type: ("DNS_PUBLIC" | "DNS_PRIVATE" | "HTTP")
338
+ attr_accessor description: ::String
339
+ attr_accessor service_count: ::Integer
340
+ attr_accessor properties: Types::NamespaceProperties
341
+ attr_accessor create_date: ::Time
342
+ attr_accessor creator_request_id: ::String
343
+ SENSITIVE: []
344
+ end
345
+
346
+ class NamespaceAlreadyExists
347
+ attr_accessor message: ::String
348
+ attr_accessor creator_request_id: ::String
349
+ attr_accessor namespace_id: ::String
350
+ SENSITIVE: []
351
+ end
352
+
353
+ class NamespaceFilter
354
+ attr_accessor name: ("TYPE" | "NAME" | "HTTP_NAME")
355
+ attr_accessor values: ::Array[::String]
356
+ attr_accessor condition: ("EQ" | "IN" | "BETWEEN" | "BEGINS_WITH")
357
+ SENSITIVE: []
358
+ end
359
+
360
+ class NamespaceNotFound
361
+ attr_accessor message: ::String
362
+ SENSITIVE: []
363
+ end
364
+
365
+ class NamespaceProperties
366
+ attr_accessor dns_properties: Types::DnsProperties
367
+ attr_accessor http_properties: Types::HttpProperties
368
+ SENSITIVE: []
369
+ end
370
+
371
+ class NamespaceSummary
372
+ attr_accessor id: ::String
373
+ attr_accessor arn: ::String
374
+ attr_accessor name: ::String
375
+ attr_accessor type: ("DNS_PUBLIC" | "DNS_PRIVATE" | "HTTP")
376
+ attr_accessor description: ::String
377
+ attr_accessor service_count: ::Integer
378
+ attr_accessor properties: Types::NamespaceProperties
379
+ attr_accessor create_date: ::Time
380
+ SENSITIVE: []
381
+ end
382
+
383
+ class Operation
384
+ attr_accessor id: ::String
385
+ attr_accessor type: ("CREATE_NAMESPACE" | "DELETE_NAMESPACE" | "UPDATE_NAMESPACE" | "UPDATE_SERVICE" | "REGISTER_INSTANCE" | "DEREGISTER_INSTANCE")
386
+ attr_accessor status: ("SUBMITTED" | "PENDING" | "SUCCESS" | "FAIL")
387
+ attr_accessor error_message: ::String
388
+ attr_accessor error_code: ::String
389
+ attr_accessor create_date: ::Time
390
+ attr_accessor update_date: ::Time
391
+ attr_accessor targets: ::Hash[("NAMESPACE" | "SERVICE" | "INSTANCE"), ::String]
392
+ SENSITIVE: []
393
+ end
394
+
395
+ class OperationFilter
396
+ attr_accessor name: ("NAMESPACE_ID" | "SERVICE_ID" | "STATUS" | "TYPE" | "UPDATE_DATE")
397
+ attr_accessor values: ::Array[::String]
398
+ attr_accessor condition: ("EQ" | "IN" | "BETWEEN" | "BEGINS_WITH")
399
+ SENSITIVE: []
400
+ end
401
+
402
+ class OperationNotFound
403
+ attr_accessor message: ::String
404
+ SENSITIVE: []
405
+ end
406
+
407
+ class OperationSummary
408
+ attr_accessor id: ::String
409
+ attr_accessor status: ("SUBMITTED" | "PENDING" | "SUCCESS" | "FAIL")
410
+ SENSITIVE: []
411
+ end
412
+
413
+ class PrivateDnsNamespaceChange
414
+ attr_accessor description: ::String
415
+ attr_accessor properties: Types::PrivateDnsNamespacePropertiesChange
416
+ SENSITIVE: []
417
+ end
418
+
419
+ class PrivateDnsNamespaceProperties
420
+ attr_accessor dns_properties: Types::PrivateDnsPropertiesMutable
421
+ SENSITIVE: []
422
+ end
423
+
424
+ class PrivateDnsNamespacePropertiesChange
425
+ attr_accessor dns_properties: Types::PrivateDnsPropertiesMutableChange
426
+ SENSITIVE: []
427
+ end
428
+
429
+ class PrivateDnsPropertiesMutable
430
+ attr_accessor soa: Types::SOA
431
+ SENSITIVE: []
432
+ end
433
+
434
+ class PrivateDnsPropertiesMutableChange
435
+ attr_accessor soa: Types::SOAChange
436
+ SENSITIVE: []
437
+ end
438
+
439
+ class PublicDnsNamespaceChange
440
+ attr_accessor description: ::String
441
+ attr_accessor properties: Types::PublicDnsNamespacePropertiesChange
442
+ SENSITIVE: []
443
+ end
444
+
445
+ class PublicDnsNamespaceProperties
446
+ attr_accessor dns_properties: Types::PublicDnsPropertiesMutable
447
+ SENSITIVE: []
448
+ end
449
+
450
+ class PublicDnsNamespacePropertiesChange
451
+ attr_accessor dns_properties: Types::PublicDnsPropertiesMutableChange
452
+ SENSITIVE: []
453
+ end
454
+
455
+ class PublicDnsPropertiesMutable
456
+ attr_accessor soa: Types::SOA
457
+ SENSITIVE: []
458
+ end
459
+
460
+ class PublicDnsPropertiesMutableChange
461
+ attr_accessor soa: Types::SOAChange
462
+ SENSITIVE: []
463
+ end
464
+
465
+ class RegisterInstanceRequest
466
+ attr_accessor service_id: ::String
467
+ attr_accessor instance_id: ::String
468
+ attr_accessor creator_request_id: ::String
469
+ attr_accessor attributes: ::Hash[::String, ::String]
470
+ SENSITIVE: []
471
+ end
472
+
473
+ class RegisterInstanceResponse
474
+ attr_accessor operation_id: ::String
475
+ SENSITIVE: []
476
+ end
477
+
478
+ class RequestLimitExceeded
479
+ attr_accessor message: ::String
480
+ SENSITIVE: []
481
+ end
482
+
483
+ class ResourceInUse
484
+ attr_accessor message: ::String
485
+ SENSITIVE: []
486
+ end
487
+
488
+ class ResourceLimitExceeded
489
+ attr_accessor message: ::String
490
+ SENSITIVE: []
491
+ end
492
+
493
+ class ResourceNotFoundException
494
+ attr_accessor message: ::String
495
+ SENSITIVE: []
496
+ end
497
+
498
+ class SOA
499
+ attr_accessor ttl: ::Integer
500
+ SENSITIVE: []
501
+ end
502
+
503
+ class SOAChange
504
+ attr_accessor ttl: ::Integer
505
+ SENSITIVE: []
506
+ end
507
+
508
+ class Service
509
+ attr_accessor id: ::String
510
+ attr_accessor arn: ::String
511
+ attr_accessor name: ::String
512
+ attr_accessor namespace_id: ::String
513
+ attr_accessor description: ::String
514
+ attr_accessor instance_count: ::Integer
515
+ attr_accessor dns_config: Types::DnsConfig
516
+ attr_accessor type: ("HTTP" | "DNS_HTTP" | "DNS")
517
+ attr_accessor health_check_config: Types::HealthCheckConfig
518
+ attr_accessor health_check_custom_config: Types::HealthCheckCustomConfig
519
+ attr_accessor create_date: ::Time
520
+ attr_accessor creator_request_id: ::String
521
+ SENSITIVE: []
522
+ end
523
+
524
+ class ServiceAlreadyExists
525
+ attr_accessor message: ::String
526
+ attr_accessor creator_request_id: ::String
527
+ attr_accessor service_id: ::String
528
+ SENSITIVE: []
529
+ end
530
+
531
+ class ServiceChange
532
+ attr_accessor description: ::String
533
+ attr_accessor dns_config: Types::DnsConfigChange
534
+ attr_accessor health_check_config: Types::HealthCheckConfig
535
+ SENSITIVE: []
536
+ end
537
+
538
+ class ServiceFilter
539
+ attr_accessor name: ("NAMESPACE_ID")
540
+ attr_accessor values: ::Array[::String]
541
+ attr_accessor condition: ("EQ" | "IN" | "BETWEEN" | "BEGINS_WITH")
542
+ SENSITIVE: []
543
+ end
544
+
545
+ class ServiceNotFound
546
+ attr_accessor message: ::String
547
+ SENSITIVE: []
548
+ end
549
+
550
+ class ServiceSummary
551
+ attr_accessor id: ::String
552
+ attr_accessor arn: ::String
553
+ attr_accessor name: ::String
554
+ attr_accessor type: ("HTTP" | "DNS_HTTP" | "DNS")
555
+ attr_accessor description: ::String
556
+ attr_accessor instance_count: ::Integer
557
+ attr_accessor dns_config: Types::DnsConfig
558
+ attr_accessor health_check_config: Types::HealthCheckConfig
559
+ attr_accessor health_check_custom_config: Types::HealthCheckCustomConfig
560
+ attr_accessor create_date: ::Time
561
+ SENSITIVE: []
562
+ end
563
+
564
+ class Tag
565
+ attr_accessor key: ::String
566
+ attr_accessor value: ::String
567
+ SENSITIVE: []
568
+ end
569
+
570
+ class TagResourceRequest
571
+ attr_accessor resource_arn: ::String
572
+ attr_accessor tags: ::Array[Types::Tag]
573
+ SENSITIVE: []
574
+ end
575
+
576
+ class TagResourceResponse < Aws::EmptyStructure
577
+ end
578
+
579
+ class TooManyTagsException
580
+ attr_accessor message: ::String
581
+ attr_accessor resource_name: ::String
582
+ SENSITIVE: []
583
+ end
584
+
585
+ class UntagResourceRequest
586
+ attr_accessor resource_arn: ::String
587
+ attr_accessor tag_keys: ::Array[::String]
588
+ SENSITIVE: []
589
+ end
590
+
591
+ class UntagResourceResponse < Aws::EmptyStructure
592
+ end
593
+
594
+ class UpdateHttpNamespaceRequest
595
+ attr_accessor id: ::String
596
+ attr_accessor updater_request_id: ::String
597
+ attr_accessor namespace: Types::HttpNamespaceChange
598
+ SENSITIVE: []
599
+ end
600
+
601
+ class UpdateHttpNamespaceResponse
602
+ attr_accessor operation_id: ::String
603
+ SENSITIVE: []
604
+ end
605
+
606
+ class UpdateInstanceCustomHealthStatusRequest
607
+ attr_accessor service_id: ::String
608
+ attr_accessor instance_id: ::String
609
+ attr_accessor status: ("HEALTHY" | "UNHEALTHY")
610
+ SENSITIVE: []
611
+ end
612
+
613
+ class UpdatePrivateDnsNamespaceRequest
614
+ attr_accessor id: ::String
615
+ attr_accessor updater_request_id: ::String
616
+ attr_accessor namespace: Types::PrivateDnsNamespaceChange
617
+ SENSITIVE: []
618
+ end
619
+
620
+ class UpdatePrivateDnsNamespaceResponse
621
+ attr_accessor operation_id: ::String
622
+ SENSITIVE: []
623
+ end
624
+
625
+ class UpdatePublicDnsNamespaceRequest
626
+ attr_accessor id: ::String
627
+ attr_accessor updater_request_id: ::String
628
+ attr_accessor namespace: Types::PublicDnsNamespaceChange
629
+ SENSITIVE: []
630
+ end
631
+
632
+ class UpdatePublicDnsNamespaceResponse
633
+ attr_accessor operation_id: ::String
634
+ SENSITIVE: []
635
+ end
636
+
637
+ class UpdateServiceRequest
638
+ attr_accessor id: ::String
639
+ attr_accessor service: Types::ServiceChange
640
+ SENSITIVE: []
641
+ end
642
+
643
+ class UpdateServiceResponse
644
+ attr_accessor operation_id: ::String
645
+ SENSITIVE: []
646
+ end
647
+ end
648
+ end
data/sig/waiters.rbs ADDED
@@ -0,0 +1,13 @@
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 Waiters
11
+ end
12
+ end
13
+ end