aws-sdk-ecs 1.183.0 → 1.185.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d79578ea843034d9a242097e52194d3ea118c2754fa0023f790cb176ecf12340
4
- data.tar.gz: d6d5f2e085eec885390a15016138b535dd38750b08e5cd880348a123f259d360
3
+ metadata.gz: 38b36fd18655c03f5aaa5e0fc9480552102fbd86936d7f99c5df56e07bc3410d
4
+ data.tar.gz: 03d61e712ac92d82f613cd2149524e5e00ca638962e6fc35e167149851f2716d
5
5
  SHA512:
6
- metadata.gz: c1d96398f032377d356d1cd6a0f03beda6cc803dc554fbe746c888786fd1050d0ce129a0ca822b610cc2fba803f899c657a3fde4ee68b11ed083c5816410f719
7
- data.tar.gz: b230b111126495d3b87f70b85ec898901d116a45f058b0c5b1b3d33efe159a0e1861225dbb5a89b7def859214c02c76258d44091603a4fb12f7d3a194c1a4568
6
+ metadata.gz: f29dd5c74908e40eda0c548c493c07390c5dbec200e549de3c3d2c14e7b1e20705db1727aa5fb27ac5f8b1c61642a59f1f932503b20d6aa21d2de075262f9c00
7
+ data.tar.gz: b39f6ef29070ec0be6325bf1552e8a57fa549dbda4fab10b27b8002503fb20317d19972c7e832ac831212cce0f872749c3c1377e51b1d0cfab82f3a3e8dbd3ec
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.185.0 (2025-04-23)
5
+ ------------------
6
+
7
+ * Feature - Add support to roll back an In_Progress ECS Service Deployment
8
+
9
+ 1.184.0 (2025-04-17)
10
+ ------------------
11
+
12
+ * Feature - Adds a new AccountSetting - defaultLogDriverMode for ECS.
13
+
4
14
  1.183.0 (2025-04-02)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.183.0
1
+ 1.185.0
@@ -2224,13 +2224,13 @@ module Aws::ECS
2224
2224
  # @example Request syntax with placeholder values
2225
2225
  #
2226
2226
  # resp = client.delete_account_setting({
2227
- # name: "serviceLongArnFormat", # required, accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking, containerInsights, fargateFIPSMode, tagResourceAuthorization, fargateTaskRetirementWaitPeriod, guardDutyActivate
2227
+ # name: "serviceLongArnFormat", # required, accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking, containerInsights, fargateFIPSMode, tagResourceAuthorization, fargateTaskRetirementWaitPeriod, guardDutyActivate, defaultLogDriverMode
2228
2228
  # principal_arn: "String",
2229
2229
  # })
2230
2230
  #
2231
2231
  # @example Response structure
2232
2232
  #
2233
- # resp.setting.name #=> String, one of "serviceLongArnFormat", "taskLongArnFormat", "containerInstanceLongArnFormat", "awsvpcTrunking", "containerInsights", "fargateFIPSMode", "tagResourceAuthorization", "fargateTaskRetirementWaitPeriod", "guardDutyActivate"
2233
+ # resp.setting.name #=> String, one of "serviceLongArnFormat", "taskLongArnFormat", "containerInstanceLongArnFormat", "awsvpcTrunking", "containerInsights", "fargateFIPSMode", "tagResourceAuthorization", "fargateTaskRetirementWaitPeriod", "guardDutyActivate", "defaultLogDriverMode"
2234
2234
  # resp.setting.value #=> String
2235
2235
  # resp.setting.principal_arn #=> String
2236
2236
  # resp.setting.type #=> String, one of "user", "aws_managed"
@@ -4105,12 +4105,12 @@ module Aws::ECS
4105
4105
  # Describes one or more of your service deployments.
4106
4106
  #
4107
4107
  # A service deployment happens when you release a software update for
4108
- # the service. For more information, see [Amazon ECS service
4109
- # deployments][1].
4108
+ # the service. For more information, see [View service history using
4109
+ # Amazon ECS service deployments][1].
4110
4110
  #
4111
4111
  #
4112
4112
  #
4113
- # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-deployments.html
4113
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-deployment.html
4114
4114
  #
4115
4115
  # @option params [required, Array<String>] :service_deployment_arns
4116
4116
  # The ARN of the service deployment.
@@ -4188,7 +4188,7 @@ module Aws::ECS
4188
4188
  # resp.service_deployments[0].target_service_revision.requested_task_count #=> Integer
4189
4189
  # resp.service_deployments[0].target_service_revision.running_task_count #=> Integer
4190
4190
  # resp.service_deployments[0].target_service_revision.pending_task_count #=> Integer
4191
- # resp.service_deployments[0].status #=> String, one of "PENDING", "SUCCESSFUL", "STOPPED", "STOP_REQUESTED", "IN_PROGRESS", "ROLLBACK_IN_PROGRESS", "ROLLBACK_SUCCESSFUL", "ROLLBACK_FAILED"
4191
+ # resp.service_deployments[0].status #=> String, one of "PENDING", "SUCCESSFUL", "STOPPED", "STOP_REQUESTED", "IN_PROGRESS", "ROLLBACK_REQUESTED", "ROLLBACK_IN_PROGRESS", "ROLLBACK_SUCCESSFUL", "ROLLBACK_FAILED"
4192
4192
  # resp.service_deployments[0].status_reason #=> String
4193
4193
  # resp.service_deployments[0].deployment_configuration.deployment_circuit_breaker.enable #=> Boolean
4194
4194
  # resp.service_deployments[0].deployment_configuration.deployment_circuit_breaker.rollback #=> Boolean
@@ -5657,7 +5657,7 @@ module Aws::ECS
5657
5657
  # @example Request syntax with placeholder values
5658
5658
  #
5659
5659
  # resp = client.list_account_settings({
5660
- # name: "serviceLongArnFormat", # accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking, containerInsights, fargateFIPSMode, tagResourceAuthorization, fargateTaskRetirementWaitPeriod, guardDutyActivate
5660
+ # name: "serviceLongArnFormat", # accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking, containerInsights, fargateFIPSMode, tagResourceAuthorization, fargateTaskRetirementWaitPeriod, guardDutyActivate, defaultLogDriverMode
5661
5661
  # value: "String",
5662
5662
  # principal_arn: "String",
5663
5663
  # effective_settings: false,
@@ -5668,7 +5668,7 @@ module Aws::ECS
5668
5668
  # @example Response structure
5669
5669
  #
5670
5670
  # resp.settings #=> Array
5671
- # resp.settings[0].name #=> String, one of "serviceLongArnFormat", "taskLongArnFormat", "containerInstanceLongArnFormat", "awsvpcTrunking", "containerInsights", "fargateFIPSMode", "tagResourceAuthorization", "fargateTaskRetirementWaitPeriod", "guardDutyActivate"
5671
+ # resp.settings[0].name #=> String, one of "serviceLongArnFormat", "taskLongArnFormat", "containerInstanceLongArnFormat", "awsvpcTrunking", "containerInsights", "fargateFIPSMode", "tagResourceAuthorization", "fargateTaskRetirementWaitPeriod", "guardDutyActivate", "defaultLogDriverMode"
5672
5672
  # resp.settings[0].value #=> String
5673
5673
  # resp.settings[0].principal_arn #=> String
5674
5674
  # resp.settings[0].type #=> String, one of "user", "aws_managed"
@@ -6054,7 +6054,7 @@ module Aws::ECS
6054
6054
  # resp = client.list_service_deployments({
6055
6055
  # service: "String", # required
6056
6056
  # cluster: "String",
6057
- # status: ["PENDING"], # accepts PENDING, SUCCESSFUL, STOPPED, STOP_REQUESTED, IN_PROGRESS, ROLLBACK_IN_PROGRESS, ROLLBACK_SUCCESSFUL, ROLLBACK_FAILED
6057
+ # status: ["PENDING"], # accepts PENDING, SUCCESSFUL, STOPPED, STOP_REQUESTED, IN_PROGRESS, ROLLBACK_REQUESTED, ROLLBACK_IN_PROGRESS, ROLLBACK_SUCCESSFUL, ROLLBACK_FAILED
6058
6058
  # created_at: {
6059
6059
  # before: Time.now,
6060
6060
  # after: Time.now,
@@ -6073,7 +6073,7 @@ module Aws::ECS
6073
6073
  # resp.service_deployments[0].created_at #=> Time
6074
6074
  # resp.service_deployments[0].finished_at #=> Time
6075
6075
  # resp.service_deployments[0].target_service_revision_arn #=> String
6076
- # resp.service_deployments[0].status #=> String, one of "PENDING", "SUCCESSFUL", "STOPPED", "STOP_REQUESTED", "IN_PROGRESS", "ROLLBACK_IN_PROGRESS", "ROLLBACK_SUCCESSFUL", "ROLLBACK_FAILED"
6076
+ # resp.service_deployments[0].status #=> String, one of "PENDING", "SUCCESSFUL", "STOPPED", "STOP_REQUESTED", "IN_PROGRESS", "ROLLBACK_REQUESTED", "ROLLBACK_IN_PROGRESS", "ROLLBACK_SUCCESSFUL", "ROLLBACK_FAILED"
6077
6077
  # resp.service_deployments[0].status_reason #=> String
6078
6078
  # resp.next_token #=> String
6079
6079
  #
@@ -6775,12 +6775,23 @@ module Aws::ECS
6775
6775
  # information, see [Grant permission to tag resources on creation][6]
6776
6776
  # in the *Amazon ECS Developer Guide*.
6777
6777
  #
6778
+ # * `defaultLogDriverMode` - Amazon ECS supports setting a default
6779
+ # delivery mode of log messages from a container to the `logDriver`
6780
+ # that you specify in the container's `logConfiguration`. The
6781
+ # delivery mode affects application stability when the flow of logs
6782
+ # from the container to the log driver is interrupted. The
6783
+ # `defaultLogDriverMode` setting supports two values: `blocking` and
6784
+ # `non-blocking`. If you don't specify a delivery mode in your
6785
+ # container definition's `logConfiguration`, the mode you specify
6786
+ # using this account setting will be used as the default. For more
6787
+ # information about log delivery modes, see [LogConfiguration][7].
6788
+ #
6778
6789
  # * `guardDutyActivate` - The `guardDutyActivate` parameter is read-only
6779
6790
  # in Amazon ECS and indicates whether Amazon ECS Runtime Monitoring is
6780
6791
  # enabled or disabled by your security administrator in your Amazon
6781
6792
  # ECS account. Amazon GuardDuty controls this account setting on your
6782
6793
  # behalf. For more information, see [Protecting Amazon ECS workloads
6783
- # with Amazon ECS Runtime Monitoring][7].
6794
+ # with Amazon ECS Runtime Monitoring][8].
6784
6795
  #
6785
6796
  #
6786
6797
  #
@@ -6790,7 +6801,8 @@ module Aws::ECS
6790
6801
  # [4]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/fargate-task-networking.html#fargate-task-networking-vpc-dual-stack
6791
6802
  # [5]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-maintenance.html
6792
6803
  # [6]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/supported-iam-actions-tagging.html
6793
- # [7]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-guard-duty-integration.html
6804
+ # [7]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_LogConfiguration.html
6805
+ # [8]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-guard-duty-integration.html
6794
6806
  #
6795
6807
  # @option params [required, String] :value
6796
6808
  # The account setting value for the specified principal ARN. Accepted
@@ -6872,14 +6884,14 @@ module Aws::ECS
6872
6884
  # @example Request syntax with placeholder values
6873
6885
  #
6874
6886
  # resp = client.put_account_setting({
6875
- # name: "serviceLongArnFormat", # required, accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking, containerInsights, fargateFIPSMode, tagResourceAuthorization, fargateTaskRetirementWaitPeriod, guardDutyActivate
6887
+ # name: "serviceLongArnFormat", # required, accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking, containerInsights, fargateFIPSMode, tagResourceAuthorization, fargateTaskRetirementWaitPeriod, guardDutyActivate, defaultLogDriverMode
6876
6888
  # value: "String", # required
6877
6889
  # principal_arn: "String",
6878
6890
  # })
6879
6891
  #
6880
6892
  # @example Response structure
6881
6893
  #
6882
- # resp.setting.name #=> String, one of "serviceLongArnFormat", "taskLongArnFormat", "containerInstanceLongArnFormat", "awsvpcTrunking", "containerInsights", "fargateFIPSMode", "tagResourceAuthorization", "fargateTaskRetirementWaitPeriod", "guardDutyActivate"
6894
+ # resp.setting.name #=> String, one of "serviceLongArnFormat", "taskLongArnFormat", "containerInstanceLongArnFormat", "awsvpcTrunking", "containerInsights", "fargateFIPSMode", "tagResourceAuthorization", "fargateTaskRetirementWaitPeriod", "guardDutyActivate", "defaultLogDriverMode"
6883
6895
  # resp.setting.value #=> String
6884
6896
  # resp.setting.principal_arn #=> String
6885
6897
  # resp.setting.type #=> String, one of "user", "aws_managed"
@@ -6987,12 +6999,23 @@ module Aws::ECS
6987
6999
  # information, see [Grant permission to tag resources on creation][6]
6988
7000
  # in the *Amazon ECS Developer Guide*.
6989
7001
  #
7002
+ # * `defaultLogDriverMode` -Amazon ECS supports setting a default
7003
+ # delivery mode of log messages from a container to the `logDriver`
7004
+ # that you specify in the container's `logConfiguration`. The
7005
+ # delivery mode affects application stability when the flow of logs
7006
+ # from the container to the log driver is interrupted. The
7007
+ # `defaultLogDriverMode` setting supports two values: `blocking` and
7008
+ # `non-blocking`. If you don't specify a delivery mode in your
7009
+ # container definition's `logConfiguration`, the mode you specify
7010
+ # using this account setting will be used as the default. For more
7011
+ # information about log delivery modes, see [LogConfiguration][7].
7012
+ #
6990
7013
  # * `guardDutyActivate` - The `guardDutyActivate` parameter is read-only
6991
7014
  # in Amazon ECS and indicates whether Amazon ECS Runtime Monitoring is
6992
7015
  # enabled or disabled by your security administrator in your Amazon
6993
7016
  # ECS account. Amazon GuardDuty controls this account setting on your
6994
7017
  # behalf. For more information, see [Protecting Amazon ECS workloads
6995
- # with Amazon ECS Runtime Monitoring][7].
7018
+ # with Amazon ECS Runtime Monitoring][8].
6996
7019
  #
6997
7020
  #
6998
7021
  #
@@ -7002,7 +7025,8 @@ module Aws::ECS
7002
7025
  # [4]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/fargate-task-networking.html#fargate-task-networking-vpc-dual-stack
7003
7026
  # [5]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-maintenance.html
7004
7027
  # [6]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/supported-iam-actions-tagging.html
7005
- # [7]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-guard-duty-integration.html
7028
+ # [7]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_LogConfiguration.html
7029
+ # [8]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-guard-duty-integration.html
7006
7030
  #
7007
7031
  # @option params [required, String] :value
7008
7032
  # The account setting value for the specified principal ARN. Accepted
@@ -7048,13 +7072,13 @@ module Aws::ECS
7048
7072
  # @example Request syntax with placeholder values
7049
7073
  #
7050
7074
  # resp = client.put_account_setting_default({
7051
- # name: "serviceLongArnFormat", # required, accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking, containerInsights, fargateFIPSMode, tagResourceAuthorization, fargateTaskRetirementWaitPeriod, guardDutyActivate
7075
+ # name: "serviceLongArnFormat", # required, accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking, containerInsights, fargateFIPSMode, tagResourceAuthorization, fargateTaskRetirementWaitPeriod, guardDutyActivate, defaultLogDriverMode
7052
7076
  # value: "String", # required
7053
7077
  # })
7054
7078
  #
7055
7079
  # @example Response structure
7056
7080
  #
7057
- # resp.setting.name #=> String, one of "serviceLongArnFormat", "taskLongArnFormat", "containerInstanceLongArnFormat", "awsvpcTrunking", "containerInsights", "fargateFIPSMode", "tagResourceAuthorization", "fargateTaskRetirementWaitPeriod", "guardDutyActivate"
7081
+ # resp.setting.name #=> String, one of "serviceLongArnFormat", "taskLongArnFormat", "containerInstanceLongArnFormat", "awsvpcTrunking", "containerInsights", "fargateFIPSMode", "tagResourceAuthorization", "fargateTaskRetirementWaitPeriod", "guardDutyActivate", "defaultLogDriverMode"
7058
7082
  # resp.setting.value #=> String
7059
7083
  # resp.setting.principal_arn #=> String
7060
7084
  # resp.setting.type #=> String, one of "user", "aws_managed"
@@ -8658,6 +8682,9 @@ module Aws::ECS
8658
8682
  # run your task on. If you do not specify a cluster, the default cluster
8659
8683
  # is assumed.
8660
8684
  #
8685
+ # Each account receives a default cluster the first time you use the
8686
+ # service, but you may also create other clusters.
8687
+ #
8661
8688
  # @option params [Integer] :count
8662
8689
  # The number of instantiations of the specified task to place on your
8663
8690
  # cluster. You can specify up to 10 tasks for each call.
@@ -9596,6 +9623,70 @@ module Aws::ECS
9596
9623
  req.send_request(options)
9597
9624
  end
9598
9625
 
9626
+ # Stops an ongoing service deployment.
9627
+ #
9628
+ # The following stop types are avaiable:
9629
+ #
9630
+ # * ROLLBACK - This option rolls back the service deployment to the
9631
+ # previous service revision.
9632
+ #
9633
+ # You can use this option even if you didn't configure the service
9634
+ # deployment for the rollback option.
9635
+ #
9636
+ # For more information, see [Stopping Amazon ECS service deployments][1]
9637
+ # in the *Amazon Elastic Container Service Developer Guide*.
9638
+ #
9639
+ #
9640
+ #
9641
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/stop-service-deployment.html
9642
+ #
9643
+ # @option params [required, String] :service_deployment_arn
9644
+ # The ARN of the service deployment that you want to stop.
9645
+ #
9646
+ # @option params [String] :stop_type
9647
+ # How you want Amazon ECS to stop the task.
9648
+ #
9649
+ # The valid values are `ROLLBACK`.
9650
+ #
9651
+ # @return [Types::StopServiceDeploymentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
9652
+ #
9653
+ # * {Types::StopServiceDeploymentResponse#service_deployment_arn #service_deployment_arn} => String
9654
+ #
9655
+ #
9656
+ # @example Example: To stop a service deployment
9657
+ #
9658
+ # # This example stops the service deployment using the ROLLBACK option.
9659
+ #
9660
+ # resp = client.stop_service_deployment({
9661
+ # service_deployment_arn: "arn:aws:ecs:us-east-1:123456789012:service-deployment/MyCluster/MyService/r9i43YFjvgF_xlg7m2eJ1r",
9662
+ # stop_type: "ROLLBACK",
9663
+ # })
9664
+ #
9665
+ # resp.to_h outputs the following:
9666
+ # {
9667
+ # service_deployment_arn: "arn:aws:ecs:us-east-1:123456789012:service-deployment/MyCluster/MyService/r9i43YFjvgF_xlg7m2eJ1r",
9668
+ # }
9669
+ #
9670
+ # @example Request syntax with placeholder values
9671
+ #
9672
+ # resp = client.stop_service_deployment({
9673
+ # service_deployment_arn: "String", # required
9674
+ # stop_type: "ABORT", # accepts ABORT, ROLLBACK
9675
+ # })
9676
+ #
9677
+ # @example Response structure
9678
+ #
9679
+ # resp.service_deployment_arn #=> String
9680
+ #
9681
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/StopServiceDeployment AWS API Documentation
9682
+ #
9683
+ # @overload stop_service_deployment(params = {})
9684
+ # @param [Hash] params ({})
9685
+ def stop_service_deployment(params = {}, options = {})
9686
+ req = build_request(:stop_service_deployment, params)
9687
+ req.send_request(options)
9688
+ end
9689
+
9599
9690
  # Stops a running task. Any tags associated with the task will be
9600
9691
  # deleted.
9601
9692
  #
@@ -12442,7 +12533,7 @@ module Aws::ECS
12442
12533
  tracer: tracer
12443
12534
  )
12444
12535
  context[:gem_name] = 'aws-sdk-ecs'
12445
- context[:gem_version] = '1.183.0'
12536
+ context[:gem_version] = '1.185.0'
12446
12537
  Seahorse::Client::Request.new(handlers, context)
12447
12538
  end
12448
12539
 
@@ -325,6 +325,7 @@ module Aws::ECS
325
325
  ServiceDeploymentAlarms = Shapes::StructureShape.new(name: 'ServiceDeploymentAlarms')
326
326
  ServiceDeploymentBrief = Shapes::StructureShape.new(name: 'ServiceDeploymentBrief')
327
327
  ServiceDeploymentCircuitBreaker = Shapes::StructureShape.new(name: 'ServiceDeploymentCircuitBreaker')
328
+ ServiceDeploymentNotFoundException = Shapes::StructureShape.new(name: 'ServiceDeploymentNotFoundException')
328
329
  ServiceDeploymentRollbackMonitorsStatus = Shapes::StringShape.new(name: 'ServiceDeploymentRollbackMonitorsStatus')
329
330
  ServiceDeploymentStatus = Shapes::StringShape.new(name: 'ServiceDeploymentStatus')
330
331
  ServiceDeploymentStatusList = Shapes::ListShape.new(name: 'ServiceDeploymentStatusList')
@@ -356,6 +357,9 @@ module Aws::ECS
356
357
  StartTaskRequest = Shapes::StructureShape.new(name: 'StartTaskRequest')
357
358
  StartTaskResponse = Shapes::StructureShape.new(name: 'StartTaskResponse')
358
359
  Statistics = Shapes::ListShape.new(name: 'Statistics')
360
+ StopServiceDeploymentRequest = Shapes::StructureShape.new(name: 'StopServiceDeploymentRequest')
361
+ StopServiceDeploymentResponse = Shapes::StructureShape.new(name: 'StopServiceDeploymentResponse')
362
+ StopServiceDeploymentStopType = Shapes::StringShape.new(name: 'StopServiceDeploymentStopType')
359
363
  StopTaskRequest = Shapes::StructureShape.new(name: 'StopTaskRequest')
360
364
  StopTaskResponse = Shapes::StructureShape.new(name: 'StopTaskResponse')
361
365
  String = Shapes::StringShape.new(name: 'String')
@@ -1627,6 +1631,8 @@ module Aws::ECS
1627
1631
  ServiceDeploymentCircuitBreaker.add_member(:threshold, Shapes::ShapeRef.new(shape: Integer, location_name: "threshold"))
1628
1632
  ServiceDeploymentCircuitBreaker.struct_class = Types::ServiceDeploymentCircuitBreaker
1629
1633
 
1634
+ ServiceDeploymentNotFoundException.struct_class = Types::ServiceDeploymentNotFoundException
1635
+
1630
1636
  ServiceDeploymentStatusList.member = Shapes::ShapeRef.new(shape: ServiceDeploymentStatus)
1631
1637
 
1632
1638
  ServiceDeployments.member = Shapes::ShapeRef.new(shape: ServiceDeployment)
@@ -1738,6 +1744,13 @@ module Aws::ECS
1738
1744
 
1739
1745
  Statistics.member = Shapes::ShapeRef.new(shape: KeyValuePair)
1740
1746
 
1747
+ StopServiceDeploymentRequest.add_member(:service_deployment_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "serviceDeploymentArn"))
1748
+ StopServiceDeploymentRequest.add_member(:stop_type, Shapes::ShapeRef.new(shape: StopServiceDeploymentStopType, location_name: "stopType"))
1749
+ StopServiceDeploymentRequest.struct_class = Types::StopServiceDeploymentRequest
1750
+
1751
+ StopServiceDeploymentResponse.add_member(:service_deployment_arn, Shapes::ShapeRef.new(shape: String, location_name: "serviceDeploymentArn"))
1752
+ StopServiceDeploymentResponse.struct_class = Types::StopServiceDeploymentResponse
1753
+
1741
1754
  StopTaskRequest.add_member(:cluster, Shapes::ShapeRef.new(shape: String, location_name: "cluster"))
1742
1755
  StopTaskRequest.add_member(:task, Shapes::ShapeRef.new(shape: String, required: true, location_name: "task"))
1743
1756
  StopTaskRequest.add_member(:reason, Shapes::ShapeRef.new(shape: String, location_name: "reason"))
@@ -2740,6 +2753,21 @@ module Aws::ECS
2740
2753
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedFeatureException)
2741
2754
  end)
2742
2755
 
2756
+ api.add_operation(:stop_service_deployment, Seahorse::Model::Operation.new.tap do |o|
2757
+ o.name = "StopServiceDeployment"
2758
+ o.http_method = "POST"
2759
+ o.http_request_uri = "/"
2760
+ o.input = Shapes::ShapeRef.new(shape: StopServiceDeploymentRequest)
2761
+ o.output = Shapes::ShapeRef.new(shape: StopServiceDeploymentResponse)
2762
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2763
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
2764
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2765
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2766
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
2767
+ o.errors << Shapes::ShapeRef.new(shape: ServiceDeploymentNotFoundException)
2768
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedFeatureException)
2769
+ end)
2770
+
2743
2771
  api.add_operation(:stop_task, Seahorse::Model::Operation.new.tap do |o|
2744
2772
  o.name = "StopTask"
2745
2773
  o.http_method = "POST"
@@ -46,6 +46,7 @@ module Aws::ECS
46
46
  # * {ResourceInUseException}
47
47
  # * {ResourceNotFoundException}
48
48
  # * {ServerException}
49
+ # * {ServiceDeploymentNotFoundException}
49
50
  # * {ServiceNotActiveException}
50
51
  # * {ServiceNotFoundException}
51
52
  # * {TargetNotConnectedException}
@@ -265,6 +266,16 @@ module Aws::ECS
265
266
  end
266
267
  end
267
268
 
269
+ class ServiceDeploymentNotFoundException < ServiceError
270
+
271
+ # @param [Seahorse::Client::RequestContext] context
272
+ # @param [String] message
273
+ # @param [Aws::ECS::Types::ServiceDeploymentNotFoundException] data
274
+ def initialize(context, message, data = Aws::EmptyStructure.new)
275
+ super(context, message, data)
276
+ end
277
+ end
278
+
268
279
  class ServiceNotActiveException < ServiceError
269
280
 
270
281
  # @param [Seahorse::Client::RequestContext] context
@@ -6935,8 +6935,7 @@ module Aws::ECS
6935
6935
  #
6936
6936
  # awslogs-stream-prefix
6937
6937
  #
6938
- # : Required: Yes, when using the Fargate launch type.Optional for the
6939
- # EC2 launch type, required for the Fargate launch type.
6938
+ # : Required: Yes, when using Fargate.Optional when using EC2.
6940
6939
  #
6941
6940
  # Use the `awslogs-stream-prefix` option to associate a log stream
6942
6941
  # with the specified prefix, the container name, and the ID of the
@@ -7008,6 +7007,8 @@ module Aws::ECS
7008
7007
  #
7009
7008
  # </note>
7010
7009
  #
7010
+ # The following options apply to all supported log drivers.
7011
+ #
7011
7012
  # mode
7012
7013
  #
7013
7014
  # : Required: No
@@ -7015,12 +7016,12 @@ module Aws::ECS
7015
7016
  # Valid values: `non-blocking` \| `blocking`
7016
7017
  #
7017
7018
  # This option defines the delivery mode of log messages from the
7018
- # container to CloudWatch Logs. The delivery mode you choose affects
7019
- # application availability when the flow of logs from container to
7020
- # CloudWatch is interrupted.
7019
+ # container to the log driver specified using `logDriver`. The
7020
+ # delivery mode you choose affects application availability when the
7021
+ # flow of logs from container is interrupted.
7021
7022
  #
7022
- # If you use the `blocking` mode and the flow of logs to CloudWatch
7023
- # is interrupted, calls from container code to write to the `stdout`
7023
+ # If you use the `blocking` mode and the flow of logs is
7024
+ # interrupted, calls from container code to write to the `stdout`
7024
7025
  # and `stderr` streams will block. The logging thread of the
7025
7026
  # application will block as a result. This may cause the application
7026
7027
  # to become unresponsive and lead to container healthcheck failure.
@@ -7028,11 +7029,18 @@ module Aws::ECS
7028
7029
  # If you use the `non-blocking` mode, the container's logs are
7029
7030
  # instead stored in an in-memory intermediate buffer configured with
7030
7031
  # the `max-buffer-size` option. This prevents the application from
7031
- # becoming unresponsive when logs cannot be sent to CloudWatch. We
7032
- # recommend using this mode if you want to ensure service
7033
- # availability and are okay with some log loss. For more
7034
- # information, see [Preventing log loss with non-blocking mode in
7035
- # the `awslogs` container log driver][3].
7032
+ # becoming unresponsive when logs cannot be sent. We recommend using
7033
+ # this mode if you want to ensure service availability and are okay
7034
+ # with some log loss. For more information, see [Preventing log loss
7035
+ # with non-blocking mode in the `awslogs` container log driver][3].
7036
+ #
7037
+ # You can set a default `mode` for all containers in a specific
7038
+ # Amazon Web Services Region by using the `defaultLogDriverMode`
7039
+ # account setting. If you don't specify the `mode` option or
7040
+ # configure the account setting, Amazon ECS will default to the
7041
+ # `blocking` mode. For more information about the account setting,
7042
+ # see [Default log driver mode][4] in the *Amazon Elastic Container
7043
+ # Service Developer Guide*.
7036
7044
  #
7037
7045
  # max-buffer-size
7038
7046
  #
@@ -7071,7 +7079,7 @@ module Aws::ECS
7071
7079
  # options like `Name`, `Host` (OpenSearch Service endpoint without
7072
7080
  # protocol), `Port`, `Index`, `Type`, `Aws_auth`, `Aws_region`,
7073
7081
  # `Suppress_Type_Name`, and `tls`. For more information, see [Under
7074
- # the hood: FireLens for Amazon ECS Tasks][4].
7082
+ # the hood: FireLens for Amazon ECS Tasks][5].
7075
7083
  #
7076
7084
  # When you export logs to Amazon S3, you can specify the bucket using
7077
7085
  # the `bucket` option. You can also specify `region`,
@@ -7089,7 +7097,8 @@ module Aws::ECS
7089
7097
  # [1]: https://docs.docker.com/config/containers/logging/awslogs/#awslogs-datetime-format
7090
7098
  # [2]: https://docs.docker.com/config/containers/logging/awslogs/#awslogs-multiline-pattern
7091
7099
  # [3]: http://aws.amazon.com/blogs/containers/preventing-log-loss-with-non-blocking-mode-in-the-awslogs-container-log-driver/
7092
- # [4]: http://aws.amazon.com/blogs/containers/under-the-hood-firelens-for-amazon-ecs-tasks/
7100
+ # [4]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#default-log-driver-mode
7101
+ # [5]: http://aws.amazon.com/blogs/containers/under-the-hood-firelens-for-amazon-ecs-tasks/
7093
7102
  # @return [Hash<String,String>]
7094
7103
  #
7095
7104
  # @!attribute [rw] secret_options
@@ -7989,12 +7998,23 @@ module Aws::ECS
7989
7998
  # information, see [Grant permission to tag resources on
7990
7999
  # creation][6] in the *Amazon ECS Developer Guide*.
7991
8000
  #
8001
+ # * `defaultLogDriverMode` -Amazon ECS supports setting a default
8002
+ # delivery mode of log messages from a container to the `logDriver`
8003
+ # that you specify in the container's `logConfiguration`. The
8004
+ # delivery mode affects application stability when the flow of logs
8005
+ # from the container to the log driver is interrupted. The
8006
+ # `defaultLogDriverMode` setting supports two values: `blocking` and
8007
+ # `non-blocking`. If you don't specify a delivery mode in your
8008
+ # container definition's `logConfiguration`, the mode you specify
8009
+ # using this account setting will be used as the default. For more
8010
+ # information about log delivery modes, see [LogConfiguration][7].
8011
+ #
7992
8012
  # * `guardDutyActivate` - The `guardDutyActivate` parameter is
7993
8013
  # read-only in Amazon ECS and indicates whether Amazon ECS Runtime
7994
8014
  # Monitoring is enabled or disabled by your security administrator
7995
8015
  # in your Amazon ECS account. Amazon GuardDuty controls this account
7996
8016
  # setting on your behalf. For more information, see [Protecting
7997
- # Amazon ECS workloads with Amazon ECS Runtime Monitoring][7].
8017
+ # Amazon ECS workloads with Amazon ECS Runtime Monitoring][8].
7998
8018
  #
7999
8019
  #
8000
8020
  #
@@ -8004,7 +8024,8 @@ module Aws::ECS
8004
8024
  # [4]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/fargate-task-networking.html#fargate-task-networking-vpc-dual-stack
8005
8025
  # [5]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-maintenance.html
8006
8026
  # [6]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/supported-iam-actions-tagging.html
8007
- # [7]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-guard-duty-integration.html
8027
+ # [7]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_LogConfiguration.html
8028
+ # [8]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-guard-duty-integration.html
8008
8029
  # @return [String]
8009
8030
  #
8010
8031
  # @!attribute [rw] value
@@ -8132,12 +8153,23 @@ module Aws::ECS
8132
8153
  # information, see [Grant permission to tag resources on
8133
8154
  # creation][6] in the *Amazon ECS Developer Guide*.
8134
8155
  #
8156
+ # * `defaultLogDriverMode` - Amazon ECS supports setting a default
8157
+ # delivery mode of log messages from a container to the `logDriver`
8158
+ # that you specify in the container's `logConfiguration`. The
8159
+ # delivery mode affects application stability when the flow of logs
8160
+ # from the container to the log driver is interrupted. The
8161
+ # `defaultLogDriverMode` setting supports two values: `blocking` and
8162
+ # `non-blocking`. If you don't specify a delivery mode in your
8163
+ # container definition's `logConfiguration`, the mode you specify
8164
+ # using this account setting will be used as the default. For more
8165
+ # information about log delivery modes, see [LogConfiguration][7].
8166
+ #
8135
8167
  # * `guardDutyActivate` - The `guardDutyActivate` parameter is
8136
8168
  # read-only in Amazon ECS and indicates whether Amazon ECS Runtime
8137
8169
  # Monitoring is enabled or disabled by your security administrator
8138
8170
  # in your Amazon ECS account. Amazon GuardDuty controls this account
8139
8171
  # setting on your behalf. For more information, see [Protecting
8140
- # Amazon ECS workloads with Amazon ECS Runtime Monitoring][7].
8172
+ # Amazon ECS workloads with Amazon ECS Runtime Monitoring][8].
8141
8173
  #
8142
8174
  #
8143
8175
  #
@@ -8147,7 +8179,8 @@ module Aws::ECS
8147
8179
  # [4]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/fargate-task-networking.html#fargate-task-networking-vpc-dual-stack
8148
8180
  # [5]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-maintenance.html
8149
8181
  # [6]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/supported-iam-actions-tagging.html
8150
- # [7]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-guard-duty-integration.html
8182
+ # [7]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_LogConfiguration.html
8183
+ # [8]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-guard-duty-integration.html
8151
8184
  # @return [String]
8152
8185
  #
8153
8186
  # @!attribute [rw] value
@@ -8979,6 +9012,9 @@ module Aws::ECS
8979
9012
  # The short name or full Amazon Resource Name (ARN) of the cluster to
8980
9013
  # run your task on. If you do not specify a cluster, the default
8981
9014
  # cluster is assumed.
9015
+ #
9016
+ # Each account receives a default cluster the first time you use the
9017
+ # service, but you may also create other clusters.
8982
9018
  # @return [String]
8983
9019
  #
8984
9020
  # @!attribute [rw] count
@@ -10289,6 +10325,14 @@ module Aws::ECS
10289
10325
  include Aws::Structure
10290
10326
  end
10291
10327
 
10328
+ # The service deploy ARN that you specified in the
10329
+ # `StopServiceDeployment` doesn't exist. You can use
10330
+ # `ListServiceDeployments` to retrieve the service deployment ARNs.
10331
+ #
10332
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ServiceDeploymentNotFoundException AWS API Documentation
10333
+ #
10334
+ class ServiceDeploymentNotFoundException < Aws::EmptyStructure; end
10335
+
10292
10336
  # The details for an event that's associated with a service.
10293
10337
  #
10294
10338
  # @!attribute [rw] id
@@ -11021,6 +11065,37 @@ module Aws::ECS
11021
11065
  include Aws::Structure
11022
11066
  end
11023
11067
 
11068
+ # @!attribute [rw] service_deployment_arn
11069
+ # The ARN of the service deployment that you want to stop.
11070
+ # @return [String]
11071
+ #
11072
+ # @!attribute [rw] stop_type
11073
+ # How you want Amazon ECS to stop the task.
11074
+ #
11075
+ # The valid values are `ROLLBACK`.
11076
+ # @return [String]
11077
+ #
11078
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/StopServiceDeploymentRequest AWS API Documentation
11079
+ #
11080
+ class StopServiceDeploymentRequest < Struct.new(
11081
+ :service_deployment_arn,
11082
+ :stop_type)
11083
+ SENSITIVE = []
11084
+ include Aws::Structure
11085
+ end
11086
+
11087
+ # @!attribute [rw] service_deployment_arn
11088
+ # The ARN of the stopped service deployment.
11089
+ # @return [String]
11090
+ #
11091
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/StopServiceDeploymentResponse AWS API Documentation
11092
+ #
11093
+ class StopServiceDeploymentResponse < Struct.new(
11094
+ :service_deployment_arn)
11095
+ SENSITIVE = []
11096
+ include Aws::Structure
11097
+ end
11098
+
11024
11099
  # @!attribute [rw] cluster
11025
11100
  # The short name or full Amazon Resource Name (ARN) of the cluster
11026
11101
  # that hosts the task to stop. If you do not specify a cluster, the
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.183.0'
58
+ GEM_VERSION = '1.185.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -378,7 +378,7 @@ module Aws
378
378
  end
379
379
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#delete_account_setting-instance_method
380
380
  def delete_account_setting: (
381
- name: ("serviceLongArnFormat" | "taskLongArnFormat" | "containerInstanceLongArnFormat" | "awsvpcTrunking" | "containerInsights" | "fargateFIPSMode" | "tagResourceAuthorization" | "fargateTaskRetirementWaitPeriod" | "guardDutyActivate"),
381
+ name: ("serviceLongArnFormat" | "taskLongArnFormat" | "containerInstanceLongArnFormat" | "awsvpcTrunking" | "containerInsights" | "fargateFIPSMode" | "tagResourceAuthorization" | "fargateTaskRetirementWaitPeriod" | "guardDutyActivate" | "defaultLogDriverMode"),
382
382
  ?principal_arn: ::String
383
383
  ) -> _DeleteAccountSettingResponseSuccess
384
384
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAccountSettingResponseSuccess
@@ -644,7 +644,7 @@ module Aws
644
644
  end
645
645
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#list_account_settings-instance_method
646
646
  def list_account_settings: (
647
- ?name: ("serviceLongArnFormat" | "taskLongArnFormat" | "containerInstanceLongArnFormat" | "awsvpcTrunking" | "containerInsights" | "fargateFIPSMode" | "tagResourceAuthorization" | "fargateTaskRetirementWaitPeriod" | "guardDutyActivate"),
647
+ ?name: ("serviceLongArnFormat" | "taskLongArnFormat" | "containerInstanceLongArnFormat" | "awsvpcTrunking" | "containerInsights" | "fargateFIPSMode" | "tagResourceAuthorization" | "fargateTaskRetirementWaitPeriod" | "guardDutyActivate" | "defaultLogDriverMode"),
648
648
  ?value: ::String,
649
649
  ?principal_arn: ::String,
650
650
  ?effective_settings: bool,
@@ -705,7 +705,7 @@ module Aws
705
705
  def list_service_deployments: (
706
706
  service: ::String,
707
707
  ?cluster: ::String,
708
- ?status: Array[("PENDING" | "SUCCESSFUL" | "STOPPED" | "STOP_REQUESTED" | "IN_PROGRESS" | "ROLLBACK_IN_PROGRESS" | "ROLLBACK_SUCCESSFUL" | "ROLLBACK_FAILED")],
708
+ ?status: Array[("PENDING" | "SUCCESSFUL" | "STOPPED" | "STOP_REQUESTED" | "IN_PROGRESS" | "ROLLBACK_REQUESTED" | "ROLLBACK_IN_PROGRESS" | "ROLLBACK_SUCCESSFUL" | "ROLLBACK_FAILED")],
709
709
  ?created_at: {
710
710
  before: ::Time?,
711
711
  after: ::Time?
@@ -807,7 +807,7 @@ module Aws
807
807
  end
808
808
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#put_account_setting-instance_method
809
809
  def put_account_setting: (
810
- name: ("serviceLongArnFormat" | "taskLongArnFormat" | "containerInstanceLongArnFormat" | "awsvpcTrunking" | "containerInsights" | "fargateFIPSMode" | "tagResourceAuthorization" | "fargateTaskRetirementWaitPeriod" | "guardDutyActivate"),
810
+ name: ("serviceLongArnFormat" | "taskLongArnFormat" | "containerInstanceLongArnFormat" | "awsvpcTrunking" | "containerInsights" | "fargateFIPSMode" | "tagResourceAuthorization" | "fargateTaskRetirementWaitPeriod" | "guardDutyActivate" | "defaultLogDriverMode"),
811
811
  value: ::String,
812
812
  ?principal_arn: ::String
813
813
  ) -> _PutAccountSettingResponseSuccess
@@ -819,7 +819,7 @@ module Aws
819
819
  end
820
820
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#put_account_setting_default-instance_method
821
821
  def put_account_setting_default: (
822
- name: ("serviceLongArnFormat" | "taskLongArnFormat" | "containerInstanceLongArnFormat" | "awsvpcTrunking" | "containerInsights" | "fargateFIPSMode" | "tagResourceAuthorization" | "fargateTaskRetirementWaitPeriod" | "guardDutyActivate"),
822
+ name: ("serviceLongArnFormat" | "taskLongArnFormat" | "containerInstanceLongArnFormat" | "awsvpcTrunking" | "containerInsights" | "fargateFIPSMode" | "tagResourceAuthorization" | "fargateTaskRetirementWaitPeriod" | "guardDutyActivate" | "defaultLogDriverMode"),
823
823
  value: ::String
824
824
  ) -> _PutAccountSettingDefaultResponseSuccess
825
825
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutAccountSettingDefaultResponseSuccess
@@ -1383,6 +1383,17 @@ module Aws
1383
1383
  ) -> _StartTaskResponseSuccess
1384
1384
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartTaskResponseSuccess
1385
1385
 
1386
+ interface _StopServiceDeploymentResponseSuccess
1387
+ include ::Seahorse::Client::_ResponseSuccess[Types::StopServiceDeploymentResponse]
1388
+ def service_deployment_arn: () -> ::String
1389
+ end
1390
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#stop_service_deployment-instance_method
1391
+ def stop_service_deployment: (
1392
+ service_deployment_arn: ::String,
1393
+ ?stop_type: ("ABORT" | "ROLLBACK")
1394
+ ) -> _StopServiceDeploymentResponseSuccess
1395
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopServiceDeploymentResponseSuccess
1396
+
1386
1397
  interface _StopTaskResponseSuccess
1387
1398
  include ::Seahorse::Client::_ResponseSuccess[Types::StopTaskResponse]
1388
1399
  def task: () -> Types::Task
data/sig/errors.rbs CHANGED
@@ -52,6 +52,8 @@ module Aws
52
52
  class ServerException < ::Aws::Errors::ServiceError
53
53
  def message: () -> ::String
54
54
  end
55
+ class ServiceDeploymentNotFoundException < ::Aws::Errors::ServiceError
56
+ end
55
57
  class ServiceNotActiveException < ::Aws::Errors::ServiceError
56
58
  end
57
59
  class ServiceNotFoundException < ::Aws::Errors::ServiceError
data/sig/types.rbs CHANGED
@@ -373,7 +373,7 @@ module Aws::ECS
373
373
  end
374
374
 
375
375
  class DeleteAccountSettingRequest
376
- attr_accessor name: ("serviceLongArnFormat" | "taskLongArnFormat" | "containerInstanceLongArnFormat" | "awsvpcTrunking" | "containerInsights" | "fargateFIPSMode" | "tagResourceAuthorization" | "fargateTaskRetirementWaitPeriod" | "guardDutyActivate")
376
+ attr_accessor name: ("serviceLongArnFormat" | "taskLongArnFormat" | "containerInstanceLongArnFormat" | "awsvpcTrunking" | "containerInsights" | "fargateFIPSMode" | "tagResourceAuthorization" | "fargateTaskRetirementWaitPeriod" | "guardDutyActivate" | "defaultLogDriverMode")
377
377
  attr_accessor principal_arn: ::String
378
378
  SENSITIVE: []
379
379
  end
@@ -847,7 +847,7 @@ module Aws::ECS
847
847
  end
848
848
 
849
849
  class ListAccountSettingsRequest
850
- attr_accessor name: ("serviceLongArnFormat" | "taskLongArnFormat" | "containerInstanceLongArnFormat" | "awsvpcTrunking" | "containerInsights" | "fargateFIPSMode" | "tagResourceAuthorization" | "fargateTaskRetirementWaitPeriod" | "guardDutyActivate")
850
+ attr_accessor name: ("serviceLongArnFormat" | "taskLongArnFormat" | "containerInstanceLongArnFormat" | "awsvpcTrunking" | "containerInsights" | "fargateFIPSMode" | "tagResourceAuthorization" | "fargateTaskRetirementWaitPeriod" | "guardDutyActivate" | "defaultLogDriverMode")
851
851
  attr_accessor value: ::String
852
852
  attr_accessor principal_arn: ::String
853
853
  attr_accessor effective_settings: bool
@@ -908,7 +908,7 @@ module Aws::ECS
908
908
  class ListServiceDeploymentsRequest
909
909
  attr_accessor service: ::String
910
910
  attr_accessor cluster: ::String
911
- attr_accessor status: ::Array[("PENDING" | "SUCCESSFUL" | "STOPPED" | "STOP_REQUESTED" | "IN_PROGRESS" | "ROLLBACK_IN_PROGRESS" | "ROLLBACK_SUCCESSFUL" | "ROLLBACK_FAILED")]
911
+ attr_accessor status: ::Array[("PENDING" | "SUCCESSFUL" | "STOPPED" | "STOP_REQUESTED" | "IN_PROGRESS" | "ROLLBACK_REQUESTED" | "ROLLBACK_IN_PROGRESS" | "ROLLBACK_SUCCESSFUL" | "ROLLBACK_FAILED")]
912
912
  attr_accessor created_at: Types::CreatedAt
913
913
  attr_accessor next_token: ::String
914
914
  attr_accessor max_results: ::Integer
@@ -1140,7 +1140,7 @@ module Aws::ECS
1140
1140
  end
1141
1141
 
1142
1142
  class PutAccountSettingDefaultRequest
1143
- attr_accessor name: ("serviceLongArnFormat" | "taskLongArnFormat" | "containerInstanceLongArnFormat" | "awsvpcTrunking" | "containerInsights" | "fargateFIPSMode" | "tagResourceAuthorization" | "fargateTaskRetirementWaitPeriod" | "guardDutyActivate")
1143
+ attr_accessor name: ("serviceLongArnFormat" | "taskLongArnFormat" | "containerInstanceLongArnFormat" | "awsvpcTrunking" | "containerInsights" | "fargateFIPSMode" | "tagResourceAuthorization" | "fargateTaskRetirementWaitPeriod" | "guardDutyActivate" | "defaultLogDriverMode")
1144
1144
  attr_accessor value: ::String
1145
1145
  SENSITIVE: []
1146
1146
  end
@@ -1151,7 +1151,7 @@ module Aws::ECS
1151
1151
  end
1152
1152
 
1153
1153
  class PutAccountSettingRequest
1154
- attr_accessor name: ("serviceLongArnFormat" | "taskLongArnFormat" | "containerInstanceLongArnFormat" | "awsvpcTrunking" | "containerInsights" | "fargateFIPSMode" | "tagResourceAuthorization" | "fargateTaskRetirementWaitPeriod" | "guardDutyActivate")
1154
+ attr_accessor name: ("serviceLongArnFormat" | "taskLongArnFormat" | "containerInstanceLongArnFormat" | "awsvpcTrunking" | "containerInsights" | "fargateFIPSMode" | "tagResourceAuthorization" | "fargateTaskRetirementWaitPeriod" | "guardDutyActivate" | "defaultLogDriverMode")
1155
1155
  attr_accessor value: ::String
1156
1156
  attr_accessor principal_arn: ::String
1157
1157
  SENSITIVE: []
@@ -1406,7 +1406,7 @@ module Aws::ECS
1406
1406
  attr_accessor updated_at: ::Time
1407
1407
  attr_accessor source_service_revisions: ::Array[Types::ServiceRevisionSummary]
1408
1408
  attr_accessor target_service_revision: Types::ServiceRevisionSummary
1409
- attr_accessor status: ("PENDING" | "SUCCESSFUL" | "STOPPED" | "STOP_REQUESTED" | "IN_PROGRESS" | "ROLLBACK_IN_PROGRESS" | "ROLLBACK_SUCCESSFUL" | "ROLLBACK_FAILED")
1409
+ attr_accessor status: ("PENDING" | "SUCCESSFUL" | "STOPPED" | "STOP_REQUESTED" | "IN_PROGRESS" | "ROLLBACK_REQUESTED" | "ROLLBACK_IN_PROGRESS" | "ROLLBACK_SUCCESSFUL" | "ROLLBACK_FAILED")
1410
1410
  attr_accessor status_reason: ::String
1411
1411
  attr_accessor deployment_configuration: Types::DeploymentConfiguration
1412
1412
  attr_accessor rollback: Types::Rollback
@@ -1430,7 +1430,7 @@ module Aws::ECS
1430
1430
  attr_accessor created_at: ::Time
1431
1431
  attr_accessor finished_at: ::Time
1432
1432
  attr_accessor target_service_revision_arn: ::String
1433
- attr_accessor status: ("PENDING" | "SUCCESSFUL" | "STOPPED" | "STOP_REQUESTED" | "IN_PROGRESS" | "ROLLBACK_IN_PROGRESS" | "ROLLBACK_SUCCESSFUL" | "ROLLBACK_FAILED")
1433
+ attr_accessor status: ("PENDING" | "SUCCESSFUL" | "STOPPED" | "STOP_REQUESTED" | "IN_PROGRESS" | "ROLLBACK_REQUESTED" | "ROLLBACK_IN_PROGRESS" | "ROLLBACK_SUCCESSFUL" | "ROLLBACK_FAILED")
1434
1434
  attr_accessor status_reason: ::String
1435
1435
  SENSITIVE: []
1436
1436
  end
@@ -1442,6 +1442,9 @@ module Aws::ECS
1442
1442
  SENSITIVE: []
1443
1443
  end
1444
1444
 
1445
+ class ServiceDeploymentNotFoundException < Aws::EmptyStructure
1446
+ end
1447
+
1445
1448
  class ServiceEvent
1446
1449
  attr_accessor id: ::String
1447
1450
  attr_accessor created_at: ::Time
@@ -1521,7 +1524,7 @@ module Aws::ECS
1521
1524
  end
1522
1525
 
1523
1526
  class Setting
1524
- attr_accessor name: ("serviceLongArnFormat" | "taskLongArnFormat" | "containerInstanceLongArnFormat" | "awsvpcTrunking" | "containerInsights" | "fargateFIPSMode" | "tagResourceAuthorization" | "fargateTaskRetirementWaitPeriod" | "guardDutyActivate")
1527
+ attr_accessor name: ("serviceLongArnFormat" | "taskLongArnFormat" | "containerInstanceLongArnFormat" | "awsvpcTrunking" | "containerInsights" | "fargateFIPSMode" | "tagResourceAuthorization" | "fargateTaskRetirementWaitPeriod" | "guardDutyActivate" | "defaultLogDriverMode")
1525
1528
  attr_accessor value: ::String
1526
1529
  attr_accessor principal_arn: ::String
1527
1530
  attr_accessor type: ("user" | "aws_managed")
@@ -1551,6 +1554,17 @@ module Aws::ECS
1551
1554
  SENSITIVE: []
1552
1555
  end
1553
1556
 
1557
+ class StopServiceDeploymentRequest
1558
+ attr_accessor service_deployment_arn: ::String
1559
+ attr_accessor stop_type: ("ABORT" | "ROLLBACK")
1560
+ SENSITIVE: []
1561
+ end
1562
+
1563
+ class StopServiceDeploymentResponse
1564
+ attr_accessor service_deployment_arn: ::String
1565
+ SENSITIVE: []
1566
+ end
1567
+
1554
1568
  class StopTaskRequest
1555
1569
  attr_accessor cluster: ::String
1556
1570
  attr_accessor task: ::String
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.183.0
4
+ version: 1.185.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: 2025-04-02 00:00:00.000000000 Z
11
+ date: 2025-04-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core