aws-sdk-ecs 1.0.0 → 1.1.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/lib/aws-sdk-ecs.rb +1 -1
- data/lib/aws-sdk-ecs/client.rb +14 -7
- metadata +5 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c554e7552147eeed7592ed09c1a79d931be6f381
|
|
4
|
+
data.tar.gz: 66fcf414b738e825830e4684664307f4097ff047
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5bf40c5653af526f350c662fa5fed98a99d70e14a67877966a1fb82d4707520492a80cf9aad1cad0a9bf5145d79bcb8afe882f38b216c231f1e5534ae98a0e82
|
|
7
|
+
data.tar.gz: f20b40e245ece1b6c5703ace5ea64d159895b6f0fffbe03a2fb33af8c6a2de9e3ed1169c1b596c08cb333355fe294d4284c652123e0cde8206ba54fdc20be55a
|
data/lib/aws-sdk-ecs.rb
CHANGED
data/lib/aws-sdk-ecs/client.rb
CHANGED
|
@@ -371,7 +371,8 @@ module Aws::ECS
|
|
|
371
371
|
#
|
|
372
372
|
# @example Example: To create a new service
|
|
373
373
|
#
|
|
374
|
-
# # This example creates a service in your default region called ``ecs-simple-service``. The service uses the
|
|
374
|
+
# # This example creates a service in your default region called ``ecs-simple-service``. The service uses the
|
|
375
|
+
# # ``hello_world`` task definition and it maintains 10 copies of that task.
|
|
375
376
|
#
|
|
376
377
|
# resp = client.create_service({
|
|
377
378
|
# desired_count: 10,
|
|
@@ -426,7 +427,9 @@ module Aws::ECS
|
|
|
426
427
|
#
|
|
427
428
|
# @example Example: To create a new service behind a load balancer
|
|
428
429
|
#
|
|
429
|
-
# # This example creates a service in your default region called ``ecs-simple-service-elb``. The service uses the
|
|
430
|
+
# # This example creates a service in your default region called ``ecs-simple-service-elb``. The service uses the
|
|
431
|
+
# # ``ecs-demo`` task definition and it maintains 10 copies of that task. You must reference an existing load balancer in
|
|
432
|
+
# # the same region by its name.
|
|
430
433
|
#
|
|
431
434
|
# resp = client.create_service({
|
|
432
435
|
# desired_count: 10,
|
|
@@ -708,7 +711,8 @@ module Aws::ECS
|
|
|
708
711
|
#
|
|
709
712
|
# @example Example: To delete a service
|
|
710
713
|
#
|
|
711
|
-
# # This example deletes the my-http-service service. The service must have a desired count and running count of 0 before
|
|
714
|
+
# # This example deletes the my-http-service service. The service must have a desired count and running count of 0 before
|
|
715
|
+
# # you can delete it.
|
|
712
716
|
#
|
|
713
717
|
# resp = client.delete_service({
|
|
714
718
|
# service: "my-http-service",
|
|
@@ -829,7 +833,8 @@ module Aws::ECS
|
|
|
829
833
|
#
|
|
830
834
|
# @example Example: To deregister a container instance from a cluster
|
|
831
835
|
#
|
|
832
|
-
# # This example deregisters a container instance from the specified cluster in your default region. If there are still
|
|
836
|
+
# # This example deregisters a container instance from the specified cluster in your default region. If there are still
|
|
837
|
+
# # tasks running on the container instance, you must either stop those tasks before deregistering, or use the force option.
|
|
833
838
|
#
|
|
834
839
|
# resp = client.deregister_container_instance({
|
|
835
840
|
# cluster: "default",
|
|
@@ -1095,7 +1100,8 @@ module Aws::ECS
|
|
|
1095
1100
|
#
|
|
1096
1101
|
# @example Example: To describe container instance
|
|
1097
1102
|
#
|
|
1098
|
-
# # This example provides a description of the specified container instance in your default region, using the container
|
|
1103
|
+
# # This example provides a description of the specified container instance in your default region, using the container
|
|
1104
|
+
# # instance UUID as an identifier.
|
|
1099
1105
|
#
|
|
1100
1106
|
# resp = client.describe_container_instances({
|
|
1101
1107
|
# cluster: "default",
|
|
@@ -2359,7 +2365,8 @@ module Aws::ECS
|
|
|
2359
2365
|
#
|
|
2360
2366
|
# @example Example: To list the tasks on a particular container instance
|
|
2361
2367
|
#
|
|
2362
|
-
# # This example lists the tasks of a specified container instance. Specifying a ``containerInstance`` value limits the
|
|
2368
|
+
# # This example lists the tasks of a specified container instance. Specifying a ``containerInstance`` value limits the
|
|
2369
|
+
# # results to tasks that belong to that container instance.
|
|
2363
2370
|
#
|
|
2364
2371
|
# resp = client.list_tasks({
|
|
2365
2372
|
# cluster: "default",
|
|
@@ -3855,7 +3862,7 @@ module Aws::ECS
|
|
|
3855
3862
|
params: params,
|
|
3856
3863
|
config: config)
|
|
3857
3864
|
context[:gem_name] = 'aws-sdk-ecs'
|
|
3858
|
-
context[:gem_version] = '1.
|
|
3865
|
+
context[:gem_version] = '1.1.0'
|
|
3859
3866
|
Seahorse::Client::Request.new(handlers, context)
|
|
3860
3867
|
end
|
|
3861
3868
|
|
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.1.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: 2017-
|
|
11
|
+
date: 2017-09-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|
|
@@ -57,7 +57,9 @@ files:
|
|
|
57
57
|
homepage: http://github.com/aws/aws-sdk-ruby
|
|
58
58
|
licenses:
|
|
59
59
|
- Apache-2.0
|
|
60
|
-
metadata:
|
|
60
|
+
metadata:
|
|
61
|
+
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-ecs
|
|
62
|
+
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-ecs/CHANGELOG.md
|
|
61
63
|
post_install_message:
|
|
62
64
|
rdoc_options: []
|
|
63
65
|
require_paths:
|