|
573 | 573 | },
|
574 | 574 | "documentation":"<p>Provides information about an Athena query error. The <code>AthenaError</code> feature provides standardized error information to help you understand failed queries and take steps after a query failure occurs. <code>AthenaError</code> includes an <code>ErrorCategory</code> field that specifies whether the cause of the failed query is due to system error, user error, or other error.</p>"
|
575 | 575 | },
|
| 576 | + "AwsAccountId":{ |
| 577 | + "type":"string", |
| 578 | + "max":12, |
| 579 | + "min":12, |
| 580 | + "pattern":"^[0-9]+$" |
| 581 | + }, |
576 | 582 | "BatchGetNamedQueryInput":{
|
577 | 583 | "type":"structure",
|
578 | 584 | "required":["NamedQueryIds"],
|
|
581 | 587 | "shape":"NamedQueryIdList",
|
582 | 588 | "documentation":"<p>An array of query IDs.</p>"
|
583 | 589 | }
|
584 |
| - } |
| 590 | + }, |
| 591 | + "documentation":"<p>Contains an array of named query IDs.</p>" |
585 | 592 | },
|
586 | 593 | "BatchGetNamedQueryOutput":{
|
587 | 594 | "type":"structure",
|
|
634 | 641 | "shape":"QueryExecutionIdList",
|
635 | 642 | "documentation":"<p>An array of query execution IDs.</p>"
|
636 | 643 | }
|
637 |
| - } |
| 644 | + }, |
| 645 | + "documentation":"<p>Contains an array of query execution IDs.</p>" |
638 | 646 | },
|
639 | 647 | "BatchGetQueryExecutionOutput":{
|
640 | 648 | "type":"structure",
|
|
1743 | 1751 | "max":1024,
|
1744 | 1752 | "min":0
|
1745 | 1753 | },
|
1746 |
| - "NamedQueryId":{"type":"string"}, |
| 1754 | + "NamedQueryId":{ |
| 1755 | + "type":"string", |
| 1756 | + "max":128, |
| 1757 | + "min":1, |
| 1758 | + "pattern":"\\S+" |
| 1759 | + }, |
1747 | 1760 | "NamedQueryIdList":{
|
1748 | 1761 | "type":"list",
|
1749 | 1762 | "member":{"shape":"NamedQueryId"},
|
|
1877 | 1890 | },
|
1878 | 1891 | "documentation":"<p>The database and data catalog context in which the query execution occurs.</p>"
|
1879 | 1892 | },
|
1880 |
| - "QueryExecutionId":{"type":"string"}, |
| 1893 | + "QueryExecutionId":{ |
| 1894 | + "type":"string", |
| 1895 | + "max":128, |
| 1896 | + "min":1, |
| 1897 | + "pattern":"\\S+" |
| 1898 | + }, |
1881 | 1899 | "QueryExecutionIdList":{
|
1882 | 1900 | "type":"list",
|
1883 | 1901 | "member":{"shape":"QueryExecutionId"},
|
|
1979 | 1997 | "type":"structure",
|
1980 | 1998 | "members":{
|
1981 | 1999 | "OutputLocation":{
|
1982 |
| - "shape":"String", |
| 2000 | + "shape":"ResultOutputLocation", |
1983 | 2001 | "documentation":"<p>The location in Amazon S3 where your query results are stored, such as <code>s3://path/to/query/bucket/</code>. To run the query, you must specify the query results location using one of the ways: either for individual queries using either this setting (client-side), or in the workgroup, using <a>WorkGroupConfiguration</a>. If none of them is set, Athena issues an error that no output location is provided. For more information, see <a href=\"https://docs.aws.amazon.com/athena/latest/ug/querying.html\">Query Results</a>. If workgroup settings override client-side settings, then the query uses the settings specified for the workgroup. See <a>WorkGroupConfiguration$EnforceWorkGroupConfiguration</a>.</p>"
|
1984 | 2002 | },
|
1985 | 2003 | "EncryptionConfiguration":{
|
1986 | 2004 | "shape":"EncryptionConfiguration",
|
1987 | 2005 | "documentation":"<p>If query results are encrypted in Amazon S3, indicates the encryption option used (for example, <code>SSE_KMS</code> or <code>CSE_KMS</code>) and key information. This is a client-side setting. If workgroup settings override client-side settings, then the query uses the encryption configuration that is specified for the workgroup, and also uses the location for storing query results specified in the workgroup. See <a>WorkGroupConfiguration$EnforceWorkGroupConfiguration</a> and <a href=\"https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html\">Workgroup Settings Override Client-Side Settings</a>.</p>"
|
1988 | 2006 | },
|
1989 | 2007 | "ExpectedBucketOwner":{
|
1990 |
| - "shape":"String", |
| 2008 | + "shape":"AwsAccountId", |
1991 | 2009 | "documentation":"<p>The Amazon Web Services account ID that you expect to be the owner of the Amazon S3 bucket specified by <a>ResultConfiguration$OutputLocation</a>. If set, Athena uses the value for <code>ExpectedBucketOwner</code> when it makes Amazon S3 calls to your specified output location. If the <code>ExpectedBucketOwner</code> Amazon Web Services account ID does not match the actual owner of the Amazon S3 bucket, the call fails with a permissions error.</p> <p>This is a client-side setting. If workgroup settings override client-side settings, then the query uses the <code>ExpectedBucketOwner</code> setting that is specified for the workgroup, and also uses the location for storing query results specified in the workgroup. See <a>WorkGroupConfiguration$EnforceWorkGroupConfiguration</a> and <a href=\"https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html\">Workgroup Settings Override Client-Side Settings</a>.</p>"
|
1992 | 2010 | },
|
1993 | 2011 | "AclConfiguration":{
|
|
2001 | 2019 | "type":"structure",
|
2002 | 2020 | "members":{
|
2003 | 2021 | "OutputLocation":{
|
2004 |
| - "shape":"String", |
| 2022 | + "shape":"ResultOutputLocation", |
2005 | 2023 | "documentation":"<p>The location in Amazon S3 where your query results are stored, such as <code>s3://path/to/query/bucket/</code>. For more information, see <a href=\"https://docs.aws.amazon.com/athena/latest/ug/querying.html\">Query Results</a> If workgroup settings override client-side settings, then the query uses the location for the query results and the encryption configuration that are specified for the workgroup. The \"workgroup settings override\" is specified in <code>EnforceWorkGroupConfiguration</code> (true/false) in the <code>WorkGroupConfiguration</code>. See <a>WorkGroupConfiguration$EnforceWorkGroupConfiguration</a>.</p>"
|
2006 | 2024 | },
|
2007 | 2025 | "RemoveOutputLocation":{
|
|
2017 | 2035 | "documentation":"<p>If set to \"true\", indicates that the previously-specified encryption configuration (also known as the client-side setting) for queries in this workgroup should be ignored and set to null. If set to \"false\" or not set, and a value is present in the <code>EncryptionConfiguration</code> in <code>ResultConfigurationUpdates</code> (the client-side setting), the <code>EncryptionConfiguration</code> in the workgroup's <code>ResultConfiguration</code> will be updated with the new value. For more information, see <a href=\"https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html\">Workgroup Settings Override Client-Side Settings</a>.</p>"
|
2018 | 2036 | },
|
2019 | 2037 | "ExpectedBucketOwner":{
|
2020 |
| - "shape":"String", |
| 2038 | + "shape":"AwsAccountId", |
2021 | 2039 | "documentation":"<p>The Amazon Web Services account ID that you expect to be the owner of the Amazon S3 bucket specified by <a>ResultConfiguration$OutputLocation</a>. If set, Athena uses the value for <code>ExpectedBucketOwner</code> when it makes Amazon S3 calls to your specified output location. If the <code>ExpectedBucketOwner</code> Amazon Web Services account ID does not match the actual owner of the Amazon S3 bucket, the call fails with a permissions error.</p> <p>If workgroup settings override client-side settings, then the query uses the <code>ExpectedBucketOwner</code> setting that is specified for the workgroup, and also uses the location for storing query results specified in the workgroup. See <a>WorkGroupConfiguration$EnforceWorkGroupConfiguration</a> and <a href=\"https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html\">Workgroup Settings Override Client-Side Settings</a>.</p>"
|
2022 | 2040 | },
|
2023 | 2041 | "RemoveExpectedBucketOwner":{
|
|
2035 | 2053 | },
|
2036 | 2054 | "documentation":"<p>The information about the updates in the query results, such as output location and encryption configuration for the query results.</p>"
|
2037 | 2055 | },
|
| 2056 | + "ResultOutputLocation":{"type":"string"}, |
2038 | 2057 | "ResultSet":{
|
2039 | 2058 | "type":"structure",
|
2040 | 2059 | "members":{
|
|
0 commit comments