Skip to content

Commit

Permalink
Updated API models and rebuilt service gems.
Browse files Browse the repository at this point in the history
  • Loading branch information
AWS SDK for Ruby authored and Nobody committed Jul 14, 2022
1 parent c0e5d95 commit 07da11c
Show file tree
Hide file tree
Showing 88 changed files with 4,605 additions and 1,475 deletions.
29 changes: 23 additions & 6 deletions apis/athena/2017-05-18/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -520,6 +520,12 @@
"ErrorMessage":{"shape":"String"}
}
},
"AwsAccountId":{
"type":"string",
"max":12,
"min":12,
"pattern":"^[0-9]+$"
},
"BatchGetNamedQueryInput":{
"type":"structure",
"required":["NamedQueryIds"],
Expand Down Expand Up @@ -1270,7 +1276,12 @@
"max":1024,
"min":0
},
"NamedQueryId":{"type":"string"},
"NamedQueryId":{
"type":"string",
"max":128,
"min":1,
"pattern":"\\S+"
},
"NamedQueryIdList":{
"type":"list",
"member":{"shape":"NamedQueryId"},
Expand Down Expand Up @@ -1343,7 +1354,12 @@
"Catalog":{"shape":"CatalogNameString"}
}
},
"QueryExecutionId":{"type":"string"},
"QueryExecutionId":{
"type":"string",
"max":128,
"min":1,
"pattern":"\\S+"
},
"QueryExecutionIdList":{
"type":"list",
"member":{"shape":"QueryExecutionId"},
Expand Down Expand Up @@ -1402,25 +1418,26 @@
"ResultConfiguration":{
"type":"structure",
"members":{
"OutputLocation":{"shape":"String"},
"OutputLocation":{"shape":"ResultOutputLocation"},
"EncryptionConfiguration":{"shape":"EncryptionConfiguration"},
"ExpectedBucketOwner":{"shape":"String"},
"ExpectedBucketOwner":{"shape":"AwsAccountId"},
"AclConfiguration":{"shape":"AclConfiguration"}
}
},
"ResultConfigurationUpdates":{
"type":"structure",
"members":{
"OutputLocation":{"shape":"String"},
"OutputLocation":{"shape":"ResultOutputLocation"},
"RemoveOutputLocation":{"shape":"BoxedBoolean"},
"EncryptionConfiguration":{"shape":"EncryptionConfiguration"},
"RemoveEncryptionConfiguration":{"shape":"BoxedBoolean"},
"ExpectedBucketOwner":{"shape":"String"},
"ExpectedBucketOwner":{"shape":"AwsAccountId"},
"RemoveExpectedBucketOwner":{"shape":"BoxedBoolean"},
"AclConfiguration":{"shape":"AclConfiguration"},
"RemoveAclConfiguration":{"shape":"BoxedBoolean"}
}
},
"ResultOutputLocation":{"type":"string"},
"ResultSet":{
"type":"structure",
"members":{
Expand Down
24 changes: 17 additions & 7 deletions apis/athena/2017-05-18/docs-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,15 @@
"QueryExecutionStatus$AthenaError": "<p>Provides information about an Athena query error.</p>"
}
},
"BatchGetNamedQueryInput": {
"AwsAccountId": {
"base": null,
"refs": {
"ResultConfiguration$ExpectedBucketOwner": "<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>",
"ResultConfigurationUpdates$ExpectedBucketOwner": "<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>"
}
},
"BatchGetNamedQueryInput": {
"base": "<p>Contains an array of named query IDs.</p>",
"refs": {
}
},
Expand All @@ -83,7 +90,7 @@
}
},
"BatchGetQueryExecutionInput": {
"base": null,
"base": "<p>Contains an array of query execution IDs.</p>",
"refs": {
}
},
Expand Down Expand Up @@ -885,6 +892,13 @@
"WorkGroupConfigurationUpdates$ResultConfigurationUpdates": "<p>The result configuration information about the queries in this workgroup that will be updated. Includes the updated results location and an updated option for encrypting query results.</p>"
}
},
"ResultOutputLocation": {
"base": null,
"refs": {
"ResultConfiguration$OutputLocation": "<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>",
"ResultConfigurationUpdates$OutputLocation": "<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>"
}
},
"ResultSet": {
"base": "<p>The metadata and rows that make up a query result set. The metadata describes the column structure and data types. To return a <code>ResultSet</code> object, use <a>GetQueryResults</a>.</p>",
"refs": {
Expand Down Expand Up @@ -966,11 +980,7 @@
"ColumnInfo$Type": "<p>The data type of the column.</p>",
"EncryptionConfiguration$KmsKey": "<p>For <code>SSE_KMS</code> and <code>CSE_KMS</code>, this is the KMS key ARN or ID.</p>",
"QueryExecutionStatistics$DataManifestLocation": "<p>The location and file name of a data manifest file. The manifest file is saved to the Athena query results location in Amazon S3. The manifest file tracks files that the query wrote to Amazon S3. If the query fails, the manifest file also tracks files that the query intended to write. The manifest is useful for identifying orphaned files resulting from a failed query. For more information, see <a href=\"https://docs.aws.amazon.com/athena/latest/ug/querying.html\">Working with Query Results, Output Files, and Query History</a> in the <i>Amazon Athena User Guide</i>.</p>",
"QueryExecutionStatus$StateChangeReason": "<p>Further detail about the status of the query.</p>",
"ResultConfiguration$OutputLocation": "<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>",
"ResultConfiguration$ExpectedBucketOwner": "<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>",
"ResultConfigurationUpdates$OutputLocation": "<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>",
"ResultConfigurationUpdates$ExpectedBucketOwner": "<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>"
"QueryExecutionStatus$StateChangeReason": "<p>Further detail about the status of the query.</p>"
}
},
"TableMetadata": {
Expand Down
Loading

0 comments on commit 07da11c

Please sign in to comment.