aws-sdk-dsql 1.3.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 39241b71512226f795c5826d8a91bd4bfa63aad961f72bfce0f4f70fea2cdecf
4
- data.tar.gz: '0803d12e53fc1a6164b3fc07980583580b8bbb08f69d6375a02302ba751773a5'
3
+ metadata.gz: 3e62c9cf0cf50fc664ec0a3640d264e7b86d95d065099983cf08ee6684958319
4
+ data.tar.gz: c46d5ac0100ae56291cc2b32b7db29394cb978950bb930b5a2545a11fb1be3d2
5
5
  SHA512:
6
- metadata.gz: e537435b122f12f0ff45474748c76ed1e38821c9a7c4f689c8fc9924b1bb1e3f1f9bd1746ba61940872afc95b7c83c609efa3205bea3cf6e382f989429e9c380
7
- data.tar.gz: ec79a60bd1b87558d0338dcb79ea746bf158cd1b049a5be86de7191d00efdb93d61846891c10631adb93c83dff0b48d21b95aee85396493b107ea3d3f2bb789c
6
+ metadata.gz: a08168f0806e8ffff25f1d91ad557461f755b46695d280f8ed62edd64d615b94dd5c6064615c9152324ab6392ab08e06170f61d62d5327d011f96834e70744cf
7
+ data.tar.gz: 2bea120bbea46d66d2941f856a99b822edc6bb852ed600f0ea484d39ef4559dd11cb12033a054d4f2dc5fda0fda89dddcc0d860337be24614635f7d23f3dad28
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
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
+
9
+ 1.4.0 (2025-02-18)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.3.0 (2025-02-06)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.3.0
1
+ 1.5.0
@@ -7,34 +7,34 @@
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
10
- require 'seahorse/client/plugins/content_length.rb'
11
- require 'aws-sdk-core/plugins/credentials_configuration.rb'
12
- require 'aws-sdk-core/plugins/logging.rb'
13
- require 'aws-sdk-core/plugins/param_converter.rb'
14
- require 'aws-sdk-core/plugins/param_validator.rb'
15
- require 'aws-sdk-core/plugins/user_agent.rb'
16
- require 'aws-sdk-core/plugins/helpful_socket_errors.rb'
17
- require 'aws-sdk-core/plugins/retry_errors.rb'
18
- require 'aws-sdk-core/plugins/global_configuration.rb'
19
- require 'aws-sdk-core/plugins/regional_endpoint.rb'
20
- require 'aws-sdk-core/plugins/endpoint_discovery.rb'
21
- require 'aws-sdk-core/plugins/endpoint_pattern.rb'
22
- require 'aws-sdk-core/plugins/response_paging.rb'
23
- require 'aws-sdk-core/plugins/stub_responses.rb'
24
- require 'aws-sdk-core/plugins/idempotency_token.rb'
25
- require 'aws-sdk-core/plugins/invocation_id.rb'
26
- require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
27
- require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
28
- require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
29
- require 'aws-sdk-core/plugins/transfer_encoding.rb'
30
- require 'aws-sdk-core/plugins/http_checksum.rb'
31
- require 'aws-sdk-core/plugins/checksum_algorithm.rb'
32
- require 'aws-sdk-core/plugins/request_compression.rb'
33
- require 'aws-sdk-core/plugins/defaults_mode.rb'
34
- require 'aws-sdk-core/plugins/recursion_detection.rb'
35
- require 'aws-sdk-core/plugins/telemetry.rb'
36
- require 'aws-sdk-core/plugins/sign.rb'
37
- require 'aws-sdk-core/plugins/protocols/rest_json.rb'
10
+ require 'seahorse/client/plugins/content_length'
11
+ require 'aws-sdk-core/plugins/credentials_configuration'
12
+ require 'aws-sdk-core/plugins/logging'
13
+ require 'aws-sdk-core/plugins/param_converter'
14
+ require 'aws-sdk-core/plugins/param_validator'
15
+ require 'aws-sdk-core/plugins/user_agent'
16
+ require 'aws-sdk-core/plugins/helpful_socket_errors'
17
+ require 'aws-sdk-core/plugins/retry_errors'
18
+ require 'aws-sdk-core/plugins/global_configuration'
19
+ require 'aws-sdk-core/plugins/regional_endpoint'
20
+ require 'aws-sdk-core/plugins/endpoint_discovery'
21
+ require 'aws-sdk-core/plugins/endpoint_pattern'
22
+ require 'aws-sdk-core/plugins/response_paging'
23
+ require 'aws-sdk-core/plugins/stub_responses'
24
+ require 'aws-sdk-core/plugins/idempotency_token'
25
+ require 'aws-sdk-core/plugins/invocation_id'
26
+ require 'aws-sdk-core/plugins/jsonvalue_converter'
27
+ require 'aws-sdk-core/plugins/client_metrics_plugin'
28
+ require 'aws-sdk-core/plugins/client_metrics_send_plugin'
29
+ require 'aws-sdk-core/plugins/transfer_encoding'
30
+ require 'aws-sdk-core/plugins/http_checksum'
31
+ require 'aws-sdk-core/plugins/checksum_algorithm'
32
+ require 'aws-sdk-core/plugins/request_compression'
33
+ require 'aws-sdk-core/plugins/defaults_mode'
34
+ require 'aws-sdk-core/plugins/recursion_detection'
35
+ require 'aws-sdk-core/plugins/telemetry'
36
+ require 'aws-sdk-core/plugins/sign'
37
+ require 'aws-sdk-core/plugins/protocols/rest_json'
38
38
 
39
39
  module Aws::DSQL
40
40
  # An API client for DSQL. To construct a client, you need to configure a `:region` and `:credentials`.
@@ -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.3.0'
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"
@@ -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
@@ -55,7 +55,7 @@ module Aws::DSQL
55
55
  autoload :EndpointProvider, 'aws-sdk-dsql/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-dsql/endpoints'
57
57
 
58
- GEM_VERSION = '1.3.0'
58
+ GEM_VERSION = '1.5.0'
59
59
 
60
60
  end
61
61
 
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.3.0
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-02-06 00:00:00.000000000 Z
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