|
214 | 214 | "smithy.api#documentation": "<p>Provides information about an Athena query error. The\n <code>AthenaError</code> feature provides standardized error information to help you\n understand failed queries and take steps after a query failure occurs.\n <code>AthenaError</code> includes an <code>ErrorCategory</code> field that specifies\n whether the cause of the failed query is due to system error, user error, or other\n error.</p>" |
215 | 215 | } |
216 | 216 | }, |
| 217 | + "com.amazonaws.athena#AwsAccountId": { |
| 218 | + "type": "string", |
| 219 | + "traits": { |
| 220 | + "smithy.api#length": { |
| 221 | + "min": 12, |
| 222 | + "max": 12 |
| 223 | + }, |
| 224 | + "smithy.api#pattern": "^[0-9]+$" |
| 225 | + } |
| 226 | + }, |
217 | 227 | "com.amazonaws.athena#BatchGetNamedQuery": { |
218 | 228 | "type": "operation", |
219 | 229 | "input": { |
|
244 | 254 | "smithy.api#required": {} |
245 | 255 | } |
246 | 256 | } |
| 257 | + }, |
| 258 | + "traits": { |
| 259 | + "smithy.api#documentation": "<p>Contains an array of named query IDs.</p>" |
247 | 260 | } |
248 | 261 | }, |
249 | 262 | "com.amazonaws.athena#BatchGetNamedQueryOutput": { |
|
349 | 362 | "smithy.api#required": {} |
350 | 363 | } |
351 | 364 | } |
| 365 | + }, |
| 366 | + "traits": { |
| 367 | + "smithy.api#documentation": "<p>Contains an array of query execution IDs.</p>" |
352 | 368 | } |
353 | 369 | }, |
354 | 370 | "com.amazonaws.athena#BatchGetQueryExecutionOutput": { |
|
2460 | 2476 | } |
2461 | 2477 | }, |
2462 | 2478 | "com.amazonaws.athena#NamedQueryId": { |
2463 | | - "type": "string" |
| 2479 | + "type": "string", |
| 2480 | + "traits": { |
| 2481 | + "smithy.api#length": { |
| 2482 | + "min": 1, |
| 2483 | + "max": 128 |
| 2484 | + }, |
| 2485 | + "smithy.api#pattern": "^\\S+$" |
| 2486 | + } |
2464 | 2487 | }, |
2465 | 2488 | "com.amazonaws.athena#NamedQueryIdList": { |
2466 | 2489 | "type": "list", |
|
2669 | 2692 | } |
2670 | 2693 | }, |
2671 | 2694 | "com.amazonaws.athena#QueryExecutionId": { |
2672 | | - "type": "string" |
| 2695 | + "type": "string", |
| 2696 | + "traits": { |
| 2697 | + "smithy.api#length": { |
| 2698 | + "min": 1, |
| 2699 | + "max": 128 |
| 2700 | + }, |
| 2701 | + "smithy.api#pattern": "^\\S+$" |
| 2702 | + } |
2673 | 2703 | }, |
2674 | 2704 | "com.amazonaws.athena#QueryExecutionIdList": { |
2675 | 2705 | "type": "list", |
|
2835 | 2865 | "type": "structure", |
2836 | 2866 | "members": { |
2837 | 2867 | "OutputLocation": { |
2838 | | - "target": "com.amazonaws.athena#String", |
| 2868 | + "target": "com.amazonaws.athena#ResultOutputLocation", |
2839 | 2869 | "traits": { |
2840 | 2870 | "smithy.api#documentation": "<p>The location in Amazon S3 where your query results are stored, such as\n <code>s3://path/to/query/bucket/</code>. To run the query, you must specify the\n query results location using one of the ways: either for individual queries using either\n this setting (client-side), or in the workgroup, using <a>WorkGroupConfiguration</a>. If none of them is set, Athena\n 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\n workgroup settings override client-side settings, then the query uses the settings\n specified for the workgroup. See <a>WorkGroupConfiguration$EnforceWorkGroupConfiguration</a>.</p>" |
2841 | 2871 | } |
|
2847 | 2877 | } |
2848 | 2878 | }, |
2849 | 2879 | "ExpectedBucketOwner": { |
2850 | | - "target": "com.amazonaws.athena#String", |
| 2880 | + "target": "com.amazonaws.athena#AwsAccountId", |
2851 | 2881 | "traits": { |
2852 | 2882 | "smithy.api#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>.\n If set, Athena uses the value for <code>ExpectedBucketOwner</code> when it\n makes Amazon S3 calls to your specified output location. If the\n <code>ExpectedBucketOwner</code>\n Amazon Web Services account ID does not match the actual owner of the Amazon S3\n bucket, the call fails with a permissions error.</p>\n <p>This is a client-side setting. If workgroup settings override client-side settings,\n then the query uses the <code>ExpectedBucketOwner</code> setting that is specified for\n the workgroup, and also uses the location for storing query results specified in the\n workgroup. See <a>WorkGroupConfiguration$EnforceWorkGroupConfiguration</a>\n and <a href=\"https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html\">Workgroup Settings Override Client-Side Settings</a>.</p>" |
2853 | 2883 | } |
|
2867 | 2897 | "type": "structure", |
2868 | 2898 | "members": { |
2869 | 2899 | "OutputLocation": { |
2870 | | - "target": "com.amazonaws.athena#String", |
| 2900 | + "target": "com.amazonaws.athena#ResultOutputLocation", |
2871 | 2901 | "traits": { |
2872 | 2902 | "smithy.api#documentation": "<p>The location in Amazon S3 where your query results are stored, such as\n <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\n workgroup settings override client-side settings, then the query uses the location for\n the query results and the encryption configuration that are specified for the workgroup.\n The \"workgroup settings override\" is specified in\n <code>EnforceWorkGroupConfiguration</code> (true/false) in the\n <code>WorkGroupConfiguration</code>. See <a>WorkGroupConfiguration$EnforceWorkGroupConfiguration</a>.</p>" |
2873 | 2903 | } |
|
2891 | 2921 | } |
2892 | 2922 | }, |
2893 | 2923 | "ExpectedBucketOwner": { |
2894 | | - "target": "com.amazonaws.athena#String", |
| 2924 | + "target": "com.amazonaws.athena#AwsAccountId", |
2895 | 2925 | "traits": { |
2896 | 2926 | "smithy.api#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>.\n If set, Athena uses the value for <code>ExpectedBucketOwner</code> when it\n makes Amazon S3 calls to your specified output location. If the\n <code>ExpectedBucketOwner</code>\n Amazon Web Services account ID does not match the actual owner of the Amazon S3\n bucket, the call fails with a permissions error.</p>\n\n <p>If workgroup settings override client-side settings, then the query uses the\n <code>ExpectedBucketOwner</code> setting that is specified for the workgroup, and\n 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>" |
2897 | 2927 | } |
|
2919 | 2949 | "smithy.api#documentation": "<p>The information about the updates in the query results, such as output location and\n encryption configuration for the query results.</p>" |
2920 | 2950 | } |
2921 | 2951 | }, |
| 2952 | + "com.amazonaws.athena#ResultOutputLocation": { |
| 2953 | + "type": "string" |
| 2954 | + }, |
2922 | 2955 | "com.amazonaws.athena#ResultSet": { |
2923 | 2956 | "type": "structure", |
2924 | 2957 | "members": { |
|
0 commit comments