aws-sdk-dsql 1.4.0 → 1.5.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-dsql/client.rb +36 -1
- data/lib/aws-sdk-dsql/client_api.rb +22 -0
- data/lib/aws-sdk-dsql/types.rb +24 -0
- data/lib/aws-sdk-dsql.rb +1 -1
- data/sig/client.rbs +10 -0
- data/sig/types.rbs +10 -0
- 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: 3e62c9cf0cf50fc664ec0a3640d264e7b86d95d065099983cf08ee6684958319
|
4
|
+
data.tar.gz: c46d5ac0100ae56291cc2b32b7db29394cb978950bb930b5a2545a11fb1be3d2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a08168f0806e8ffff25f1d91ad557461f755b46695d280f8ed62edd64d615b94dd5c6064615c9152324ab6392ab08e06170f61d62d5327d011f96834e70744cf
|
7
|
+
data.tar.gz: 2bea120bbea46d66d2941f856a99b822edc6bb852ed600f0ea484d39ef4559dd11cb12033a054d4f2dc5fda0fda89dddcc0d860337be24614635f7d23f3dad28
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.5.0 (2025-04-16)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Added GetClusterEndpointService API. The new API allows retrieving endpoint service name specific to a cluster.
|
8
|
+
|
4
9
|
1.4.0 (2025-02-18)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.5.0
|
data/lib/aws-sdk-dsql/client.rb
CHANGED
@@ -781,6 +781,41 @@ module Aws::DSQL
|
|
781
781
|
req.send_request(options)
|
782
782
|
end
|
783
783
|
|
784
|
+
# Retrieves the VPC endpoint service name.
|
785
|
+
#
|
786
|
+
# @option params [required, String] :identifier
|
787
|
+
# The ID of the cluster to retrieve.
|
788
|
+
#
|
789
|
+
# @return [Types::GetVpcEndpointServiceNameOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
790
|
+
#
|
791
|
+
# * {Types::GetVpcEndpointServiceNameOutput#service_name #service_name} => String
|
792
|
+
#
|
793
|
+
#
|
794
|
+
# @example Example: Get VPC Endpoint Service Name
|
795
|
+
#
|
796
|
+
# resp = client.get_vpc_endpoint_service_name({
|
797
|
+
# identifier: "kiqenqglxyl2snyvkvnj2c3s2e",
|
798
|
+
# })
|
799
|
+
#
|
800
|
+
# @example Request syntax with placeholder values
|
801
|
+
#
|
802
|
+
# resp = client.get_vpc_endpoint_service_name({
|
803
|
+
# identifier: "ClusterId", # required
|
804
|
+
# })
|
805
|
+
#
|
806
|
+
# @example Response structure
|
807
|
+
#
|
808
|
+
# resp.service_name #=> String
|
809
|
+
#
|
810
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/GetVpcEndpointServiceName AWS API Documentation
|
811
|
+
#
|
812
|
+
# @overload get_vpc_endpoint_service_name(params = {})
|
813
|
+
# @param [Hash] params ({})
|
814
|
+
def get_vpc_endpoint_service_name(params = {}, options = {})
|
815
|
+
req = build_request(:get_vpc_endpoint_service_name, params)
|
816
|
+
req.send_request(options)
|
817
|
+
end
|
818
|
+
|
784
819
|
# Retrieves information about a list of clusters.
|
785
820
|
#
|
786
821
|
# @option params [Integer] :max_results
|
@@ -1026,7 +1061,7 @@ module Aws::DSQL
|
|
1026
1061
|
tracer: tracer
|
1027
1062
|
)
|
1028
1063
|
context[:gem_name] = 'aws-sdk-dsql'
|
1029
|
-
context[:gem_version] = '1.
|
1064
|
+
context[:gem_version] = '1.5.0'
|
1030
1065
|
Seahorse::Client::Request.new(handlers, context)
|
1031
1066
|
end
|
1032
1067
|
|
@@ -36,6 +36,8 @@ module Aws::DSQL
|
|
36
36
|
DeletionProtectionEnabled = Shapes::BooleanShape.new(name: 'DeletionProtectionEnabled')
|
37
37
|
GetClusterInput = Shapes::StructureShape.new(name: 'GetClusterInput')
|
38
38
|
GetClusterOutput = Shapes::StructureShape.new(name: 'GetClusterOutput')
|
39
|
+
GetVpcEndpointServiceNameInput = Shapes::StructureShape.new(name: 'GetVpcEndpointServiceNameInput')
|
40
|
+
GetVpcEndpointServiceNameOutput = Shapes::StructureShape.new(name: 'GetVpcEndpointServiceNameOutput')
|
39
41
|
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
40
42
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
41
43
|
LinkedClusterProperties = Shapes::StructureShape.new(name: 'LinkedClusterProperties')
|
@@ -48,6 +50,7 @@ module Aws::DSQL
|
|
48
50
|
Region = Shapes::StringShape.new(name: 'Region')
|
49
51
|
RegionList = Shapes::ListShape.new(name: 'RegionList')
|
50
52
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
53
|
+
ServiceName = Shapes::StringShape.new(name: 'ServiceName')
|
51
54
|
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
52
55
|
String = Shapes::StringShape.new(name: 'String')
|
53
56
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
@@ -131,6 +134,12 @@ module Aws::DSQL
|
|
131
134
|
GetClusterOutput.add_member(:linked_cluster_arns, Shapes::ShapeRef.new(shape: ClusterArnList, location_name: "linkedClusterArns"))
|
132
135
|
GetClusterOutput.struct_class = Types::GetClusterOutput
|
133
136
|
|
137
|
+
GetVpcEndpointServiceNameInput.add_member(:identifier, Shapes::ShapeRef.new(shape: ClusterId, required: true, location: "uri", location_name: "identifier"))
|
138
|
+
GetVpcEndpointServiceNameInput.struct_class = Types::GetVpcEndpointServiceNameInput
|
139
|
+
|
140
|
+
GetVpcEndpointServiceNameOutput.add_member(:service_name, Shapes::ShapeRef.new(shape: ServiceName, required: true, location_name: "serviceName"))
|
141
|
+
GetVpcEndpointServiceNameOutput.struct_class = Types::GetVpcEndpointServiceNameOutput
|
142
|
+
|
134
143
|
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
135
144
|
InternalServerException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: Integer, location: "header", location_name: "Retry-After"))
|
136
145
|
InternalServerException.struct_class = Types::InternalServerException
|
@@ -299,6 +308,19 @@ module Aws::DSQL
|
|
299
308
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
300
309
|
end)
|
301
310
|
|
311
|
+
api.add_operation(:get_vpc_endpoint_service_name, Seahorse::Model::Operation.new.tap do |o|
|
312
|
+
o.name = "GetVpcEndpointServiceName"
|
313
|
+
o.http_method = "GET"
|
314
|
+
o.http_request_uri = "/clusters/{identifier}/vpc-endpoint-service-name"
|
315
|
+
o.input = Shapes::ShapeRef.new(shape: GetVpcEndpointServiceNameInput)
|
316
|
+
o.output = Shapes::ShapeRef.new(shape: GetVpcEndpointServiceNameOutput)
|
317
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
318
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
319
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
320
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
321
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
322
|
+
end)
|
323
|
+
|
302
324
|
api.add_operation(:list_clusters, Seahorse::Model::Operation.new.tap do |o|
|
303
325
|
o.name = "ListClusters"
|
304
326
|
o.http_method = "GET"
|
data/lib/aws-sdk-dsql/types.rb
CHANGED
@@ -332,6 +332,30 @@ module Aws::DSQL
|
|
332
332
|
include Aws::Structure
|
333
333
|
end
|
334
334
|
|
335
|
+
# @!attribute [rw] identifier
|
336
|
+
# The ID of the cluster to retrieve.
|
337
|
+
# @return [String]
|
338
|
+
#
|
339
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/GetVpcEndpointServiceNameInput AWS API Documentation
|
340
|
+
#
|
341
|
+
class GetVpcEndpointServiceNameInput < Struct.new(
|
342
|
+
:identifier)
|
343
|
+
SENSITIVE = []
|
344
|
+
include Aws::Structure
|
345
|
+
end
|
346
|
+
|
347
|
+
# @!attribute [rw] service_name
|
348
|
+
# The VPC endpoint service name.
|
349
|
+
# @return [String]
|
350
|
+
#
|
351
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/GetVpcEndpointServiceNameOutput AWS API Documentation
|
352
|
+
#
|
353
|
+
class GetVpcEndpointServiceNameOutput < Struct.new(
|
354
|
+
:service_name)
|
355
|
+
SENSITIVE = []
|
356
|
+
include Aws::Structure
|
357
|
+
end
|
358
|
+
|
335
359
|
# The request processing has failed because of an unknown error,
|
336
360
|
# exception or failure.
|
337
361
|
#
|
data/lib/aws-sdk-dsql.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -147,6 +147,16 @@ module Aws
|
|
147
147
|
) -> _GetClusterResponseSuccess
|
148
148
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetClusterResponseSuccess
|
149
149
|
|
150
|
+
interface _GetVpcEndpointServiceNameResponseSuccess
|
151
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetVpcEndpointServiceNameOutput]
|
152
|
+
def service_name: () -> ::String
|
153
|
+
end
|
154
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DSQL/Client.html#get_vpc_endpoint_service_name-instance_method
|
155
|
+
def get_vpc_endpoint_service_name: (
|
156
|
+
identifier: ::String
|
157
|
+
) -> _GetVpcEndpointServiceNameResponseSuccess
|
158
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetVpcEndpointServiceNameResponseSuccess
|
159
|
+
|
150
160
|
interface _ListClustersResponseSuccess
|
151
161
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListClustersOutput]
|
152
162
|
def next_token: () -> ::String
|
data/sig/types.rbs
CHANGED
@@ -92,6 +92,16 @@ module Aws::DSQL
|
|
92
92
|
SENSITIVE: []
|
93
93
|
end
|
94
94
|
|
95
|
+
class GetVpcEndpointServiceNameInput
|
96
|
+
attr_accessor identifier: ::String
|
97
|
+
SENSITIVE: []
|
98
|
+
end
|
99
|
+
|
100
|
+
class GetVpcEndpointServiceNameOutput
|
101
|
+
attr_accessor service_name: ::String
|
102
|
+
SENSITIVE: []
|
103
|
+
end
|
104
|
+
|
95
105
|
class InternalServerException
|
96
106
|
attr_accessor message: ::String
|
97
107
|
attr_accessor retry_after_seconds: ::Integer
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-dsql
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.5.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: 2025-
|
11
|
+
date: 2025-04-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|