From 26c8ff137188f695295cc67498019af82b979b1d Mon Sep 17 00:00:00 2001 From: AsyncAws Bot Date: Thu, 1 May 2025 06:33:15 +0000 Subject: [PATCH] update generated code --- manifest.json | 2 +- src/Service/CloudWatchLogs/CHANGELOG.md | 1 + src/Service/CloudWatchLogs/src/CloudWatchLogsClient.php | 2 +- src/Service/CloudWatchLogs/src/Enum/LogGroupClass.php | 2 ++ .../CloudWatchLogs/src/Input/CreateLogGroupRequest.php | 5 ++++- src/Service/CloudWatchLogs/src/ValueObject/InputLogEvent.php | 2 +- src/Service/Ecr/src/Result/GetAuthorizationTokenResponse.php | 3 --- 7 files changed, 10 insertions(+), 7 deletions(-) diff --git a/manifest.json b/manifest.json index 18f7e2cee..e3f0e75a2 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "variables": { - "${LATEST}": "3.343.0" + "${LATEST}": "3.343.1" }, "endpoints": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/endpoints.json", "services": { diff --git a/src/Service/CloudWatchLogs/CHANGELOG.md b/src/Service/CloudWatchLogs/CHANGELOG.md index 13e55494c..8bbbbfa13 100644 --- a/src/Service/CloudWatchLogs/CHANGELOG.md +++ b/src/Service/CloudWatchLogs/CHANGELOG.md @@ -5,6 +5,7 @@ ### Added - AWS api-change: Added `eu-isoe-west-1` region +- AWS api-change: CloudWatch Logs supports "DELIVERY" log class. This log class is used only for delivering AWS Lambda logs to Amazon S3 or Amazon Data Firehose. ### Changed diff --git a/src/Service/CloudWatchLogs/src/CloudWatchLogsClient.php b/src/Service/CloudWatchLogs/src/CloudWatchLogsClient.php index 2d2a7f5a2..d858f0119 100644 --- a/src/Service/CloudWatchLogs/src/CloudWatchLogsClient.php +++ b/src/Service/CloudWatchLogs/src/CloudWatchLogsClient.php @@ -268,7 +268,7 @@ public function filterLogEvents($input = []): FilterLogEventsResponse * Tools for PowerShell and the Amazon Web Services SDK for .NET, the timestamp is specified in .NET format: * `yyyy-mm-ddThh:mm:ss`. For example, `2017-09-15T13:45:30`.) * - A batch of log events in a single request cannot span more than 24 hours. Otherwise, the operation fails. - * - Each log event can be no larger than 256 KB. + * - Each log event can be no larger than 1 MB. * - The maximum number of log events in a batch is 10,000. * - * - ! The quota of five requests per second per log stream has been removed. Instead, `PutLogEvents` actions are diff --git a/src/Service/CloudWatchLogs/src/Enum/LogGroupClass.php b/src/Service/CloudWatchLogs/src/Enum/LogGroupClass.php index 07698bce4..38c35034e 100644 --- a/src/Service/CloudWatchLogs/src/Enum/LogGroupClass.php +++ b/src/Service/CloudWatchLogs/src/Enum/LogGroupClass.php @@ -4,12 +4,14 @@ final class LogGroupClass { + public const DELIVERY = 'DELIVERY'; public const INFREQUENT_ACCESS = 'INFREQUENT_ACCESS'; public const STANDARD = 'STANDARD'; public static function exists(string $value): bool { return isset([ + self::DELIVERY => true, self::INFREQUENT_ACCESS => true, self::STANDARD => true, ][$value]); diff --git a/src/Service/CloudWatchLogs/src/Input/CreateLogGroupRequest.php b/src/Service/CloudWatchLogs/src/Input/CreateLogGroupRequest.php index 9b40407f5..39f9e6af8 100644 --- a/src/Service/CloudWatchLogs/src/Input/CreateLogGroupRequest.php +++ b/src/Service/CloudWatchLogs/src/Input/CreateLogGroupRequest.php @@ -46,10 +46,13 @@ final class CreateLogGroupRequest extends Input private $tags; /** - * Use this parameter to specify the log group class for this log group. There are two classes: + * Use this parameter to specify the log group class for this log group. There are three classes: * * - The `Standard` log class supports all CloudWatch Logs features. * - The `Infrequent Access` log class supports a subset of CloudWatch Logs features and incurs lower costs. + * - Use the `Delivery` log class only for delivering Lambda logs to store in Amazon S3 or Amazon Data Firehose. Log + * events in log groups in the Delivery class are kept in CloudWatch Logs for only one day. This log class doesn't + * offer rich CloudWatch Logs capabilities such as CloudWatch Logs Insights queries. * * If you omit this parameter, the default of `STANDARD` is used. * diff --git a/src/Service/CloudWatchLogs/src/ValueObject/InputLogEvent.php b/src/Service/CloudWatchLogs/src/ValueObject/InputLogEvent.php index 51aec18f2..ab4059f1e 100644 --- a/src/Service/CloudWatchLogs/src/ValueObject/InputLogEvent.php +++ b/src/Service/CloudWatchLogs/src/ValueObject/InputLogEvent.php @@ -18,7 +18,7 @@ final class InputLogEvent private $timestamp; /** - * The raw event message. Each log event can be no larger than 256 KB. + * The raw event message. Each log event can be no larger than 1 MB. * * @var string */ diff --git a/src/Service/Ecr/src/Result/GetAuthorizationTokenResponse.php b/src/Service/Ecr/src/Result/GetAuthorizationTokenResponse.php index edb093c44..4970994ff 100644 --- a/src/Service/Ecr/src/Result/GetAuthorizationTokenResponse.php +++ b/src/Service/Ecr/src/Result/GetAuthorizationTokenResponse.php @@ -11,9 +11,6 @@ class GetAuthorizationTokenResponse extends Result /** * A list of authorization token data objects that correspond to the `registryIds` values in the request. * - * > The size of the authorization token returned by Amazon ECR is not fixed. We recommend that you don't make - * > assumptions about the maximum size. - * * @var AuthorizationData[] */ private $authorizationData;