aws-sdk-ecs 1.10.0 → 1.11.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 262a6192e26805cb4f86ed0c16c69a4cc401e984
4
- data.tar.gz: d8cc1ba57db75e8ce36109267989e9d7b94203a5
3
+ metadata.gz: c61cf12eb3aa35df1d00ecf3a555171267f7c451
4
+ data.tar.gz: b7a8ee768ccf965aba4e56047864658f4d33f9a6
5
5
  SHA512:
6
- metadata.gz: 4371dec2f8efce75d7073d9e1f4bb58c5837008657c26af36d7bf454e6677fa46068744872b6be3972d8bf00e199ec94206e766ec9c7b69e62675cd050b3688d
7
- data.tar.gz: 91bd6ed42cf89144c3a9990594b622d526f85a1362190e3358a55c3b5f6b3cef9aa5b208eecaab5f338e22f92eecb34e2f24b1dd2f7a055c445a0acc0d976def
6
+ metadata.gz: d4b1752cdeaf9c3d38321ee86ce7c09ed1d3d9878f346ba5922634d2eb191a10d7da2b41acf9512d94ce4948d819a8c6164e2981752443f08a1577792c045281
7
+ data.tar.gz: 6452c6bfed21572b18db2d6d3d63703007dc03ed59984bf11248b55432b3f38a8126fda17ee6437d706ba563fec241bfaf55229438df78f99410dcec5ebe8c0b
@@ -43,6 +43,6 @@ require_relative 'aws-sdk-ecs/customizations'
43
43
  # @service
44
44
  module Aws::ECS
45
45
 
46
- GEM_VERSION = '1.10.0'
46
+ GEM_VERSION = '1.11.0'
47
47
 
48
48
  end
@@ -1080,6 +1080,12 @@ module Aws::ECS
1080
1080
  # resp.task_definition.container_definitions[0].linux_parameters.devices[0].permissions #=> Array
1081
1081
  # resp.task_definition.container_definitions[0].linux_parameters.devices[0].permissions[0] #=> String, one of "read", "write", "mknod"
1082
1082
  # resp.task_definition.container_definitions[0].linux_parameters.init_process_enabled #=> Boolean
1083
+ # resp.task_definition.container_definitions[0].linux_parameters.shared_memory_size #=> Integer
1084
+ # resp.task_definition.container_definitions[0].linux_parameters.tmpfs #=> Array
1085
+ # resp.task_definition.container_definitions[0].linux_parameters.tmpfs[0].container_path #=> String
1086
+ # resp.task_definition.container_definitions[0].linux_parameters.tmpfs[0].size #=> Integer
1087
+ # resp.task_definition.container_definitions[0].linux_parameters.tmpfs[0].mount_options #=> Array
1088
+ # resp.task_definition.container_definitions[0].linux_parameters.tmpfs[0].mount_options[0] #=> String
1083
1089
  # resp.task_definition.container_definitions[0].hostname #=> String
1084
1090
  # resp.task_definition.container_definitions[0].user #=> String
1085
1091
  # resp.task_definition.container_definitions[0].working_directory #=> String
@@ -1673,6 +1679,12 @@ module Aws::ECS
1673
1679
  # resp.task_definition.container_definitions[0].linux_parameters.devices[0].permissions #=> Array
1674
1680
  # resp.task_definition.container_definitions[0].linux_parameters.devices[0].permissions[0] #=> String, one of "read", "write", "mknod"
1675
1681
  # resp.task_definition.container_definitions[0].linux_parameters.init_process_enabled #=> Boolean
1682
+ # resp.task_definition.container_definitions[0].linux_parameters.shared_memory_size #=> Integer
1683
+ # resp.task_definition.container_definitions[0].linux_parameters.tmpfs #=> Array
1684
+ # resp.task_definition.container_definitions[0].linux_parameters.tmpfs[0].container_path #=> String
1685
+ # resp.task_definition.container_definitions[0].linux_parameters.tmpfs[0].size #=> Integer
1686
+ # resp.task_definition.container_definitions[0].linux_parameters.tmpfs[0].mount_options #=> Array
1687
+ # resp.task_definition.container_definitions[0].linux_parameters.tmpfs[0].mount_options[0] #=> String
1676
1688
  # resp.task_definition.container_definitions[0].hostname #=> String
1677
1689
  # resp.task_definition.container_definitions[0].user #=> String
1678
1690
  # resp.task_definition.container_definitions[0].working_directory #=> String
@@ -3109,6 +3121,14 @@ module Aws::ECS
3109
3121
  # },
3110
3122
  # ],
3111
3123
  # init_process_enabled: false,
3124
+ # shared_memory_size: 1,
3125
+ # tmpfs: [
3126
+ # {
3127
+ # container_path: "String", # required
3128
+ # size: 1, # required
3129
+ # mount_options: ["String"],
3130
+ # },
3131
+ # ],
3112
3132
  # },
3113
3133
  # hostname: "String",
3114
3134
  # user: "String",
@@ -3209,6 +3229,12 @@ module Aws::ECS
3209
3229
  # resp.task_definition.container_definitions[0].linux_parameters.devices[0].permissions #=> Array
3210
3230
  # resp.task_definition.container_definitions[0].linux_parameters.devices[0].permissions[0] #=> String, one of "read", "write", "mknod"
3211
3231
  # resp.task_definition.container_definitions[0].linux_parameters.init_process_enabled #=> Boolean
3232
+ # resp.task_definition.container_definitions[0].linux_parameters.shared_memory_size #=> Integer
3233
+ # resp.task_definition.container_definitions[0].linux_parameters.tmpfs #=> Array
3234
+ # resp.task_definition.container_definitions[0].linux_parameters.tmpfs[0].container_path #=> String
3235
+ # resp.task_definition.container_definitions[0].linux_parameters.tmpfs[0].size #=> Integer
3236
+ # resp.task_definition.container_definitions[0].linux_parameters.tmpfs[0].mount_options #=> Array
3237
+ # resp.task_definition.container_definitions[0].linux_parameters.tmpfs[0].mount_options[0] #=> String
3212
3238
  # resp.task_definition.container_definitions[0].hostname #=> String
3213
3239
  # resp.task_definition.container_definitions[0].user #=> String
3214
3240
  # resp.task_definition.container_definitions[0].working_directory #=> String
@@ -4228,8 +4254,21 @@ module Aws::ECS
4228
4254
  # definition in a service by specifying the cluster that the service is
4229
4255
  # running in and a new `desiredCount` parameter.
4230
4256
  #
4231
- # You can use UpdateService to modify your task definition and deploy a
4232
- # new version of your service.
4257
+ # If you have updated the Docker image of your application, you can
4258
+ # create a new task definition with that image and deploy it to your
4259
+ # service. The service scheduler uses the minimum healthy percent and
4260
+ # maximum percent parameters (in the service's deployment
4261
+ # configuration) to determine the deployment strategy.
4262
+ #
4263
+ # <note markdown="1"> If your updated Docker image uses the same tag as what is in the
4264
+ # existing task definition for your service (for example,
4265
+ # `my_image:latest`), you do not need to create a new revision of your
4266
+ # task definition. You can update the service using the
4267
+ # `forceNewDeployment` option. The new tasks launched by the deployment
4268
+ # pull the current image/tag combination from your repository when they
4269
+ # start.
4270
+ #
4271
+ # </note>
4233
4272
  #
4234
4273
  # You can also update the deployment configuration of a service. When a
4235
4274
  # deployment is triggered by updating the task definition of a service,
@@ -4344,8 +4383,12 @@ module Aws::ECS
4344
4383
  # The platform version you want to update your service to run.
4345
4384
  #
4346
4385
  # @option params [Boolean] :force_new_deployment
4347
- # Whether to force a new deployment of the service. By default,
4348
- # `--no-force-new-deployment` is assumed unless otherwise specified.
4386
+ # Whether to force a new deployment of the service. Deployments are not
4387
+ # forced by default. You can use this option to trigger a new deployment
4388
+ # with no service definition changes. For example, you can update a
4389
+ # service's tasks to use a newer Docker image with the same image/tag
4390
+ # combination (`my_image:latest`) or to roll Fargate tasks onto a newer
4391
+ # platform version.
4349
4392
  #
4350
4393
  # @option params [Integer] :health_check_grace_period_seconds
4351
4394
  # The period of time, in seconds, that the Amazon ECS service scheduler
@@ -4489,7 +4532,7 @@ module Aws::ECS
4489
4532
  params: params,
4490
4533
  config: config)
4491
4534
  context[:gem_name] = 'aws-sdk-ecs'
4492
- context[:gem_version] = '1.10.0'
4535
+ context[:gem_version] = '1.11.0'
4493
4536
  Seahorse::Client::Request.new(handlers, context)
4494
4537
  end
4495
4538
 
@@ -182,6 +182,8 @@ module Aws::ECS
182
182
  TaskOverride = Shapes::StructureShape.new(name: 'TaskOverride')
183
183
  Tasks = Shapes::ListShape.new(name: 'Tasks')
184
184
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
185
+ Tmpfs = Shapes::StructureShape.new(name: 'Tmpfs')
186
+ TmpfsList = Shapes::ListShape.new(name: 'TmpfsList')
185
187
  TransportProtocol = Shapes::StringShape.new(name: 'TransportProtocol')
186
188
  Ulimit = Shapes::StructureShape.new(name: 'Ulimit')
187
189
  UlimitList = Shapes::ListShape.new(name: 'UlimitList')
@@ -498,6 +500,8 @@ module Aws::ECS
498
500
  LinuxParameters.add_member(:capabilities, Shapes::ShapeRef.new(shape: KernelCapabilities, location_name: "capabilities"))
499
501
  LinuxParameters.add_member(:devices, Shapes::ShapeRef.new(shape: DevicesList, location_name: "devices"))
500
502
  LinuxParameters.add_member(:init_process_enabled, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "initProcessEnabled"))
503
+ LinuxParameters.add_member(:shared_memory_size, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "sharedMemorySize"))
504
+ LinuxParameters.add_member(:tmpfs, Shapes::ShapeRef.new(shape: TmpfsList, location_name: "tmpfs"))
501
505
  LinuxParameters.struct_class = Types::LinuxParameters
502
506
 
503
507
  ListAttributesRequest.add_member(:cluster, Shapes::ShapeRef.new(shape: String, location_name: "cluster"))
@@ -840,6 +844,13 @@ module Aws::ECS
840
844
 
841
845
  Tasks.member = Shapes::ShapeRef.new(shape: Task)
842
846
 
847
+ Tmpfs.add_member(:container_path, Shapes::ShapeRef.new(shape: String, required: true, location_name: "containerPath"))
848
+ Tmpfs.add_member(:size, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "size"))
849
+ Tmpfs.add_member(:mount_options, Shapes::ShapeRef.new(shape: StringList, location_name: "mountOptions"))
850
+ Tmpfs.struct_class = Types::Tmpfs
851
+
852
+ TmpfsList.member = Shapes::ShapeRef.new(shape: Tmpfs)
853
+
843
854
  Ulimit.add_member(:name, Shapes::ShapeRef.new(shape: UlimitName, required: true, location_name: "name"))
844
855
  Ulimit.add_member(:soft_limit, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "softLimit"))
845
856
  Ulimit.add_member(:hard_limit, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "hardLimit"))
@@ -130,13 +130,15 @@ module Aws::ECS
130
130
  # }
131
131
  #
132
132
  # @!attribute [rw] subnets
133
- # The subnets associated with the task or service.
133
+ # The subnets associated with the task or service. There is a limit of
134
+ # 10 subnets able to be specified per AwsVpcConfiguration.
134
135
  # @return [Array<String>]
135
136
  #
136
137
  # @!attribute [rw] security_groups
137
138
  # The security groups associated with the task or service. If you do
138
139
  # not specify a security group, the default security group for the VPC
139
- # is used.
140
+ # is used. There is a limit of 5 security groups able to be specified
141
+ # per AwsVpcConfiguration.
140
142
  # @return [Array<String>]
141
143
  #
142
144
  # @!attribute [rw] assign_public_ip
@@ -341,6 +343,14 @@ module Aws::ECS
341
343
  # },
342
344
  # ],
343
345
  # init_process_enabled: false,
346
+ # shared_memory_size: 1,
347
+ # tmpfs: [
348
+ # {
349
+ # container_path: "String", # required
350
+ # size: 1, # required
351
+ # mount_options: ["String"],
352
+ # },
353
+ # ],
344
354
  # },
345
355
  # hostname: "String",
346
356
  # user: "String",
@@ -1095,20 +1105,25 @@ module Aws::ECS
1095
1105
  # @return [Types::VersionInfo]
1096
1106
  #
1097
1107
  # @!attribute [rw] remaining_resources
1098
- # For most resource types, this parameter describes the remaining
1099
- # resources of the container instance that are available for new
1100
- # tasks. For port resource types, this parameter describes the ports
1101
- # that are reserved by the Amazon ECS container agent and any
1102
- # containers that have reserved port mappings; any port that is not
1103
- # specified here is available for new tasks.
1108
+ # For CPU and memory resource types, this parameter describes the
1109
+ # remaining CPU and memory on the that has not already been allocated
1110
+ # to tasks (and is therefore available for new tasks). For port
1111
+ # resource types, this parameter describes the ports that were
1112
+ # reserved by the Amazon ECS container agent (at instance registration
1113
+ # time) and any task containers that have reserved port mappings on
1114
+ # the host (with the `host` or `bridge` network mode). Any port that
1115
+ # is not specified here is available for new tasks.
1104
1116
  # @return [Array<Types::Resource>]
1105
1117
  #
1106
1118
  # @!attribute [rw] registered_resources
1107
- # For most resource types, this parameter describes the registered
1108
- # resources on the container instance that are in use by current
1109
- # tasks. For port resource types, this parameter describes the ports
1110
- # that were reserved by the Amazon ECS container agent when it
1111
- # registered the container instance with Amazon ECS.
1119
+ # For CPU and memory resource types, this parameter describes the
1120
+ # amount of each resource that was available on the container instance
1121
+ # when the container agent registered it with Amazon ECS; this value
1122
+ # represents the total amount of CPU and memory that can be allocated
1123
+ # on this container instance to tasks. For port resource types, this
1124
+ # parameter describes the ports that were reserved by the Amazon ECS
1125
+ # container agent when it registered the container instance with
1126
+ # Amazon ECS.
1112
1127
  # @return [Array<Types::Resource>]
1113
1128
  #
1114
1129
  # @!attribute [rw] status
@@ -2442,6 +2457,14 @@ module Aws::ECS
2442
2457
  # },
2443
2458
  # ],
2444
2459
  # init_process_enabled: false,
2460
+ # shared_memory_size: 1,
2461
+ # tmpfs: [
2462
+ # {
2463
+ # container_path: "String", # required
2464
+ # size: 1, # required
2465
+ # mount_options: ["String"],
2466
+ # },
2467
+ # ],
2445
2468
  # }
2446
2469
  #
2447
2470
  # @!attribute [rw] capabilities
@@ -2486,12 +2509,32 @@ module Aws::ECS
2486
2509
  # [1]: https://docs.docker.com/engine/reference/run/
2487
2510
  # @return [Boolean]
2488
2511
  #
2512
+ # @!attribute [rw] shared_memory_size
2513
+ # The value for the size of the `/dev/shm` volume. This parameter maps
2514
+ # to the `--shm-size` option to [docker run][1].
2515
+ #
2516
+ #
2517
+ #
2518
+ # [1]: https://docs.docker.com/engine/reference/run/
2519
+ # @return [Integer]
2520
+ #
2521
+ # @!attribute [rw] tmpfs
2522
+ # The container path, mount options, and size of the tmpfs mount. This
2523
+ # parameter maps to the `--tmpfs` option to [docker run][1].
2524
+ #
2525
+ #
2526
+ #
2527
+ # [1]: https://docs.docker.com/engine/reference/run/
2528
+ # @return [Array<Types::Tmpfs>]
2529
+ #
2489
2530
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/LinuxParameters AWS API Documentation
2490
2531
  #
2491
2532
  class LinuxParameters < Struct.new(
2492
2533
  :capabilities,
2493
2534
  :devices,
2494
- :init_process_enabled)
2535
+ :init_process_enabled,
2536
+ :shared_memory_size,
2537
+ :tmpfs)
2495
2538
  include Aws::Structure
2496
2539
  end
2497
2540
 
@@ -3726,6 +3769,14 @@ module Aws::ECS
3726
3769
  # },
3727
3770
  # ],
3728
3771
  # init_process_enabled: false,
3772
+ # shared_memory_size: 1,
3773
+ # tmpfs: [
3774
+ # {
3775
+ # container_path: "String", # required
3776
+ # size: 1, # required
3777
+ # mount_options: ["String"],
3778
+ # },
3779
+ # ],
3729
3780
  # },
3730
3781
  # hostname: "String",
3731
3782
  # user: "String",
@@ -5248,6 +5299,45 @@ module Aws::ECS
5248
5299
  include Aws::Structure
5249
5300
  end
5250
5301
 
5302
+ # The container path, mount options, and size of the tmpfs mount.
5303
+ #
5304
+ # @note When making an API call, you may pass Tmpfs
5305
+ # data as a hash:
5306
+ #
5307
+ # {
5308
+ # container_path: "String", # required
5309
+ # size: 1, # required
5310
+ # mount_options: ["String"],
5311
+ # }
5312
+ #
5313
+ # @!attribute [rw] container_path
5314
+ # The absolute file path where the tmpfs volume will be mounted.
5315
+ # @return [String]
5316
+ #
5317
+ # @!attribute [rw] size
5318
+ # The size of the tmpfs volume.
5319
+ # @return [Integer]
5320
+ #
5321
+ # @!attribute [rw] mount_options
5322
+ # The list of tmpfs volume mount options.
5323
+ #
5324
+ # Valid values: `"defaults" | "ro" | "rw" | "suid" | "nosuid" | "dev"
5325
+ # | "nodev" | "exec" | "noexec" | "sync" | "async" | "dirsync" |
5326
+ # "remount" | "mand" | "nomand" | "atime" | "noatime" | "diratime" |
5327
+ # "nodiratime" | "bind" | "rbind" | "unbindable" | "runbindable" |
5328
+ # "private" | "rprivate" | "shared" | "rshared" | "slave" | "rslave" |
5329
+ # "relatime" | "norelatime" | "strictatime" | "nostrictatime"`
5330
+ # @return [Array<String>]
5331
+ #
5332
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/Tmpfs AWS API Documentation
5333
+ #
5334
+ class Tmpfs < Struct.new(
5335
+ :container_path,
5336
+ :size,
5337
+ :mount_options)
5338
+ include Aws::Structure
5339
+ end
5340
+
5251
5341
  # The `ulimit` settings to pass to the container.
5252
5342
  #
5253
5343
  # @note When making an API call, you may pass Ulimit
@@ -5448,8 +5538,12 @@ module Aws::ECS
5448
5538
  # @return [String]
5449
5539
  #
5450
5540
  # @!attribute [rw] force_new_deployment
5451
- # Whether to force a new deployment of the service. By default,
5452
- # `--no-force-new-deployment` is assumed unless otherwise specified.
5541
+ # Whether to force a new deployment of the service. Deployments are
5542
+ # not forced by default. You can use this option to trigger a new
5543
+ # deployment with no service definition changes. For example, you can
5544
+ # update a service's tasks to use a newer Docker image with the same
5545
+ # image/tag combination (`my_image:latest`) or to roll Fargate tasks
5546
+ # onto a newer platform version.
5453
5547
  # @return [Boolean]
5454
5548
  #
5455
5549
  # @!attribute [rw] health_check_grace_period_seconds
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.10.0
4
+ version: 1.11.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: 2018-03-08 00:00:00.000000000 Z
11
+ date: 2018-03-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core