aws-sdk-ecs 1.184.0 → 1.186.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ecs/client.rb +73 -4
- data/lib/aws-sdk-ecs/client_api.rb +28 -0
- data/lib/aws-sdk-ecs/errors.rb +11 -0
- data/lib/aws-sdk-ecs/types.rb +44 -11
- data/lib/aws-sdk-ecs.rb +1 -1
- data/sig/client.rbs +12 -1
- data/sig/errors.rbs +2 -0
- data/sig/types.rbs +17 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1b3e8695d557b760fcfa1a14ebc499561f78bd27dafcc1e7a4fcc1a8a3e9218c
|
4
|
+
data.tar.gz: b1f3fcfef917ef6deeb70d413b2dbb52dc15b3b7d5d13382290cd2d71260487a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b1380f891e5033281a39f8c62e0f8e0ad60f5c2a1cdd90ca7ba6182dd903e715c0a409673aba30449a69dbd1befc79e4be69fed84dacb2cf91f63d5aaa25ea7c
|
7
|
+
data.tar.gz: 5c66e32c78cf2695c027535f412e633ff2e99f65a57a6aa99eefe0153aed0e94cae25ba999bb755ce44f92f5ca434dc2dd89ab106a3ece9d7db5959487384dc1
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.186.0 (2025-04-24)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Documentation only release for Amazon ECS
|
8
|
+
|
9
|
+
1.185.0 (2025-04-23)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Add support to roll back an In_Progress ECS Service Deployment
|
13
|
+
|
4
14
|
1.184.0 (2025-04-17)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.186.0
|
data/lib/aws-sdk-ecs/client.rb
CHANGED
@@ -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
|
@@ -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
|
#
|
@@ -8658,6 +8658,19 @@ module Aws::ECS
|
|
8658
8658
|
# algorithm starting with a couple of seconds of wait time, and
|
8659
8659
|
# increase gradually up to about five minutes of wait time.
|
8660
8660
|
#
|
8661
|
+
# If you get a `ConflictException` error, the `RunTask` request could
|
8662
|
+
# not be processed due to conflicts. The provided `clientToken` is
|
8663
|
+
# already in use with a different `RunTask` request. The `resourceIds`
|
8664
|
+
# are the existing task ARNs which are already associated with the
|
8665
|
+
# `clientToken`.
|
8666
|
+
#
|
8667
|
+
# To fix this issue:
|
8668
|
+
#
|
8669
|
+
# * Run `RunTask` with a unique `clientToken`.
|
8670
|
+
#
|
8671
|
+
# * Run `RunTask` with the `clientToken` and the original set of
|
8672
|
+
# parameters
|
8673
|
+
#
|
8661
8674
|
#
|
8662
8675
|
#
|
8663
8676
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/scheduling_tasks.html
|
@@ -8682,6 +8695,9 @@ module Aws::ECS
|
|
8682
8695
|
# run your task on. If you do not specify a cluster, the default cluster
|
8683
8696
|
# is assumed.
|
8684
8697
|
#
|
8698
|
+
# Each account receives a default cluster the first time you use the
|
8699
|
+
# service, but you may also create other clusters.
|
8700
|
+
#
|
8685
8701
|
# @option params [Integer] :count
|
8686
8702
|
# The number of instantiations of the specified task to place on your
|
8687
8703
|
# cluster. You can specify up to 10 tasks for each call.
|
@@ -9620,6 +9636,59 @@ module Aws::ECS
|
|
9620
9636
|
req.send_request(options)
|
9621
9637
|
end
|
9622
9638
|
|
9639
|
+
# Stops an ongoing service deployment.
|
9640
|
+
#
|
9641
|
+
# <note markdown="1"> StopServiceDeployment isn't currently supported.
|
9642
|
+
#
|
9643
|
+
# </note>
|
9644
|
+
#
|
9645
|
+
# @option params [required, String] :service_deployment_arn
|
9646
|
+
# The ARN of the service deployment that you want to stop.
|
9647
|
+
#
|
9648
|
+
# @option params [String] :stop_type
|
9649
|
+
# How you want Amazon ECS to stop the service.
|
9650
|
+
#
|
9651
|
+
# The ROLLBACK and ABORT stopType aren't supported.
|
9652
|
+
#
|
9653
|
+
# @return [Types::StopServiceDeploymentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
9654
|
+
#
|
9655
|
+
# * {Types::StopServiceDeploymentResponse#service_deployment_arn #service_deployment_arn} => String
|
9656
|
+
#
|
9657
|
+
#
|
9658
|
+
# @example Example: To stop a service deployment
|
9659
|
+
#
|
9660
|
+
# # This example stops the service deployment using the ROLLBACK option.
|
9661
|
+
#
|
9662
|
+
# resp = client.stop_service_deployment({
|
9663
|
+
# service_deployment_arn: "arn:aws:ecs:us-east-1:123456789012:service-deployment/MyCluster/MyService/r9i43YFjvgF_xlg7m2eJ1r",
|
9664
|
+
# stop_type: "ROLLBACK",
|
9665
|
+
# })
|
9666
|
+
#
|
9667
|
+
# resp.to_h outputs the following:
|
9668
|
+
# {
|
9669
|
+
# service_deployment_arn: "arn:aws:ecs:us-east-1:123456789012:service-deployment/MyCluster/MyService/r9i43YFjvgF_xlg7m2eJ1r",
|
9670
|
+
# }
|
9671
|
+
#
|
9672
|
+
# @example Request syntax with placeholder values
|
9673
|
+
#
|
9674
|
+
# resp = client.stop_service_deployment({
|
9675
|
+
# service_deployment_arn: "String", # required
|
9676
|
+
# stop_type: "ABORT", # accepts ABORT, ROLLBACK
|
9677
|
+
# })
|
9678
|
+
#
|
9679
|
+
# @example Response structure
|
9680
|
+
#
|
9681
|
+
# resp.service_deployment_arn #=> String
|
9682
|
+
#
|
9683
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/StopServiceDeployment AWS API Documentation
|
9684
|
+
#
|
9685
|
+
# @overload stop_service_deployment(params = {})
|
9686
|
+
# @param [Hash] params ({})
|
9687
|
+
def stop_service_deployment(params = {}, options = {})
|
9688
|
+
req = build_request(:stop_service_deployment, params)
|
9689
|
+
req.send_request(options)
|
9690
|
+
end
|
9691
|
+
|
9623
9692
|
# Stops a running task. Any tags associated with the task will be
|
9624
9693
|
# deleted.
|
9625
9694
|
#
|
@@ -12466,7 +12535,7 @@ module Aws::ECS
|
|
12466
12535
|
tracer: tracer
|
12467
12536
|
)
|
12468
12537
|
context[:gem_name] = 'aws-sdk-ecs'
|
12469
|
-
context[:gem_version] = '1.
|
12538
|
+
context[:gem_version] = '1.186.0'
|
12470
12539
|
Seahorse::Client::Request.new(handlers, context)
|
12471
12540
|
end
|
12472
12541
|
|
@@ -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"
|
data/lib/aws-sdk-ecs/errors.rb
CHANGED
@@ -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
|
data/lib/aws-sdk-ecs/types.rb
CHANGED
@@ -932,17 +932,8 @@ module Aws::ECS
|
|
932
932
|
include Aws::Structure
|
933
933
|
end
|
934
934
|
|
935
|
-
# The
|
936
|
-
#
|
937
|
-
# request. The `resourceIds` are the existing task ARNs which are
|
938
|
-
# already associated with the `clientToken`.
|
939
|
-
#
|
940
|
-
# To fix this issue:
|
941
|
-
#
|
942
|
-
# * Run `RunTask` with a unique `clientToken`.
|
943
|
-
#
|
944
|
-
# * Run `RunTask` with the `clientToken` and the original set of
|
945
|
-
# parameters
|
935
|
+
# The request could not be processed because of conflict in the current
|
936
|
+
# state of the resource.
|
946
937
|
#
|
947
938
|
# @!attribute [rw] resource_ids
|
948
939
|
# The existing task ARNs which are already associated with the
|
@@ -9012,6 +9003,9 @@ module Aws::ECS
|
|
9012
9003
|
# The short name or full Amazon Resource Name (ARN) of the cluster to
|
9013
9004
|
# run your task on. If you do not specify a cluster, the default
|
9014
9005
|
# cluster is assumed.
|
9006
|
+
#
|
9007
|
+
# Each account receives a default cluster the first time you use the
|
9008
|
+
# service, but you may also create other clusters.
|
9015
9009
|
# @return [String]
|
9016
9010
|
#
|
9017
9011
|
# @!attribute [rw] count
|
@@ -10322,6 +10316,14 @@ module Aws::ECS
|
|
10322
10316
|
include Aws::Structure
|
10323
10317
|
end
|
10324
10318
|
|
10319
|
+
# The service deploy ARN that you specified in the
|
10320
|
+
# `StopServiceDeployment` doesn't exist. You can use
|
10321
|
+
# `ListServiceDeployments` to retrieve the service deployment ARNs.
|
10322
|
+
#
|
10323
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ServiceDeploymentNotFoundException AWS API Documentation
|
10324
|
+
#
|
10325
|
+
class ServiceDeploymentNotFoundException < Aws::EmptyStructure; end
|
10326
|
+
|
10325
10327
|
# The details for an event that's associated with a service.
|
10326
10328
|
#
|
10327
10329
|
# @!attribute [rw] id
|
@@ -11054,6 +11056,37 @@ module Aws::ECS
|
|
11054
11056
|
include Aws::Structure
|
11055
11057
|
end
|
11056
11058
|
|
11059
|
+
# @!attribute [rw] service_deployment_arn
|
11060
|
+
# The ARN of the service deployment that you want to stop.
|
11061
|
+
# @return [String]
|
11062
|
+
#
|
11063
|
+
# @!attribute [rw] stop_type
|
11064
|
+
# How you want Amazon ECS to stop the service.
|
11065
|
+
#
|
11066
|
+
# The ROLLBACK and ABORT stopType aren't supported.
|
11067
|
+
# @return [String]
|
11068
|
+
#
|
11069
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/StopServiceDeploymentRequest AWS API Documentation
|
11070
|
+
#
|
11071
|
+
class StopServiceDeploymentRequest < Struct.new(
|
11072
|
+
:service_deployment_arn,
|
11073
|
+
:stop_type)
|
11074
|
+
SENSITIVE = []
|
11075
|
+
include Aws::Structure
|
11076
|
+
end
|
11077
|
+
|
11078
|
+
# @!attribute [rw] service_deployment_arn
|
11079
|
+
# The ARN of the stopped service deployment.
|
11080
|
+
# @return [String]
|
11081
|
+
#
|
11082
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/StopServiceDeploymentResponse AWS API Documentation
|
11083
|
+
#
|
11084
|
+
class StopServiceDeploymentResponse < Struct.new(
|
11085
|
+
:service_deployment_arn)
|
11086
|
+
SENSITIVE = []
|
11087
|
+
include Aws::Structure
|
11088
|
+
end
|
11089
|
+
|
11057
11090
|
# @!attribute [rw] cluster
|
11058
11091
|
# The short name or full Amazon Resource Name (ARN) of the cluster
|
11059
11092
|
# that hosts the task to stop. If you do not specify a cluster, the
|
data/lib/aws-sdk-ecs.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -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?
|
@@ -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
@@ -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
|
@@ -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
|
@@ -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.
|
4
|
+
version: 1.186.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-
|
11
|
+
date: 2025-04-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|