aws-sdk-ecs 1.165.0 → 1.171.0

Sign up to get free protection for your applications and to get access to all the features.
data/lib/aws-sdk-ecs.rb CHANGED
@@ -55,7 +55,7 @@ module Aws::ECS
55
55
  autoload :EndpointProvider, 'aws-sdk-ecs/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-ecs/endpoints'
57
57
 
58
- GEM_VERSION = '1.165.0'
58
+ GEM_VERSION = '1.171.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -163,6 +163,7 @@ module Aws
163
163
  ?cluster: ::String,
164
164
  service_name: ::String,
165
165
  ?task_definition: ::String,
166
+ ?availability_zone_rebalancing: ("ENABLED" | "DISABLED"),
166
167
  ?load_balancers: Array[
167
168
  {
168
169
  target_group_arn: ::String?,
@@ -200,8 +201,8 @@ module Aws
200
201
  minimum_healthy_percent: ::Integer?,
201
202
  alarms: {
202
203
  alarm_names: Array[::String],
203
- enable: bool,
204
- rollback: bool
204
+ rollback: bool,
205
+ enable: bool
205
206
  }?
206
207
  },
207
208
  ?placement_constraints: Array[
@@ -302,6 +303,13 @@ module Aws
302
303
  filesystem_type: ("ext3" | "ext4" | "xfs" | "ntfs")?
303
304
  }?
304
305
  },
306
+ ],
307
+ ?vpc_lattice_configurations: Array[
308
+ {
309
+ role_arn: ::String,
310
+ target_group_arn: ::String,
311
+ port_name: ::String
312
+ },
305
313
  ]
306
314
  ) -> _CreateServiceResponseSuccess
307
315
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateServiceResponseSuccess
@@ -509,6 +517,28 @@ module Aws
509
517
  ) -> _DescribeContainerInstancesResponseSuccess
510
518
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeContainerInstancesResponseSuccess
511
519
 
520
+ interface _DescribeServiceDeploymentsResponseSuccess
521
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeServiceDeploymentsResponse]
522
+ def service_deployments: () -> ::Array[Types::ServiceDeployment]
523
+ def failures: () -> ::Array[Types::Failure]
524
+ end
525
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#describe_service_deployments-instance_method
526
+ def describe_service_deployments: (
527
+ service_deployment_arns: Array[::String]
528
+ ) -> _DescribeServiceDeploymentsResponseSuccess
529
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeServiceDeploymentsResponseSuccess
530
+
531
+ interface _DescribeServiceRevisionsResponseSuccess
532
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeServiceRevisionsResponse]
533
+ def service_revisions: () -> ::Array[Types::ServiceRevision]
534
+ def failures: () -> ::Array[Types::Failure]
535
+ end
536
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#describe_service_revisions-instance_method
537
+ def describe_service_revisions: (
538
+ service_revision_arns: Array[::String]
539
+ ) -> _DescribeServiceRevisionsResponseSuccess
540
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeServiceRevisionsResponseSuccess
541
+
512
542
  interface _DescribeServicesResponseSuccess
513
543
  include ::Seahorse::Client::_ResponseSuccess[Types::DescribeServicesResponse]
514
544
  def services: () -> ::Array[Types::Service]
@@ -664,6 +694,25 @@ module Aws
664
694
  ) -> _ListContainerInstancesResponseSuccess
665
695
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListContainerInstancesResponseSuccess
666
696
 
697
+ interface _ListServiceDeploymentsResponseSuccess
698
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListServiceDeploymentsResponse]
699
+ def service_deployments: () -> ::Array[Types::ServiceDeploymentBrief]
700
+ def next_token: () -> ::String
701
+ end
702
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#list_service_deployments-instance_method
703
+ def list_service_deployments: (
704
+ service: ::String,
705
+ ?cluster: ::String,
706
+ ?status: Array[("PENDING" | "SUCCESSFUL" | "STOPPED" | "STOP_REQUESTED" | "IN_PROGRESS" | "ROLLBACK_IN_PROGRESS" | "ROLLBACK_SUCCESSFUL" | "ROLLBACK_FAILED")],
707
+ ?created_at: {
708
+ before: ::Time?,
709
+ after: ::Time?
710
+ },
711
+ ?next_token: ::String,
712
+ ?max_results: ::Integer
713
+ ) -> _ListServiceDeploymentsResponseSuccess
714
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListServiceDeploymentsResponseSuccess
715
+
667
716
  interface _ListServicesResponseSuccess
668
717
  include ::Seahorse::Client::_ResponseSuccess[Types::ListServicesResponse]
669
718
  def service_arns: () -> ::Array[::String]
@@ -960,6 +1009,7 @@ module Aws
960
1009
  ]?,
961
1010
  start_timeout: ::Integer?,
962
1011
  stop_timeout: ::Integer?,
1012
+ version_consistency: ("enabled" | "disabled")?,
963
1013
  hostname: ::String?,
964
1014
  user: ::String?,
965
1015
  working_directory: ::String?,
@@ -1582,10 +1632,11 @@ module Aws
1582
1632
  minimum_healthy_percent: ::Integer?,
1583
1633
  alarms: {
1584
1634
  alarm_names: Array[::String],
1585
- enable: bool,
1586
- rollback: bool
1635
+ rollback: bool,
1636
+ enable: bool
1587
1637
  }?
1588
1638
  },
1639
+ ?availability_zone_rebalancing: ("ENABLED" | "DISABLED"),
1589
1640
  ?network_configuration: {
1590
1641
  awsvpc_configuration: {
1591
1642
  subnets: Array[::String],
@@ -1692,6 +1743,13 @@ module Aws
1692
1743
  filesystem_type: ("ext3" | "ext4" | "xfs" | "ntfs")?
1693
1744
  }?
1694
1745
  },
1746
+ ],
1747
+ ?vpc_lattice_configurations: Array[
1748
+ {
1749
+ role_arn: ::String,
1750
+ target_group_arn: ::String,
1751
+ port_name: ::String
1752
+ },
1695
1753
  ]
1696
1754
  ) -> _UpdateServiceResponseSuccess
1697
1755
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateServiceResponseSuccess
data/sig/types.rbs CHANGED
@@ -186,6 +186,7 @@ module Aws::ECS
186
186
  attr_accessor depends_on: ::Array[Types::ContainerDependency]
187
187
  attr_accessor start_timeout: ::Integer
188
188
  attr_accessor stop_timeout: ::Integer
189
+ attr_accessor version_consistency: ("enabled" | "disabled")
189
190
  attr_accessor hostname: ::String
190
191
  attr_accessor user: ::String
191
192
  attr_accessor working_directory: ::String
@@ -215,6 +216,13 @@ module Aws::ECS
215
216
  SENSITIVE: []
216
217
  end
217
218
 
219
+ class ContainerImage
220
+ attr_accessor container_name: ::String
221
+ attr_accessor image_digest: ::String
222
+ attr_accessor image: ::String
223
+ SENSITIVE: []
224
+ end
225
+
218
226
  class ContainerInstance
219
227
  attr_accessor container_instance_arn: ::String
220
228
  attr_accessor ec2_instance_id: ::String
@@ -305,6 +313,7 @@ module Aws::ECS
305
313
  attr_accessor cluster: ::String
306
314
  attr_accessor service_name: ::String
307
315
  attr_accessor task_definition: ::String
316
+ attr_accessor availability_zone_rebalancing: ("ENABLED" | "DISABLED")
308
317
  attr_accessor load_balancers: ::Array[Types::LoadBalancer]
309
318
  attr_accessor service_registries: ::Array[Types::ServiceRegistry]
310
319
  attr_accessor desired_count: ::Integer
@@ -326,6 +335,7 @@ module Aws::ECS
326
335
  attr_accessor enable_execute_command: bool
327
336
  attr_accessor service_connect_configuration: Types::ServiceConnectConfiguration
328
337
  attr_accessor volume_configurations: ::Array[Types::ServiceVolumeConfiguration]
338
+ attr_accessor vpc_lattice_configurations: ::Array[Types::VpcLatticeConfiguration]
329
339
  SENSITIVE: []
330
340
  end
331
341
 
@@ -356,6 +366,12 @@ module Aws::ECS
356
366
  SENSITIVE: []
357
367
  end
358
368
 
369
+ class CreatedAt
370
+ attr_accessor before: ::Time
371
+ attr_accessor after: ::Time
372
+ SENSITIVE: []
373
+ end
374
+
359
375
  class DeleteAccountSettingRequest
360
376
  attr_accessor name: ("serviceLongArnFormat" | "taskLongArnFormat" | "containerInstanceLongArnFormat" | "awsvpcTrunking" | "containerInsights" | "fargateFIPSMode" | "tagResourceAuthorization" | "fargateTaskRetirementWaitPeriod" | "guardDutyActivate")
361
377
  attr_accessor principal_arn: ::String
@@ -455,13 +471,14 @@ module Aws::ECS
455
471
  attr_accessor service_connect_resources: ::Array[Types::ServiceConnectServiceResource]
456
472
  attr_accessor volume_configurations: ::Array[Types::ServiceVolumeConfiguration]
457
473
  attr_accessor fargate_ephemeral_storage: Types::DeploymentEphemeralStorage
474
+ attr_accessor vpc_lattice_configurations: ::Array[Types::VpcLatticeConfiguration]
458
475
  SENSITIVE: []
459
476
  end
460
477
 
461
478
  class DeploymentAlarms
462
479
  attr_accessor alarm_names: ::Array[::String]
463
- attr_accessor enable: bool
464
480
  attr_accessor rollback: bool
481
+ attr_accessor enable: bool
465
482
  SENSITIVE: []
466
483
  end
467
484
 
@@ -551,6 +568,28 @@ module Aws::ECS
551
568
  SENSITIVE: []
552
569
  end
553
570
 
571
+ class DescribeServiceDeploymentsRequest
572
+ attr_accessor service_deployment_arns: ::Array[::String]
573
+ SENSITIVE: []
574
+ end
575
+
576
+ class DescribeServiceDeploymentsResponse
577
+ attr_accessor service_deployments: ::Array[Types::ServiceDeployment]
578
+ attr_accessor failures: ::Array[Types::Failure]
579
+ SENSITIVE: []
580
+ end
581
+
582
+ class DescribeServiceRevisionsRequest
583
+ attr_accessor service_revision_arns: ::Array[::String]
584
+ SENSITIVE: []
585
+ end
586
+
587
+ class DescribeServiceRevisionsResponse
588
+ attr_accessor service_revisions: ::Array[Types::ServiceRevision]
589
+ attr_accessor failures: ::Array[Types::Failure]
590
+ SENSITIVE: []
591
+ end
592
+
554
593
  class DescribeServicesRequest
555
594
  attr_accessor cluster: ::String
556
595
  attr_accessor services: ::Array[::String]
@@ -866,6 +905,22 @@ module Aws::ECS
866
905
  SENSITIVE: []
867
906
  end
868
907
 
908
+ class ListServiceDeploymentsRequest
909
+ attr_accessor service: ::String
910
+ attr_accessor cluster: ::String
911
+ attr_accessor status: ::Array[("PENDING" | "SUCCESSFUL" | "STOPPED" | "STOP_REQUESTED" | "IN_PROGRESS" | "ROLLBACK_IN_PROGRESS" | "ROLLBACK_SUCCESSFUL" | "ROLLBACK_FAILED")]
912
+ attr_accessor created_at: Types::CreatedAt
913
+ attr_accessor next_token: ::String
914
+ attr_accessor max_results: ::Integer
915
+ SENSITIVE: []
916
+ end
917
+
918
+ class ListServiceDeploymentsResponse
919
+ attr_accessor service_deployments: ::Array[Types::ServiceDeploymentBrief]
920
+ attr_accessor next_token: ::String
921
+ SENSITIVE: []
922
+ end
923
+
869
924
  class ListServicesByNamespaceRequest
870
925
  attr_accessor namespace: ::String
871
926
  attr_accessor next_token: ::String
@@ -1202,6 +1257,13 @@ module Aws::ECS
1202
1257
  SENSITIVE: []
1203
1258
  end
1204
1259
 
1260
+ class Rollback
1261
+ attr_accessor reason: ::String
1262
+ attr_accessor started_at: ::Time
1263
+ attr_accessor service_revision_arn: ::String
1264
+ SENSITIVE: []
1265
+ end
1266
+
1205
1267
  class RunTaskRequest
1206
1268
  attr_accessor capacity_provider_strategy: ::Array[Types::CapacityProviderStrategyItem]
1207
1269
  attr_accessor cluster: ::String
@@ -1286,6 +1348,7 @@ module Aws::ECS
1286
1348
  attr_accessor enable_ecs_managed_tags: bool
1287
1349
  attr_accessor propagate_tags: ("TASK_DEFINITION" | "SERVICE" | "NONE")
1288
1350
  attr_accessor enable_execute_command: bool
1351
+ attr_accessor availability_zone_rebalancing: ("ENABLED" | "DISABLED")
1289
1352
  SENSITIVE: []
1290
1353
  end
1291
1354
 
@@ -1331,6 +1394,53 @@ module Aws::ECS
1331
1394
  SENSITIVE: []
1332
1395
  end
1333
1396
 
1397
+ class ServiceDeployment
1398
+ attr_accessor service_deployment_arn: ::String
1399
+ attr_accessor service_arn: ::String
1400
+ attr_accessor cluster_arn: ::String
1401
+ attr_accessor created_at: ::Time
1402
+ attr_accessor started_at: ::Time
1403
+ attr_accessor finished_at: ::Time
1404
+ attr_accessor stopped_at: ::Time
1405
+ attr_accessor updated_at: ::Time
1406
+ attr_accessor source_service_revisions: ::Array[Types::ServiceRevisionSummary]
1407
+ attr_accessor target_service_revision: Types::ServiceRevisionSummary
1408
+ attr_accessor status: ("PENDING" | "SUCCESSFUL" | "STOPPED" | "STOP_REQUESTED" | "IN_PROGRESS" | "ROLLBACK_IN_PROGRESS" | "ROLLBACK_SUCCESSFUL" | "ROLLBACK_FAILED")
1409
+ attr_accessor status_reason: ::String
1410
+ attr_accessor deployment_configuration: Types::DeploymentConfiguration
1411
+ attr_accessor rollback: Types::Rollback
1412
+ attr_accessor deployment_circuit_breaker: Types::ServiceDeploymentCircuitBreaker
1413
+ attr_accessor alarms: Types::ServiceDeploymentAlarms
1414
+ SENSITIVE: []
1415
+ end
1416
+
1417
+ class ServiceDeploymentAlarms
1418
+ attr_accessor status: ("TRIGGERED" | "MONITORING" | "MONITORING_COMPLETE" | "DISABLED")
1419
+ attr_accessor alarm_names: ::Array[::String]
1420
+ attr_accessor triggered_alarm_names: ::Array[::String]
1421
+ SENSITIVE: []
1422
+ end
1423
+
1424
+ class ServiceDeploymentBrief
1425
+ attr_accessor service_deployment_arn: ::String
1426
+ attr_accessor service_arn: ::String
1427
+ attr_accessor cluster_arn: ::String
1428
+ attr_accessor started_at: ::Time
1429
+ attr_accessor created_at: ::Time
1430
+ attr_accessor finished_at: ::Time
1431
+ attr_accessor target_service_revision_arn: ::String
1432
+ attr_accessor status: ("PENDING" | "SUCCESSFUL" | "STOPPED" | "STOP_REQUESTED" | "IN_PROGRESS" | "ROLLBACK_IN_PROGRESS" | "ROLLBACK_SUCCESSFUL" | "ROLLBACK_FAILED")
1433
+ attr_accessor status_reason: ::String
1434
+ SENSITIVE: []
1435
+ end
1436
+
1437
+ class ServiceDeploymentCircuitBreaker
1438
+ attr_accessor status: ("TRIGGERED" | "MONITORING" | "MONITORING_COMPLETE" | "DISABLED")
1439
+ attr_accessor failure_count: ::Integer
1440
+ attr_accessor threshold: ::Integer
1441
+ SENSITIVE: []
1442
+ end
1443
+
1334
1444
  class ServiceEvent
1335
1445
  attr_accessor id: ::String
1336
1446
  attr_accessor created_at: ::Time
@@ -1366,6 +1476,36 @@ module Aws::ECS
1366
1476
  SENSITIVE: []
1367
1477
  end
1368
1478
 
1479
+ class ServiceRevision
1480
+ attr_accessor service_revision_arn: ::String
1481
+ attr_accessor service_arn: ::String
1482
+ attr_accessor cluster_arn: ::String
1483
+ attr_accessor task_definition: ::String
1484
+ attr_accessor capacity_provider_strategy: ::Array[Types::CapacityProviderStrategyItem]
1485
+ attr_accessor launch_type: ("EC2" | "FARGATE" | "EXTERNAL")
1486
+ attr_accessor platform_version: ::String
1487
+ attr_accessor platform_family: ::String
1488
+ attr_accessor load_balancers: ::Array[Types::LoadBalancer]
1489
+ attr_accessor service_registries: ::Array[Types::ServiceRegistry]
1490
+ attr_accessor network_configuration: Types::NetworkConfiguration
1491
+ attr_accessor container_images: ::Array[Types::ContainerImage]
1492
+ attr_accessor guard_duty_enabled: bool
1493
+ attr_accessor service_connect_configuration: Types::ServiceConnectConfiguration
1494
+ attr_accessor volume_configurations: ::Array[Types::ServiceVolumeConfiguration]
1495
+ attr_accessor fargate_ephemeral_storage: Types::DeploymentEphemeralStorage
1496
+ attr_accessor created_at: ::Time
1497
+ attr_accessor vpc_lattice_configurations: ::Array[Types::VpcLatticeConfiguration]
1498
+ SENSITIVE: []
1499
+ end
1500
+
1501
+ class ServiceRevisionSummary
1502
+ attr_accessor arn: ::String
1503
+ attr_accessor requested_task_count: ::Integer
1504
+ attr_accessor running_task_count: ::Integer
1505
+ attr_accessor pending_task_count: ::Integer
1506
+ SENSITIVE: []
1507
+ end
1508
+
1369
1509
  class ServiceVolumeConfiguration
1370
1510
  attr_accessor name: ::String
1371
1511
  attr_accessor managed_ebs_volume: Types::ServiceManagedEBSVolumeConfiguration
@@ -1759,6 +1899,7 @@ module Aws::ECS
1759
1899
  attr_accessor task_definition: ::String
1760
1900
  attr_accessor capacity_provider_strategy: ::Array[Types::CapacityProviderStrategyItem]
1761
1901
  attr_accessor deployment_configuration: Types::DeploymentConfiguration
1902
+ attr_accessor availability_zone_rebalancing: ("ENABLED" | "DISABLED")
1762
1903
  attr_accessor network_configuration: Types::NetworkConfiguration
1763
1904
  attr_accessor placement_constraints: ::Array[Types::PlacementConstraint]
1764
1905
  attr_accessor placement_strategy: ::Array[Types::PlacementStrategy]
@@ -1772,6 +1913,7 @@ module Aws::ECS
1772
1913
  attr_accessor service_registries: ::Array[Types::ServiceRegistry]
1773
1914
  attr_accessor service_connect_configuration: Types::ServiceConnectConfiguration
1774
1915
  attr_accessor volume_configurations: ::Array[Types::ServiceVolumeConfiguration]
1916
+ attr_accessor vpc_lattice_configurations: ::Array[Types::VpcLatticeConfiguration]
1775
1917
  SENSITIVE: []
1776
1918
  end
1777
1919
 
@@ -1829,5 +1971,12 @@ module Aws::ECS
1829
1971
  attr_accessor read_only: bool
1830
1972
  SENSITIVE: []
1831
1973
  end
1974
+
1975
+ class VpcLatticeConfiguration
1976
+ attr_accessor role_arn: ::String
1977
+ attr_accessor target_group_arn: ::String
1978
+ attr_accessor port_name: ::String
1979
+ SENSITIVE: []
1980
+ end
1832
1981
  end
1833
1982
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ecs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.165.0
4
+ version: 1.171.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-24 00:00:00.000000000 Z
11
+ date: 2024-12-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core