aws-sdk-ecs 1.160.0 → 1.162.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ecs/client.rb +12 -29
- data/lib/aws-sdk-ecs/types.rb +197 -8
- data/lib/aws-sdk-ecs.rb +3 -1
- 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: bb4b72671b0e9cb778b7b4d15c95f1ca241c1a569d601aaac7ac6e67505b5b95
|
4
|
+
data.tar.gz: f5b249ff7b9265a28872e21c01925e25a9e97ddc864a608b79b472e0b204de4a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e4e6ca2b76e483c818816bf002a1deef60cae9a1d9f63a2e88f3b4de775a2453023a5ac11d4652a85dc659ac23be3723db87ffda7f648779617583a83605e77c
|
7
|
+
data.tar.gz: b571ed1ca314aca94d80ea7d9dd4dc258dfef6f84d390bc6cda5a6165798dfbfa5058b32936e261d3a1752984ee2cd50765a1190243f12be442a2577d2c2b1b5
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.162.0 (2024-10-10)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This is a documentation only release that updates to documentation to let customers know that Amazon Elastic Inference is no longer available.
|
8
|
+
|
9
|
+
1.161.0 (2024-09-24)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.160.0 (2024-09-23)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.162.0
|
data/lib/aws-sdk-ecs/client.rb
CHANGED
@@ -36,8 +36,6 @@ require 'aws-sdk-core/plugins/telemetry.rb'
|
|
36
36
|
require 'aws-sdk-core/plugins/sign.rb'
|
37
37
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
38
38
|
|
39
|
-
Aws::Plugins::GlobalConfiguration.add_identifier(:ecs)
|
40
|
-
|
41
39
|
module Aws::ECS
|
42
40
|
# An API client for ECS. To construct a client, you need to configure a `:region` and `:credentials`.
|
43
41
|
#
|
@@ -834,6 +832,10 @@ module Aws::ECS
|
|
834
832
|
#
|
835
833
|
# </note>
|
836
834
|
#
|
835
|
+
# <note markdown="1"> Amazon Elastic Inference (EI) is no longer available to customers.
|
836
|
+
#
|
837
|
+
# </note>
|
838
|
+
#
|
837
839
|
# In addition to maintaining the desired count of tasks in your service,
|
838
840
|
# you can optionally run your service behind one or more load balancers.
|
839
841
|
# The load balancers distribute traffic across the tasks that are
|
@@ -934,15 +936,6 @@ module Aws::ECS
|
|
934
936
|
# strategies, see [Amazon ECS task placement][7] in the *Amazon Elastic
|
935
937
|
# Container Service Developer Guide*
|
936
938
|
#
|
937
|
-
# Starting April 15, 2023, Amazon Web Services will not onboard new
|
938
|
-
# customers to Amazon Elastic Inference (EI), and will help current
|
939
|
-
# customers migrate their workloads to options that offer better price
|
940
|
-
# and performance. After April 15, 2023, new customers will not be able
|
941
|
-
# to launch instances with Amazon EI accelerators in Amazon SageMaker,
|
942
|
-
# Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI
|
943
|
-
# at least once during the past 30-day period are considered current
|
944
|
-
# customers and will be able to continue using the service.
|
945
|
-
#
|
946
939
|
#
|
947
940
|
#
|
948
941
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_UpdateService.html
|
@@ -7327,6 +7320,10 @@ module Aws::ECS
|
|
7327
7320
|
#
|
7328
7321
|
# </note>
|
7329
7322
|
#
|
7323
|
+
# <note markdown="1"> Amazon Elastic Inference (EI) is no longer available to customers.
|
7324
|
+
#
|
7325
|
+
# </note>
|
7326
|
+
#
|
7330
7327
|
# You can allow Amazon ECS to place tasks for you, or you can customize
|
7331
7328
|
# how Amazon ECS places tasks using placement constraints and placement
|
7332
7329
|
# strategies. For more information, see [Scheduling Tasks][1] in the
|
@@ -7335,15 +7332,6 @@ module Aws::ECS
|
|
7335
7332
|
# Alternatively, you can use `StartTask` to use your own scheduler or
|
7336
7333
|
# place tasks manually on specific container instances.
|
7337
7334
|
#
|
7338
|
-
# Starting April 15, 2023, Amazon Web Services will not onboard new
|
7339
|
-
# customers to Amazon Elastic Inference (EI), and will help current
|
7340
|
-
# customers migrate their workloads to options that offer better price
|
7341
|
-
# and performance. After April 15, 2023, new customers will not be able
|
7342
|
-
# to launch instances with Amazon EI accelerators in Amazon SageMaker,
|
7343
|
-
# Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI
|
7344
|
-
# at least once during the past 30-day period are considered current
|
7345
|
-
# customers and will be able to continue using the service.
|
7346
|
-
#
|
7347
7335
|
# You can attach Amazon EBS volumes to Amazon ECS tasks by configuring
|
7348
7336
|
# the volume when creating or updating a service. For more infomation,
|
7349
7337
|
# see [Amazon EBS volumes][2] in the *Amazon Elastic Container Service
|
@@ -7911,14 +7899,9 @@ module Aws::ECS
|
|
7911
7899
|
#
|
7912
7900
|
# </note>
|
7913
7901
|
#
|
7914
|
-
#
|
7915
|
-
#
|
7916
|
-
#
|
7917
|
-
# and performance. After April 15, 2023, new customers will not be able
|
7918
|
-
# to launch instances with Amazon EI accelerators in Amazon SageMaker,
|
7919
|
-
# Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI
|
7920
|
-
# at least once during the past 30-day period are considered current
|
7921
|
-
# customers and will be able to continue using the service.
|
7902
|
+
# <note markdown="1"> Amazon Elastic Inference (EI) is no longer available to customers.
|
7903
|
+
#
|
7904
|
+
# </note>
|
7922
7905
|
#
|
7923
7906
|
# Alternatively, you can use`RunTask` to place tasks for you. For more
|
7924
7907
|
# information, see [Scheduling Tasks][1] in the *Amazon Elastic
|
@@ -10448,7 +10431,7 @@ module Aws::ECS
|
|
10448
10431
|
tracer: tracer
|
10449
10432
|
)
|
10450
10433
|
context[:gem_name] = 'aws-sdk-ecs'
|
10451
|
-
context[:gem_version] = '1.
|
10434
|
+
context[:gem_version] = '1.162.0'
|
10452
10435
|
Seahorse::Client::Request.new(handlers, context)
|
10453
10436
|
end
|
10454
10437
|
|
data/lib/aws-sdk-ecs/types.rb
CHANGED
@@ -405,8 +405,10 @@ module Aws::ECS
|
|
405
405
|
# that's discounted compared to the `FARGATE` price. `FARGATE_SPOT`
|
406
406
|
# runs tasks on spare compute capacity. When Amazon Web Services needs
|
407
407
|
# the capacity back, your tasks are interrupted with a two-minute
|
408
|
-
# warning. `FARGATE_SPOT`
|
409
|
-
# architecture on platform version 1.3.0 or later.
|
408
|
+
# warning. `FARGATE_SPOT` supports Linux tasks with the X86\_64
|
409
|
+
# architecture on platform version 1.3.0 or later. `FARGATE_SPOT`
|
410
|
+
# supports Linux tasks with the ARM64 architecture on platform version
|
411
|
+
# 1.4.0 or later.
|
410
412
|
#
|
411
413
|
# A capacity provider strategy may contain a maximum of 6 capacity
|
412
414
|
# providers.
|
@@ -6528,12 +6530,199 @@ module Aws::ECS
|
|
6528
6530
|
# @return [String]
|
6529
6531
|
#
|
6530
6532
|
# @!attribute [rw] options
|
6531
|
-
# The configuration options to send to the log driver.
|
6532
|
-
#
|
6533
|
-
#
|
6534
|
-
#
|
6535
|
-
#
|
6536
|
-
#
|
6533
|
+
# The configuration options to send to the log driver.
|
6534
|
+
#
|
6535
|
+
# The options you can specify depend on the log driver. Some of the
|
6536
|
+
# options you can specify when you use the `awslogs` log driver to
|
6537
|
+
# route logs to Amazon CloudWatch include the following:
|
6538
|
+
#
|
6539
|
+
# awslogs-create-group
|
6540
|
+
#
|
6541
|
+
# : Required: No
|
6542
|
+
#
|
6543
|
+
# Specify whether you want the log group to be created
|
6544
|
+
# automatically. If this option isn't specified, it defaults to
|
6545
|
+
# `false`.
|
6546
|
+
#
|
6547
|
+
# <note markdown="1"> Your IAM policy must include the `logs:CreateLogGroup` permission
|
6548
|
+
# before you attempt to use `awslogs-create-group`.
|
6549
|
+
#
|
6550
|
+
# </note>
|
6551
|
+
#
|
6552
|
+
# awslogs-region
|
6553
|
+
#
|
6554
|
+
# : Required: Yes
|
6555
|
+
#
|
6556
|
+
# Specify the Amazon Web Services Region that the `awslogs` log
|
6557
|
+
# driver is to send your Docker logs to. You can choose to send all
|
6558
|
+
# of your logs from clusters in different Regions to a single region
|
6559
|
+
# in CloudWatch Logs. This is so that they're all visible in one
|
6560
|
+
# location. Otherwise, you can separate them by Region for more
|
6561
|
+
# granularity. Make sure that the specified log group exists in the
|
6562
|
+
# Region that you specify with this option.
|
6563
|
+
#
|
6564
|
+
# awslogs-group
|
6565
|
+
#
|
6566
|
+
# : Required: Yes
|
6567
|
+
#
|
6568
|
+
# Make sure to specify a log group that the `awslogs` log driver
|
6569
|
+
# sends its log streams to.
|
6570
|
+
#
|
6571
|
+
# awslogs-stream-prefix
|
6572
|
+
#
|
6573
|
+
# : Required: Yes, when using the Fargate launch type.Optional for the
|
6574
|
+
# EC2 launch type, required for the Fargate launch type.
|
6575
|
+
#
|
6576
|
+
# Use the `awslogs-stream-prefix` option to associate a log stream
|
6577
|
+
# with the specified prefix, the container name, and the ID of the
|
6578
|
+
# Amazon ECS task that the container belongs to. If you specify a
|
6579
|
+
# prefix with this option, then the log stream takes the format
|
6580
|
+
# `prefix-name/container-name/ecs-task-id`.
|
6581
|
+
#
|
6582
|
+
# If you don't specify a prefix with this option, then the log
|
6583
|
+
# stream is named after the container ID that's assigned by the
|
6584
|
+
# Docker daemon on the container instance. Because it's difficult
|
6585
|
+
# to trace logs back to the container that sent them with just the
|
6586
|
+
# Docker container ID (which is only available on the container
|
6587
|
+
# instance), we recommend that you specify a prefix with this
|
6588
|
+
# option.
|
6589
|
+
#
|
6590
|
+
# For Amazon ECS services, you can use the service name as the
|
6591
|
+
# prefix. Doing so, you can trace log streams to the service that
|
6592
|
+
# the container belongs to, the name of the container that sent
|
6593
|
+
# them, and the ID of the task that the container belongs to.
|
6594
|
+
#
|
6595
|
+
# You must specify a stream-prefix for your logs to have your logs
|
6596
|
+
# appear in the Log pane when using the Amazon ECS console.
|
6597
|
+
#
|
6598
|
+
# awslogs-datetime-format
|
6599
|
+
#
|
6600
|
+
# : Required: No
|
6601
|
+
#
|
6602
|
+
# This option defines a multiline start pattern in Python `strftime`
|
6603
|
+
# format. A log message consists of a line that matches the pattern
|
6604
|
+
# and any following lines that don’t match the pattern. The matched
|
6605
|
+
# line is the delimiter between log messages.
|
6606
|
+
#
|
6607
|
+
# One example of a use case for using this format is for parsing
|
6608
|
+
# output such as a stack dump, which might otherwise be logged in
|
6609
|
+
# multiple entries. The correct pattern allows it to be captured in
|
6610
|
+
# a single entry.
|
6611
|
+
#
|
6612
|
+
# For more information, see [awslogs-datetime-format][1].
|
6613
|
+
#
|
6614
|
+
# You cannot configure both the `awslogs-datetime-format` and
|
6615
|
+
# `awslogs-multiline-pattern` options.
|
6616
|
+
#
|
6617
|
+
# <note markdown="1"> Multiline logging performs regular expression parsing and matching
|
6618
|
+
# of all log messages. This might have a negative impact on logging
|
6619
|
+
# performance.
|
6620
|
+
#
|
6621
|
+
# </note>
|
6622
|
+
#
|
6623
|
+
# awslogs-multiline-pattern
|
6624
|
+
#
|
6625
|
+
# : Required: No
|
6626
|
+
#
|
6627
|
+
# This option defines a multiline start pattern that uses a regular
|
6628
|
+
# expression. A log message consists of a line that matches the
|
6629
|
+
# pattern and any following lines that don’t match the pattern. The
|
6630
|
+
# matched line is the delimiter between log messages.
|
6631
|
+
#
|
6632
|
+
# For more information, see [awslogs-multiline-pattern][2].
|
6633
|
+
#
|
6634
|
+
# This option is ignored if `awslogs-datetime-format` is also
|
6635
|
+
# configured.
|
6636
|
+
#
|
6637
|
+
# You cannot configure both the `awslogs-datetime-format` and
|
6638
|
+
# `awslogs-multiline-pattern` options.
|
6639
|
+
#
|
6640
|
+
# <note markdown="1"> Multiline logging performs regular expression parsing and matching
|
6641
|
+
# of all log messages. This might have a negative impact on logging
|
6642
|
+
# performance.
|
6643
|
+
#
|
6644
|
+
# </note>
|
6645
|
+
#
|
6646
|
+
# mode
|
6647
|
+
#
|
6648
|
+
# : Required: No
|
6649
|
+
#
|
6650
|
+
# Valid values: `non-blocking` \| `blocking`
|
6651
|
+
#
|
6652
|
+
# This option defines the delivery mode of log messages from the
|
6653
|
+
# container to CloudWatch Logs. The delivery mode you choose affects
|
6654
|
+
# application availability when the flow of logs from container to
|
6655
|
+
# CloudWatch is interrupted.
|
6656
|
+
#
|
6657
|
+
# If you use the `blocking` mode and the flow of logs to CloudWatch
|
6658
|
+
# is interrupted, calls from container code to write to the `stdout`
|
6659
|
+
# and `stderr` streams will block. The logging thread of the
|
6660
|
+
# application will block as a result. This may cause the application
|
6661
|
+
# to become unresponsive and lead to container healthcheck failure.
|
6662
|
+
#
|
6663
|
+
# If you use the `non-blocking` mode, the container's logs are
|
6664
|
+
# instead stored in an in-memory intermediate buffer configured with
|
6665
|
+
# the `max-buffer-size` option. This prevents the application from
|
6666
|
+
# becoming unresponsive when logs cannot be sent to CloudWatch. We
|
6667
|
+
# recommend using this mode if you want to ensure service
|
6668
|
+
# availability and are okay with some log loss. For more
|
6669
|
+
# information, see [Preventing log loss with non-blocking mode in
|
6670
|
+
# the `awslogs` container log driver][3].
|
6671
|
+
#
|
6672
|
+
# max-buffer-size
|
6673
|
+
#
|
6674
|
+
# : Required: No
|
6675
|
+
#
|
6676
|
+
# Default value: `1m`
|
6677
|
+
#
|
6678
|
+
# When `non-blocking` mode is used, the `max-buffer-size` log option
|
6679
|
+
# controls the size of the buffer that's used for intermediate
|
6680
|
+
# message storage. Make sure to specify an adequate buffer size
|
6681
|
+
# based on your application. When the buffer fills up, further logs
|
6682
|
+
# cannot be stored. Logs that cannot be stored are lost.
|
6683
|
+
#
|
6684
|
+
# To route logs using the `splunk` log router, you need to specify a
|
6685
|
+
# `splunk-token` and a `splunk-url`.
|
6686
|
+
#
|
6687
|
+
# When you use the `awsfirelens` log router to route logs to an Amazon
|
6688
|
+
# Web Services Service or Amazon Web Services Partner Network
|
6689
|
+
# destination for log storage and analytics, you can set the
|
6690
|
+
# `log-driver-buffer-limit` option to limit the number of events that
|
6691
|
+
# are buffered in memory, before being sent to the log router
|
6692
|
+
# container. It can help to resolve potential log loss issue because
|
6693
|
+
# high throughput might result in memory running out for the buffer
|
6694
|
+
# inside of Docker.
|
6695
|
+
#
|
6696
|
+
# Other options you can specify when using `awsfirelens` to route logs
|
6697
|
+
# depend on the destination. When you export logs to Amazon Data
|
6698
|
+
# Firehose, you can specify the Amazon Web Services Region with
|
6699
|
+
# `region` and a name for the log stream with `delivery_stream`.
|
6700
|
+
#
|
6701
|
+
# When you export logs to Amazon Kinesis Data Streams, you can specify
|
6702
|
+
# an Amazon Web Services Region with `region` and a data stream name
|
6703
|
+
# with `stream`.
|
6704
|
+
#
|
6705
|
+
# When you export logs to Amazon OpenSearch Service, you can specify
|
6706
|
+
# options like `Name`, `Host` (OpenSearch Service endpoint without
|
6707
|
+
# protocol), `Port`, `Index`, `Type`, `Aws_auth`, `Aws_region`,
|
6708
|
+
# `Suppress_Type_Name`, and `tls`.
|
6709
|
+
#
|
6710
|
+
# When you export logs to Amazon S3, you can specify the bucket using
|
6711
|
+
# the `bucket` option. You can also specify `region`,
|
6712
|
+
# `total_file_size`, `upload_timeout`, and `use_put_object` as
|
6713
|
+
# options.
|
6714
|
+
#
|
6715
|
+
# This parameter requires version 1.19 of the Docker Remote API or
|
6716
|
+
# greater on your container instance. To check the Docker Remote API
|
6717
|
+
# version on your container instance, log in to your container
|
6718
|
+
# instance and run the following command: `sudo docker version
|
6719
|
+
# --format '\{\{.Server.APIVersion\}\}'`
|
6720
|
+
#
|
6721
|
+
#
|
6722
|
+
#
|
6723
|
+
# [1]: https://docs.docker.com/config/containers/logging/awslogs/#awslogs-datetime-format
|
6724
|
+
# [2]: https://docs.docker.com/config/containers/logging/awslogs/#awslogs-multiline-pattern
|
6725
|
+
# [3]: http://aws.amazon.com/blogs/containers/preventing-log-loss-with-non-blocking-mode-in-the-awslogs-container-log-driver/
|
6537
6726
|
# @return [Hash<String,String>]
|
6538
6727
|
#
|
6539
6728
|
# @!attribute [rw] secret_options
|
data/lib/aws-sdk-ecs.rb
CHANGED
@@ -11,6 +11,8 @@
|
|
11
11
|
require 'aws-sdk-core'
|
12
12
|
require 'aws-sigv4'
|
13
13
|
|
14
|
+
Aws::Plugins::GlobalConfiguration.add_identifier(:ecs)
|
15
|
+
|
14
16
|
# This module provides support for Amazon EC2 Container Service. This module is available in the
|
15
17
|
# `aws-sdk-ecs` gem.
|
16
18
|
#
|
@@ -53,7 +55,7 @@ module Aws::ECS
|
|
53
55
|
autoload :EndpointProvider, 'aws-sdk-ecs/endpoint_provider'
|
54
56
|
autoload :Endpoints, 'aws-sdk-ecs/endpoints'
|
55
57
|
|
56
|
-
GEM_VERSION = '1.
|
58
|
+
GEM_VERSION = '1.162.0'
|
57
59
|
|
58
60
|
end
|
59
61
|
|
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.162.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: 2024-
|
11
|
+
date: 2024-10-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|