aws-sdk-ecs 1.184.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ecs/client.rb +71 -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 +42 -0
- 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: 38b36fd18655c03f5aaa5e0fc9480552102fbd86936d7f99c5df56e07bc3410d
         | 
| 4 | 
            +
              data.tar.gz: 03d61e712ac92d82f613cd2149524e5e00ca638962e6fc35e167149851f2716d
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: f29dd5c74908e40eda0c548c493c07390c5dbec200e549de3c3d2c14e7b1e20705db1727aa5fb27ac5f8b1c61642a59f1f932503b20d6aa21d2de075262f9c00
         | 
| 7 | 
            +
              data.tar.gz: b39f6ef29070ec0be6325bf1552e8a57fa549dbda4fab10b27b8002503fb20317d19972c7e832ac831212cce0f872749c3c1377e51b1d0cfab82f3a3e8dbd3ec
         | 
    
        data/CHANGELOG.md
    CHANGED
    
    
    
        data/VERSION
    CHANGED
    
    | @@ -1 +1 @@ | |
| 1 | 
            -
            1. | 
| 1 | 
            +
            1.185.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 | 
             
                #
         | 
| @@ -8682,6 +8682,9 @@ module Aws::ECS | |
| 8682 8682 | 
             
                #   run your task on. If you do not specify a cluster, the default cluster
         | 
| 8683 8683 | 
             
                #   is assumed.
         | 
| 8684 8684 | 
             
                #
         | 
| 8685 | 
            +
                #   Each account receives a default cluster the first time you use the
         | 
| 8686 | 
            +
                #   service, but you may also create other clusters.
         | 
| 8687 | 
            +
                #
         | 
| 8685 8688 | 
             
                # @option params [Integer] :count
         | 
| 8686 8689 | 
             
                #   The number of instantiations of the specified task to place on your
         | 
| 8687 8690 | 
             
                #   cluster. You can specify up to 10 tasks for each call.
         | 
| @@ -9620,6 +9623,70 @@ module Aws::ECS | |
| 9620 9623 | 
             
                  req.send_request(options)
         | 
| 9621 9624 | 
             
                end
         | 
| 9622 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 | 
            +
             | 
| 9623 9690 | 
             
                # Stops a running task. Any tags associated with the task will be
         | 
| 9624 9691 | 
             
                # deleted.
         | 
| 9625 9692 | 
             
                #
         | 
| @@ -12466,7 +12533,7 @@ module Aws::ECS | |
| 12466 12533 | 
             
                    tracer: tracer
         | 
| 12467 12534 | 
             
                  )
         | 
| 12468 12535 | 
             
                  context[:gem_name] = 'aws-sdk-ecs'
         | 
| 12469 | 
            -
                  context[:gem_version] = '1. | 
| 12536 | 
            +
                  context[:gem_version] = '1.185.0'
         | 
| 12470 12537 | 
             
                  Seahorse::Client::Request.new(handlers, context)
         | 
| 12471 12538 | 
             
                end
         | 
| 12472 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"
         | 
    
        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
    
    | @@ -9012,6 +9012,9 @@ module Aws::ECS | |
| 9012 9012 | 
             
                #   The short name or full Amazon Resource Name (ARN) of the cluster to
         | 
| 9013 9013 | 
             
                #   run your task on. If you do not specify a cluster, the default
         | 
| 9014 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.
         | 
| 9015 9018 | 
             
                #   @return [String]
         | 
| 9016 9019 | 
             
                #
         | 
| 9017 9020 | 
             
                # @!attribute [rw] count
         | 
| @@ -10322,6 +10325,14 @@ module Aws::ECS | |
| 10322 10325 | 
             
                  include Aws::Structure
         | 
| 10323 10326 | 
             
                end
         | 
| 10324 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 | 
            +
             | 
| 10325 10336 | 
             
                # The details for an event that's associated with a service.
         | 
| 10326 10337 | 
             
                #
         | 
| 10327 10338 | 
             
                # @!attribute [rw] id
         | 
| @@ -11054,6 +11065,37 @@ module Aws::ECS | |
| 11054 11065 | 
             
                  include Aws::Structure
         | 
| 11055 11066 | 
             
                end
         | 
| 11056 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 | 
            +
             | 
| 11057 11099 | 
             
                # @!attribute [rw] cluster
         | 
| 11058 11100 | 
             
                #   The short name or full Amazon Resource Name (ARN) of the cluster
         | 
| 11059 11101 | 
             
                #   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.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- | 
| 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
         |