aws-sdk-ecs 1.0.0.rc7 → 1.0.0.rc8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-ecs.rb +1 -1
- data/lib/aws-sdk-ecs/client.rb +19 -1
- data/lib/aws-sdk-ecs/client_api.rb +3 -0
- data/lib/aws-sdk-ecs/types.rb +49 -16
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 721d04bed3e22380f34b08ba28631a03780db53a
|
4
|
+
data.tar.gz: 5ec77476bfeea6b18eafd72def33e17a20cbbf79
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 857a84f66f3a2f7dd66ecf5fc30c67d138d36d74a7e67feaa67b552bdf31d6cf26610241e1f1068165a3874dbd838efc93e36a6362f7e27f107bcc92154c9a2e
|
7
|
+
data.tar.gz: b3977389e9fe1e6d930c5c0718649486b8d1e98aec567640b86622a6022733a5fcc1126d8370c248efe898e332a07bb2d1cb92b024fbe46acb57fb21a4cca954
|
data/lib/aws-sdk-ecs.rb
CHANGED
data/lib/aws-sdk-ecs/client.rb
CHANGED
@@ -1154,6 +1154,9 @@ module Aws::ECS
|
|
1154
1154
|
# resp.tasks[0].overrides.container_overrides[0].environment #=> Array
|
1155
1155
|
# resp.tasks[0].overrides.container_overrides[0].environment[0].name #=> String
|
1156
1156
|
# resp.tasks[0].overrides.container_overrides[0].environment[0].value #=> String
|
1157
|
+
# resp.tasks[0].overrides.container_overrides[0].cpu #=> Integer
|
1158
|
+
# resp.tasks[0].overrides.container_overrides[0].memory #=> Integer
|
1159
|
+
# resp.tasks[0].overrides.container_overrides[0].memory_reservation #=> Integer
|
1157
1160
|
# resp.tasks[0].overrides.task_role_arn #=> String
|
1158
1161
|
# resp.tasks[0].last_status #=> String
|
1159
1162
|
# resp.tasks[0].desired_status #=> String
|
@@ -2297,6 +2300,9 @@ module Aws::ECS
|
|
2297
2300
|
# value: "String",
|
2298
2301
|
# },
|
2299
2302
|
# ],
|
2303
|
+
# cpu: 1,
|
2304
|
+
# memory: 1,
|
2305
|
+
# memory_reservation: 1,
|
2300
2306
|
# },
|
2301
2307
|
# ],
|
2302
2308
|
# task_role_arn: "String",
|
@@ -2332,6 +2338,9 @@ module Aws::ECS
|
|
2332
2338
|
# resp.tasks[0].overrides.container_overrides[0].environment #=> Array
|
2333
2339
|
# resp.tasks[0].overrides.container_overrides[0].environment[0].name #=> String
|
2334
2340
|
# resp.tasks[0].overrides.container_overrides[0].environment[0].value #=> String
|
2341
|
+
# resp.tasks[0].overrides.container_overrides[0].cpu #=> Integer
|
2342
|
+
# resp.tasks[0].overrides.container_overrides[0].memory #=> Integer
|
2343
|
+
# resp.tasks[0].overrides.container_overrides[0].memory_reservation #=> Integer
|
2335
2344
|
# resp.tasks[0].overrides.task_role_arn #=> String
|
2336
2345
|
# resp.tasks[0].last_status #=> String
|
2337
2346
|
# resp.tasks[0].desired_status #=> String
|
@@ -2446,6 +2455,9 @@ module Aws::ECS
|
|
2446
2455
|
# value: "String",
|
2447
2456
|
# },
|
2448
2457
|
# ],
|
2458
|
+
# cpu: 1,
|
2459
|
+
# memory: 1,
|
2460
|
+
# memory_reservation: 1,
|
2449
2461
|
# },
|
2450
2462
|
# ],
|
2451
2463
|
# task_role_arn: "String",
|
@@ -2469,6 +2481,9 @@ module Aws::ECS
|
|
2469
2481
|
# resp.tasks[0].overrides.container_overrides[0].environment #=> Array
|
2470
2482
|
# resp.tasks[0].overrides.container_overrides[0].environment[0].name #=> String
|
2471
2483
|
# resp.tasks[0].overrides.container_overrides[0].environment[0].value #=> String
|
2484
|
+
# resp.tasks[0].overrides.container_overrides[0].cpu #=> Integer
|
2485
|
+
# resp.tasks[0].overrides.container_overrides[0].memory #=> Integer
|
2486
|
+
# resp.tasks[0].overrides.container_overrides[0].memory_reservation #=> Integer
|
2472
2487
|
# resp.tasks[0].overrides.task_role_arn #=> String
|
2473
2488
|
# resp.tasks[0].last_status #=> String
|
2474
2489
|
# resp.tasks[0].desired_status #=> String
|
@@ -2565,6 +2580,9 @@ module Aws::ECS
|
|
2565
2580
|
# resp.task.overrides.container_overrides[0].environment #=> Array
|
2566
2581
|
# resp.task.overrides.container_overrides[0].environment[0].name #=> String
|
2567
2582
|
# resp.task.overrides.container_overrides[0].environment[0].value #=> String
|
2583
|
+
# resp.task.overrides.container_overrides[0].cpu #=> Integer
|
2584
|
+
# resp.task.overrides.container_overrides[0].memory #=> Integer
|
2585
|
+
# resp.task.overrides.container_overrides[0].memory_reservation #=> Integer
|
2568
2586
|
# resp.task.overrides.task_role_arn #=> String
|
2569
2587
|
# resp.task.last_status #=> String
|
2570
2588
|
# resp.task.desired_status #=> String
|
@@ -3096,7 +3114,7 @@ module Aws::ECS
|
|
3096
3114
|
params: params,
|
3097
3115
|
config: config)
|
3098
3116
|
context[:gem_name] = 'aws-sdk-ecs'
|
3099
|
-
context[:gem_version] = '1.0.0.
|
3117
|
+
context[:gem_version] = '1.0.0.rc8'
|
3100
3118
|
Seahorse::Client::Request.new(handlers, context)
|
3101
3119
|
end
|
3102
3120
|
|
@@ -245,6 +245,9 @@ module Aws::ECS
|
|
245
245
|
ContainerOverride.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
|
246
246
|
ContainerOverride.add_member(:command, Shapes::ShapeRef.new(shape: StringList, location_name: "command"))
|
247
247
|
ContainerOverride.add_member(:environment, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "environment"))
|
248
|
+
ContainerOverride.add_member(:cpu, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "cpu"))
|
249
|
+
ContainerOverride.add_member(:memory, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "memory"))
|
250
|
+
ContainerOverride.add_member(:memory_reservation, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "memoryReservation"))
|
248
251
|
ContainerOverride.struct_class = Types::ContainerOverride
|
249
252
|
|
250
253
|
ContainerOverrides.member = Shapes::ShapeRef.new(shape: ContainerOverride)
|
data/lib/aws-sdk-ecs/types.rb
CHANGED
@@ -259,12 +259,6 @@ module Aws::ECS
|
|
259
259
|
# `Image` in the [Create a container][1] section of the [Docker Remote
|
260
260
|
# API][2] and the `IMAGE` parameter of [docker run][3].
|
261
261
|
#
|
262
|
-
# <note markdown="1"> Amazon ECS task definitions currently only support tags as image
|
263
|
-
# identifiers within a specified repository (and not `sha256`
|
264
|
-
# digests).
|
265
|
-
#
|
266
|
-
# </note>
|
267
|
-
#
|
268
262
|
# * Images in Amazon ECR repositories use the full registry and
|
269
263
|
# repository URI (for example,
|
270
264
|
# `012345678910.dkr.ecr.<region-name>.amazonaws.com/<repository-name>`).
|
@@ -919,11 +913,14 @@ module Aws::ECS
|
|
919
913
|
# value: "String",
|
920
914
|
# },
|
921
915
|
# ],
|
916
|
+
# cpu: 1,
|
917
|
+
# memory: 1,
|
918
|
+
# memory_reservation: 1,
|
922
919
|
# }
|
923
920
|
#
|
924
921
|
# @!attribute [rw] name
|
925
922
|
# The name of the container that receives the override. This parameter
|
926
|
-
# is required if
|
923
|
+
# is required if any override is specified.
|
927
924
|
# @return [String]
|
928
925
|
#
|
929
926
|
# @!attribute [rw] command
|
@@ -940,12 +937,34 @@ module Aws::ECS
|
|
940
937
|
# container name.
|
941
938
|
# @return [Array<Types::KeyValuePair>]
|
942
939
|
#
|
940
|
+
# @!attribute [rw] cpu
|
941
|
+
# The number of `cpu` units reserved for the container, instead of the
|
942
|
+
# default value from the task definition. You must also specify a
|
943
|
+
# container name.
|
944
|
+
# @return [Integer]
|
945
|
+
#
|
946
|
+
# @!attribute [rw] memory
|
947
|
+
# The hard limit (in MiB) of memory to present to the container,
|
948
|
+
# instead of the default value from the task definition. If your
|
949
|
+
# container attempts to exceed the memory specified here, the
|
950
|
+
# container is killed. You must also specify a container name.
|
951
|
+
# @return [Integer]
|
952
|
+
#
|
953
|
+
# @!attribute [rw] memory_reservation
|
954
|
+
# The soft limit (in MiB) of memory to reserve for the container,
|
955
|
+
# instead of the default value from the task definition. You must also
|
956
|
+
# specify a container name.
|
957
|
+
# @return [Integer]
|
958
|
+
#
|
943
959
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ContainerOverride AWS API Documentation
|
944
960
|
#
|
945
961
|
class ContainerOverride < Struct.new(
|
946
962
|
:name,
|
947
963
|
:command,
|
948
|
-
:environment
|
964
|
+
:environment,
|
965
|
+
:cpu,
|
966
|
+
:memory,
|
967
|
+
:memory_reservation)
|
949
968
|
include Aws::Structure
|
950
969
|
end
|
951
970
|
|
@@ -2699,14 +2718,19 @@ module Aws::ECS
|
|
2699
2718
|
# automatically receives a port in the ephemeral port range for your
|
2700
2719
|
# container instance operating system and Docker version.
|
2701
2720
|
#
|
2702
|
-
# The default ephemeral port range
|
2703
|
-
# is
|
2704
|
-
#
|
2705
|
-
#
|
2706
|
-
#
|
2707
|
-
#
|
2708
|
-
#
|
2709
|
-
#
|
2721
|
+
# The default ephemeral port range for Docker version 1.6.0 and later
|
2722
|
+
# is listed on the instance under
|
2723
|
+
# `/proc/sys/net/ipv4/ip_local_port_range`; if this kernel parameter
|
2724
|
+
# is unavailable, the default ephemeral port range of 49153 to 65535
|
2725
|
+
# is used. You should not attempt to specify a host port in the
|
2726
|
+
# ephemeral port range as these are reserved for automatic assignment.
|
2727
|
+
# In general, ports below 32768 are outside of the ephemeral port
|
2728
|
+
# range.
|
2729
|
+
#
|
2730
|
+
# <note markdown="1"> The default ephemeral port range of 49153 to 65535 will always be
|
2731
|
+
# used for Docker versions prior to 1.6.0.
|
2732
|
+
#
|
2733
|
+
# </note>
|
2710
2734
|
#
|
2711
2735
|
# The default reserved ports are 22 for SSH, the Docker ports 2375 and
|
2712
2736
|
# 2376, and the Amazon ECS container agent ports 51678 and 51679. Any
|
@@ -3124,6 +3148,9 @@ module Aws::ECS
|
|
3124
3148
|
# value: "String",
|
3125
3149
|
# },
|
3126
3150
|
# ],
|
3151
|
+
# cpu: 1,
|
3152
|
+
# memory: 1,
|
3153
|
+
# memory_reservation: 1,
|
3127
3154
|
# },
|
3128
3155
|
# ],
|
3129
3156
|
# task_role_arn: "String",
|
@@ -3391,6 +3418,9 @@ module Aws::ECS
|
|
3391
3418
|
# value: "String",
|
3392
3419
|
# },
|
3393
3420
|
# ],
|
3421
|
+
# cpu: 1,
|
3422
|
+
# memory: 1,
|
3423
|
+
# memory_reservation: 1,
|
3394
3424
|
# },
|
3395
3425
|
# ],
|
3396
3426
|
# task_role_arn: "String",
|
@@ -3901,6 +3931,9 @@ module Aws::ECS
|
|
3901
3931
|
# value: "String",
|
3902
3932
|
# },
|
3903
3933
|
# ],
|
3934
|
+
# cpu: 1,
|
3935
|
+
# memory: 1,
|
3936
|
+
# memory_reservation: 1,
|
3904
3937
|
# },
|
3905
3938
|
# ],
|
3906
3939
|
# task_role_arn: "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.0.0.
|
4
|
+
version: 1.0.0.rc8
|
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-06-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 3.0.0.
|
19
|
+
version: 3.0.0.rc13
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 3.0.0.
|
26
|
+
version: 3.0.0.rc13
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: aws-sigv4
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|