aws-sdk-ecs 1.139.0 → 1.140.0

Sign up to get free protection for your applications and to get access to all the features.
data/sig/client.rbs ADDED
@@ -0,0 +1,1753 @@
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 ECS
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/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 _CreateCapacityProviderResponseSuccess
77
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateCapacityProviderResponse]
78
+ def capacity_provider: () -> Types::CapacityProvider
79
+ end
80
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#create_capacity_provider-instance_method
81
+ def create_capacity_provider: (
82
+ name: ::String,
83
+ auto_scaling_group_provider: {
84
+ auto_scaling_group_arn: ::String,
85
+ managed_scaling: {
86
+ status: ("ENABLED" | "DISABLED")?,
87
+ target_capacity: ::Integer?,
88
+ minimum_scaling_step_size: ::Integer?,
89
+ maximum_scaling_step_size: ::Integer?,
90
+ instance_warmup_period: ::Integer?
91
+ }?,
92
+ managed_termination_protection: ("ENABLED" | "DISABLED")?,
93
+ managed_draining: ("ENABLED" | "DISABLED")?
94
+ },
95
+ ?tags: Array[
96
+ {
97
+ key: ::String?,
98
+ value: ::String?
99
+ },
100
+ ]
101
+ ) -> _CreateCapacityProviderResponseSuccess
102
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCapacityProviderResponseSuccess
103
+
104
+ interface _CreateClusterResponseSuccess
105
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateClusterResponse]
106
+ def cluster: () -> Types::Cluster
107
+ end
108
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#create_cluster-instance_method
109
+ def create_cluster: (
110
+ ?cluster_name: ::String,
111
+ ?tags: Array[
112
+ {
113
+ key: ::String?,
114
+ value: ::String?
115
+ },
116
+ ],
117
+ ?settings: Array[
118
+ {
119
+ name: ("containerInsights")?,
120
+ value: ::String?
121
+ },
122
+ ],
123
+ ?configuration: {
124
+ execute_command_configuration: {
125
+ kms_key_id: ::String?,
126
+ logging: ("NONE" | "DEFAULT" | "OVERRIDE")?,
127
+ log_configuration: {
128
+ cloud_watch_log_group_name: ::String?,
129
+ cloud_watch_encryption_enabled: bool?,
130
+ s3_bucket_name: ::String?,
131
+ s3_encryption_enabled: bool?,
132
+ s3_key_prefix: ::String?
133
+ }?
134
+ }?
135
+ },
136
+ ?capacity_providers: Array[::String],
137
+ ?default_capacity_provider_strategy: Array[
138
+ {
139
+ capacity_provider: ::String,
140
+ weight: ::Integer?,
141
+ base: ::Integer?
142
+ },
143
+ ],
144
+ ?service_connect_defaults: {
145
+ namespace: ::String
146
+ }
147
+ ) -> _CreateClusterResponseSuccess
148
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateClusterResponseSuccess
149
+
150
+ interface _CreateServiceResponseSuccess
151
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateServiceResponse]
152
+ def service: () -> Types::Service
153
+ end
154
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#create_service-instance_method
155
+ def create_service: (
156
+ ?cluster: ::String,
157
+ service_name: ::String,
158
+ ?task_definition: ::String,
159
+ ?load_balancers: Array[
160
+ {
161
+ target_group_arn: ::String?,
162
+ load_balancer_name: ::String?,
163
+ container_name: ::String?,
164
+ container_port: ::Integer?
165
+ },
166
+ ],
167
+ ?service_registries: Array[
168
+ {
169
+ registry_arn: ::String?,
170
+ port: ::Integer?,
171
+ container_name: ::String?,
172
+ container_port: ::Integer?
173
+ },
174
+ ],
175
+ ?desired_count: ::Integer,
176
+ ?client_token: ::String,
177
+ ?launch_type: ("EC2" | "FARGATE" | "EXTERNAL"),
178
+ ?capacity_provider_strategy: Array[
179
+ {
180
+ capacity_provider: ::String,
181
+ weight: ::Integer?,
182
+ base: ::Integer?
183
+ },
184
+ ],
185
+ ?platform_version: ::String,
186
+ ?role: ::String,
187
+ ?deployment_configuration: {
188
+ deployment_circuit_breaker: {
189
+ enable: bool,
190
+ rollback: bool
191
+ }?,
192
+ maximum_percent: ::Integer?,
193
+ minimum_healthy_percent: ::Integer?,
194
+ alarms: {
195
+ alarm_names: Array[::String],
196
+ enable: bool,
197
+ rollback: bool
198
+ }?
199
+ },
200
+ ?placement_constraints: Array[
201
+ {
202
+ type: ("distinctInstance" | "memberOf")?,
203
+ expression: ::String?
204
+ },
205
+ ],
206
+ ?placement_strategy: Array[
207
+ {
208
+ type: ("random" | "spread" | "binpack")?,
209
+ field: ::String?
210
+ },
211
+ ],
212
+ ?network_configuration: {
213
+ awsvpc_configuration: {
214
+ subnets: Array[::String],
215
+ security_groups: Array[::String]?,
216
+ assign_public_ip: ("ENABLED" | "DISABLED")?
217
+ }?
218
+ },
219
+ ?health_check_grace_period_seconds: ::Integer,
220
+ ?scheduling_strategy: ("REPLICA" | "DAEMON"),
221
+ ?deployment_controller: {
222
+ type: ("ECS" | "CODE_DEPLOY" | "EXTERNAL")
223
+ },
224
+ ?tags: Array[
225
+ {
226
+ key: ::String?,
227
+ value: ::String?
228
+ },
229
+ ],
230
+ ?enable_ecs_managed_tags: bool,
231
+ ?propagate_tags: ("TASK_DEFINITION" | "SERVICE" | "NONE"),
232
+ ?enable_execute_command: bool,
233
+ ?service_connect_configuration: {
234
+ enabled: bool,
235
+ namespace: ::String?,
236
+ services: Array[
237
+ {
238
+ port_name: ::String,
239
+ discovery_name: ::String?,
240
+ client_aliases: Array[
241
+ {
242
+ port: ::Integer,
243
+ dns_name: ::String?
244
+ },
245
+ ]?,
246
+ ingress_port_override: ::Integer?,
247
+ timeout: {
248
+ idle_timeout_seconds: ::Integer?,
249
+ per_request_timeout_seconds: ::Integer?
250
+ }?,
251
+ tls: {
252
+ issuer_certificate_authority: {
253
+ aws_pca_authority_arn: ::String?
254
+ },
255
+ kms_key: ::String?,
256
+ role_arn: ::String?
257
+ }?
258
+ },
259
+ ]?,
260
+ log_configuration: {
261
+ log_driver: ("json-file" | "syslog" | "journald" | "gelf" | "fluentd" | "awslogs" | "splunk" | "awsfirelens"),
262
+ options: Hash[::String, ::String]?,
263
+ secret_options: Array[
264
+ {
265
+ name: ::String,
266
+ value_from: ::String
267
+ },
268
+ ]?
269
+ }?
270
+ },
271
+ ?volume_configurations: Array[
272
+ {
273
+ name: ::String,
274
+ managed_ebs_volume: {
275
+ encrypted: bool?,
276
+ kms_key_id: ::String?,
277
+ volume_type: ::String?,
278
+ size_in_gi_b: ::Integer?,
279
+ snapshot_id: ::String?,
280
+ iops: ::Integer?,
281
+ throughput: ::Integer?,
282
+ tag_specifications: Array[
283
+ {
284
+ resource_type: ("volume"),
285
+ tags: Array[
286
+ {
287
+ key: ::String?,
288
+ value: ::String?
289
+ },
290
+ ]?,
291
+ propagate_tags: ("TASK_DEFINITION" | "SERVICE" | "NONE")?
292
+ },
293
+ ]?,
294
+ role_arn: ::String,
295
+ filesystem_type: ("ext3" | "ext4" | "xfs")?
296
+ }?
297
+ },
298
+ ]
299
+ ) -> _CreateServiceResponseSuccess
300
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateServiceResponseSuccess
301
+
302
+ interface _CreateTaskSetResponseSuccess
303
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateTaskSetResponse]
304
+ def task_set: () -> Types::TaskSet
305
+ end
306
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#create_task_set-instance_method
307
+ def create_task_set: (
308
+ service: ::String,
309
+ cluster: ::String,
310
+ ?external_id: ::String,
311
+ task_definition: ::String,
312
+ ?network_configuration: {
313
+ awsvpc_configuration: {
314
+ subnets: Array[::String],
315
+ security_groups: Array[::String]?,
316
+ assign_public_ip: ("ENABLED" | "DISABLED")?
317
+ }?
318
+ },
319
+ ?load_balancers: Array[
320
+ {
321
+ target_group_arn: ::String?,
322
+ load_balancer_name: ::String?,
323
+ container_name: ::String?,
324
+ container_port: ::Integer?
325
+ },
326
+ ],
327
+ ?service_registries: Array[
328
+ {
329
+ registry_arn: ::String?,
330
+ port: ::Integer?,
331
+ container_name: ::String?,
332
+ container_port: ::Integer?
333
+ },
334
+ ],
335
+ ?launch_type: ("EC2" | "FARGATE" | "EXTERNAL"),
336
+ ?capacity_provider_strategy: Array[
337
+ {
338
+ capacity_provider: ::String,
339
+ weight: ::Integer?,
340
+ base: ::Integer?
341
+ },
342
+ ],
343
+ ?platform_version: ::String,
344
+ ?scale: {
345
+ value: ::Float?,
346
+ unit: ("PERCENT")?
347
+ },
348
+ ?client_token: ::String,
349
+ ?tags: Array[
350
+ {
351
+ key: ::String?,
352
+ value: ::String?
353
+ },
354
+ ]
355
+ ) -> _CreateTaskSetResponseSuccess
356
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateTaskSetResponseSuccess
357
+
358
+ interface _DeleteAccountSettingResponseSuccess
359
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAccountSettingResponse]
360
+ def setting: () -> Types::Setting
361
+ end
362
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#delete_account_setting-instance_method
363
+ def delete_account_setting: (
364
+ name: ("serviceLongArnFormat" | "taskLongArnFormat" | "containerInstanceLongArnFormat" | "awsvpcTrunking" | "containerInsights" | "fargateFIPSMode" | "tagResourceAuthorization" | "fargateTaskRetirementWaitPeriod" | "guardDutyActivate"),
365
+ ?principal_arn: ::String
366
+ ) -> _DeleteAccountSettingResponseSuccess
367
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAccountSettingResponseSuccess
368
+
369
+ interface _DeleteAttributesResponseSuccess
370
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAttributesResponse]
371
+ def attributes: () -> ::Array[Types::Attribute]
372
+ end
373
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#delete_attributes-instance_method
374
+ def delete_attributes: (
375
+ ?cluster: ::String,
376
+ attributes: Array[
377
+ {
378
+ name: ::String,
379
+ value: ::String?,
380
+ target_type: ("container-instance")?,
381
+ target_id: ::String?
382
+ },
383
+ ]
384
+ ) -> _DeleteAttributesResponseSuccess
385
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAttributesResponseSuccess
386
+
387
+ interface _DeleteCapacityProviderResponseSuccess
388
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteCapacityProviderResponse]
389
+ def capacity_provider: () -> Types::CapacityProvider
390
+ end
391
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#delete_capacity_provider-instance_method
392
+ def delete_capacity_provider: (
393
+ capacity_provider: ::String
394
+ ) -> _DeleteCapacityProviderResponseSuccess
395
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteCapacityProviderResponseSuccess
396
+
397
+ interface _DeleteClusterResponseSuccess
398
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteClusterResponse]
399
+ def cluster: () -> Types::Cluster
400
+ end
401
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#delete_cluster-instance_method
402
+ def delete_cluster: (
403
+ cluster: ::String
404
+ ) -> _DeleteClusterResponseSuccess
405
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteClusterResponseSuccess
406
+
407
+ interface _DeleteServiceResponseSuccess
408
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteServiceResponse]
409
+ def service: () -> Types::Service
410
+ end
411
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#delete_service-instance_method
412
+ def delete_service: (
413
+ ?cluster: ::String,
414
+ service: ::String,
415
+ ?force: bool
416
+ ) -> _DeleteServiceResponseSuccess
417
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteServiceResponseSuccess
418
+
419
+ interface _DeleteTaskDefinitionsResponseSuccess
420
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteTaskDefinitionsResponse]
421
+ def task_definitions: () -> ::Array[Types::TaskDefinition]
422
+ def failures: () -> ::Array[Types::Failure]
423
+ end
424
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#delete_task_definitions-instance_method
425
+ def delete_task_definitions: (
426
+ task_definitions: Array[::String]
427
+ ) -> _DeleteTaskDefinitionsResponseSuccess
428
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteTaskDefinitionsResponseSuccess
429
+
430
+ interface _DeleteTaskSetResponseSuccess
431
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteTaskSetResponse]
432
+ def task_set: () -> Types::TaskSet
433
+ end
434
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#delete_task_set-instance_method
435
+ def delete_task_set: (
436
+ cluster: ::String,
437
+ service: ::String,
438
+ task_set: ::String,
439
+ ?force: bool
440
+ ) -> _DeleteTaskSetResponseSuccess
441
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteTaskSetResponseSuccess
442
+
443
+ interface _DeregisterContainerInstanceResponseSuccess
444
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeregisterContainerInstanceResponse]
445
+ def container_instance: () -> Types::ContainerInstance
446
+ end
447
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#deregister_container_instance-instance_method
448
+ def deregister_container_instance: (
449
+ ?cluster: ::String,
450
+ container_instance: ::String,
451
+ ?force: bool
452
+ ) -> _DeregisterContainerInstanceResponseSuccess
453
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeregisterContainerInstanceResponseSuccess
454
+
455
+ interface _DeregisterTaskDefinitionResponseSuccess
456
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeregisterTaskDefinitionResponse]
457
+ def task_definition: () -> Types::TaskDefinition
458
+ end
459
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#deregister_task_definition-instance_method
460
+ def deregister_task_definition: (
461
+ task_definition: ::String
462
+ ) -> _DeregisterTaskDefinitionResponseSuccess
463
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeregisterTaskDefinitionResponseSuccess
464
+
465
+ interface _DescribeCapacityProvidersResponseSuccess
466
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeCapacityProvidersResponse]
467
+ def capacity_providers: () -> ::Array[Types::CapacityProvider]
468
+ def failures: () -> ::Array[Types::Failure]
469
+ def next_token: () -> ::String
470
+ end
471
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#describe_capacity_providers-instance_method
472
+ def describe_capacity_providers: (
473
+ ?capacity_providers: Array[::String],
474
+ ?include: Array[("TAGS")],
475
+ ?max_results: ::Integer,
476
+ ?next_token: ::String
477
+ ) -> _DescribeCapacityProvidersResponseSuccess
478
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeCapacityProvidersResponseSuccess
479
+
480
+ interface _DescribeClustersResponseSuccess
481
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeClustersResponse]
482
+ def clusters: () -> ::Array[Types::Cluster]
483
+ def failures: () -> ::Array[Types::Failure]
484
+ end
485
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#describe_clusters-instance_method
486
+ def describe_clusters: (
487
+ ?clusters: Array[::String],
488
+ ?include: Array[("ATTACHMENTS" | "CONFIGURATIONS" | "SETTINGS" | "STATISTICS" | "TAGS")]
489
+ ) -> _DescribeClustersResponseSuccess
490
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeClustersResponseSuccess
491
+
492
+ interface _DescribeContainerInstancesResponseSuccess
493
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeContainerInstancesResponse]
494
+ def container_instances: () -> ::Array[Types::ContainerInstance]
495
+ def failures: () -> ::Array[Types::Failure]
496
+ end
497
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#describe_container_instances-instance_method
498
+ def describe_container_instances: (
499
+ ?cluster: ::String,
500
+ container_instances: Array[::String],
501
+ ?include: Array[("TAGS" | "CONTAINER_INSTANCE_HEALTH")]
502
+ ) -> _DescribeContainerInstancesResponseSuccess
503
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeContainerInstancesResponseSuccess
504
+
505
+ interface _DescribeServicesResponseSuccess
506
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeServicesResponse]
507
+ def services: () -> ::Array[Types::Service]
508
+ def failures: () -> ::Array[Types::Failure]
509
+ end
510
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#describe_services-instance_method
511
+ def describe_services: (
512
+ ?cluster: ::String,
513
+ services: Array[::String],
514
+ ?include: Array[("TAGS")]
515
+ ) -> _DescribeServicesResponseSuccess
516
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeServicesResponseSuccess
517
+
518
+ interface _DescribeTaskDefinitionResponseSuccess
519
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeTaskDefinitionResponse]
520
+ def task_definition: () -> Types::TaskDefinition
521
+ def tags: () -> ::Array[Types::Tag]
522
+ end
523
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#describe_task_definition-instance_method
524
+ def describe_task_definition: (
525
+ task_definition: ::String,
526
+ ?include: Array[("TAGS")]
527
+ ) -> _DescribeTaskDefinitionResponseSuccess
528
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeTaskDefinitionResponseSuccess
529
+
530
+ interface _DescribeTaskSetsResponseSuccess
531
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeTaskSetsResponse]
532
+ def task_sets: () -> ::Array[Types::TaskSet]
533
+ def failures: () -> ::Array[Types::Failure]
534
+ end
535
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#describe_task_sets-instance_method
536
+ def describe_task_sets: (
537
+ cluster: ::String,
538
+ service: ::String,
539
+ ?task_sets: Array[::String],
540
+ ?include: Array[("TAGS")]
541
+ ) -> _DescribeTaskSetsResponseSuccess
542
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeTaskSetsResponseSuccess
543
+
544
+ interface _DescribeTasksResponseSuccess
545
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeTasksResponse]
546
+ def tasks: () -> ::Array[Types::Task]
547
+ def failures: () -> ::Array[Types::Failure]
548
+ end
549
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#describe_tasks-instance_method
550
+ def describe_tasks: (
551
+ ?cluster: ::String,
552
+ tasks: Array[::String],
553
+ ?include: Array[("TAGS")]
554
+ ) -> _DescribeTasksResponseSuccess
555
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeTasksResponseSuccess
556
+
557
+ interface _DiscoverPollEndpointResponseSuccess
558
+ include ::Seahorse::Client::_ResponseSuccess[Types::DiscoverPollEndpointResponse]
559
+ def endpoint: () -> ::String
560
+ def telemetry_endpoint: () -> ::String
561
+ def service_connect_endpoint: () -> ::String
562
+ end
563
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#discover_poll_endpoint-instance_method
564
+ def discover_poll_endpoint: (
565
+ ?container_instance: ::String,
566
+ ?cluster: ::String
567
+ ) -> _DiscoverPollEndpointResponseSuccess
568
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DiscoverPollEndpointResponseSuccess
569
+
570
+ interface _ExecuteCommandResponseSuccess
571
+ include ::Seahorse::Client::_ResponseSuccess[Types::ExecuteCommandResponse]
572
+ def cluster_arn: () -> ::String
573
+ def container_arn: () -> ::String
574
+ def container_name: () -> ::String
575
+ def interactive: () -> bool
576
+ def session: () -> Types::Session
577
+ def task_arn: () -> ::String
578
+ end
579
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#execute_command-instance_method
580
+ def execute_command: (
581
+ ?cluster: ::String,
582
+ ?container: ::String,
583
+ command: ::String,
584
+ interactive: bool,
585
+ task: ::String
586
+ ) -> _ExecuteCommandResponseSuccess
587
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ExecuteCommandResponseSuccess
588
+
589
+ interface _GetTaskProtectionResponseSuccess
590
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetTaskProtectionResponse]
591
+ def protected_tasks: () -> ::Array[Types::ProtectedTask]
592
+ def failures: () -> ::Array[Types::Failure]
593
+ end
594
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#get_task_protection-instance_method
595
+ def get_task_protection: (
596
+ cluster: ::String,
597
+ ?tasks: Array[::String]
598
+ ) -> _GetTaskProtectionResponseSuccess
599
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTaskProtectionResponseSuccess
600
+
601
+ interface _ListAccountSettingsResponseSuccess
602
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListAccountSettingsResponse]
603
+ def settings: () -> ::Array[Types::Setting]
604
+ def next_token: () -> ::String
605
+ end
606
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#list_account_settings-instance_method
607
+ def list_account_settings: (
608
+ ?name: ("serviceLongArnFormat" | "taskLongArnFormat" | "containerInstanceLongArnFormat" | "awsvpcTrunking" | "containerInsights" | "fargateFIPSMode" | "tagResourceAuthorization" | "fargateTaskRetirementWaitPeriod" | "guardDutyActivate"),
609
+ ?value: ::String,
610
+ ?principal_arn: ::String,
611
+ ?effective_settings: bool,
612
+ ?next_token: ::String,
613
+ ?max_results: ::Integer
614
+ ) -> _ListAccountSettingsResponseSuccess
615
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAccountSettingsResponseSuccess
616
+
617
+ interface _ListAttributesResponseSuccess
618
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListAttributesResponse]
619
+ def attributes: () -> ::Array[Types::Attribute]
620
+ def next_token: () -> ::String
621
+ end
622
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#list_attributes-instance_method
623
+ def list_attributes: (
624
+ ?cluster: ::String,
625
+ target_type: ("container-instance"),
626
+ ?attribute_name: ::String,
627
+ ?attribute_value: ::String,
628
+ ?next_token: ::String,
629
+ ?max_results: ::Integer
630
+ ) -> _ListAttributesResponseSuccess
631
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAttributesResponseSuccess
632
+
633
+ interface _ListClustersResponseSuccess
634
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListClustersResponse]
635
+ def cluster_arns: () -> ::Array[::String]
636
+ def next_token: () -> ::String
637
+ end
638
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#list_clusters-instance_method
639
+ def list_clusters: (
640
+ ?next_token: ::String,
641
+ ?max_results: ::Integer
642
+ ) -> _ListClustersResponseSuccess
643
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListClustersResponseSuccess
644
+
645
+ interface _ListContainerInstancesResponseSuccess
646
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListContainerInstancesResponse]
647
+ def container_instance_arns: () -> ::Array[::String]
648
+ def next_token: () -> ::String
649
+ end
650
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#list_container_instances-instance_method
651
+ def list_container_instances: (
652
+ ?cluster: ::String,
653
+ ?filter: ::String,
654
+ ?next_token: ::String,
655
+ ?max_results: ::Integer,
656
+ ?status: ("ACTIVE" | "DRAINING" | "REGISTERING" | "DEREGISTERING" | "REGISTRATION_FAILED")
657
+ ) -> _ListContainerInstancesResponseSuccess
658
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListContainerInstancesResponseSuccess
659
+
660
+ interface _ListServicesResponseSuccess
661
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListServicesResponse]
662
+ def service_arns: () -> ::Array[::String]
663
+ def next_token: () -> ::String
664
+ end
665
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#list_services-instance_method
666
+ def list_services: (
667
+ ?cluster: ::String,
668
+ ?next_token: ::String,
669
+ ?max_results: ::Integer,
670
+ ?launch_type: ("EC2" | "FARGATE" | "EXTERNAL"),
671
+ ?scheduling_strategy: ("REPLICA" | "DAEMON")
672
+ ) -> _ListServicesResponseSuccess
673
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListServicesResponseSuccess
674
+
675
+ interface _ListServicesByNamespaceResponseSuccess
676
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListServicesByNamespaceResponse]
677
+ def service_arns: () -> ::Array[::String]
678
+ def next_token: () -> ::String
679
+ end
680
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#list_services_by_namespace-instance_method
681
+ def list_services_by_namespace: (
682
+ namespace: ::String,
683
+ ?next_token: ::String,
684
+ ?max_results: ::Integer
685
+ ) -> _ListServicesByNamespaceResponseSuccess
686
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListServicesByNamespaceResponseSuccess
687
+
688
+ interface _ListTagsForResourceResponseSuccess
689
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
690
+ def tags: () -> ::Array[Types::Tag]
691
+ end
692
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#list_tags_for_resource-instance_method
693
+ def list_tags_for_resource: (
694
+ resource_arn: ::String
695
+ ) -> _ListTagsForResourceResponseSuccess
696
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
697
+
698
+ interface _ListTaskDefinitionFamiliesResponseSuccess
699
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTaskDefinitionFamiliesResponse]
700
+ def families: () -> ::Array[::String]
701
+ def next_token: () -> ::String
702
+ end
703
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#list_task_definition_families-instance_method
704
+ def list_task_definition_families: (
705
+ ?family_prefix: ::String,
706
+ ?status: ("ACTIVE" | "INACTIVE" | "ALL"),
707
+ ?next_token: ::String,
708
+ ?max_results: ::Integer
709
+ ) -> _ListTaskDefinitionFamiliesResponseSuccess
710
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTaskDefinitionFamiliesResponseSuccess
711
+
712
+ interface _ListTaskDefinitionsResponseSuccess
713
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTaskDefinitionsResponse]
714
+ def task_definition_arns: () -> ::Array[::String]
715
+ def next_token: () -> ::String
716
+ end
717
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#list_task_definitions-instance_method
718
+ def list_task_definitions: (
719
+ ?family_prefix: ::String,
720
+ ?status: ("ACTIVE" | "INACTIVE" | "DELETE_IN_PROGRESS"),
721
+ ?sort: ("ASC" | "DESC"),
722
+ ?next_token: ::String,
723
+ ?max_results: ::Integer
724
+ ) -> _ListTaskDefinitionsResponseSuccess
725
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTaskDefinitionsResponseSuccess
726
+
727
+ interface _ListTasksResponseSuccess
728
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTasksResponse]
729
+ def task_arns: () -> ::Array[::String]
730
+ def next_token: () -> ::String
731
+ end
732
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#list_tasks-instance_method
733
+ def list_tasks: (
734
+ ?cluster: ::String,
735
+ ?container_instance: ::String,
736
+ ?family: ::String,
737
+ ?next_token: ::String,
738
+ ?max_results: ::Integer,
739
+ ?started_by: ::String,
740
+ ?service_name: ::String,
741
+ ?desired_status: ("RUNNING" | "PENDING" | "STOPPED"),
742
+ ?launch_type: ("EC2" | "FARGATE" | "EXTERNAL")
743
+ ) -> _ListTasksResponseSuccess
744
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTasksResponseSuccess
745
+
746
+ interface _PutAccountSettingResponseSuccess
747
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutAccountSettingResponse]
748
+ def setting: () -> Types::Setting
749
+ end
750
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#put_account_setting-instance_method
751
+ def put_account_setting: (
752
+ name: ("serviceLongArnFormat" | "taskLongArnFormat" | "containerInstanceLongArnFormat" | "awsvpcTrunking" | "containerInsights" | "fargateFIPSMode" | "tagResourceAuthorization" | "fargateTaskRetirementWaitPeriod" | "guardDutyActivate"),
753
+ value: ::String,
754
+ ?principal_arn: ::String
755
+ ) -> _PutAccountSettingResponseSuccess
756
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutAccountSettingResponseSuccess
757
+
758
+ interface _PutAccountSettingDefaultResponseSuccess
759
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutAccountSettingDefaultResponse]
760
+ def setting: () -> Types::Setting
761
+ end
762
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#put_account_setting_default-instance_method
763
+ def put_account_setting_default: (
764
+ name: ("serviceLongArnFormat" | "taskLongArnFormat" | "containerInstanceLongArnFormat" | "awsvpcTrunking" | "containerInsights" | "fargateFIPSMode" | "tagResourceAuthorization" | "fargateTaskRetirementWaitPeriod" | "guardDutyActivate"),
765
+ value: ::String
766
+ ) -> _PutAccountSettingDefaultResponseSuccess
767
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutAccountSettingDefaultResponseSuccess
768
+
769
+ interface _PutAttributesResponseSuccess
770
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutAttributesResponse]
771
+ def attributes: () -> ::Array[Types::Attribute]
772
+ end
773
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#put_attributes-instance_method
774
+ def put_attributes: (
775
+ ?cluster: ::String,
776
+ attributes: Array[
777
+ {
778
+ name: ::String,
779
+ value: ::String?,
780
+ target_type: ("container-instance")?,
781
+ target_id: ::String?
782
+ },
783
+ ]
784
+ ) -> _PutAttributesResponseSuccess
785
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutAttributesResponseSuccess
786
+
787
+ interface _PutClusterCapacityProvidersResponseSuccess
788
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutClusterCapacityProvidersResponse]
789
+ def cluster: () -> Types::Cluster
790
+ end
791
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#put_cluster_capacity_providers-instance_method
792
+ def put_cluster_capacity_providers: (
793
+ cluster: ::String,
794
+ capacity_providers: Array[::String],
795
+ default_capacity_provider_strategy: Array[
796
+ {
797
+ capacity_provider: ::String,
798
+ weight: ::Integer?,
799
+ base: ::Integer?
800
+ },
801
+ ]
802
+ ) -> _PutClusterCapacityProvidersResponseSuccess
803
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutClusterCapacityProvidersResponseSuccess
804
+
805
+ interface _RegisterContainerInstanceResponseSuccess
806
+ include ::Seahorse::Client::_ResponseSuccess[Types::RegisterContainerInstanceResponse]
807
+ def container_instance: () -> Types::ContainerInstance
808
+ end
809
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#register_container_instance-instance_method
810
+ def register_container_instance: (
811
+ ?cluster: ::String,
812
+ ?instance_identity_document: ::String,
813
+ ?instance_identity_document_signature: ::String,
814
+ ?total_resources: Array[
815
+ {
816
+ name: ::String?,
817
+ type: ::String?,
818
+ double_value: ::Float?,
819
+ long_value: ::Integer?,
820
+ integer_value: ::Integer?,
821
+ string_set_value: Array[::String]?
822
+ },
823
+ ],
824
+ ?version_info: {
825
+ agent_version: ::String?,
826
+ agent_hash: ::String?,
827
+ docker_version: ::String?
828
+ },
829
+ ?container_instance_arn: ::String,
830
+ ?attributes: Array[
831
+ {
832
+ name: ::String,
833
+ value: ::String?,
834
+ target_type: ("container-instance")?,
835
+ target_id: ::String?
836
+ },
837
+ ],
838
+ ?platform_devices: Array[
839
+ {
840
+ id: ::String,
841
+ type: ("GPU")
842
+ },
843
+ ],
844
+ ?tags: Array[
845
+ {
846
+ key: ::String?,
847
+ value: ::String?
848
+ },
849
+ ]
850
+ ) -> _RegisterContainerInstanceResponseSuccess
851
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RegisterContainerInstanceResponseSuccess
852
+
853
+ interface _RegisterTaskDefinitionResponseSuccess
854
+ include ::Seahorse::Client::_ResponseSuccess[Types::RegisterTaskDefinitionResponse]
855
+ def task_definition: () -> Types::TaskDefinition
856
+ def tags: () -> ::Array[Types::Tag]
857
+ end
858
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#register_task_definition-instance_method
859
+ def register_task_definition: (
860
+ family: ::String,
861
+ ?task_role_arn: ::String,
862
+ ?execution_role_arn: ::String,
863
+ ?network_mode: ("bridge" | "host" | "awsvpc" | "none"),
864
+ container_definitions: Array[
865
+ {
866
+ name: ::String?,
867
+ image: ::String?,
868
+ repository_credentials: {
869
+ credentials_parameter: ::String
870
+ }?,
871
+ cpu: ::Integer?,
872
+ memory: ::Integer?,
873
+ memory_reservation: ::Integer?,
874
+ links: Array[::String]?,
875
+ port_mappings: Array[
876
+ {
877
+ container_port: ::Integer?,
878
+ host_port: ::Integer?,
879
+ protocol: ("tcp" | "udp")?,
880
+ name: ::String?,
881
+ app_protocol: ("http" | "http2" | "grpc")?,
882
+ container_port_range: ::String?
883
+ },
884
+ ]?,
885
+ essential: bool?,
886
+ entry_point: Array[::String]?,
887
+ command: Array[::String]?,
888
+ environment: Array[
889
+ {
890
+ name: ::String?,
891
+ value: ::String?
892
+ },
893
+ ]?,
894
+ environment_files: Array[
895
+ {
896
+ value: ::String,
897
+ type: ("s3")
898
+ },
899
+ ]?,
900
+ mount_points: Array[
901
+ {
902
+ source_volume: ::String?,
903
+ container_path: ::String?,
904
+ read_only: bool?
905
+ },
906
+ ]?,
907
+ volumes_from: Array[
908
+ {
909
+ source_container: ::String?,
910
+ read_only: bool?
911
+ },
912
+ ]?,
913
+ linux_parameters: {
914
+ capabilities: {
915
+ add: Array[::String]?,
916
+ drop: Array[::String]?
917
+ }?,
918
+ devices: Array[
919
+ {
920
+ host_path: ::String,
921
+ container_path: ::String?,
922
+ permissions: Array[("read" | "write" | "mknod")]?
923
+ },
924
+ ]?,
925
+ init_process_enabled: bool?,
926
+ shared_memory_size: ::Integer?,
927
+ tmpfs: Array[
928
+ {
929
+ container_path: ::String,
930
+ size: ::Integer,
931
+ mount_options: Array[::String]?
932
+ },
933
+ ]?,
934
+ max_swap: ::Integer?,
935
+ swappiness: ::Integer?
936
+ }?,
937
+ secrets: Array[
938
+ {
939
+ name: ::String,
940
+ value_from: ::String
941
+ },
942
+ ]?,
943
+ depends_on: Array[
944
+ {
945
+ container_name: ::String,
946
+ condition: ("START" | "COMPLETE" | "SUCCESS" | "HEALTHY")
947
+ },
948
+ ]?,
949
+ start_timeout: ::Integer?,
950
+ stop_timeout: ::Integer?,
951
+ hostname: ::String?,
952
+ user: ::String?,
953
+ working_directory: ::String?,
954
+ disable_networking: bool?,
955
+ privileged: bool?,
956
+ readonly_root_filesystem: bool?,
957
+ dns_servers: Array[::String]?,
958
+ dns_search_domains: Array[::String]?,
959
+ extra_hosts: Array[
960
+ {
961
+ hostname: ::String,
962
+ ip_address: ::String
963
+ },
964
+ ]?,
965
+ docker_security_options: Array[::String]?,
966
+ interactive: bool?,
967
+ pseudo_terminal: bool?,
968
+ docker_labels: Hash[::String, ::String]?,
969
+ ulimits: Array[
970
+ {
971
+ name: ("core" | "cpu" | "data" | "fsize" | "locks" | "memlock" | "msgqueue" | "nice" | "nofile" | "nproc" | "rss" | "rtprio" | "rttime" | "sigpending" | "stack"),
972
+ soft_limit: ::Integer,
973
+ hard_limit: ::Integer
974
+ },
975
+ ]?,
976
+ log_configuration: {
977
+ log_driver: ("json-file" | "syslog" | "journald" | "gelf" | "fluentd" | "awslogs" | "splunk" | "awsfirelens"),
978
+ options: Hash[::String, ::String]?,
979
+ secret_options: Array[
980
+ {
981
+ name: ::String,
982
+ value_from: ::String
983
+ },
984
+ ]?
985
+ }?,
986
+ health_check: {
987
+ command: Array[::String],
988
+ interval: ::Integer?,
989
+ timeout: ::Integer?,
990
+ retries: ::Integer?,
991
+ start_period: ::Integer?
992
+ }?,
993
+ system_controls: Array[
994
+ {
995
+ namespace: ::String?,
996
+ value: ::String?
997
+ },
998
+ ]?,
999
+ resource_requirements: Array[
1000
+ {
1001
+ value: ::String,
1002
+ type: ("GPU" | "InferenceAccelerator")
1003
+ },
1004
+ ]?,
1005
+ firelens_configuration: {
1006
+ type: ("fluentd" | "fluentbit"),
1007
+ options: Hash[::String, ::String]?
1008
+ }?,
1009
+ credential_specs: Array[::String]?
1010
+ },
1011
+ ],
1012
+ ?volumes: Array[
1013
+ {
1014
+ name: ::String?,
1015
+ host: {
1016
+ source_path: ::String?
1017
+ }?,
1018
+ docker_volume_configuration: {
1019
+ scope: ("task" | "shared")?,
1020
+ autoprovision: bool?,
1021
+ driver: ::String?,
1022
+ driver_opts: Hash[::String, ::String]?,
1023
+ labels: Hash[::String, ::String]?
1024
+ }?,
1025
+ efs_volume_configuration: {
1026
+ file_system_id: ::String,
1027
+ root_directory: ::String?,
1028
+ transit_encryption: ("ENABLED" | "DISABLED")?,
1029
+ transit_encryption_port: ::Integer?,
1030
+ authorization_config: {
1031
+ access_point_id: ::String?,
1032
+ iam: ("ENABLED" | "DISABLED")?
1033
+ }?
1034
+ }?,
1035
+ fsx_windows_file_server_volume_configuration: {
1036
+ file_system_id: ::String,
1037
+ root_directory: ::String,
1038
+ authorization_config: {
1039
+ credentials_parameter: ::String,
1040
+ domain: ::String
1041
+ }
1042
+ }?,
1043
+ configured_at_launch: bool?
1044
+ },
1045
+ ],
1046
+ ?placement_constraints: Array[
1047
+ {
1048
+ type: ("memberOf")?,
1049
+ expression: ::String?
1050
+ },
1051
+ ],
1052
+ ?requires_compatibilities: Array[("EC2" | "FARGATE" | "EXTERNAL")],
1053
+ ?cpu: ::String,
1054
+ ?memory: ::String,
1055
+ ?tags: Array[
1056
+ {
1057
+ key: ::String?,
1058
+ value: ::String?
1059
+ },
1060
+ ],
1061
+ ?pid_mode: ("host" | "task"),
1062
+ ?ipc_mode: ("host" | "task" | "none"),
1063
+ ?proxy_configuration: {
1064
+ type: ("APPMESH")?,
1065
+ container_name: ::String,
1066
+ properties: Array[
1067
+ {
1068
+ name: ::String?,
1069
+ value: ::String?
1070
+ },
1071
+ ]?
1072
+ },
1073
+ ?inference_accelerators: Array[
1074
+ {
1075
+ device_name: ::String,
1076
+ device_type: ::String
1077
+ },
1078
+ ],
1079
+ ?ephemeral_storage: {
1080
+ size_in_gi_b: ::Integer
1081
+ },
1082
+ ?runtime_platform: {
1083
+ cpu_architecture: ("X86_64" | "ARM64")?,
1084
+ operating_system_family: ("WINDOWS_SERVER_2019_FULL" | "WINDOWS_SERVER_2019_CORE" | "WINDOWS_SERVER_2016_FULL" | "WINDOWS_SERVER_2004_CORE" | "WINDOWS_SERVER_2022_CORE" | "WINDOWS_SERVER_2022_FULL" | "WINDOWS_SERVER_20H2_CORE" | "LINUX")?
1085
+ }
1086
+ ) -> _RegisterTaskDefinitionResponseSuccess
1087
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RegisterTaskDefinitionResponseSuccess
1088
+
1089
+ interface _RunTaskResponseSuccess
1090
+ include ::Seahorse::Client::_ResponseSuccess[Types::RunTaskResponse]
1091
+ def tasks: () -> ::Array[Types::Task]
1092
+ def failures: () -> ::Array[Types::Failure]
1093
+ end
1094
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#run_task-instance_method
1095
+ def run_task: (
1096
+ ?capacity_provider_strategy: Array[
1097
+ {
1098
+ capacity_provider: ::String,
1099
+ weight: ::Integer?,
1100
+ base: ::Integer?
1101
+ },
1102
+ ],
1103
+ ?cluster: ::String,
1104
+ ?count: ::Integer,
1105
+ ?enable_ecs_managed_tags: bool,
1106
+ ?enable_execute_command: bool,
1107
+ ?group: ::String,
1108
+ ?launch_type: ("EC2" | "FARGATE" | "EXTERNAL"),
1109
+ ?network_configuration: {
1110
+ awsvpc_configuration: {
1111
+ subnets: Array[::String],
1112
+ security_groups: Array[::String]?,
1113
+ assign_public_ip: ("ENABLED" | "DISABLED")?
1114
+ }?
1115
+ },
1116
+ ?overrides: {
1117
+ container_overrides: Array[
1118
+ {
1119
+ name: ::String?,
1120
+ command: Array[::String]?,
1121
+ environment: Array[
1122
+ {
1123
+ name: ::String?,
1124
+ value: ::String?
1125
+ },
1126
+ ]?,
1127
+ environment_files: Array[
1128
+ {
1129
+ value: ::String,
1130
+ type: ("s3")
1131
+ },
1132
+ ]?,
1133
+ cpu: ::Integer?,
1134
+ memory: ::Integer?,
1135
+ memory_reservation: ::Integer?,
1136
+ resource_requirements: Array[
1137
+ {
1138
+ value: ::String,
1139
+ type: ("GPU" | "InferenceAccelerator")
1140
+ },
1141
+ ]?
1142
+ },
1143
+ ]?,
1144
+ cpu: ::String?,
1145
+ inference_accelerator_overrides: Array[
1146
+ {
1147
+ device_name: ::String?,
1148
+ device_type: ::String?
1149
+ },
1150
+ ]?,
1151
+ execution_role_arn: ::String?,
1152
+ memory: ::String?,
1153
+ task_role_arn: ::String?,
1154
+ ephemeral_storage: {
1155
+ size_in_gi_b: ::Integer
1156
+ }?
1157
+ },
1158
+ ?placement_constraints: Array[
1159
+ {
1160
+ type: ("distinctInstance" | "memberOf")?,
1161
+ expression: ::String?
1162
+ },
1163
+ ],
1164
+ ?placement_strategy: Array[
1165
+ {
1166
+ type: ("random" | "spread" | "binpack")?,
1167
+ field: ::String?
1168
+ },
1169
+ ],
1170
+ ?platform_version: ::String,
1171
+ ?propagate_tags: ("TASK_DEFINITION" | "SERVICE" | "NONE"),
1172
+ ?reference_id: ::String,
1173
+ ?started_by: ::String,
1174
+ ?tags: Array[
1175
+ {
1176
+ key: ::String?,
1177
+ value: ::String?
1178
+ },
1179
+ ],
1180
+ task_definition: ::String,
1181
+ ?client_token: ::String,
1182
+ ?volume_configurations: Array[
1183
+ {
1184
+ name: ::String,
1185
+ managed_ebs_volume: {
1186
+ encrypted: bool?,
1187
+ kms_key_id: ::String?,
1188
+ volume_type: ::String?,
1189
+ size_in_gi_b: ::Integer?,
1190
+ snapshot_id: ::String?,
1191
+ iops: ::Integer?,
1192
+ throughput: ::Integer?,
1193
+ tag_specifications: Array[
1194
+ {
1195
+ resource_type: ("volume"),
1196
+ tags: Array[
1197
+ {
1198
+ key: ::String?,
1199
+ value: ::String?
1200
+ },
1201
+ ]?,
1202
+ propagate_tags: ("TASK_DEFINITION" | "SERVICE" | "NONE")?
1203
+ },
1204
+ ]?,
1205
+ role_arn: ::String,
1206
+ termination_policy: {
1207
+ delete_on_termination: bool
1208
+ }?,
1209
+ filesystem_type: ("ext3" | "ext4" | "xfs")?
1210
+ }?
1211
+ },
1212
+ ]
1213
+ ) -> _RunTaskResponseSuccess
1214
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RunTaskResponseSuccess
1215
+
1216
+ interface _StartTaskResponseSuccess
1217
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartTaskResponse]
1218
+ def tasks: () -> ::Array[Types::Task]
1219
+ def failures: () -> ::Array[Types::Failure]
1220
+ end
1221
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#start_task-instance_method
1222
+ def start_task: (
1223
+ ?cluster: ::String,
1224
+ container_instances: Array[::String],
1225
+ ?enable_ecs_managed_tags: bool,
1226
+ ?enable_execute_command: bool,
1227
+ ?group: ::String,
1228
+ ?network_configuration: {
1229
+ awsvpc_configuration: {
1230
+ subnets: Array[::String],
1231
+ security_groups: Array[::String]?,
1232
+ assign_public_ip: ("ENABLED" | "DISABLED")?
1233
+ }?
1234
+ },
1235
+ ?overrides: {
1236
+ container_overrides: Array[
1237
+ {
1238
+ name: ::String?,
1239
+ command: Array[::String]?,
1240
+ environment: Array[
1241
+ {
1242
+ name: ::String?,
1243
+ value: ::String?
1244
+ },
1245
+ ]?,
1246
+ environment_files: Array[
1247
+ {
1248
+ value: ::String,
1249
+ type: ("s3")
1250
+ },
1251
+ ]?,
1252
+ cpu: ::Integer?,
1253
+ memory: ::Integer?,
1254
+ memory_reservation: ::Integer?,
1255
+ resource_requirements: Array[
1256
+ {
1257
+ value: ::String,
1258
+ type: ("GPU" | "InferenceAccelerator")
1259
+ },
1260
+ ]?
1261
+ },
1262
+ ]?,
1263
+ cpu: ::String?,
1264
+ inference_accelerator_overrides: Array[
1265
+ {
1266
+ device_name: ::String?,
1267
+ device_type: ::String?
1268
+ },
1269
+ ]?,
1270
+ execution_role_arn: ::String?,
1271
+ memory: ::String?,
1272
+ task_role_arn: ::String?,
1273
+ ephemeral_storage: {
1274
+ size_in_gi_b: ::Integer
1275
+ }?
1276
+ },
1277
+ ?propagate_tags: ("TASK_DEFINITION" | "SERVICE" | "NONE"),
1278
+ ?reference_id: ::String,
1279
+ ?started_by: ::String,
1280
+ ?tags: Array[
1281
+ {
1282
+ key: ::String?,
1283
+ value: ::String?
1284
+ },
1285
+ ],
1286
+ task_definition: ::String,
1287
+ ?volume_configurations: Array[
1288
+ {
1289
+ name: ::String,
1290
+ managed_ebs_volume: {
1291
+ encrypted: bool?,
1292
+ kms_key_id: ::String?,
1293
+ volume_type: ::String?,
1294
+ size_in_gi_b: ::Integer?,
1295
+ snapshot_id: ::String?,
1296
+ iops: ::Integer?,
1297
+ throughput: ::Integer?,
1298
+ tag_specifications: Array[
1299
+ {
1300
+ resource_type: ("volume"),
1301
+ tags: Array[
1302
+ {
1303
+ key: ::String?,
1304
+ value: ::String?
1305
+ },
1306
+ ]?,
1307
+ propagate_tags: ("TASK_DEFINITION" | "SERVICE" | "NONE")?
1308
+ },
1309
+ ]?,
1310
+ role_arn: ::String,
1311
+ termination_policy: {
1312
+ delete_on_termination: bool
1313
+ }?,
1314
+ filesystem_type: ("ext3" | "ext4" | "xfs")?
1315
+ }?
1316
+ },
1317
+ ]
1318
+ ) -> _StartTaskResponseSuccess
1319
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartTaskResponseSuccess
1320
+
1321
+ interface _StopTaskResponseSuccess
1322
+ include ::Seahorse::Client::_ResponseSuccess[Types::StopTaskResponse]
1323
+ def task: () -> Types::Task
1324
+ end
1325
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#stop_task-instance_method
1326
+ def stop_task: (
1327
+ ?cluster: ::String,
1328
+ task: ::String,
1329
+ ?reason: ::String
1330
+ ) -> _StopTaskResponseSuccess
1331
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopTaskResponseSuccess
1332
+
1333
+ interface _SubmitAttachmentStateChangesResponseSuccess
1334
+ include ::Seahorse::Client::_ResponseSuccess[Types::SubmitAttachmentStateChangesResponse]
1335
+ def acknowledgment: () -> ::String
1336
+ end
1337
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#submit_attachment_state_changes-instance_method
1338
+ def submit_attachment_state_changes: (
1339
+ ?cluster: ::String,
1340
+ attachments: Array[
1341
+ {
1342
+ attachment_arn: ::String,
1343
+ status: ::String
1344
+ },
1345
+ ]
1346
+ ) -> _SubmitAttachmentStateChangesResponseSuccess
1347
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SubmitAttachmentStateChangesResponseSuccess
1348
+
1349
+ interface _SubmitContainerStateChangeResponseSuccess
1350
+ include ::Seahorse::Client::_ResponseSuccess[Types::SubmitContainerStateChangeResponse]
1351
+ def acknowledgment: () -> ::String
1352
+ end
1353
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#submit_container_state_change-instance_method
1354
+ def submit_container_state_change: (
1355
+ ?cluster: ::String,
1356
+ ?task: ::String,
1357
+ ?container_name: ::String,
1358
+ ?runtime_id: ::String,
1359
+ ?status: ::String,
1360
+ ?exit_code: ::Integer,
1361
+ ?reason: ::String,
1362
+ ?network_bindings: Array[
1363
+ {
1364
+ bind_ip: ::String?,
1365
+ container_port: ::Integer?,
1366
+ host_port: ::Integer?,
1367
+ protocol: ("tcp" | "udp")?,
1368
+ container_port_range: ::String?,
1369
+ host_port_range: ::String?
1370
+ },
1371
+ ]
1372
+ ) -> _SubmitContainerStateChangeResponseSuccess
1373
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SubmitContainerStateChangeResponseSuccess
1374
+
1375
+ interface _SubmitTaskStateChangeResponseSuccess
1376
+ include ::Seahorse::Client::_ResponseSuccess[Types::SubmitTaskStateChangeResponse]
1377
+ def acknowledgment: () -> ::String
1378
+ end
1379
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#submit_task_state_change-instance_method
1380
+ def submit_task_state_change: (
1381
+ ?cluster: ::String,
1382
+ ?task: ::String,
1383
+ ?status: ::String,
1384
+ ?reason: ::String,
1385
+ ?containers: Array[
1386
+ {
1387
+ container_name: ::String?,
1388
+ image_digest: ::String?,
1389
+ runtime_id: ::String?,
1390
+ exit_code: ::Integer?,
1391
+ network_bindings: Array[
1392
+ {
1393
+ bind_ip: ::String?,
1394
+ container_port: ::Integer?,
1395
+ host_port: ::Integer?,
1396
+ protocol: ("tcp" | "udp")?,
1397
+ container_port_range: ::String?,
1398
+ host_port_range: ::String?
1399
+ },
1400
+ ]?,
1401
+ reason: ::String?,
1402
+ status: ::String?
1403
+ },
1404
+ ],
1405
+ ?attachments: Array[
1406
+ {
1407
+ attachment_arn: ::String,
1408
+ status: ::String
1409
+ },
1410
+ ],
1411
+ ?managed_agents: Array[
1412
+ {
1413
+ container_name: ::String,
1414
+ managed_agent_name: ("ExecuteCommandAgent"),
1415
+ status: ::String,
1416
+ reason: ::String?
1417
+ },
1418
+ ],
1419
+ ?pull_started_at: ::Time,
1420
+ ?pull_stopped_at: ::Time,
1421
+ ?execution_stopped_at: ::Time
1422
+ ) -> _SubmitTaskStateChangeResponseSuccess
1423
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SubmitTaskStateChangeResponseSuccess
1424
+
1425
+ interface _TagResourceResponseSuccess
1426
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
1427
+ end
1428
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#tag_resource-instance_method
1429
+ def tag_resource: (
1430
+ resource_arn: ::String,
1431
+ tags: Array[
1432
+ {
1433
+ key: ::String?,
1434
+ value: ::String?
1435
+ },
1436
+ ]
1437
+ ) -> _TagResourceResponseSuccess
1438
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
1439
+
1440
+ interface _UntagResourceResponseSuccess
1441
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
1442
+ end
1443
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#untag_resource-instance_method
1444
+ def untag_resource: (
1445
+ resource_arn: ::String,
1446
+ tag_keys: Array[::String]
1447
+ ) -> _UntagResourceResponseSuccess
1448
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
1449
+
1450
+ interface _UpdateCapacityProviderResponseSuccess
1451
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateCapacityProviderResponse]
1452
+ def capacity_provider: () -> Types::CapacityProvider
1453
+ end
1454
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#update_capacity_provider-instance_method
1455
+ def update_capacity_provider: (
1456
+ name: ::String,
1457
+ auto_scaling_group_provider: {
1458
+ managed_scaling: {
1459
+ status: ("ENABLED" | "DISABLED")?,
1460
+ target_capacity: ::Integer?,
1461
+ minimum_scaling_step_size: ::Integer?,
1462
+ maximum_scaling_step_size: ::Integer?,
1463
+ instance_warmup_period: ::Integer?
1464
+ }?,
1465
+ managed_termination_protection: ("ENABLED" | "DISABLED")?,
1466
+ managed_draining: ("ENABLED" | "DISABLED")?
1467
+ }
1468
+ ) -> _UpdateCapacityProviderResponseSuccess
1469
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateCapacityProviderResponseSuccess
1470
+
1471
+ interface _UpdateClusterResponseSuccess
1472
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateClusterResponse]
1473
+ def cluster: () -> Types::Cluster
1474
+ end
1475
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#update_cluster-instance_method
1476
+ def update_cluster: (
1477
+ cluster: ::String,
1478
+ ?settings: Array[
1479
+ {
1480
+ name: ("containerInsights")?,
1481
+ value: ::String?
1482
+ },
1483
+ ],
1484
+ ?configuration: {
1485
+ execute_command_configuration: {
1486
+ kms_key_id: ::String?,
1487
+ logging: ("NONE" | "DEFAULT" | "OVERRIDE")?,
1488
+ log_configuration: {
1489
+ cloud_watch_log_group_name: ::String?,
1490
+ cloud_watch_encryption_enabled: bool?,
1491
+ s3_bucket_name: ::String?,
1492
+ s3_encryption_enabled: bool?,
1493
+ s3_key_prefix: ::String?
1494
+ }?
1495
+ }?
1496
+ },
1497
+ ?service_connect_defaults: {
1498
+ namespace: ::String
1499
+ }
1500
+ ) -> _UpdateClusterResponseSuccess
1501
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateClusterResponseSuccess
1502
+
1503
+ interface _UpdateClusterSettingsResponseSuccess
1504
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateClusterSettingsResponse]
1505
+ def cluster: () -> Types::Cluster
1506
+ end
1507
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#update_cluster_settings-instance_method
1508
+ def update_cluster_settings: (
1509
+ cluster: ::String,
1510
+ settings: Array[
1511
+ {
1512
+ name: ("containerInsights")?,
1513
+ value: ::String?
1514
+ },
1515
+ ]
1516
+ ) -> _UpdateClusterSettingsResponseSuccess
1517
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateClusterSettingsResponseSuccess
1518
+
1519
+ interface _UpdateContainerAgentResponseSuccess
1520
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateContainerAgentResponse]
1521
+ def container_instance: () -> Types::ContainerInstance
1522
+ end
1523
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#update_container_agent-instance_method
1524
+ def update_container_agent: (
1525
+ ?cluster: ::String,
1526
+ container_instance: ::String
1527
+ ) -> _UpdateContainerAgentResponseSuccess
1528
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateContainerAgentResponseSuccess
1529
+
1530
+ interface _UpdateContainerInstancesStateResponseSuccess
1531
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateContainerInstancesStateResponse]
1532
+ def container_instances: () -> ::Array[Types::ContainerInstance]
1533
+ def failures: () -> ::Array[Types::Failure]
1534
+ end
1535
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#update_container_instances_state-instance_method
1536
+ def update_container_instances_state: (
1537
+ ?cluster: ::String,
1538
+ container_instances: Array[::String],
1539
+ status: ("ACTIVE" | "DRAINING" | "REGISTERING" | "DEREGISTERING" | "REGISTRATION_FAILED")
1540
+ ) -> _UpdateContainerInstancesStateResponseSuccess
1541
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateContainerInstancesStateResponseSuccess
1542
+
1543
+ interface _UpdateServiceResponseSuccess
1544
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateServiceResponse]
1545
+ def service: () -> Types::Service
1546
+ end
1547
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#update_service-instance_method
1548
+ def update_service: (
1549
+ ?cluster: ::String,
1550
+ service: ::String,
1551
+ ?desired_count: ::Integer,
1552
+ ?task_definition: ::String,
1553
+ ?capacity_provider_strategy: Array[
1554
+ {
1555
+ capacity_provider: ::String,
1556
+ weight: ::Integer?,
1557
+ base: ::Integer?
1558
+ },
1559
+ ],
1560
+ ?deployment_configuration: {
1561
+ deployment_circuit_breaker: {
1562
+ enable: bool,
1563
+ rollback: bool
1564
+ }?,
1565
+ maximum_percent: ::Integer?,
1566
+ minimum_healthy_percent: ::Integer?,
1567
+ alarms: {
1568
+ alarm_names: Array[::String],
1569
+ enable: bool,
1570
+ rollback: bool
1571
+ }?
1572
+ },
1573
+ ?network_configuration: {
1574
+ awsvpc_configuration: {
1575
+ subnets: Array[::String],
1576
+ security_groups: Array[::String]?,
1577
+ assign_public_ip: ("ENABLED" | "DISABLED")?
1578
+ }?
1579
+ },
1580
+ ?placement_constraints: Array[
1581
+ {
1582
+ type: ("distinctInstance" | "memberOf")?,
1583
+ expression: ::String?
1584
+ },
1585
+ ],
1586
+ ?placement_strategy: Array[
1587
+ {
1588
+ type: ("random" | "spread" | "binpack")?,
1589
+ field: ::String?
1590
+ },
1591
+ ],
1592
+ ?platform_version: ::String,
1593
+ ?force_new_deployment: bool,
1594
+ ?health_check_grace_period_seconds: ::Integer,
1595
+ ?enable_execute_command: bool,
1596
+ ?enable_ecs_managed_tags: bool,
1597
+ ?load_balancers: Array[
1598
+ {
1599
+ target_group_arn: ::String?,
1600
+ load_balancer_name: ::String?,
1601
+ container_name: ::String?,
1602
+ container_port: ::Integer?
1603
+ },
1604
+ ],
1605
+ ?propagate_tags: ("TASK_DEFINITION" | "SERVICE" | "NONE"),
1606
+ ?service_registries: Array[
1607
+ {
1608
+ registry_arn: ::String?,
1609
+ port: ::Integer?,
1610
+ container_name: ::String?,
1611
+ container_port: ::Integer?
1612
+ },
1613
+ ],
1614
+ ?service_connect_configuration: {
1615
+ enabled: bool,
1616
+ namespace: ::String?,
1617
+ services: Array[
1618
+ {
1619
+ port_name: ::String,
1620
+ discovery_name: ::String?,
1621
+ client_aliases: Array[
1622
+ {
1623
+ port: ::Integer,
1624
+ dns_name: ::String?
1625
+ },
1626
+ ]?,
1627
+ ingress_port_override: ::Integer?,
1628
+ timeout: {
1629
+ idle_timeout_seconds: ::Integer?,
1630
+ per_request_timeout_seconds: ::Integer?
1631
+ }?,
1632
+ tls: {
1633
+ issuer_certificate_authority: {
1634
+ aws_pca_authority_arn: ::String?
1635
+ },
1636
+ kms_key: ::String?,
1637
+ role_arn: ::String?
1638
+ }?
1639
+ },
1640
+ ]?,
1641
+ log_configuration: {
1642
+ log_driver: ("json-file" | "syslog" | "journald" | "gelf" | "fluentd" | "awslogs" | "splunk" | "awsfirelens"),
1643
+ options: Hash[::String, ::String]?,
1644
+ secret_options: Array[
1645
+ {
1646
+ name: ::String,
1647
+ value_from: ::String
1648
+ },
1649
+ ]?
1650
+ }?
1651
+ },
1652
+ ?volume_configurations: Array[
1653
+ {
1654
+ name: ::String,
1655
+ managed_ebs_volume: {
1656
+ encrypted: bool?,
1657
+ kms_key_id: ::String?,
1658
+ volume_type: ::String?,
1659
+ size_in_gi_b: ::Integer?,
1660
+ snapshot_id: ::String?,
1661
+ iops: ::Integer?,
1662
+ throughput: ::Integer?,
1663
+ tag_specifications: Array[
1664
+ {
1665
+ resource_type: ("volume"),
1666
+ tags: Array[
1667
+ {
1668
+ key: ::String?,
1669
+ value: ::String?
1670
+ },
1671
+ ]?,
1672
+ propagate_tags: ("TASK_DEFINITION" | "SERVICE" | "NONE")?
1673
+ },
1674
+ ]?,
1675
+ role_arn: ::String,
1676
+ filesystem_type: ("ext3" | "ext4" | "xfs")?
1677
+ }?
1678
+ },
1679
+ ]
1680
+ ) -> _UpdateServiceResponseSuccess
1681
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateServiceResponseSuccess
1682
+
1683
+ interface _UpdateServicePrimaryTaskSetResponseSuccess
1684
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateServicePrimaryTaskSetResponse]
1685
+ def task_set: () -> Types::TaskSet
1686
+ end
1687
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#update_service_primary_task_set-instance_method
1688
+ def update_service_primary_task_set: (
1689
+ cluster: ::String,
1690
+ service: ::String,
1691
+ primary_task_set: ::String
1692
+ ) -> _UpdateServicePrimaryTaskSetResponseSuccess
1693
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateServicePrimaryTaskSetResponseSuccess
1694
+
1695
+ interface _UpdateTaskProtectionResponseSuccess
1696
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateTaskProtectionResponse]
1697
+ def protected_tasks: () -> ::Array[Types::ProtectedTask]
1698
+ def failures: () -> ::Array[Types::Failure]
1699
+ end
1700
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#update_task_protection-instance_method
1701
+ def update_task_protection: (
1702
+ cluster: ::String,
1703
+ tasks: Array[::String],
1704
+ protection_enabled: bool,
1705
+ ?expires_in_minutes: ::Integer
1706
+ ) -> _UpdateTaskProtectionResponseSuccess
1707
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateTaskProtectionResponseSuccess
1708
+
1709
+ interface _UpdateTaskSetResponseSuccess
1710
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateTaskSetResponse]
1711
+ def task_set: () -> Types::TaskSet
1712
+ end
1713
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#update_task_set-instance_method
1714
+ def update_task_set: (
1715
+ cluster: ::String,
1716
+ service: ::String,
1717
+ task_set: ::String,
1718
+ scale: {
1719
+ value: ::Float?,
1720
+ unit: ("PERCENT")?
1721
+ }
1722
+ ) -> _UpdateTaskSetResponseSuccess
1723
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateTaskSetResponseSuccess
1724
+
1725
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#wait_until-instance_method
1726
+ def wait_until: (:services_inactive waiter_name,
1727
+ ?cluster: ::String,
1728
+ services: Array[::String],
1729
+ ?include: Array[("TAGS")]
1730
+ ) -> Client::_DescribeServicesResponseSuccess
1731
+ | (:services_inactive waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeServicesResponseSuccess
1732
+ | (:services_stable waiter_name,
1733
+ ?cluster: ::String,
1734
+ services: Array[::String],
1735
+ ?include: Array[("TAGS")]
1736
+ ) -> Client::_DescribeServicesResponseSuccess
1737
+ | (:services_stable waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeServicesResponseSuccess
1738
+ | (:tasks_running waiter_name,
1739
+ ?cluster: ::String,
1740
+ tasks: Array[::String],
1741
+ ?include: Array[("TAGS")]
1742
+ ) -> Client::_DescribeTasksResponseSuccess
1743
+ | (:tasks_running waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeTasksResponseSuccess
1744
+ | (:tasks_stopped waiter_name,
1745
+ ?cluster: ::String,
1746
+ tasks: Array[::String],
1747
+ ?include: Array[("TAGS")]
1748
+ ) -> Client::_DescribeTasksResponseSuccess
1749
+ | (:tasks_stopped waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeTasksResponseSuccess
1750
+ end
1751
+ end
1752
+ end
1753
+