aws-sdk-redshiftserverless 1.59.0 → 1.60.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: 2ff8ab2ac5bb7efd235102bb0dc9d0971a47d81cdf94d496f844cc183dbaf796
4
- data.tar.gz: 48d1c6a8b67f6813c598f3961d59579a1968f4ad50bffaaaa0fd96d219a316fe
3
+ metadata.gz: 2110572aec218989fc2bf1c0eb25a8a09dfd12c102a6eac8093ed267c6d3472a
4
+ data.tar.gz: 87ba8f0cb7a19ab35b92e6c026d4ee925a5b65066d6c89de8b2f3098bf15fef0
5
5
  SHA512:
6
- metadata.gz: f5b64967b7fa4ddcc6ea727715ee189e4fa0dfee0377db722d2853857e440cd0449e931297f623046f186873a423deeb989eccdf214baca8ab3fe8cc6b2b73cd
7
- data.tar.gz: fd64fa5bbe692ae88516ff85c61be1b5daaeac1a49a10eaaa08a7ed0866429a0e00087426c5cbd06abfebcadd17f2abfe931c593b6fac5382e9ffabf5544f5f5
6
+ metadata.gz: a24e0552f761104f6489487b61510c73f45be4e13b049045d035f50f31ff143640cd8e4857cb359fd8e18fa1359dfc2dd2010d20ee09d047271ad449fa141fde
7
+ data.tar.gz: 9c44dcd77378216962926043fbc546895614319546c4cac76486bc2d3fc3e79995fdc86d056acb37acdf3e07a677be4cdf32b42b32e42f97ade8b51eeea55f56
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.60.0 (2025-12-08)
5
+ ------------------
6
+
7
+ * Feature - Added GetIdentityCenterAuthToken API to retrieve encrypted authentication tokens for Identity Center integrated serverless workgroups. This API enables programmatic access to secure Identity Center tokens with proper error handling and parameter validation across supported SDK languages.
8
+
4
9
  1.59.0 (2025-11-21)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.59.0
1
+ 1.60.0
@@ -1876,6 +1876,58 @@ module Aws::RedshiftServerless
1876
1876
  req.send_request(options)
1877
1877
  end
1878
1878
 
1879
+ # Returns an Identity Center authentication token for accessing Amazon
1880
+ # Redshift Serverless workgroups.
1881
+ #
1882
+ # The token provides secure access to data within the specified
1883
+ # workgroups using Identity Center identity propagation. The token
1884
+ # expires after a specified duration and must be refreshed for continued
1885
+ # access.
1886
+ #
1887
+ # The Identity and Access Management (IAM) user or role that runs
1888
+ # GetIdentityCenterAuthToken must have appropriate permissions to access
1889
+ # the specified workgroups and Identity Center integration must be
1890
+ # configured for the workgroups.
1891
+ #
1892
+ # @option params [required, Array<String>] :workgroup_names
1893
+ # A list of workgroup names for which to generate the Identity Center
1894
+ # authentication token.
1895
+ #
1896
+ # Constraints:
1897
+ #
1898
+ # * Must contain between 1 and 20 workgroup names.
1899
+ #
1900
+ # * Each workgroup name must be a valid Amazon Redshift Serverless
1901
+ # workgroup identifier.
1902
+ #
1903
+ # * All specified workgroups must have Identity Center integration
1904
+ # enabled.
1905
+ #
1906
+ # @return [Types::GetIdentityCenterAuthTokenResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1907
+ #
1908
+ # * {Types::GetIdentityCenterAuthTokenResponse#expiration_time #expiration_time} => Time
1909
+ # * {Types::GetIdentityCenterAuthTokenResponse#token #token} => String
1910
+ #
1911
+ # @example Request syntax with placeholder values
1912
+ #
1913
+ # resp = client.get_identity_center_auth_token({
1914
+ # workgroup_names: ["WorkgroupName"], # required
1915
+ # })
1916
+ #
1917
+ # @example Response structure
1918
+ #
1919
+ # resp.expiration_time #=> Time
1920
+ # resp.token #=> String
1921
+ #
1922
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/GetIdentityCenterAuthToken AWS API Documentation
1923
+ #
1924
+ # @overload get_identity_center_auth_token(params = {})
1925
+ # @param [Hash] params ({})
1926
+ def get_identity_center_auth_token(params = {}, options = {})
1927
+ req = build_request(:get_identity_center_auth_token, params)
1928
+ req.send_request(options)
1929
+ end
1930
+
1879
1931
  # Returns information about a namespace in Amazon Redshift Serverless.
1880
1932
  #
1881
1933
  # @option params [required, String] :namespace_name
@@ -4306,7 +4358,7 @@ module Aws::RedshiftServerless
4306
4358
  tracer: tracer
4307
4359
  )
4308
4360
  context[:gem_name] = 'aws-sdk-redshiftserverless'
4309
- context[:gem_version] = '1.59.0'
4361
+ context[:gem_version] = '1.60.0'
4310
4362
  Seahorse::Client::Request.new(handlers, context)
4311
4363
  end
4312
4364
 
@@ -84,6 +84,8 @@ module Aws::RedshiftServerless
84
84
  GetCustomDomainAssociationResponse = Shapes::StructureShape.new(name: 'GetCustomDomainAssociationResponse')
85
85
  GetEndpointAccessRequest = Shapes::StructureShape.new(name: 'GetEndpointAccessRequest')
86
86
  GetEndpointAccessResponse = Shapes::StructureShape.new(name: 'GetEndpointAccessResponse')
87
+ GetIdentityCenterAuthTokenRequest = Shapes::StructureShape.new(name: 'GetIdentityCenterAuthTokenRequest')
88
+ GetIdentityCenterAuthTokenResponse = Shapes::StructureShape.new(name: 'GetIdentityCenterAuthTokenResponse')
87
89
  GetNamespaceRequest = Shapes::StructureShape.new(name: 'GetNamespaceRequest')
88
90
  GetNamespaceResponse = Shapes::StructureShape.new(name: 'GetNamespaceResponse')
89
91
  GetRecoveryPointRequest = Shapes::StructureShape.new(name: 'GetRecoveryPointRequest')
@@ -282,6 +284,7 @@ module Aws::RedshiftServerless
282
284
  Workgroup = Shapes::StructureShape.new(name: 'Workgroup')
283
285
  WorkgroupList = Shapes::ListShape.new(name: 'WorkgroupList')
284
286
  WorkgroupName = Shapes::StringShape.new(name: 'WorkgroupName')
287
+ WorkgroupNameList = Shapes::ListShape.new(name: 'WorkgroupNameList')
285
288
  WorkgroupStatus = Shapes::StringShape.new(name: 'WorkgroupStatus')
286
289
 
287
290
  AccessDeniedException.add_member(:code, Shapes::ShapeRef.new(shape: String, location_name: "code"))
@@ -534,6 +537,13 @@ module Aws::RedshiftServerless
534
537
  GetEndpointAccessResponse.add_member(:endpoint, Shapes::ShapeRef.new(shape: EndpointAccess, location_name: "endpoint"))
535
538
  GetEndpointAccessResponse.struct_class = Types::GetEndpointAccessResponse
536
539
 
540
+ GetIdentityCenterAuthTokenRequest.add_member(:workgroup_names, Shapes::ShapeRef.new(shape: WorkgroupNameList, required: true, location_name: "workgroupNames"))
541
+ GetIdentityCenterAuthTokenRequest.struct_class = Types::GetIdentityCenterAuthTokenRequest
542
+
543
+ GetIdentityCenterAuthTokenResponse.add_member(:expiration_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "expirationTime"))
544
+ GetIdentityCenterAuthTokenResponse.add_member(:token, Shapes::ShapeRef.new(shape: String, location_name: "token"))
545
+ GetIdentityCenterAuthTokenResponse.struct_class = Types::GetIdentityCenterAuthTokenResponse
546
+
537
547
  GetNamespaceRequest.add_member(:namespace_name, Shapes::ShapeRef.new(shape: NamespaceName, required: true, location_name: "namespaceName"))
538
548
  GetNamespaceRequest.struct_class = Types::GetNamespaceRequest
539
549
 
@@ -1195,6 +1205,8 @@ module Aws::RedshiftServerless
1195
1205
 
1196
1206
  WorkgroupList.member = Shapes::ShapeRef.new(shape: Workgroup)
1197
1207
 
1208
+ WorkgroupNameList.member = Shapes::ShapeRef.new(shape: WorkgroupName)
1209
+
1198
1210
 
1199
1211
  # @api private
1200
1212
  API = Seahorse::Model::Api.new.tap do |api|
@@ -1499,6 +1511,21 @@ module Aws::RedshiftServerless
1499
1511
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1500
1512
  end)
1501
1513
 
1514
+ api.add_operation(:get_identity_center_auth_token, Seahorse::Model::Operation.new.tap do |o|
1515
+ o.name = "GetIdentityCenterAuthToken"
1516
+ o.http_method = "POST"
1517
+ o.http_request_uri = "/"
1518
+ o.input = Shapes::ShapeRef.new(shape: GetIdentityCenterAuthTokenRequest)
1519
+ o.output = Shapes::ShapeRef.new(shape: GetIdentityCenterAuthTokenResponse)
1520
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1521
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1522
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1523
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1524
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1525
+ o.errors << Shapes::ShapeRef.new(shape: DryRunException)
1526
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1527
+ end)
1528
+
1502
1529
  api.add_operation(:get_namespace, Seahorse::Model::Operation.new.tap do |o|
1503
1530
  o.name = "GetNamespace"
1504
1531
  o.http_method = "POST"
@@ -1600,6 +1627,7 @@ module Aws::RedshiftServerless
1600
1627
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1601
1628
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1602
1629
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1630
+ o.errors << Shapes::ShapeRef.new(shape: DryRunException)
1603
1631
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1604
1632
  end)
1605
1633
 
@@ -1241,6 +1241,53 @@ module Aws::RedshiftServerless
1241
1241
  include Aws::Structure
1242
1242
  end
1243
1243
 
1244
+ # @!attribute [rw] workgroup_names
1245
+ # A list of workgroup names for which to generate the Identity Center
1246
+ # authentication token.
1247
+ #
1248
+ # Constraints:
1249
+ #
1250
+ # * Must contain between 1 and 20 workgroup names.
1251
+ #
1252
+ # * Each workgroup name must be a valid Amazon Redshift Serverless
1253
+ # workgroup identifier.
1254
+ #
1255
+ # * All specified workgroups must have Identity Center integration
1256
+ # enabled.
1257
+ # @return [Array<String>]
1258
+ #
1259
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/GetIdentityCenterAuthTokenRequest AWS API Documentation
1260
+ #
1261
+ class GetIdentityCenterAuthTokenRequest < Struct.new(
1262
+ :workgroup_names)
1263
+ SENSITIVE = []
1264
+ include Aws::Structure
1265
+ end
1266
+
1267
+ # @!attribute [rw] expiration_time
1268
+ # The date and time when the Identity Center authentication token
1269
+ # expires.
1270
+ #
1271
+ # After this time, a new token must be requested for continued access.
1272
+ # @return [Time]
1273
+ #
1274
+ # @!attribute [rw] token
1275
+ # The Identity Center authentication token that can be used to access
1276
+ # data in the specified workgroups.
1277
+ #
1278
+ # This token contains the Identity Center identity information and is
1279
+ # encrypted for secure transmission.
1280
+ # @return [String]
1281
+ #
1282
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/GetIdentityCenterAuthTokenResponse AWS API Documentation
1283
+ #
1284
+ class GetIdentityCenterAuthTokenResponse < Struct.new(
1285
+ :expiration_time,
1286
+ :token)
1287
+ SENSITIVE = []
1288
+ include Aws::Structure
1289
+ end
1290
+
1244
1291
  # @!attribute [rw] namespace_name
1245
1292
  # The name of the namespace to retrieve information for.
1246
1293
  # @return [String]
@@ -54,7 +54,7 @@ module Aws::RedshiftServerless
54
54
  autoload :EndpointProvider, 'aws-sdk-redshiftserverless/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-redshiftserverless/endpoints'
56
56
 
57
- GEM_VERSION = '1.59.0'
57
+ GEM_VERSION = '1.60.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -409,6 +409,17 @@ module Aws
409
409
  ) -> _GetEndpointAccessResponseSuccess
410
410
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetEndpointAccessResponseSuccess
411
411
 
412
+ interface _GetIdentityCenterAuthTokenResponseSuccess
413
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetIdentityCenterAuthTokenResponse]
414
+ def expiration_time: () -> ::Time
415
+ def token: () -> ::String
416
+ end
417
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftServerless/Client.html#get_identity_center_auth_token-instance_method
418
+ def get_identity_center_auth_token: (
419
+ workgroup_names: Array[::String]
420
+ ) -> _GetIdentityCenterAuthTokenResponseSuccess
421
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetIdentityCenterAuthTokenResponseSuccess
422
+
412
423
  interface _GetNamespaceResponseSuccess
413
424
  include ::Seahorse::Client::_ResponseSuccess[Types::GetNamespaceResponse]
414
425
  def namespace: () -> Types::Namespace
data/sig/types.rbs CHANGED
@@ -352,6 +352,17 @@ module Aws::RedshiftServerless
352
352
  SENSITIVE: []
353
353
  end
354
354
 
355
+ class GetIdentityCenterAuthTokenRequest
356
+ attr_accessor workgroup_names: ::Array[::String]
357
+ SENSITIVE: []
358
+ end
359
+
360
+ class GetIdentityCenterAuthTokenResponse
361
+ attr_accessor expiration_time: ::Time
362
+ attr_accessor token: ::String
363
+ SENSITIVE: []
364
+ end
365
+
355
366
  class GetNamespaceRequest
356
367
  attr_accessor namespace_name: ::String
357
368
  SENSITIVE: []
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-redshiftserverless
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.59.0
4
+ version: 1.60.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services