aws-sdk-ecs 1.165.0 → 1.166.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.166.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -200,8 +200,8 @@ module Aws
200
200
  minimum_healthy_percent: ::Integer?,
201
201
  alarms: {
202
202
  alarm_names: Array[::String],
203
- enable: bool,
204
- rollback: bool
203
+ rollback: bool,
204
+ enable: bool
205
205
  }?
206
206
  },
207
207
  ?placement_constraints: Array[
@@ -509,6 +509,28 @@ module Aws
509
509
  ) -> _DescribeContainerInstancesResponseSuccess
510
510
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeContainerInstancesResponseSuccess
511
511
 
512
+ interface _DescribeServiceDeploymentsResponseSuccess
513
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeServiceDeploymentsResponse]
514
+ def service_deployments: () -> ::Array[Types::ServiceDeployment]
515
+ def failures: () -> ::Array[Types::Failure]
516
+ end
517
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#describe_service_deployments-instance_method
518
+ def describe_service_deployments: (
519
+ service_deployment_arns: Array[::String]
520
+ ) -> _DescribeServiceDeploymentsResponseSuccess
521
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeServiceDeploymentsResponseSuccess
522
+
523
+ interface _DescribeServiceRevisionsResponseSuccess
524
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeServiceRevisionsResponse]
525
+ def service_revisions: () -> ::Array[Types::ServiceRevision]
526
+ def failures: () -> ::Array[Types::Failure]
527
+ end
528
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#describe_service_revisions-instance_method
529
+ def describe_service_revisions: (
530
+ service_revision_arns: Array[::String]
531
+ ) -> _DescribeServiceRevisionsResponseSuccess
532
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeServiceRevisionsResponseSuccess
533
+
512
534
  interface _DescribeServicesResponseSuccess
513
535
  include ::Seahorse::Client::_ResponseSuccess[Types::DescribeServicesResponse]
514
536
  def services: () -> ::Array[Types::Service]
@@ -664,6 +686,25 @@ module Aws
664
686
  ) -> _ListContainerInstancesResponseSuccess
665
687
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListContainerInstancesResponseSuccess
666
688
 
689
+ interface _ListServiceDeploymentsResponseSuccess
690
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListServiceDeploymentsResponse]
691
+ def service_deployments: () -> ::Array[Types::ServiceDeploymentBrief]
692
+ def next_token: () -> ::String
693
+ end
694
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#list_service_deployments-instance_method
695
+ def list_service_deployments: (
696
+ service: ::String,
697
+ ?cluster: ::String,
698
+ ?status: Array[("PENDING" | "SUCCESSFUL" | "STOPPED" | "STOP_REQUESTED" | "IN_PROGRESS" | "ROLLBACK_IN_PROGRESS" | "ROLLBACK_SUCCESSFUL" | "ROLLBACK_FAILED")],
699
+ ?created_at: {
700
+ before: ::Time?,
701
+ after: ::Time?
702
+ },
703
+ ?next_token: ::String,
704
+ ?max_results: ::Integer
705
+ ) -> _ListServiceDeploymentsResponseSuccess
706
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListServiceDeploymentsResponseSuccess
707
+
667
708
  interface _ListServicesResponseSuccess
668
709
  include ::Seahorse::Client::_ResponseSuccess[Types::ListServicesResponse]
669
710
  def service_arns: () -> ::Array[::String]
@@ -1582,8 +1623,8 @@ module Aws
1582
1623
  minimum_healthy_percent: ::Integer?,
1583
1624
  alarms: {
1584
1625
  alarm_names: Array[::String],
1585
- enable: bool,
1586
- rollback: bool
1626
+ rollback: bool,
1627
+ enable: bool
1587
1628
  }?
1588
1629
  },
1589
1630
  ?network_configuration: {
data/sig/types.rbs CHANGED
@@ -215,6 +215,13 @@ module Aws::ECS
215
215
  SENSITIVE: []
216
216
  end
217
217
 
218
+ class ContainerImage
219
+ attr_accessor container_name: ::String
220
+ attr_accessor image_digest: ::String
221
+ attr_accessor image: ::String
222
+ SENSITIVE: []
223
+ end
224
+
218
225
  class ContainerInstance
219
226
  attr_accessor container_instance_arn: ::String
220
227
  attr_accessor ec2_instance_id: ::String
@@ -356,6 +363,12 @@ module Aws::ECS
356
363
  SENSITIVE: []
357
364
  end
358
365
 
366
+ class CreatedAt
367
+ attr_accessor before: ::Time
368
+ attr_accessor after: ::Time
369
+ SENSITIVE: []
370
+ end
371
+
359
372
  class DeleteAccountSettingRequest
360
373
  attr_accessor name: ("serviceLongArnFormat" | "taskLongArnFormat" | "containerInstanceLongArnFormat" | "awsvpcTrunking" | "containerInsights" | "fargateFIPSMode" | "tagResourceAuthorization" | "fargateTaskRetirementWaitPeriod" | "guardDutyActivate")
361
374
  attr_accessor principal_arn: ::String
@@ -460,8 +473,8 @@ module Aws::ECS
460
473
 
461
474
  class DeploymentAlarms
462
475
  attr_accessor alarm_names: ::Array[::String]
463
- attr_accessor enable: bool
464
476
  attr_accessor rollback: bool
477
+ attr_accessor enable: bool
465
478
  SENSITIVE: []
466
479
  end
467
480
 
@@ -551,6 +564,28 @@ module Aws::ECS
551
564
  SENSITIVE: []
552
565
  end
553
566
 
567
+ class DescribeServiceDeploymentsRequest
568
+ attr_accessor service_deployment_arns: ::Array[::String]
569
+ SENSITIVE: []
570
+ end
571
+
572
+ class DescribeServiceDeploymentsResponse
573
+ attr_accessor service_deployments: ::Array[Types::ServiceDeployment]
574
+ attr_accessor failures: ::Array[Types::Failure]
575
+ SENSITIVE: []
576
+ end
577
+
578
+ class DescribeServiceRevisionsRequest
579
+ attr_accessor service_revision_arns: ::Array[::String]
580
+ SENSITIVE: []
581
+ end
582
+
583
+ class DescribeServiceRevisionsResponse
584
+ attr_accessor service_revisions: ::Array[Types::ServiceRevision]
585
+ attr_accessor failures: ::Array[Types::Failure]
586
+ SENSITIVE: []
587
+ end
588
+
554
589
  class DescribeServicesRequest
555
590
  attr_accessor cluster: ::String
556
591
  attr_accessor services: ::Array[::String]
@@ -866,6 +901,22 @@ module Aws::ECS
866
901
  SENSITIVE: []
867
902
  end
868
903
 
904
+ class ListServiceDeploymentsRequest
905
+ attr_accessor service: ::String
906
+ attr_accessor cluster: ::String
907
+ attr_accessor status: ::Array[("PENDING" | "SUCCESSFUL" | "STOPPED" | "STOP_REQUESTED" | "IN_PROGRESS" | "ROLLBACK_IN_PROGRESS" | "ROLLBACK_SUCCESSFUL" | "ROLLBACK_FAILED")]
908
+ attr_accessor created_at: Types::CreatedAt
909
+ attr_accessor next_token: ::String
910
+ attr_accessor max_results: ::Integer
911
+ SENSITIVE: []
912
+ end
913
+
914
+ class ListServiceDeploymentsResponse
915
+ attr_accessor service_deployments: ::Array[Types::ServiceDeploymentBrief]
916
+ attr_accessor next_token: ::String
917
+ SENSITIVE: []
918
+ end
919
+
869
920
  class ListServicesByNamespaceRequest
870
921
  attr_accessor namespace: ::String
871
922
  attr_accessor next_token: ::String
@@ -1202,6 +1253,13 @@ module Aws::ECS
1202
1253
  SENSITIVE: []
1203
1254
  end
1204
1255
 
1256
+ class Rollback
1257
+ attr_accessor reason: ::String
1258
+ attr_accessor started_at: ::Time
1259
+ attr_accessor service_revision_arn: ::String
1260
+ SENSITIVE: []
1261
+ end
1262
+
1205
1263
  class RunTaskRequest
1206
1264
  attr_accessor capacity_provider_strategy: ::Array[Types::CapacityProviderStrategyItem]
1207
1265
  attr_accessor cluster: ::String
@@ -1331,6 +1389,53 @@ module Aws::ECS
1331
1389
  SENSITIVE: []
1332
1390
  end
1333
1391
 
1392
+ class ServiceDeployment
1393
+ attr_accessor service_deployment_arn: ::String
1394
+ attr_accessor service_arn: ::String
1395
+ attr_accessor cluster_arn: ::String
1396
+ attr_accessor created_at: ::Time
1397
+ attr_accessor started_at: ::Time
1398
+ attr_accessor finished_at: ::Time
1399
+ attr_accessor stopped_at: ::Time
1400
+ attr_accessor updated_at: ::Time
1401
+ attr_accessor source_service_revisions: ::Array[Types::ServiceRevisionSummary]
1402
+ attr_accessor target_service_revision: Types::ServiceRevisionSummary
1403
+ attr_accessor status: ("PENDING" | "SUCCESSFUL" | "STOPPED" | "STOP_REQUESTED" | "IN_PROGRESS" | "ROLLBACK_IN_PROGRESS" | "ROLLBACK_SUCCESSFUL" | "ROLLBACK_FAILED")
1404
+ attr_accessor status_reason: ::String
1405
+ attr_accessor deployment_configuration: Types::DeploymentConfiguration
1406
+ attr_accessor rollback: Types::Rollback
1407
+ attr_accessor deployment_circuit_breaker: Types::ServiceDeploymentCircuitBreaker
1408
+ attr_accessor alarms: Types::ServiceDeploymentAlarms
1409
+ SENSITIVE: []
1410
+ end
1411
+
1412
+ class ServiceDeploymentAlarms
1413
+ attr_accessor status: ("TRIGGERED" | "MONITORING" | "MONITORING_COMPLETE" | "DISABLED")
1414
+ attr_accessor alarm_names: ::Array[::String]
1415
+ attr_accessor triggered_alarm_names: ::Array[::String]
1416
+ SENSITIVE: []
1417
+ end
1418
+
1419
+ class ServiceDeploymentBrief
1420
+ attr_accessor service_deployment_arn: ::String
1421
+ attr_accessor service_arn: ::String
1422
+ attr_accessor cluster_arn: ::String
1423
+ attr_accessor started_at: ::Time
1424
+ attr_accessor created_at: ::Time
1425
+ attr_accessor finished_at: ::Time
1426
+ attr_accessor target_service_revision_arn: ::String
1427
+ attr_accessor status: ("PENDING" | "SUCCESSFUL" | "STOPPED" | "STOP_REQUESTED" | "IN_PROGRESS" | "ROLLBACK_IN_PROGRESS" | "ROLLBACK_SUCCESSFUL" | "ROLLBACK_FAILED")
1428
+ attr_accessor status_reason: ::String
1429
+ SENSITIVE: []
1430
+ end
1431
+
1432
+ class ServiceDeploymentCircuitBreaker
1433
+ attr_accessor status: ("TRIGGERED" | "MONITORING" | "MONITORING_COMPLETE" | "DISABLED")
1434
+ attr_accessor failure_count: ::Integer
1435
+ attr_accessor threshold: ::Integer
1436
+ SENSITIVE: []
1437
+ end
1438
+
1334
1439
  class ServiceEvent
1335
1440
  attr_accessor id: ::String
1336
1441
  attr_accessor created_at: ::Time
@@ -1366,6 +1471,35 @@ module Aws::ECS
1366
1471
  SENSITIVE: []
1367
1472
  end
1368
1473
 
1474
+ class ServiceRevision
1475
+ attr_accessor service_revision_arn: ::String
1476
+ attr_accessor service_arn: ::String
1477
+ attr_accessor cluster_arn: ::String
1478
+ attr_accessor task_definition: ::String
1479
+ attr_accessor capacity_provider_strategy: ::Array[Types::CapacityProviderStrategyItem]
1480
+ attr_accessor launch_type: ("EC2" | "FARGATE" | "EXTERNAL")
1481
+ attr_accessor platform_version: ::String
1482
+ attr_accessor platform_family: ::String
1483
+ attr_accessor load_balancers: ::Array[Types::LoadBalancer]
1484
+ attr_accessor service_registries: ::Array[Types::ServiceRegistry]
1485
+ attr_accessor network_configuration: Types::NetworkConfiguration
1486
+ attr_accessor container_images: ::Array[Types::ContainerImage]
1487
+ attr_accessor guard_duty_enabled: bool
1488
+ attr_accessor service_connect_configuration: Types::ServiceConnectConfiguration
1489
+ attr_accessor volume_configurations: ::Array[Types::ServiceVolumeConfiguration]
1490
+ attr_accessor fargate_ephemeral_storage: Types::DeploymentEphemeralStorage
1491
+ attr_accessor created_at: ::Time
1492
+ SENSITIVE: []
1493
+ end
1494
+
1495
+ class ServiceRevisionSummary
1496
+ attr_accessor arn: ::String
1497
+ attr_accessor requested_task_count: ::Integer
1498
+ attr_accessor running_task_count: ::Integer
1499
+ attr_accessor pending_task_count: ::Integer
1500
+ SENSITIVE: []
1501
+ end
1502
+
1369
1503
  class ServiceVolumeConfiguration
1370
1504
  attr_accessor name: ::String
1371
1505
  attr_accessor managed_ebs_volume: Types::ServiceManagedEBSVolumeConfiguration
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.166.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-10-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core