aws-sdk-athena 1.68.0 → 1.69.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-athena/client.rb +33 -2
- data/lib/aws-sdk-athena/client_api.rb +17 -0
- data/lib/aws-sdk-athena/endpoints.rb +14 -0
- data/lib/aws-sdk-athena/plugins/endpoints.rb +2 -0
- data/lib/aws-sdk-athena/types.rb +18 -1
- data/lib/aws-sdk-athena.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c2f52f266a1e28dbd160ca5af18fa887c726dccd32f938466526319e165ef0cb
|
4
|
+
data.tar.gz: 5dbaa3903aafbd7dcc1d079672947b36bd0afb176aa4f04cca184ed6c5ba5b93
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cbf876de04df87813510795b071e3e334fa9b0be35d47717c75c42394e01431b5d7a7aa71b9e4e8943433d6bb3a94869602017444729280d947d6f7765e53b26
|
7
|
+
data.tar.gz: 3d016cf9c6d1a104867b4403ec0f5036f6224795c5082a8098bd374d10cbfc687bfd9a9c4ceeedb7d81d6be7a9882c9708062e6625d84324f0b5c64eb6d85be3
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.69.0 (2023-06-02)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release introduces the DeleteCapacityReservation API and the ability to manage capacity reservations using CloudFormation
|
8
|
+
|
4
9
|
1.68.0 (2023-05-31)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.69.0
|
@@ -551,7 +551,11 @@ module Aws::Athena
|
|
551
551
|
req.send_request(options)
|
552
552
|
end
|
553
553
|
|
554
|
-
# Cancels the capacity reservation with the specified name.
|
554
|
+
# Cancels the capacity reservation with the specified name. Cancelled
|
555
|
+
# reservations remain in your account and will be deleted 45 days after
|
556
|
+
# cancellation. During the 45 days, you cannot re-purpose or reuse a
|
557
|
+
# reservation that has been cancelled, but you can refer to its tags and
|
558
|
+
# view it for historical reference.
|
555
559
|
#
|
556
560
|
# @option params [required, String] :name
|
557
561
|
# The name of the capacity reservation to cancel.
|
@@ -970,6 +974,33 @@ module Aws::Athena
|
|
970
974
|
req.send_request(options)
|
971
975
|
end
|
972
976
|
|
977
|
+
# Deletes a cancelled capacity reservation. A reservation must be
|
978
|
+
# cancelled before it can be deleted. A deleted reservation is
|
979
|
+
# immediately removed from your account and can no longer be referenced,
|
980
|
+
# including by its ARN. A deleted reservation cannot be called by
|
981
|
+
# `GetCapacityReservation`, and deleted reservations do not appear in
|
982
|
+
# the output of `ListCapacityReservations`.
|
983
|
+
#
|
984
|
+
# @option params [required, String] :name
|
985
|
+
# The name of the capacity reservation to delete.
|
986
|
+
#
|
987
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
988
|
+
#
|
989
|
+
# @example Request syntax with placeholder values
|
990
|
+
#
|
991
|
+
# resp = client.delete_capacity_reservation({
|
992
|
+
# name: "CapacityReservationName", # required
|
993
|
+
# })
|
994
|
+
#
|
995
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/DeleteCapacityReservation AWS API Documentation
|
996
|
+
#
|
997
|
+
# @overload delete_capacity_reservation(params = {})
|
998
|
+
# @param [Hash] params ({})
|
999
|
+
def delete_capacity_reservation(params = {}, options = {})
|
1000
|
+
req = build_request(:delete_capacity_reservation, params)
|
1001
|
+
req.send_request(options)
|
1002
|
+
end
|
1003
|
+
|
973
1004
|
# Deletes a data catalog.
|
974
1005
|
#
|
975
1006
|
# @option params [required, String] :name
|
@@ -3562,7 +3593,7 @@ module Aws::Athena
|
|
3562
3593
|
params: params,
|
3563
3594
|
config: config)
|
3564
3595
|
context[:gem_name] = 'aws-sdk-athena'
|
3565
|
-
context[:gem_version] = '1.
|
3596
|
+
context[:gem_version] = '1.69.0'
|
3566
3597
|
Seahorse::Client::Request.new(handlers, context)
|
3567
3598
|
end
|
3568
3599
|
|
@@ -86,6 +86,8 @@ module Aws::Athena
|
|
86
86
|
Date = Shapes::TimestampShape.new(name: 'Date')
|
87
87
|
Datum = Shapes::StructureShape.new(name: 'Datum')
|
88
88
|
DefaultExecutorDpuSize = Shapes::IntegerShape.new(name: 'DefaultExecutorDpuSize')
|
89
|
+
DeleteCapacityReservationInput = Shapes::StructureShape.new(name: 'DeleteCapacityReservationInput')
|
90
|
+
DeleteCapacityReservationOutput = Shapes::StructureShape.new(name: 'DeleteCapacityReservationOutput')
|
89
91
|
DeleteDataCatalogInput = Shapes::StructureShape.new(name: 'DeleteDataCatalogInput')
|
90
92
|
DeleteDataCatalogOutput = Shapes::StructureShape.new(name: 'DeleteDataCatalogOutput')
|
91
93
|
DeleteNamedQueryInput = Shapes::StructureShape.new(name: 'DeleteNamedQueryInput')
|
@@ -539,6 +541,11 @@ module Aws::Athena
|
|
539
541
|
Datum.add_member(:var_char_value, Shapes::ShapeRef.new(shape: datumString, location_name: "VarCharValue"))
|
540
542
|
Datum.struct_class = Types::Datum
|
541
543
|
|
544
|
+
DeleteCapacityReservationInput.add_member(:name, Shapes::ShapeRef.new(shape: CapacityReservationName, required: true, location_name: "Name"))
|
545
|
+
DeleteCapacityReservationInput.struct_class = Types::DeleteCapacityReservationInput
|
546
|
+
|
547
|
+
DeleteCapacityReservationOutput.struct_class = Types::DeleteCapacityReservationOutput
|
548
|
+
|
542
549
|
DeleteDataCatalogInput.add_member(:name, Shapes::ShapeRef.new(shape: CatalogNameString, required: true, location_name: "Name"))
|
543
550
|
DeleteDataCatalogInput.struct_class = Types::DeleteDataCatalogInput
|
544
551
|
|
@@ -1441,6 +1448,16 @@ module Aws::Athena
|
|
1441
1448
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1442
1449
|
end)
|
1443
1450
|
|
1451
|
+
api.add_operation(:delete_capacity_reservation, Seahorse::Model::Operation.new.tap do |o|
|
1452
|
+
o.name = "DeleteCapacityReservation"
|
1453
|
+
o.http_method = "POST"
|
1454
|
+
o.http_request_uri = "/"
|
1455
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteCapacityReservationInput)
|
1456
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteCapacityReservationOutput)
|
1457
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1458
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1459
|
+
end)
|
1460
|
+
|
1444
1461
|
api.add_operation(:delete_data_catalog, Seahorse::Model::Operation.new.tap do |o|
|
1445
1462
|
o.name = "DeleteDataCatalog"
|
1446
1463
|
o.http_method = "POST"
|
@@ -165,6 +165,20 @@ module Aws::Athena
|
|
165
165
|
end
|
166
166
|
end
|
167
167
|
|
168
|
+
class DeleteCapacityReservation
|
169
|
+
def self.build(context)
|
170
|
+
unless context.config.regional_endpoint
|
171
|
+
endpoint = context.config.endpoint.to_s
|
172
|
+
end
|
173
|
+
Aws::Athena::EndpointParameters.new(
|
174
|
+
region: context.config.region,
|
175
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
176
|
+
use_fips: context.config.use_fips_endpoint,
|
177
|
+
endpoint: endpoint,
|
178
|
+
)
|
179
|
+
end
|
180
|
+
end
|
181
|
+
|
168
182
|
class DeleteDataCatalog
|
169
183
|
def self.build(context)
|
170
184
|
unless context.config.regional_endpoint
|
@@ -78,6 +78,8 @@ module Aws::Athena
|
|
78
78
|
Aws::Athena::Endpoints::CreatePresignedNotebookUrl.build(context)
|
79
79
|
when :create_work_group
|
80
80
|
Aws::Athena::Endpoints::CreateWorkGroup.build(context)
|
81
|
+
when :delete_capacity_reservation
|
82
|
+
Aws::Athena::Endpoints::DeleteCapacityReservation.build(context)
|
81
83
|
when :delete_data_catalog
|
82
84
|
Aws::Athena::Endpoints::DeleteDataCatalog.build(context)
|
83
85
|
when :delete_named_query
|
data/lib/aws-sdk-athena/types.rb
CHANGED
@@ -1043,6 +1043,22 @@ module Aws::Athena
|
|
1043
1043
|
include Aws::Structure
|
1044
1044
|
end
|
1045
1045
|
|
1046
|
+
# @!attribute [rw] name
|
1047
|
+
# The name of the capacity reservation to delete.
|
1048
|
+
# @return [String]
|
1049
|
+
#
|
1050
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/DeleteCapacityReservationInput AWS API Documentation
|
1051
|
+
#
|
1052
|
+
class DeleteCapacityReservationInput < Struct.new(
|
1053
|
+
:name)
|
1054
|
+
SENSITIVE = []
|
1055
|
+
include Aws::Structure
|
1056
|
+
end
|
1057
|
+
|
1058
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/DeleteCapacityReservationOutput AWS API Documentation
|
1059
|
+
#
|
1060
|
+
class DeleteCapacityReservationOutput < Aws::EmptyStructure; end
|
1061
|
+
|
1046
1062
|
# @!attribute [rw] name
|
1047
1063
|
# The name of the data catalog to delete.
|
1048
1064
|
# @return [String]
|
@@ -2996,7 +3012,8 @@ module Aws::Athena
|
|
2996
3012
|
# @!attribute [rw] execution_parameters
|
2997
3013
|
# A list of values for the parameters in a query. The values are
|
2998
3014
|
# applied sequentially to the parameters in the query in the order in
|
2999
|
-
# which the parameters occur.
|
3015
|
+
# which the parameters occur. The list of parameters is not returned
|
3016
|
+
# in the response.
|
3000
3017
|
# @return [Array<String>]
|
3001
3018
|
#
|
3002
3019
|
# @!attribute [rw] substatement_type
|
data/lib/aws-sdk-athena.rb
CHANGED
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.
|
4
|
+
version: 1.69.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: 2023-
|
11
|
+
date: 2023-06-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|