Skip to content

Commit 4bcc377

Browse files
Update generated code (#1856)
update generated code
1 parent e67521d commit 4bcc377

File tree

9 files changed

+78
-26
lines changed

9 files changed

+78
-26
lines changed

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"variables": {
3-
"${LATEST}": "3.342.3"
3+
"${LATEST}": "3.342.5"
44
},
55
"endpoints": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/endpoints.json",
66
"services": {

src/Service/CloudWatchLogs/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## NOT RELEASED
44

5+
### Changed
6+
7+
- AWS enhancement: Documentation updates.
8+
59
## 2.5.0
610

711
### Added

src/Service/CloudWatchLogs/src/CloudWatchLogsClient.php

Lines changed: 27 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -176,26 +176,45 @@ public function describeLogStreams($input = []): DescribeLogStreamsResponse
176176
}
177177

178178
/**
179-
* Lists log events from the specified log group. You can list all the log events or filter the results using a filter
180-
* pattern, a time range, and the name of the log stream.
179+
* Lists log events from the specified log group. You can list all the log events or filter the results using one or
180+
* more of the following:
181+
*
182+
* - A filter pattern
183+
* - A time range
184+
* - The log stream name, or a log stream name prefix that matches mutltiple log streams
181185
*
182186
* You must have the `logs:FilterLogEvents` permission to perform this operation.
183187
*
184188
* You can specify the log group to search by using either `logGroupIdentifier` or `logGroupName`. You must include one
185189
* of these two parameters, but you can't include both.
186190
*
187-
* By default, this operation returns as many log events as can fit in 1 MB (up to 10,000 log events) or all the events
188-
* found within the specified time range. If the results include a token, that means there are more log events
189-
* available. You can get additional results by specifying the token in a subsequent call. This operation can return
190-
* empty results while there are more log events available through the token.
191+
* `FilterLogEvents` is a paginated operation. Each page returned can contain up to 1 MB of log events or up to 10,000
192+
* log events. A returned page might only be partially full, or even empty. For example, if the result of a query would
193+
* return 15,000 log events, the first page isn't guaranteed to have 10,000 log events even if they all fit into 1 MB.
194+
*
195+
* Partially full or empty pages don't necessarily mean that pagination is finished. If the results include a
196+
* `nextToken`, there might be more log events available. You can return these additional log events by providing the
197+
* nextToken in a subsequent `FilterLogEvents` operation. If the results don't include a `nextToken`, then pagination is
198+
* finished.
199+
*
200+
* > If you set `startFromHead` to `true` and you don’t include `endTime` in your request, you can end up in a
201+
* > situation where the pagination doesn't terminate. This can happen when the new log events are being added to the
202+
* > target log streams faster than they are being read. This situation is a good use case for the CloudWatch Logs Live
203+
* > Tail [^1] feature.
191204
*
192205
* The returned log events are sorted by event timestamp, the timestamp when the event was ingested by CloudWatch Logs,
193206
* and the ID of the `PutLogEvents` request.
194207
*
195208
* If you are using CloudWatch cross-account observability, you can use this operation in a monitoring account and view
196-
* data from the linked source accounts. For more information, see CloudWatch cross-account observability [^1].
209+
* data from the linked source accounts. For more information, see CloudWatch cross-account observability [^2].
197210
*
198-
* [^1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Unified-Cross-Account.html
211+
* > If you are using log transformation [^3], the `FilterLogEvents` operation returns only the original versions of log
212+
* > events, before they were transformed. To view the transformed versions, you must use a CloudWatch Logs query. [^4]
213+
*
214+
* [^1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CloudWatchLogs_LiveTail.html
215+
* [^2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Unified-Cross-Account.html
216+
* [^3]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CloudWatch-Logs-Transformation.html
217+
* [^4]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AnalyzingLogData.html
199218
*
200219
* @see https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_FilterLogEvents.html
201220
* @see https://docs.aws.amazon.com/aws-sdk-php/v3/api/api-logs-2014-03-28.html#filterlogevents

src/Service/CloudWatchLogs/src/Result/FilterLogEventsResponse.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ class FilterLogEventsResponse extends Result implements \IteratorAggregate
3434
/**
3535
* The token to use when requesting the next set of items. The token expires after 24 hours.
3636
*
37+
* If the results don't include a `nextToken`, then pagination is finished.
38+
*
3739
* @var string|null
3840
*/
3941
private $nextToken;

src/Service/CodeBuild/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## NOT RELEASED
44

5+
### Changed
6+
7+
- AWS enhancement: Documentation updates.
8+
59
## 2.8.0
610

711
### Added

src/Service/CodeBuild/src/ValueObject/ProjectEnvironment.php

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -15,22 +15,6 @@ final class ProjectEnvironment
1515
/**
1616
* The type of build environment to use for related builds.
1717
*
18-
* - The environment type `ARM_CONTAINER` is available only in regions US East (N. Virginia), US East (Ohio), US West
19-
* (Oregon), EU (Ireland), Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Sydney), and EU (Frankfurt).
20-
* - The environment type `LINUX_CONTAINER` is available only in regions US East (N. Virginia), US East (Ohio), US West
21-
* (Oregon), Canada (Central), EU (Ireland), EU (London), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Seoul),
22-
* Asia Pacific (Singapore), Asia Pacific (Sydney), China (Beijing), and China (Ningxia).
23-
* - The environment type `LINUX_GPU_CONTAINER` is available only in regions US East (N. Virginia), US East (Ohio), US
24-
* West (Oregon), Canada (Central), EU (Ireland), EU (London), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific
25-
* (Seoul), Asia Pacific (Singapore), Asia Pacific (Sydney) , China (Beijing), and China (Ningxia).
26-
*
27-
* - The environment types `ARM_LAMBDA_CONTAINER` and `LINUX_LAMBDA_CONTAINER` are available only in regions US East (N.
28-
* Virginia), US East (Ohio), US West (Oregon), Asia Pacific (Mumbai), Asia Pacific (Singapore), Asia Pacific
29-
* (Sydney), Asia Pacific (Tokyo), EU (Frankfurt), EU (Ireland), and South America (São Paulo).
30-
*
31-
* - The environment types `WINDOWS_CONTAINER` and `WINDOWS_SERVER_2019_CONTAINER` are available only in regions US East
32-
* (N. Virginia), US East (Ohio), US West (Oregon), and EU (Ireland).
33-
*
3418
* > If you're using compute fleets during project creation, `type` will be ignored.
3519
*
3620
* For more information, see Build environment compute types [^1] in the *CodeBuild user guide*.

src/Service/StepFunctions/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## NOT RELEASED
44

5+
### Added
6+
7+
- AWS api-change: TODO
8+
59
## 1.4.0
610

711
### Added

src/Service/StepFunctions/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
},
2828
"extra": {
2929
"branch-alias": {
30-
"dev-master": "1.4-dev"
30+
"dev-master": "1.5-dev"
3131
}
3232
}
3333
}

src/Service/StepFunctions/src/StepFunctionsClient.php

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,20 @@ protected function getEndpointMetadata(?string $region): array
311311
'signService' => 'states',
312312
'signVersions' => ['v4'],
313313
];
314+
case 'fips-ca-central-1':
315+
return [
316+
'endpoint' => 'https://states-fips.ca-central-1.amazonaws.com',
317+
'signRegion' => 'ca-central-1',
318+
'signService' => 'states',
319+
'signVersions' => ['v4'],
320+
];
321+
case 'fips-ca-west-1':
322+
return [
323+
'endpoint' => 'https://states-fips.ca-west-1.amazonaws.com',
324+
'signRegion' => 'ca-west-1',
325+
'signService' => 'states',
326+
'signVersions' => ['v4'],
327+
];
314328
case 'fips-us-east-1':
315329
return [
316330
'endpoint' => 'https://states-fips.us-east-1.amazonaws.com',
@@ -376,6 +390,27 @@ protected function getEndpointMetadata(?string $region): array
376390
'signService' => 'states',
377391
'signVersions' => ['v4'],
378392
];
393+
case 'fips-us-iso-east-1':
394+
return [
395+
'endpoint' => 'https://states-fips.us-iso-east-1.c2s.ic.gov',
396+
'signRegion' => 'us-iso-east-1',
397+
'signService' => 'states',
398+
'signVersions' => ['v4'],
399+
];
400+
case 'fips-us-iso-west-1':
401+
return [
402+
'endpoint' => 'https://states-fips.us-iso-west-1.c2s.ic.gov',
403+
'signRegion' => 'us-iso-west-1',
404+
'signService' => 'states',
405+
'signVersions' => ['v4'],
406+
];
407+
case 'fips-us-isob-east-1':
408+
return [
409+
'endpoint' => 'https://states-fips.us-isob-east-1.sc2s.sgov.gov',
410+
'signRegion' => 'us-isob-east-1',
411+
'signService' => 'states',
412+
'signVersions' => ['v4'],
413+
];
379414
}
380415

381416
return [

0 commit comments

Comments
 (0)