Skip to content

Commit 8d8df4e

Browse files
committed
update generated code
1 parent 774e8cf commit 8d8df4e

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

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

src/Core/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
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

Lines changed: 7 additions & 1 deletion
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

Lines changed: 5 additions & 3 deletions
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

Lines changed: 1 addition & 0 deletions
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

Lines changed: 7 additions & 18 deletions
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

Lines changed: 2 additions & 1 deletion
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

Lines changed: 1 addition & 0 deletions
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

Lines changed: 3 additions & 3 deletions
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

Lines changed: 0 additions & 2 deletions
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
*/

0 commit comments

Comments
 (0)