Skip to content

Commit d8a4ca1

Browse files
committed
update generated code
1 parent 774e8cf commit d8a4ca1

File tree

98 files changed

+1294
-346
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+1294
-346
lines changed

manifest.json

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

src/Core/CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
### Changed
66

77
- Allow passing explicit null values for optional fields of input objects
8+
- AWS enhancement: Documentation updates.
89

910
### Fixed
1011

src/Core/src/Sts/Input/AssumeRoleRequest.php

+7-1
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,13 @@ final class AssumeRoleRequest extends Input
230230
private $sourceIdentity;
231231

232232
/**
233-
* Reserved for future use.
233+
* A list of previously acquired trusted context assertions in the format of a JSON array. The trusted context assertion
234+
* is signed and encrypted by Amazon Web Services STS.
235+
*
236+
* The following is an example of a `ProvidedContext` value that includes a single trusted context assertion and the ARN
237+
* of the context provider from which the trusted context assertion was generated.
238+
*
239+
* `[{"ProviderArn":"arn:aws:iam::aws:contextProvider/identitycenter","ContextAssertion":"trusted-context-assertion"}]`
234240
*
235241
* @var ProvidedContext[]|null
236242
*/

src/Core/src/Sts/ValueObject/ProvidedContext.php

+5-3
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,21 @@
33
namespace AsyncAws\Core\Sts\ValueObject;
44

55
/**
6-
* Reserved for future use.
6+
* Contains information about the provided context. This includes the signed and encrypted trusted context assertion and
7+
* the context provider ARN from which the trusted context assertion was generated.
78
*/
89
final class ProvidedContext
910
{
1011
/**
11-
* Reserved for future use.
12+
* The context provider ARN from which the trusted context assertion was generated.
1213
*
1314
* @var string|null
1415
*/
1516
private $providerArn;
1617

1718
/**
18-
* Reserved for future use.
19+
* The signed and encrypted trusted context assertion generated by the context provider. The trusted context assertion
20+
* is signed and encrypted by Amazon Web Services STS.
1921
*
2022
* @var string|null
2123
*/

src/Service/Athena/CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
### Added
66

77
- Added `il-central-1` region
8+
- AWS api-change: Adding SerivicePreProcessing time metric
89

910
### Changed
1011

src/Service/Athena/src/AthenaClient.php

+7-18
Original file line numberDiff line numberDiff line change
@@ -406,11 +406,6 @@ public function listDatabases($input): ListDatabasesOutput
406406
* access to the specified workgroup. If a workgroup is not specified, lists the saved queries for the primary
407407
* workgroup.
408408
*
409-
* For code samples using the Amazon Web Services SDK for Java, see Examples and Code Samples [^1] in the *Amazon Athena
410-
* User Guide*.
411-
*
412-
* [^1]: http://docs.aws.amazon.com/athena/latest/ug/code-samples.html
413-
*
414409
* @see https://docs.aws.amazon.com/athena/latest/APIReference/API_ListNamedQueries.html
415410
* @see https://docs.aws.amazon.com/aws-sdk-php/v3/api/api-athena-2017-05-18.html#listnamedqueries
416411
*
@@ -436,14 +431,9 @@ public function listNamedQueries($input = []): ListNamedQueriesOutput
436431
}
437432

438433
/**
439-
* Provides a list of available query execution IDs for the queries in the specified workgroup. If a workgroup is not
440-
* specified, returns a list of query execution IDs for the primary workgroup. Requires you to have access to the
441-
* workgroup in which the queries ran.
442-
*
443-
* For code samples using the Amazon Web Services SDK for Java, see Examples and Code Samples [^1] in the *Amazon Athena
444-
* User Guide*.
445-
*
446-
* [^1]: http://docs.aws.amazon.com/athena/latest/ug/code-samples.html
434+
* Provides a list of available query execution IDs for the queries in the specified workgroup. Athena keeps a query
435+
* history for 45 days. If a workgroup is not specified, returns a list of query execution IDs for the primary
436+
* workgroup. Requires you to have access to the workgroup in which the queries ran.
447437
*
448438
* @see https://docs.aws.amazon.com/athena/latest/APIReference/API_ListQueryExecutions.html
449439
* @see https://docs.aws.amazon.com/aws-sdk-php/v3/api/api-athena-2017-05-18.html#listqueryexecutions
@@ -504,6 +494,10 @@ public function listTableMetadata($input): ListTableMetadataOutput
504494
* Submits calculations for execution within a session. You can supply the code to run as an inline code block within
505495
* the request.
506496
*
497+
* > The request syntax requires the StartCalculationExecutionRequest$CodeBlock parameter or the
498+
* > CalculationConfiguration$CodeBlock parameter, but not both. Because CalculationConfiguration$CodeBlock is
499+
* > deprecated, use the StartCalculationExecutionRequest$CodeBlock parameter instead.
500+
*
507501
* @see https://docs.aws.amazon.com/athena/latest/APIReference/API_StartCalculationExecution.html
508502
* @see https://docs.aws.amazon.com/aws-sdk-php/v3/api/api-athena-2017-05-18.html#startcalculationexecution
509503
*
@@ -641,11 +635,6 @@ public function stopCalculationExecution($input): StopCalculationExecutionRespon
641635
/**
642636
* Stops a query execution. Requires you to have access to the workgroup in which the query ran.
643637
*
644-
* For code samples using the Amazon Web Services SDK for Java, see Examples and Code Samples [^1] in the *Amazon Athena
645-
* User Guide*.
646-
*
647-
* [^1]: http://docs.aws.amazon.com/athena/latest/ug/code-samples.html
648-
*
649638
* @see https://docs.aws.amazon.com/athena/latest/APIReference/API_StopQueryExecution.html
650639
* @see https://docs.aws.amazon.com/aws-sdk-php/v3/api/api-athena-2017-05-18.html#stopqueryexecution
651640
*

src/Service/Athena/src/Input/StartCalculationExecutionRequest.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ final class StartCalculationExecutionRequest extends Input
3434
private $calculationConfiguration;
3535

3636
/**
37-
* A string that contains the code of the calculation.
37+
* A string that contains the code of the calculation. Use this parameter instead of CalculationConfiguration$CodeBlock,
38+
* which is deprecated.
3839
*
3940
* @var string|null
4041
*/

src/Service/Athena/src/Result/GetQueryExecutionOutput.php

+1
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ private function populateResultQueryExecutionStatistics(array $json): QueryExecu
123123
'DataManifestLocation' => isset($json['DataManifestLocation']) ? (string) $json['DataManifestLocation'] : null,
124124
'TotalExecutionTimeInMillis' => isset($json['TotalExecutionTimeInMillis']) ? (int) $json['TotalExecutionTimeInMillis'] : null,
125125
'QueryQueueTimeInMillis' => isset($json['QueryQueueTimeInMillis']) ? (int) $json['QueryQueueTimeInMillis'] : null,
126+
'ServicePreProcessingTimeInMillis' => isset($json['ServicePreProcessingTimeInMillis']) ? (int) $json['ServicePreProcessingTimeInMillis'] : null,
126127
'QueryPlanningTimeInMillis' => isset($json['QueryPlanningTimeInMillis']) ? (int) $json['QueryPlanningTimeInMillis'] : null,
127128
'ServiceProcessingTimeInMillis' => isset($json['ServiceProcessingTimeInMillis']) ? (int) $json['ServiceProcessingTimeInMillis'] : null,
128129
'ResultReuseInformation' => empty($json['ResultReuseInformation']) ? null : $this->populateResultResultReuseInformation($json['ResultReuseInformation']),

src/Service/Athena/src/ValueObject/CustomerContentEncryptionConfiguration.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
use AsyncAws\Core\Exception\InvalidArgument;
66

77
/**
8-
* Specifies the KMS key that is used to encrypt the user's data stores in Athena. This setting does not apply to Athena
9-
* SQL workgroups.
8+
* Specifies the customer managed KMS key that is used to encrypt the user's data stores in Athena. When an Amazon Web
9+
* Services managed key is used, this value is null. This setting does not apply to Athena SQL workgroups.
1010
*/
1111
final class CustomerContentEncryptionConfiguration
1212
{
1313
/**
14-
* The KMS key that is used to encrypt the user's data stores in Athena.
14+
* The customer managed KMS key that is used to encrypt the user's data stores in Athena.
1515
*
1616
* @var string
1717
*/

src/Service/Athena/src/ValueObject/DataCatalog.php

-2
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,6 @@ final class DataCatalog
6363
*
6464
* - The `GLUE` data catalog type also applies to the default `AwsDataCatalog` that already exists in your account, of
6565
* which you can have only one and cannot modify.
66-
* - Queries that specify a Glue Data Catalog other than the default `AwsDataCatalog` must be run on Athena engine
67-
* version 2.
6866
*
6967
* @var array<string, string>|null
7068
*/

src/Service/Athena/src/ValueObject/QueryExecutionStatistics.php

+15
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,13 @@ final class QueryExecutionStatistics
5050
*/
5151
private $queryQueueTimeInMillis;
5252

53+
/**
54+
* The number of milliseconds that Athena took to preprocess the query before submitting the query to the query engine.
55+
*
56+
* @var int|null
57+
*/
58+
private $servicePreProcessingTimeInMillis;
59+
5360
/**
5461
* The number of milliseconds that Athena took to plan the query processing flow. This includes the time spent
5562
* retrieving table partitions from the data source. Note that because the query engine performs the query planning,
@@ -81,6 +88,7 @@ final class QueryExecutionStatistics
8188
* DataManifestLocation?: null|string,
8289
* TotalExecutionTimeInMillis?: null|int,
8390
* QueryQueueTimeInMillis?: null|int,
91+
* ServicePreProcessingTimeInMillis?: null|int,
8492
* QueryPlanningTimeInMillis?: null|int,
8593
* ServiceProcessingTimeInMillis?: null|int,
8694
* ResultReuseInformation?: null|ResultReuseInformation|array,
@@ -93,6 +101,7 @@ public function __construct(array $input)
93101
$this->dataManifestLocation = $input['DataManifestLocation'] ?? null;
94102
$this->totalExecutionTimeInMillis = $input['TotalExecutionTimeInMillis'] ?? null;
95103
$this->queryQueueTimeInMillis = $input['QueryQueueTimeInMillis'] ?? null;
104+
$this->servicePreProcessingTimeInMillis = $input['ServicePreProcessingTimeInMillis'] ?? null;
96105
$this->queryPlanningTimeInMillis = $input['QueryPlanningTimeInMillis'] ?? null;
97106
$this->serviceProcessingTimeInMillis = $input['ServiceProcessingTimeInMillis'] ?? null;
98107
$this->resultReuseInformation = isset($input['ResultReuseInformation']) ? ResultReuseInformation::create($input['ResultReuseInformation']) : null;
@@ -105,6 +114,7 @@ public function __construct(array $input)
105114
* DataManifestLocation?: null|string,
106115
* TotalExecutionTimeInMillis?: null|int,
107116
* QueryQueueTimeInMillis?: null|int,
117+
* ServicePreProcessingTimeInMillis?: null|int,
108118
* QueryPlanningTimeInMillis?: null|int,
109119
* ServiceProcessingTimeInMillis?: null|int,
110120
* ResultReuseInformation?: null|ResultReuseInformation|array,
@@ -145,6 +155,11 @@ public function getResultReuseInformation(): ?ResultReuseInformation
145155
return $this->resultReuseInformation;
146156
}
147157

158+
public function getServicePreProcessingTimeInMillis(): ?int
159+
{
160+
return $this->servicePreProcessingTimeInMillis;
161+
}
162+
148163
public function getServiceProcessingTimeInMillis(): ?int
149164
{
150165
return $this->serviceProcessingTimeInMillis;

src/Service/Athena/src/ValueObject/SessionConfiguration.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
final class SessionConfiguration
99
{
1010
/**
11-
* The ARN of the execution role used for the session.
11+
* The ARN of the execution role used in a Spark session to access user resources. This property applies only to
12+
* Spark-enabled workgroups.
1213
*
1314
* @var string|null
1415
*/

src/Service/Athena/src/ValueObject/WorkGroupConfiguration.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@ final class WorkGroupConfiguration
7878
private $additionalConfiguration;
7979

8080
/**
81-
* Role used in a session for accessing the user's resources.
81+
* Role used in a Spark session for accessing the user's resources. This property applies only to Spark-enabled
82+
* workgroups.
8283
*
8384
* @var string|null
8485
*/

src/Service/CloudFormation/src/CloudFormationClient.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public function describeStackDriftDetectionStatus($input): DescribeStackDriftDet
4949

5050
/**
5151
* Returns all stack related events for a specified stack in reverse chronological order. For more information about a
52-
* stack's event history, go to Stacks [^1] in the CloudFormation User Guide.
52+
* stack's event history, go to Stacks [^1] in the *CloudFormation User Guide*.
5353
*
5454
* > You can list events for stacks that have failed to create or have been deleted by specifying the unique stack
5555
* > identifier (stack ID).
@@ -77,7 +77,7 @@ public function describeStackEvents($input = []): DescribeStackEventsOutput
7777
* Returns the description for the specified stack; if no stack name was specified, then it returns the description for
7878
* all the stacks created.
7979
*
80-
* > If the stack doesn't exist, an `ValidationError` is returned.
80+
* > If the stack doesn't exist, a `ValidationError` is returned.
8181
*
8282
* @see https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_DescribeStacks.html
8383
* @see https://docs.aws.amazon.com/aws-sdk-php/v3/api/api-cloudformation-2010-05-15.html#describestacks

src/Service/EventBridge/CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## NOT RELEASED
44

5+
### Added
6+
7+
- AWS api-change: Introduces a new rule state ENABLED_WITH_ALL_CLOUDTRAIL_MANAGEMENT_EVENTS for matching with Get, List and Describe AWS API call events from CloudTrail.
8+
59
### Changed
610

711
- Allow passing explicit null values for optional fields of input objects

src/Service/EventBridge/src/EventBridgeClient.php

+9
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,17 @@ class EventBridgeClient extends AbstractApi
1717
/**
1818
* Sends custom events to Amazon EventBridge so that they can be matched to rules.
1919
*
20+
* The maximum size for a PutEvents event entry is 256 KB. Entry size is calculated including the event and any
21+
* necessary characters and keys of the JSON representation of the event. To learn more, see Calculating PutEvents event
22+
* entry size [^1] in the *Amazon EventBridge User Guide*
23+
*
24+
* PutEvents accepts the data in JSON format. For the JSON number (integer) data type, the constraints are: a minimum
25+
* value of -9,223,372,036,854,775,808 and a maximum value of 9,223,372,036,854,775,807.
26+
*
2027
* > PutEvents will only process nested JSON up to 1100 levels deep.
2128
*
29+
* [^1]: https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-putevent-size.html
30+
*
2231
* @see https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_PutEvents.html
2332
* @see https://docs.aws.amazon.com/aws-sdk-php/v3/api/api-events-2015-10-07.html#putevents
2433
*

src/Service/EventBridge/src/ValueObject/PutEventsRequestEntry.php

+20-4
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ final class PutEventsRequestEntry
2121
/**
2222
* The source of the event.
2323
*
24+
* > `Detail`, `DetailType`, and `Source` are required for EventBridge to successfully send an event to an event bus. If
25+
* > you include event entries in a request that do not include each of those properties, EventBridge fails that entry.
26+
* > If you submit a request in which *none* of the entries have each of these properties, EventBridge fails the entire
27+
* > request.
28+
*
2429
* @var string|null
2530
*/
2631
private $source;
@@ -36,12 +41,22 @@ final class PutEventsRequestEntry
3641
/**
3742
* Free-form string, with a maximum of 128 characters, used to decide what fields to expect in the event detail.
3843
*
44+
* > `Detail`, `DetailType`, and `Source` are required for EventBridge to successfully send an event to an event bus. If
45+
* > you include event entries in a request that do not include each of those properties, EventBridge fails that entry.
46+
* > If you submit a request in which *none* of the entries have each of these properties, EventBridge fails the entire
47+
* > request.
48+
*
3949
* @var string|null
4050
*/
4151
private $detailType;
4252

4353
/**
44-
* A valid JSON object. There is no other schema imposed. The JSON object may contain fields and nested subobjects.
54+
* A valid JSON object. There is no other schema imposed. The JSON object may contain fields and nested sub-objects.
55+
*
56+
* > `Detail`, `DetailType`, and `Source` are required for EventBridge to successfully send an event to an event bus. If
57+
* > you include event entries in a request that do not include each of those properties, EventBridge fails that entry.
58+
* > If you submit a request in which *none* of the entries have each of these properties, EventBridge fails the entire
59+
* > request.
4560
*
4661
* @var string|null
4762
*/
@@ -51,9 +66,10 @@ final class PutEventsRequestEntry
5166
* The name or ARN of the event bus to receive the event. Only the rules that are associated with this event bus are
5267
* used to match the event. If you omit this, the default event bus is used.
5368
*
54-
* > If you're using a global endpoint with a custom bus, you must enter the name, not the ARN, of the event bus in
55-
* > either the primary or secondary Region here and the corresponding event bus in the other Region will be determined
56-
* > based on the endpoint referenced by the `EndpointId`.
69+
* > If you're using a global endpoint with a custom bus, you can enter either the name or Amazon Resource Name (ARN) of
70+
* > the event bus in either the primary or secondary Region here. EventBridge then determines the corresponding event
71+
* > bus in the other Region based on the endpoint referenced by the `EndpointId`. Specifying the event bus ARN is
72+
* > preferred.
5773
*
5874
* @var string|null
5975
*/

src/Service/EventBridge/src/ValueObject/PutEventsResultEntry.php

+45-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,15 @@
22

33
namespace AsyncAws\EventBridge\ValueObject;
44

5+
use AsyncAws\Core\Exception\InvalidArgument;
6+
57
/**
6-
* Represents an event that failed to be submitted. For information about the errors that are common to all actions, see
7-
* Common Errors [^1].
8+
* Represents the results of an event submitted to an event bus.
9+
*
10+
* If the submission was successful, the entry has the event ID in it. Otherwise, you can use the error code and error
11+
* message to identify the problem with the entry.
12+
*
13+
* For information about the errors that are common to all actions, see Common Errors [^1].
814
*
915
* [^1]: https://docs.aws.amazon.com/eventbridge/latest/APIReference/CommonErrors.html
1016
*/
@@ -20,6 +26,43 @@ final class PutEventsResultEntry
2026
/**
2127
* The error code that indicates why the event submission failed.
2228
*
29+
* Retryable errors include:
30+
*
31+
* - `InternalFailure [^1]`
32+
*
33+
* The request processing has failed because of an unknown error, exception or failure.
34+
* - `ThrottlingException [^2]`
35+
*
36+
* The request was denied due to request throttling.
37+
*
38+
* Non-retryable errors include:
39+
*
40+
* - `AccessDeniedException [^3]`
41+
*
42+
* You do not have sufficient access to perform this action.
43+
* - `InvalidAccountIdException`
44+
*
45+
* The account ID provided is not valid.
46+
* - `InvalidArgument`
47+
*
48+
* A specified parameter is not valid.
49+
* - `MalformedDetail`
50+
*
51+
* The JSON provided is not valid.
52+
* - `RedactionFailure`
53+
*
54+
* Redacting the CloudTrail event failed.
55+
* - `NotAuthorizedForSourceException`
56+
*
57+
* You do not have permissions to publish events with this source onto this event bus.
58+
* - `NotAuthorizedForDetailTypeException`
59+
*
60+
* You do not have permissions to publish events with this detail type onto this event bus.
61+
*
62+
* [^1]: https://docs.aws.amazon.com/eventbridge/latest/APIReference/CommonErrors.html
63+
* [^2]: https://docs.aws.amazon.com/eventbridge/latest/APIReference/CommonErrors.html
64+
* [^3]: https://docs.aws.amazon.com/eventbridge/latest/APIReference/CommonErrors.html
65+
*
2366
* @var string|null
2467
*/
2568
private $errorCode;

src/Service/Iot/CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
### Changed
66

77
- Allow passing explicit null values for optional fields of input objects
8+
- AWS enhancement: Documentation updates.
89

910
## 2.0.0
1011

0 commit comments

Comments
 (0)