aws-sdk-athena 1.18.0 → 1.19.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
  SHA1:
3
- metadata.gz: d6a371e77df49945a09ad49a66315d3380119393
4
- data.tar.gz: c04ae803fbe8c2bcecff6d60e574a7732edf313f
3
+ metadata.gz: 4ac48ea53a1a555aee6df6cddb7d534baa9ff196
4
+ data.tar.gz: 04e0ddf48b0d26361acf7aa3ea53f6e69256daf5
5
5
  SHA512:
6
- metadata.gz: d62ae3a105d8472a8aab8c0e6ffaa96117f429f2815cb3a430b03e0ef91d7cb4e78a90f7573d33e186a89f89fcb116c8c860dae04f042a84ca526b4a93eea517
7
- data.tar.gz: 38a23e3bedd989943a6f009f1269934242186212e3540020b029ea9ae614f9fd242f2705b94ec9459462820f7e08ae75f156065cc862694e44a5c80bae2bcfde
6
+ metadata.gz: 0bf498bc9ad0f96ce658d68ea75d0b82cf8327ad8f8cc61db3ef070f72de35dec957630570d2ee9623a9711e26bb494865e2e7ba82bea9f061cc63fc79e1a8c3
7
+ data.tar.gz: a13d23fb0807683d2fecdd4d066a84c130966bc7b367a9b475b204bc88e73c431c9ce3511874fd91ffea82cbf44803e04371a134c45b512e00318e000b7d4ca4
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-athena/customizations'
42
42
  # @service
43
43
  module Aws::Athena
44
44
 
45
- GEM_VERSION = '1.18.0'
45
+ GEM_VERSION = '1.19.0'
46
46
 
47
47
  end
@@ -473,6 +473,7 @@ module Aws::Athena
473
473
  # enforce_work_group_configuration: false,
474
474
  # publish_cloud_watch_metrics_enabled: false,
475
475
  # bytes_scanned_cutoff_per_query: 1,
476
+ # requester_pays_enabled: false,
476
477
  # },
477
478
  # description: "WorkGroupDescriptionString",
478
479
  # tags: [
@@ -713,6 +714,7 @@ module Aws::Athena
713
714
  # resp.work_group.configuration.enforce_work_group_configuration #=> Boolean
714
715
  # resp.work_group.configuration.publish_cloud_watch_metrics_enabled #=> Boolean
715
716
  # resp.work_group.configuration.bytes_scanned_cutoff_per_query #=> Integer
717
+ # resp.work_group.configuration.requester_pays_enabled #=> Boolean
716
718
  # resp.work_group.description #=> String
717
719
  # resp.work_group.creation_time #=> Time
718
720
  #
@@ -1131,6 +1133,7 @@ module Aws::Athena
1131
1133
  # publish_cloud_watch_metrics_enabled: false,
1132
1134
  # bytes_scanned_cutoff_per_query: 1,
1133
1135
  # remove_bytes_scanned_cutoff_per_query: false,
1136
+ # requester_pays_enabled: false,
1134
1137
  # },
1135
1138
  # state: "ENABLED", # accepts ENABLED, DISABLED
1136
1139
  # })
@@ -1157,7 +1160,7 @@ module Aws::Athena
1157
1160
  params: params,
1158
1161
  config: config)
1159
1162
  context[:gem_name] = 'aws-sdk-athena'
1160
- context[:gem_version] = '1.18.0'
1163
+ context[:gem_version] = '1.19.0'
1161
1164
  Seahorse::Client::Request.new(handlers, context)
1162
1165
  end
1163
1166
 
@@ -392,6 +392,7 @@ module Aws::Athena
392
392
  WorkGroupConfiguration.add_member(:enforce_work_group_configuration, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "EnforceWorkGroupConfiguration"))
393
393
  WorkGroupConfiguration.add_member(:publish_cloud_watch_metrics_enabled, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "PublishCloudWatchMetricsEnabled"))
394
394
  WorkGroupConfiguration.add_member(:bytes_scanned_cutoff_per_query, Shapes::ShapeRef.new(shape: BytesScannedCutoffValue, location_name: "BytesScannedCutoffPerQuery"))
395
+ WorkGroupConfiguration.add_member(:requester_pays_enabled, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "RequesterPaysEnabled"))
395
396
  WorkGroupConfiguration.struct_class = Types::WorkGroupConfiguration
396
397
 
397
398
  WorkGroupConfigurationUpdates.add_member(:enforce_work_group_configuration, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "EnforceWorkGroupConfiguration"))
@@ -399,6 +400,7 @@ module Aws::Athena
399
400
  WorkGroupConfigurationUpdates.add_member(:publish_cloud_watch_metrics_enabled, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "PublishCloudWatchMetricsEnabled"))
400
401
  WorkGroupConfigurationUpdates.add_member(:bytes_scanned_cutoff_per_query, Shapes::ShapeRef.new(shape: BytesScannedCutoffValue, location_name: "BytesScannedCutoffPerQuery"))
401
402
  WorkGroupConfigurationUpdates.add_member(:remove_bytes_scanned_cutoff_per_query, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "RemoveBytesScannedCutoffPerQuery"))
403
+ WorkGroupConfigurationUpdates.add_member(:requester_pays_enabled, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "RequesterPaysEnabled"))
402
404
  WorkGroupConfigurationUpdates.struct_class = Types::WorkGroupConfigurationUpdates
403
405
 
404
406
  WorkGroupSummary.add_member(:name, Shapes::ShapeRef.new(shape: WorkGroupName, location_name: "Name"))
@@ -223,6 +223,7 @@ module Aws::Athena
223
223
  # enforce_work_group_configuration: false,
224
224
  # publish_cloud_watch_metrics_enabled: false,
225
225
  # bytes_scanned_cutoff_per_query: 1,
226
+ # requester_pays_enabled: false,
226
227
  # },
227
228
  # description: "WorkGroupDescriptionString",
228
229
  # tags: [
@@ -924,8 +925,7 @@ module Aws::Athena
924
925
  # The location in Amazon S3 where query results are stored and the
925
926
  # encryption option, if any, used for query results. These are known as
926
927
  # "client-side settings". If workgroup settings override client-side
927
- # settings, then the query uses the location for the query results and
928
- # the encryption configuration that are specified for the workgroup.
928
+ # settings, then the query uses the workgroup settings.
929
929
  #
930
930
  # @note When making an API call, you may pass ResultConfiguration
931
931
  # data as a hash:
@@ -940,13 +940,14 @@ module Aws::Athena
940
940
  #
941
941
  # @!attribute [rw] output_location
942
942
  # The location in Amazon S3 where your query results are stored, such
943
- # as `s3://path/to/query/bucket/`. For more information, see [Queries
944
- # and Query Result Files.][1] If workgroup settings override
945
- # client-side settings, then the query uses the location for the query
946
- # results and the encryption configuration that are specified for the
947
- # workgroup. The "workgroup settings override" is specified in
948
- # EnforceWorkGroupConfiguration (true/false) in the
949
- # WorkGroupConfiguration. See
943
+ # as `s3://path/to/query/bucket/`. To run the query, you must specify
944
+ # the query results location using one of the ways: either for
945
+ # individual queries using either this setting (client-side), or in
946
+ # the workgroup, using WorkGroupConfiguration. If none of them is set,
947
+ # Athena issues an error that no output location is provided. For more
948
+ # information, see [Query Results][1]. If workgroup settings override
949
+ # client-side settings, then the query uses the settings specified for
950
+ # the workgroup. See
950
951
  # WorkGroupConfiguration$EnforceWorkGroupConfiguration.
951
952
  #
952
953
  #
@@ -995,11 +996,11 @@ module Aws::Athena
995
996
  #
996
997
  # @!attribute [rw] output_location
997
998
  # The location in Amazon S3 where your query results are stored, such
998
- # as `s3://path/to/query/bucket/`. For more information, see [Queries
999
- # and Query Result Files.][1] If workgroup settings override
1000
- # client-side settings, then the query uses the location for the query
1001
- # results and the encryption configuration that are specified for the
1002
- # workgroup. The "workgroup settings override" is specified in
999
+ # as `s3://path/to/query/bucket/`. For more information, see [Query
1000
+ # Results][1] If workgroup settings override client-side settings,
1001
+ # then the query uses the location for the query results and the
1002
+ # encryption configuration that are specified for the workgroup. The
1003
+ # "workgroup settings override" is specified in
1003
1004
  # EnforceWorkGroupConfiguration (true/false) in the
1004
1005
  # WorkGroupConfiguration. See
1005
1006
  # WorkGroupConfiguration$EnforceWorkGroupConfiguration.
@@ -1400,6 +1401,7 @@ module Aws::Athena
1400
1401
  # publish_cloud_watch_metrics_enabled: false,
1401
1402
  # bytes_scanned_cutoff_per_query: 1,
1402
1403
  # remove_bytes_scanned_cutoff_per_query: false,
1404
+ # requester_pays_enabled: false,
1403
1405
  # },
1404
1406
  # state: "ENABLED", # accepts ENABLED, DISABLED
1405
1407
  # }
@@ -1460,8 +1462,8 @@ module Aws::Athena
1460
1462
  # Amazon S3 where query results are stored, the encryption
1461
1463
  # configuration, if any, used for query results; whether the Amazon
1462
1464
  # CloudWatch Metrics are enabled for the workgroup; whether workgroup
1463
- # settings override client-side settings; and the data usage limit for
1464
- # the amount of data scanned per query, if it is specified. The
1465
+ # settings override client-side settings; and the data usage limits
1466
+ # for the amount of data scanned per query or per workgroup. The
1465
1467
  # workgroup settings override is specified in
1466
1468
  # EnforceWorkGroupConfiguration (true/false) in the
1467
1469
  # WorkGroupConfiguration. See
@@ -1491,9 +1493,9 @@ module Aws::Athena
1491
1493
  # Amazon S3 where query results are stored, the encryption option, if
1492
1494
  # any, used for query results, whether the Amazon CloudWatch Metrics are
1493
1495
  # enabled for the workgroup and whether workgroup settings override
1494
- # query settings, and the data usage limit for the amount of data
1495
- # scanned per query, if it is specified. The workgroup settings override
1496
- # is specified in EnforceWorkGroupConfiguration (true/false) in the
1496
+ # query settings, and the data usage limits for the amount of data
1497
+ # scanned per query or per workgroup. The workgroup settings override is
1498
+ # specified in EnforceWorkGroupConfiguration (true/false) in the
1497
1499
  # WorkGroupConfiguration. See
1498
1500
  # WorkGroupConfiguration$EnforceWorkGroupConfiguration.
1499
1501
  #
@@ -1511,12 +1513,22 @@ module Aws::Athena
1511
1513
  # enforce_work_group_configuration: false,
1512
1514
  # publish_cloud_watch_metrics_enabled: false,
1513
1515
  # bytes_scanned_cutoff_per_query: 1,
1516
+ # requester_pays_enabled: false,
1514
1517
  # }
1515
1518
  #
1516
1519
  # @!attribute [rw] result_configuration
1517
1520
  # The configuration for the workgroup, which includes the location in
1518
1521
  # Amazon S3 where query results are stored and the encryption option,
1519
- # if any, used for query results.
1522
+ # if any, used for query results. To run the query, you must specify
1523
+ # the query results location using one of the ways: either in the
1524
+ # workgroup using this setting, or for individual queries
1525
+ # (client-side), using ResultConfiguration$OutputLocation. If none of
1526
+ # them is set, Athena issues an error that no output location is
1527
+ # provided. For more information, see [Query Results][1].
1528
+ #
1529
+ #
1530
+ #
1531
+ # [1]: https://docs.aws.amazon.com/athena/latest/ug/querying.html
1520
1532
  # @return [Types::ResultConfiguration]
1521
1533
  #
1522
1534
  # @!attribute [rw] enforce_work_group_configuration
@@ -1540,13 +1552,28 @@ module Aws::Athena
1540
1552
  # query in a workgroup is allowed to scan.
1541
1553
  # @return [Integer]
1542
1554
  #
1555
+ # @!attribute [rw] requester_pays_enabled
1556
+ # If set to `true`, allows members assigned to a workgroup to
1557
+ # reference Amazon S3 Requester Pays buckets in queries. If set to
1558
+ # `false`, workgroup members cannot query data from Requester Pays
1559
+ # buckets, and queries that retrieve data from Requester Pays buckets
1560
+ # cause an error. The default is `false`. For more information about
1561
+ # Requester Pays buckets, see [Requester Pays Buckets][1] in the
1562
+ # *Amazon Simple Storage Service Developer Guide*.
1563
+ #
1564
+ #
1565
+ #
1566
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/RequesterPaysBuckets.html
1567
+ # @return [Boolean]
1568
+ #
1543
1569
  # @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/WorkGroupConfiguration AWS API Documentation
1544
1570
  #
1545
1571
  class WorkGroupConfiguration < Struct.new(
1546
1572
  :result_configuration,
1547
1573
  :enforce_work_group_configuration,
1548
1574
  :publish_cloud_watch_metrics_enabled,
1549
- :bytes_scanned_cutoff_per_query)
1575
+ :bytes_scanned_cutoff_per_query,
1576
+ :requester_pays_enabled)
1550
1577
  include Aws::Structure
1551
1578
  end
1552
1579
 
@@ -1575,6 +1602,7 @@ module Aws::Athena
1575
1602
  # publish_cloud_watch_metrics_enabled: false,
1576
1603
  # bytes_scanned_cutoff_per_query: 1,
1577
1604
  # remove_bytes_scanned_cutoff_per_query: false,
1605
+ # requester_pays_enabled: false,
1578
1606
  # }
1579
1607
  #
1580
1608
  # @!attribute [rw] enforce_work_group_configuration
@@ -1609,6 +1637,20 @@ module Aws::Athena
1609
1637
  # WorkGroupConfiguration$BytesScannedCutoffPerQuery
1610
1638
  # @return [Boolean]
1611
1639
  #
1640
+ # @!attribute [rw] requester_pays_enabled
1641
+ # If set to `true`, allows members assigned to a workgroup to specify
1642
+ # Amazon S3 Requester Pays buckets in queries. If set to `false`,
1643
+ # workgroup members cannot query data from Requester Pays buckets, and
1644
+ # queries that retrieve data from Requester Pays buckets cause an
1645
+ # error. The default is `false`. For more information about Requester
1646
+ # Pays buckets, see [Requester Pays Buckets][1] in the *Amazon Simple
1647
+ # Storage Service Developer Guide*.
1648
+ #
1649
+ #
1650
+ #
1651
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/RequesterPaysBuckets.html
1652
+ # @return [Boolean]
1653
+ #
1612
1654
  # @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/WorkGroupConfigurationUpdates AWS API Documentation
1613
1655
  #
1614
1656
  class WorkGroupConfigurationUpdates < Struct.new(
@@ -1616,7 +1658,8 @@ module Aws::Athena
1616
1658
  :result_configuration_updates,
1617
1659
  :publish_cloud_watch_metrics_enabled,
1618
1660
  :bytes_scanned_cutoff_per_query,
1619
- :remove_bytes_scanned_cutoff_per_query)
1661
+ :remove_bytes_scanned_cutoff_per_query,
1662
+ :requester_pays_enabled)
1620
1663
  include Aws::Structure
1621
1664
  end
1622
1665
 
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.18.0
4
+ version: 1.19.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: 2019-07-25 00:00:00.000000000 Z
11
+ date: 2019-08-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core