aws-sdk-athena 1.49.0 → 1.52.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '064385639b14b6d34b48798e2ca0eafe9c4d20dc2b6bc71c39a72a525f8fdf15'
4
- data.tar.gz: f03200ae7b442ef16ffaf8cfc44ec52af450a6cee9d8de1b215b8fc44cfeb0d9
3
+ metadata.gz: a8b8b6530d32dc05758dff613a83c110600fb7830f0ffaf07d516686f8f43b9e
4
+ data.tar.gz: e49d2175aa7b1a4d078fb2d751df78db378b779b64bfd7d4b9951598d2fd879a
5
5
  SHA512:
6
- metadata.gz: 83ba29160a4fbd6948d67b9edefa5270a577173d0fc8284cc823d96fc14470c87d3ae990dcf3e4b6581445d21abdc64311c963cee0493e47694ac084562db821
7
- data.tar.gz: 1e54e055b72a31165681ab9855074b28cddab73039132b010cffe25634c2697f130262da576ff03acb78ffbecfd34aad3024536d3d3a3537c294aaf37fc95027
6
+ metadata.gz: bbf9867493f0ab6a68ca13fb32914dad2b888f0250022969053020aaf5766c7c45bbcbe42158b24ef557b6678f3419476813baa52c91290d8d06f2657259e2d2
7
+ data.tar.gz: 6b9a5ba85d3db12347c340493db813ad4b2d27270509b4e00689eaa8a26d2467f7be8d0e9a6f65762d8ed504d9fce4e75e9a20b01be67eb23228b73250342e97
data/CHANGELOG.md CHANGED
@@ -1,6 +1,21 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.52.0 (2022-03-02)
5
+ ------------------
6
+
7
+ * Feature - This release adds support for S3 Object Ownership by allowing the S3 bucket owner full control canned ACL to be set when Athena writes query results to S3 buckets.
8
+
9
+ 1.51.0 (2022-02-28)
10
+ ------------------
11
+
12
+ * Feature - This release adds support for updating an existing named query.
13
+
14
+ 1.50.0 (2022-02-24)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
4
19
  1.49.0 (2022-02-14)
5
20
  ------------------
6
21
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.49.0
1
+ 1.52.0
@@ -27,6 +27,7 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
28
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
29
  require 'aws-sdk-core/plugins/http_checksum.rb'
30
+ require 'aws-sdk-core/plugins/checksum_algorithm.rb'
30
31
  require 'aws-sdk-core/plugins/defaults_mode.rb'
31
32
  require 'aws-sdk-core/plugins/recursion_detection.rb'
32
33
  require 'aws-sdk-core/plugins/signature_v4.rb'
@@ -75,6 +76,7 @@ module Aws::Athena
75
76
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
76
77
  add_plugin(Aws::Plugins::TransferEncoding)
77
78
  add_plugin(Aws::Plugins::HttpChecksum)
79
+ add_plugin(Aws::Plugins::ChecksumAlgorithm)
78
80
  add_plugin(Aws::Plugins::DefaultsMode)
79
81
  add_plugin(Aws::Plugins::RecursionDetection)
80
82
  add_plugin(Aws::Plugins::SignatureV4)
@@ -439,6 +441,7 @@ module Aws::Athena
439
441
  # resp.query_executions[0].result_configuration.encryption_configuration.encryption_option #=> String, one of "SSE_S3", "SSE_KMS", "CSE_KMS"
440
442
  # resp.query_executions[0].result_configuration.encryption_configuration.kms_key #=> String
441
443
  # resp.query_executions[0].result_configuration.expected_bucket_owner #=> String
444
+ # resp.query_executions[0].result_configuration.acl_configuration.s3_acl_option #=> String, one of "BUCKET_OWNER_FULL_CONTROL"
442
445
  # resp.query_executions[0].query_execution_context.database #=> String
443
446
  # resp.query_executions[0].query_execution_context.catalog #=> String
444
447
  # resp.query_executions[0].status.state #=> String, one of "QUEUED", "RUNNING", "SUCCEEDED", "FAILED", "CANCELLED"
@@ -706,6 +709,9 @@ module Aws::Athena
706
709
  # kms_key: "String",
707
710
  # },
708
711
  # expected_bucket_owner: "String",
712
+ # acl_configuration: {
713
+ # s3_acl_option: "BUCKET_OWNER_FULL_CONTROL", # required, accepts BUCKET_OWNER_FULL_CONTROL
714
+ # },
709
715
  # },
710
716
  # enforce_work_group_configuration: false,
711
717
  # publish_cloud_watch_metrics_enabled: false,
@@ -1009,6 +1015,7 @@ module Aws::Athena
1009
1015
  # resp.query_execution.result_configuration.encryption_configuration.encryption_option #=> String, one of "SSE_S3", "SSE_KMS", "CSE_KMS"
1010
1016
  # resp.query_execution.result_configuration.encryption_configuration.kms_key #=> String
1011
1017
  # resp.query_execution.result_configuration.expected_bucket_owner #=> String
1018
+ # resp.query_execution.result_configuration.acl_configuration.s3_acl_option #=> String, one of "BUCKET_OWNER_FULL_CONTROL"
1012
1019
  # resp.query_execution.query_execution_context.database #=> String
1013
1020
  # resp.query_execution.query_execution_context.catalog #=> String
1014
1021
  # resp.query_execution.status.state #=> String, one of "QUEUED", "RUNNING", "SUCCEEDED", "FAILED", "CANCELLED"
@@ -1186,6 +1193,7 @@ module Aws::Athena
1186
1193
  # resp.work_group.configuration.result_configuration.encryption_configuration.encryption_option #=> String, one of "SSE_S3", "SSE_KMS", "CSE_KMS"
1187
1194
  # resp.work_group.configuration.result_configuration.encryption_configuration.kms_key #=> String
1188
1195
  # resp.work_group.configuration.result_configuration.expected_bucket_owner #=> String
1196
+ # resp.work_group.configuration.result_configuration.acl_configuration.s3_acl_option #=> String, one of "BUCKET_OWNER_FULL_CONTROL"
1189
1197
  # resp.work_group.configuration.enforce_work_group_configuration #=> Boolean
1190
1198
  # resp.work_group.configuration.publish_cloud_watch_metrics_enabled #=> Boolean
1191
1199
  # resp.work_group.configuration.bytes_scanned_cutoff_per_query #=> Integer
@@ -1713,6 +1721,9 @@ module Aws::Athena
1713
1721
  # kms_key: "String",
1714
1722
  # },
1715
1723
  # expected_bucket_owner: "String",
1724
+ # acl_configuration: {
1725
+ # s3_acl_option: "BUCKET_OWNER_FULL_CONTROL", # required, accepts BUCKET_OWNER_FULL_CONTROL
1726
+ # },
1716
1727
  # },
1717
1728
  # work_group: "WorkGroupName",
1718
1729
  # })
@@ -1905,6 +1916,41 @@ module Aws::Athena
1905
1916
  req.send_request(options)
1906
1917
  end
1907
1918
 
1919
+ # Updates a NamedQuery object. The database or workgroup cannot be
1920
+ # updated.
1921
+ #
1922
+ # @option params [required, String] :named_query_id
1923
+ # The unique identifier (UUID) of the query.
1924
+ #
1925
+ # @option params [required, String] :name
1926
+ # The name of the query.
1927
+ #
1928
+ # @option params [String] :description
1929
+ # The query description.
1930
+ #
1931
+ # @option params [required, String] :query_string
1932
+ # The contents of the query with all query statements.
1933
+ #
1934
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1935
+ #
1936
+ # @example Request syntax with placeholder values
1937
+ #
1938
+ # resp = client.update_named_query({
1939
+ # named_query_id: "NamedQueryId", # required
1940
+ # name: "NameString", # required
1941
+ # description: "NamedQueryDescriptionString",
1942
+ # query_string: "QueryString", # required
1943
+ # })
1944
+ #
1945
+ # @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/UpdateNamedQuery AWS API Documentation
1946
+ #
1947
+ # @overload update_named_query(params = {})
1948
+ # @param [Hash] params ({})
1949
+ def update_named_query(params = {}, options = {})
1950
+ req = build_request(:update_named_query, params)
1951
+ req.send_request(options)
1952
+ end
1953
+
1908
1954
  # Updates a prepared statement.
1909
1955
  #
1910
1956
  # @option params [required, String] :statement_name
@@ -1974,6 +2020,10 @@ module Aws::Athena
1974
2020
  # remove_encryption_configuration: false,
1975
2021
  # expected_bucket_owner: "String",
1976
2022
  # remove_expected_bucket_owner: false,
2023
+ # acl_configuration: {
2024
+ # s3_acl_option: "BUCKET_OWNER_FULL_CONTROL", # required, accepts BUCKET_OWNER_FULL_CONTROL
2025
+ # },
2026
+ # remove_acl_configuration: false,
1977
2027
  # },
1978
2028
  # publish_cloud_watch_metrics_enabled: false,
1979
2029
  # bytes_scanned_cutoff_per_query: 1,
@@ -2009,7 +2059,7 @@ module Aws::Athena
2009
2059
  params: params,
2010
2060
  config: config)
2011
2061
  context[:gem_name] = 'aws-sdk-athena'
2012
- context[:gem_version] = '1.49.0'
2062
+ context[:gem_version] = '1.52.0'
2013
2063
  Seahorse::Client::Request.new(handlers, context)
2014
2064
  end
2015
2065
 
@@ -13,6 +13,7 @@ module Aws::Athena
13
13
 
14
14
  include Seahorse::Model
15
15
 
16
+ AclConfiguration = Shapes::StructureShape.new(name: 'AclConfiguration')
16
17
  AmazonResourceName = Shapes::StringShape.new(name: 'AmazonResourceName')
17
18
  AthenaError = Shapes::StructureShape.new(name: 'AthenaError')
18
19
  BatchGetNamedQueryInput = Shapes::StructureShape.new(name: 'BatchGetNamedQueryInput')
@@ -117,6 +118,7 @@ module Aws::Athena
117
118
  MetadataException = Shapes::StructureShape.new(name: 'MetadataException')
118
119
  NameString = Shapes::StringShape.new(name: 'NameString')
119
120
  NamedQuery = Shapes::StructureShape.new(name: 'NamedQuery')
121
+ NamedQueryDescriptionString = Shapes::StringShape.new(name: 'NamedQueryDescriptionString')
120
122
  NamedQueryId = Shapes::StringShape.new(name: 'NamedQueryId')
121
123
  NamedQueryIdList = Shapes::ListShape.new(name: 'NamedQueryIdList')
122
124
  NamedQueryList = Shapes::ListShape.new(name: 'NamedQueryList')
@@ -141,6 +143,7 @@ module Aws::Athena
141
143
  ResultSetMetadata = Shapes::StructureShape.new(name: 'ResultSetMetadata')
142
144
  Row = Shapes::StructureShape.new(name: 'Row')
143
145
  RowList = Shapes::ListShape.new(name: 'RowList')
146
+ S3AclOption = Shapes::StringShape.new(name: 'S3AclOption')
144
147
  StartQueryExecutionInput = Shapes::StructureShape.new(name: 'StartQueryExecutionInput')
145
148
  StartQueryExecutionOutput = Shapes::StructureShape.new(name: 'StartQueryExecutionOutput')
146
149
  StatementName = Shapes::StringShape.new(name: 'StatementName')
@@ -171,6 +174,8 @@ module Aws::Athena
171
174
  UntagResourceOutput = Shapes::StructureShape.new(name: 'UntagResourceOutput')
172
175
  UpdateDataCatalogInput = Shapes::StructureShape.new(name: 'UpdateDataCatalogInput')
173
176
  UpdateDataCatalogOutput = Shapes::StructureShape.new(name: 'UpdateDataCatalogOutput')
177
+ UpdateNamedQueryInput = Shapes::StructureShape.new(name: 'UpdateNamedQueryInput')
178
+ UpdateNamedQueryOutput = Shapes::StructureShape.new(name: 'UpdateNamedQueryOutput')
174
179
  UpdatePreparedStatementInput = Shapes::StructureShape.new(name: 'UpdatePreparedStatementInput')
175
180
  UpdatePreparedStatementOutput = Shapes::StructureShape.new(name: 'UpdatePreparedStatementOutput')
176
181
  UpdateWorkGroupInput = Shapes::StructureShape.new(name: 'UpdateWorkGroupInput')
@@ -186,6 +191,9 @@ module Aws::Athena
186
191
  datumList = Shapes::ListShape.new(name: 'datumList')
187
192
  datumString = Shapes::StringShape.new(name: 'datumString')
188
193
 
194
+ AclConfiguration.add_member(:s3_acl_option, Shapes::ShapeRef.new(shape: S3AclOption, required: true, location_name: "S3AclOption"))
195
+ AclConfiguration.struct_class = Types::AclConfiguration
196
+
189
197
  AthenaError.add_member(:error_category, Shapes::ShapeRef.new(shape: ErrorCategory, location_name: "ErrorCategory"))
190
198
  AthenaError.add_member(:error_type, Shapes::ShapeRef.new(shape: ErrorType, location_name: "ErrorType"))
191
199
  AthenaError.struct_class = Types::AthenaError
@@ -531,6 +539,7 @@ module Aws::Athena
531
539
  ResultConfiguration.add_member(:output_location, Shapes::ShapeRef.new(shape: String, location_name: "OutputLocation"))
532
540
  ResultConfiguration.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: EncryptionConfiguration, location_name: "EncryptionConfiguration"))
533
541
  ResultConfiguration.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: String, location_name: "ExpectedBucketOwner"))
542
+ ResultConfiguration.add_member(:acl_configuration, Shapes::ShapeRef.new(shape: AclConfiguration, location_name: "AclConfiguration"))
534
543
  ResultConfiguration.struct_class = Types::ResultConfiguration
535
544
 
536
545
  ResultConfigurationUpdates.add_member(:output_location, Shapes::ShapeRef.new(shape: String, location_name: "OutputLocation"))
@@ -539,6 +548,8 @@ module Aws::Athena
539
548
  ResultConfigurationUpdates.add_member(:remove_encryption_configuration, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "RemoveEncryptionConfiguration"))
540
549
  ResultConfigurationUpdates.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: String, location_name: "ExpectedBucketOwner"))
541
550
  ResultConfigurationUpdates.add_member(:remove_expected_bucket_owner, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "RemoveExpectedBucketOwner"))
551
+ ResultConfigurationUpdates.add_member(:acl_configuration, Shapes::ShapeRef.new(shape: AclConfiguration, location_name: "AclConfiguration"))
552
+ ResultConfigurationUpdates.add_member(:remove_acl_configuration, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "RemoveAclConfiguration"))
542
553
  ResultConfigurationUpdates.struct_class = Types::ResultConfigurationUpdates
543
554
 
544
555
  ResultSet.add_member(:rows, Shapes::ShapeRef.new(shape: RowList, location_name: "Rows"))
@@ -625,6 +636,14 @@ module Aws::Athena
625
636
 
626
637
  UpdateDataCatalogOutput.struct_class = Types::UpdateDataCatalogOutput
627
638
 
639
+ UpdateNamedQueryInput.add_member(:named_query_id, Shapes::ShapeRef.new(shape: NamedQueryId, required: true, location_name: "NamedQueryId"))
640
+ UpdateNamedQueryInput.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
641
+ UpdateNamedQueryInput.add_member(:description, Shapes::ShapeRef.new(shape: NamedQueryDescriptionString, location_name: "Description"))
642
+ UpdateNamedQueryInput.add_member(:query_string, Shapes::ShapeRef.new(shape: QueryString, required: true, location_name: "QueryString"))
643
+ UpdateNamedQueryInput.struct_class = Types::UpdateNamedQueryInput
644
+
645
+ UpdateNamedQueryOutput.struct_class = Types::UpdateNamedQueryOutput
646
+
628
647
  UpdatePreparedStatementInput.add_member(:statement_name, Shapes::ShapeRef.new(shape: StatementName, required: true, location_name: "StatementName"))
629
648
  UpdatePreparedStatementInput.add_member(:work_group, Shapes::ShapeRef.new(shape: WorkGroupName, required: true, location_name: "WorkGroup"))
630
649
  UpdatePreparedStatementInput.add_member(:query_statement, Shapes::ShapeRef.new(shape: QueryString, required: true, location_name: "QueryStatement"))
@@ -1078,6 +1097,16 @@ module Aws::Athena
1078
1097
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1079
1098
  end)
1080
1099
 
1100
+ api.add_operation(:update_named_query, Seahorse::Model::Operation.new.tap do |o|
1101
+ o.name = "UpdateNamedQuery"
1102
+ o.http_method = "POST"
1103
+ o.http_request_uri = "/"
1104
+ o.input = Shapes::ShapeRef.new(shape: UpdateNamedQueryInput)
1105
+ o.output = Shapes::ShapeRef.new(shape: UpdateNamedQueryOutput)
1106
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1107
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1108
+ end)
1109
+
1081
1110
  api.add_operation(:update_prepared_statement, Seahorse::Model::Operation.new.tap do |o|
1082
1111
  o.name = "UpdatePreparedStatement"
1083
1112
  o.http_method = "POST"
@@ -10,12 +10,51 @@
10
10
  module Aws::Athena
11
11
  module Types
12
12
 
13
+ # Indicates that an Amazon S3 canned ACL should be set to control
14
+ # ownership of stored query results. When Athena stores query results in
15
+ # Amazon S3, the canned ACL is set with the `x-amz-acl` request header.
16
+ # For more information about S3 Object Ownership, see [Object Ownership
17
+ # settings][1] in the *Amazon S3 User Guide*.
18
+ #
19
+ #
20
+ #
21
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html#object-ownership-overview
22
+ #
23
+ # @note When making an API call, you may pass AclConfiguration
24
+ # data as a hash:
25
+ #
26
+ # {
27
+ # s3_acl_option: "BUCKET_OWNER_FULL_CONTROL", # required, accepts BUCKET_OWNER_FULL_CONTROL
28
+ # }
29
+ #
30
+ # @!attribute [rw] s3_acl_option
31
+ # The Amazon S3 canned ACL that Athena should specify when storing
32
+ # query results. Currently the only supported canned ACL is
33
+ # `BUCKET_OWNER_FULL_CONTROL`. If a query runs in a workgroup and the
34
+ # workgroup overrides client-side settings, then the Amazon S3 canned
35
+ # ACL specified in the workgroup's settings is used for all queries
36
+ # that run in the workgroup. For more information about Amazon S3
37
+ # canned ACLs, see [Canned ACL][1] in the *Amazon S3 User Guide*.
38
+ #
39
+ #
40
+ #
41
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/acl-overview.html#canned-acl
42
+ # @return [String]
43
+ #
44
+ # @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/AclConfiguration AWS API Documentation
45
+ #
46
+ class AclConfiguration < Struct.new(
47
+ :s3_acl_option)
48
+ SENSITIVE = []
49
+ include Aws::Structure
50
+ end
51
+
13
52
  # Provides information about an Athena query error. The `AthenaError`
14
53
  # feature provides standardized error information to help you understand
15
54
  # failed queries and take steps after a query failure occurs.
16
55
  # `AthenaError` includes an `ErrorCategory` field that specifies whether
17
56
  # the cause of the failed query is due to system error, user error, or
18
- # unknown error.
57
+ # other error.
19
58
  #
20
59
  # @!attribute [rw] error_category
21
60
  # An integer value that specifies the category of a query failure
@@ -25,7 +64,7 @@ module Aws::Athena
25
64
  #
26
65
  # **2** - User
27
66
  #
28
- # **3** - Unknown
67
+ # **3** - Other
29
68
  # @return [Integer]
30
69
  #
31
70
  # @!attribute [rw] error_type
@@ -434,6 +473,9 @@ module Aws::Athena
434
473
  # kms_key: "String",
435
474
  # },
436
475
  # expected_bucket_owner: "String",
476
+ # acl_configuration: {
477
+ # s3_acl_option: "BUCKET_OWNER_FULL_CONTROL", # required, accepts BUCKET_OWNER_FULL_CONTROL
478
+ # },
437
479
  # },
438
480
  # enforce_work_group_configuration: false,
439
481
  # publish_cloud_watch_metrics_enabled: false,
@@ -1642,8 +1684,8 @@ module Aws::Athena
1642
1684
  include Aws::Structure
1643
1685
  end
1644
1686
 
1645
- # A query, where `QueryString` is the list of SQL query statements that
1646
- # comprise the query.
1687
+ # A query, where `QueryString` contains the SQL statements that make up
1688
+ # the query.
1647
1689
  #
1648
1690
  # @!attribute [rw] name
1649
1691
  # The query name.
@@ -1658,7 +1700,7 @@ module Aws::Athena
1658
1700
  # @return [String]
1659
1701
  #
1660
1702
  # @!attribute [rw] query_string
1661
- # The SQL query statements that comprise the query.
1703
+ # The SQL statements that make up the query.
1662
1704
  # @return [String]
1663
1705
  #
1664
1706
  # @!attribute [rw] named_query_id
@@ -1973,6 +2015,9 @@ module Aws::Athena
1973
2015
  # kms_key: "String",
1974
2016
  # },
1975
2017
  # expected_bucket_owner: "String",
2018
+ # acl_configuration: {
2019
+ # s3_acl_option: "BUCKET_OWNER_FULL_CONTROL", # required, accepts BUCKET_OWNER_FULL_CONTROL
2020
+ # },
1976
2021
  # }
1977
2022
  #
1978
2023
  # @!attribute [rw] output_location
@@ -2028,12 +2073,29 @@ module Aws::Athena
2028
2073
  # [1]: https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html
2029
2074
  # @return [String]
2030
2075
  #
2076
+ # @!attribute [rw] acl_configuration
2077
+ # Indicates that an Amazon S3 canned ACL should be set to control
2078
+ # ownership of stored query results. Currently the only supported
2079
+ # canned ACL is `BUCKET_OWNER_FULL_CONTROL`. This is a client-side
2080
+ # setting. If workgroup settings override client-side settings, then
2081
+ # the query uses the ACL configuration that is specified for the
2082
+ # workgroup, and also uses the location for storing query results
2083
+ # specified in the workgroup. For more information, see
2084
+ # WorkGroupConfiguration$EnforceWorkGroupConfiguration and [Workgroup
2085
+ # Settings Override Client-Side Settings][1].
2086
+ #
2087
+ #
2088
+ #
2089
+ # [1]: https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html
2090
+ # @return [Types::AclConfiguration]
2091
+ #
2031
2092
  # @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ResultConfiguration AWS API Documentation
2032
2093
  #
2033
2094
  class ResultConfiguration < Struct.new(
2034
2095
  :output_location,
2035
2096
  :encryption_configuration,
2036
- :expected_bucket_owner)
2097
+ :expected_bucket_owner,
2098
+ :acl_configuration)
2037
2099
  SENSITIVE = []
2038
2100
  include Aws::Structure
2039
2101
  end
@@ -2054,6 +2116,10 @@ module Aws::Athena
2054
2116
  # remove_encryption_configuration: false,
2055
2117
  # expected_bucket_owner: "String",
2056
2118
  # remove_expected_bucket_owner: false,
2119
+ # acl_configuration: {
2120
+ # s3_acl_option: "BUCKET_OWNER_FULL_CONTROL", # required, accepts BUCKET_OWNER_FULL_CONTROL
2121
+ # },
2122
+ # remove_acl_configuration: false,
2057
2123
  # }
2058
2124
  #
2059
2125
  # @!attribute [rw] output_location
@@ -2143,6 +2209,24 @@ module Aws::Athena
2143
2209
  # [1]: https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html
2144
2210
  # @return [Boolean]
2145
2211
  #
2212
+ # @!attribute [rw] acl_configuration
2213
+ # The ACL configuration for the query results.
2214
+ # @return [Types::AclConfiguration]
2215
+ #
2216
+ # @!attribute [rw] remove_acl_configuration
2217
+ # If set to `true`, indicates that the previously-specified ACL
2218
+ # configuration for queries in this workgroup should be ignored and
2219
+ # set to null. If set to `false` or not set, and a value is present in
2220
+ # the `AclConfiguration` of `ResultConfigurationUpdates`, the
2221
+ # `AclConfiguration` in the workgroup's `ResultConfiguration` is
2222
+ # updated with the new value. For more information, see [Workgroup
2223
+ # Settings Override Client-Side Settings][1].
2224
+ #
2225
+ #
2226
+ #
2227
+ # [1]: https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html
2228
+ # @return [Boolean]
2229
+ #
2146
2230
  # @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ResultConfigurationUpdates AWS API Documentation
2147
2231
  #
2148
2232
  class ResultConfigurationUpdates < Struct.new(
@@ -2151,12 +2235,14 @@ module Aws::Athena
2151
2235
  :encryption_configuration,
2152
2236
  :remove_encryption_configuration,
2153
2237
  :expected_bucket_owner,
2154
- :remove_expected_bucket_owner)
2238
+ :remove_expected_bucket_owner,
2239
+ :acl_configuration,
2240
+ :remove_acl_configuration)
2155
2241
  SENSITIVE = []
2156
2242
  include Aws::Structure
2157
2243
  end
2158
2244
 
2159
- # The metadata and rows that comprise a query result set. The metadata
2245
+ # The metadata and rows that make up a query result set. The metadata
2160
2246
  # describes the column structure and data types. To return a `ResultSet`
2161
2247
  # object, use GetQueryResults.
2162
2248
  #
@@ -2194,7 +2280,7 @@ module Aws::Athena
2194
2280
  include Aws::Structure
2195
2281
  end
2196
2282
 
2197
- # The rows that comprise a query result table.
2283
+ # The rows that make up a query result table.
2198
2284
  #
2199
2285
  # @!attribute [rw] data
2200
2286
  # The data that populates a row in a query result table.
@@ -2225,6 +2311,9 @@ module Aws::Athena
2225
2311
  # kms_key: "String",
2226
2312
  # },
2227
2313
  # expected_bucket_owner: "String",
2314
+ # acl_configuration: {
2315
+ # s3_acl_option: "BUCKET_OWNER_FULL_CONTROL", # required, accepts BUCKET_OWNER_FULL_CONTROL
2316
+ # },
2228
2317
  # },
2229
2318
  # work_group: "WorkGroupName",
2230
2319
  # }
@@ -2620,6 +2709,47 @@ module Aws::Athena
2620
2709
  #
2621
2710
  class UpdateDataCatalogOutput < Aws::EmptyStructure; end
2622
2711
 
2712
+ # @note When making an API call, you may pass UpdateNamedQueryInput
2713
+ # data as a hash:
2714
+ #
2715
+ # {
2716
+ # named_query_id: "NamedQueryId", # required
2717
+ # name: "NameString", # required
2718
+ # description: "NamedQueryDescriptionString",
2719
+ # query_string: "QueryString", # required
2720
+ # }
2721
+ #
2722
+ # @!attribute [rw] named_query_id
2723
+ # The unique identifier (UUID) of the query.
2724
+ # @return [String]
2725
+ #
2726
+ # @!attribute [rw] name
2727
+ # The name of the query.
2728
+ # @return [String]
2729
+ #
2730
+ # @!attribute [rw] description
2731
+ # The query description.
2732
+ # @return [String]
2733
+ #
2734
+ # @!attribute [rw] query_string
2735
+ # The contents of the query with all query statements.
2736
+ # @return [String]
2737
+ #
2738
+ # @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/UpdateNamedQueryInput AWS API Documentation
2739
+ #
2740
+ class UpdateNamedQueryInput < Struct.new(
2741
+ :named_query_id,
2742
+ :name,
2743
+ :description,
2744
+ :query_string)
2745
+ SENSITIVE = []
2746
+ include Aws::Structure
2747
+ end
2748
+
2749
+ # @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/UpdateNamedQueryOutput AWS API Documentation
2750
+ #
2751
+ class UpdateNamedQueryOutput < Aws::EmptyStructure; end
2752
+
2623
2753
  # @note When making an API call, you may pass UpdatePreparedStatementInput
2624
2754
  # data as a hash:
2625
2755
  #
@@ -2679,6 +2809,10 @@ module Aws::Athena
2679
2809
  # remove_encryption_configuration: false,
2680
2810
  # expected_bucket_owner: "String",
2681
2811
  # remove_expected_bucket_owner: false,
2812
+ # acl_configuration: {
2813
+ # s3_acl_option: "BUCKET_OWNER_FULL_CONTROL", # required, accepts BUCKET_OWNER_FULL_CONTROL
2814
+ # },
2815
+ # remove_acl_configuration: false,
2682
2816
  # },
2683
2817
  # publish_cloud_watch_metrics_enabled: false,
2684
2818
  # bytes_scanned_cutoff_per_query: 1,
@@ -2798,6 +2932,9 @@ module Aws::Athena
2798
2932
  # kms_key: "String",
2799
2933
  # },
2800
2934
  # expected_bucket_owner: "String",
2935
+ # acl_configuration: {
2936
+ # s3_acl_option: "BUCKET_OWNER_FULL_CONTROL", # required, accepts BUCKET_OWNER_FULL_CONTROL
2937
+ # },
2801
2938
  # },
2802
2939
  # enforce_work_group_configuration: false,
2803
2940
  # publish_cloud_watch_metrics_enabled: false,
@@ -2901,6 +3038,10 @@ module Aws::Athena
2901
3038
  # remove_encryption_configuration: false,
2902
3039
  # expected_bucket_owner: "String",
2903
3040
  # remove_expected_bucket_owner: false,
3041
+ # acl_configuration: {
3042
+ # s3_acl_option: "BUCKET_OWNER_FULL_CONTROL", # required, accepts BUCKET_OWNER_FULL_CONTROL
3043
+ # },
3044
+ # remove_acl_configuration: false,
2904
3045
  # },
2905
3046
  # publish_cloud_watch_metrics_enabled: false,
2906
3047
  # bytes_scanned_cutoff_per_query: 1,
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-athena/customizations'
48
48
  # @!group service
49
49
  module Aws::Athena
50
50
 
51
- GEM_VERSION = '1.49.0'
51
+ GEM_VERSION = '1.52.0'
52
52
 
53
53
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-athena
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.49.0
4
+ version: 1.52.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-14 00:00:00.000000000 Z
11
+ date: 2022-03-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.126.0
22
+ version: 3.127.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.126.0
32
+ version: 3.127.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement