aws-sdk-redshift 1.149.0 → 1.150.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: 6d9a3bec322e547f86e427ca18117b2cd921a7283b9f64f8d8a794de51bf4000
4
- data.tar.gz: 0edfe906739fb8773b6b7aef1104402d07e023a4f60f051246f62a3a20e149b8
3
+ metadata.gz: 5c47bf47e63ca3d6cbc6c9cbe44e8b1fb4c6a14a4710e6a99feb69cc15a18925
4
+ data.tar.gz: 6f90b2e50a229c7dc1f63b7d4ba99ca78bef3414b2ac6d850ed57b1c93c08b68
5
5
  SHA512:
6
- metadata.gz: 2302537dbe306a298e51273793300025d6f8e0aa36866b6aeeffe398c7303504c973cf96f17299372f73d8aa612befee55a3b3c384b03d015b7d88bd118588a6
7
- data.tar.gz: 6149529551da00fbfe8184e707b5131d7d3f058731edcb9943f5d4112f8915f715823813a0795018f2d22c73a28c8e7976c566f3f9ffa77e8549865fe6e55fb2
6
+ metadata.gz: 41a8ecec751cd5263b64913f3b0f54ede5b9c827212cc5b9e9c06aada49cc58eb2f25507efbec76db55483732764bc72e9d90578d37af90c0ea469ffe59b3723
7
+ data.tar.gz: 6492e791f4b8d04d5195a7878ee293cab38484b047de0f17a466c17ec7def551a8f5b48b6d1cc4cb6944597a170b4312fefb97ac8d914296c504762be3da4ce9
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.150.0 (2025-11-12)
5
+ ------------------
6
+
7
+ * Feature - Added GetIdentityCenterAuthToken API to retrieve encrypted authentication tokens for Identity Center integrated applications. 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.149.0 (2025-10-31)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.149.0
1
+ 1.150.0
@@ -8587,6 +8587,70 @@ module Aws::Redshift
8587
8587
  req.send_request(options)
8588
8588
  end
8589
8589
 
8590
+ # Generates an encrypted authentication token that propagates the
8591
+ # caller's Amazon Web Services IAM Identity Center identity to Amazon
8592
+ # Redshift clusters. This API extracts the Amazon Web Services IAM
8593
+ # Identity Center identity from enhanced credentials and creates a
8594
+ # secure token that Amazon Redshift drivers can use for authentication.
8595
+ #
8596
+ # The token is encrypted using Key Management Service (KMS) and can only
8597
+ # be decrypted by the specified Amazon Redshift clusters. The token
8598
+ # contains the caller's Amazon Web Services IAM Identity Center
8599
+ # identity information and is valid for a limited time period.
8600
+ #
8601
+ # This API is exclusively for use with Amazon Web Services IAM Identity
8602
+ # Center enhanced credentials. If the caller is not using enhanced
8603
+ # credentials with embedded Amazon Web Services IAM Identity Center
8604
+ # identity, the API will return an error.
8605
+ #
8606
+ # @option params [required, Array<String>] :cluster_ids
8607
+ # A list of cluster identifiers that the generated token can be used
8608
+ # with. The token will be scoped to only allow authentication to the
8609
+ # specified clusters.
8610
+ #
8611
+ # Constraints:
8612
+ #
8613
+ # * `ClusterIds` must contain at least 1 cluster identifier.
8614
+ #
8615
+ # * `ClusterIds` can hold a maximum of 20 cluster identifiers.
8616
+ #
8617
+ # * Cluster identifiers must be 1 to 63 characters in length.
8618
+ #
8619
+ # * The characters accepted for cluster identifiers are the following:
8620
+ #
8621
+ # * Alphanumeric characters
8622
+ #
8623
+ # * Hyphens
8624
+ # * Cluster identifiers must start with a letter.
8625
+ #
8626
+ # * Cluster identifiers can't end with a hyphen or contain two
8627
+ # consecutive hyphens.
8628
+ #
8629
+ # @return [Types::GetIdentityCenterAuthTokenResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
8630
+ #
8631
+ # * {Types::GetIdentityCenterAuthTokenResponse#token #token} => String
8632
+ # * {Types::GetIdentityCenterAuthTokenResponse#expiration_time #expiration_time} => Time
8633
+ #
8634
+ # @example Request syntax with placeholder values
8635
+ #
8636
+ # resp = client.get_identity_center_auth_token({
8637
+ # cluster_ids: ["String"], # required
8638
+ # })
8639
+ #
8640
+ # @example Response structure
8641
+ #
8642
+ # resp.token #=> String
8643
+ # resp.expiration_time #=> Time
8644
+ #
8645
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/GetIdentityCenterAuthToken AWS API Documentation
8646
+ #
8647
+ # @overload get_identity_center_auth_token(params = {})
8648
+ # @param [Hash] params ({})
8649
+ def get_identity_center_auth_token(params = {}, options = {})
8650
+ req = build_request(:get_identity_center_auth_token, params)
8651
+ req.send_request(options)
8652
+ end
8653
+
8590
8654
  # Gets the configuration options for the reserved-node exchange. These
8591
8655
  # options include information about the source reserved node and target
8592
8656
  # reserved node offering. Details include the node type, the price, the
@@ -12998,7 +13062,7 @@ module Aws::Redshift
12998
13062
  tracer: tracer
12999
13063
  )
13000
13064
  context[:gem_name] = 'aws-sdk-redshift'
13001
- context[:gem_version] = '1.149.0'
13065
+ context[:gem_version] = '1.150.0'
13002
13066
  Seahorse::Client::Request.new(handlers, context)
13003
13067
  end
13004
13068
 
@@ -79,6 +79,7 @@ module Aws::Redshift
79
79
  ClusterExtendedCredentials = Shapes::StructureShape.new(name: 'ClusterExtendedCredentials')
80
80
  ClusterIamRole = Shapes::StructureShape.new(name: 'ClusterIamRole')
81
81
  ClusterIamRoleList = Shapes::ListShape.new(name: 'ClusterIamRoleList')
82
+ ClusterIdentifierList = Shapes::ListShape.new(name: 'ClusterIdentifierList')
82
83
  ClusterList = Shapes::ListShape.new(name: 'ClusterList')
83
84
  ClusterNode = Shapes::StructureShape.new(name: 'ClusterNode')
84
85
  ClusterNodesList = Shapes::ListShape.new(name: 'ClusterNodesList')
@@ -302,6 +303,8 @@ module Aws::Redshift
302
303
  FailoverPrimaryComputeResult = Shapes::StructureShape.new(name: 'FailoverPrimaryComputeResult')
303
304
  GetClusterCredentialsMessage = Shapes::StructureShape.new(name: 'GetClusterCredentialsMessage')
304
305
  GetClusterCredentialsWithIAMMessage = Shapes::StructureShape.new(name: 'GetClusterCredentialsWithIAMMessage')
306
+ GetIdentityCenterAuthTokenRequest = Shapes::StructureShape.new(name: 'GetIdentityCenterAuthTokenRequest')
307
+ GetIdentityCenterAuthTokenResponse = Shapes::StructureShape.new(name: 'GetIdentityCenterAuthTokenResponse')
305
308
  GetReservedNodeExchangeConfigurationOptionsInputMessage = Shapes::StructureShape.new(name: 'GetReservedNodeExchangeConfigurationOptionsInputMessage')
306
309
  GetReservedNodeExchangeConfigurationOptionsOutputMessage = Shapes::StructureShape.new(name: 'GetReservedNodeExchangeConfigurationOptionsOutputMessage')
307
310
  GetReservedNodeExchangeOfferingsInputMessage = Shapes::StructureShape.new(name: 'GetReservedNodeExchangeOfferingsInputMessage')
@@ -487,6 +490,7 @@ module Aws::Redshift
487
490
  RedshiftIdcApplicationName = Shapes::StringShape.new(name: 'RedshiftIdcApplicationName')
488
491
  RedshiftIdcApplicationNotExistsFault = Shapes::StructureShape.new(name: 'RedshiftIdcApplicationNotExistsFault', error: {"code" => "RedshiftIdcApplicationNotExists", "httpStatusCode" => 404, "senderFault" => true})
489
492
  RedshiftIdcApplicationQuotaExceededFault = Shapes::StructureShape.new(name: 'RedshiftIdcApplicationQuotaExceededFault', error: {"code" => "RedshiftIdcApplicationQuotaExceeded", "httpStatusCode" => 400, "senderFault" => true})
493
+ RedshiftInvalidParameterFault = Shapes::StructureShape.new(name: 'RedshiftInvalidParameterFault', error: {"code" => "RedshiftInvalidParameter", "httpStatusCode" => 400, "senderFault" => true})
490
494
  ReferenceLink = Shapes::StructureShape.new(name: 'ReferenceLink')
491
495
  ReferenceLinkList = Shapes::ListShape.new(name: 'ReferenceLinkList')
492
496
  RegisterNamespaceInputMessage = Shapes::StructureShape.new(name: 'RegisterNamespaceInputMessage')
@@ -896,6 +900,8 @@ module Aws::Redshift
896
900
 
897
901
  ClusterIamRoleList.member = Shapes::ShapeRef.new(shape: ClusterIamRole, location_name: "ClusterIamRole")
898
902
 
903
+ ClusterIdentifierList.member = Shapes::ShapeRef.new(shape: String, location_name: "ClusterIdentifier")
904
+
899
905
  ClusterList.member = Shapes::ShapeRef.new(shape: Cluster, location_name: "Cluster")
900
906
 
901
907
  ClusterNode.add_member(:node_role, Shapes::ShapeRef.new(shape: String, location_name: "NodeRole"))
@@ -1862,6 +1868,13 @@ module Aws::Redshift
1862
1868
  GetClusterCredentialsWithIAMMessage.add_member(:custom_domain_name, Shapes::ShapeRef.new(shape: String, location_name: "CustomDomainName"))
1863
1869
  GetClusterCredentialsWithIAMMessage.struct_class = Types::GetClusterCredentialsWithIAMMessage
1864
1870
 
1871
+ GetIdentityCenterAuthTokenRequest.add_member(:cluster_ids, Shapes::ShapeRef.new(shape: ClusterIdentifierList, required: true, location_name: "ClusterIds"))
1872
+ GetIdentityCenterAuthTokenRequest.struct_class = Types::GetIdentityCenterAuthTokenRequest
1873
+
1874
+ GetIdentityCenterAuthTokenResponse.add_member(:token, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "Token"))
1875
+ GetIdentityCenterAuthTokenResponse.add_member(:expiration_time, Shapes::ShapeRef.new(shape: TStamp, location_name: "ExpirationTime"))
1876
+ GetIdentityCenterAuthTokenResponse.struct_class = Types::GetIdentityCenterAuthTokenResponse
1877
+
1865
1878
  GetReservedNodeExchangeConfigurationOptionsInputMessage.add_member(:action_type, Shapes::ShapeRef.new(shape: ReservedNodeExchangeActionType, required: true, location_name: "ActionType"))
1866
1879
  GetReservedNodeExchangeConfigurationOptionsInputMessage.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "ClusterIdentifier"))
1867
1880
  GetReservedNodeExchangeConfigurationOptionsInputMessage.add_member(:snapshot_identifier, Shapes::ShapeRef.new(shape: String, location_name: "SnapshotIdentifier"))
@@ -2468,6 +2481,8 @@ module Aws::Redshift
2468
2481
 
2469
2482
  RedshiftIdcApplicationQuotaExceededFault.struct_class = Types::RedshiftIdcApplicationQuotaExceededFault
2470
2483
 
2484
+ RedshiftInvalidParameterFault.struct_class = Types::RedshiftInvalidParameterFault
2485
+
2471
2486
  ReferenceLink.add_member(:text, Shapes::ShapeRef.new(shape: String, location_name: "Text"))
2472
2487
  ReferenceLink.add_member(:link, Shapes::ShapeRef.new(shape: String, location_name: "Link"))
2473
2488
  ReferenceLink.struct_class = Types::ReferenceLink
@@ -4406,6 +4421,18 @@ module Aws::Redshift
4406
4421
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationFault)
4407
4422
  end)
4408
4423
 
4424
+ api.add_operation(:get_identity_center_auth_token, Seahorse::Model::Operation.new.tap do |o|
4425
+ o.name = "GetIdentityCenterAuthToken"
4426
+ o.http_method = "POST"
4427
+ o.http_request_uri = "/"
4428
+ o.input = Shapes::ShapeRef.new(shape: GetIdentityCenterAuthTokenRequest)
4429
+ o.output = Shapes::ShapeRef.new(shape: GetIdentityCenterAuthTokenResponse)
4430
+ o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundFault)
4431
+ o.errors << Shapes::ShapeRef.new(shape: InvalidClusterStateFault)
4432
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationFault)
4433
+ o.errors << Shapes::ShapeRef.new(shape: RedshiftInvalidParameterFault)
4434
+ end)
4435
+
4409
4436
  api.add_operation(:get_reserved_node_exchange_configuration_options, Seahorse::Model::Operation.new.tap do |o|
4410
4437
  o.name = "GetReservedNodeExchangeConfigurationOptions"
4411
4438
  o.http_method = "POST"
@@ -177,6 +177,8 @@ module Aws::Redshift
177
177
  # * This error class is not used. `RedshiftIdcApplicationNotExists` is used during parsing instead.
178
178
  # * {RedshiftIdcApplicationQuotaExceededFault}
179
179
  # * This error class is not used. `RedshiftIdcApplicationQuotaExceeded` is used during parsing instead.
180
+ # * {RedshiftInvalidParameterFault}
181
+ # * This error class is not used. `RedshiftInvalidParameter` is used during parsing instead.
180
182
  # * {ReservedNodeAlreadyExistsFault}
181
183
  # * This error class is not used. `ReservedNodeAlreadyExists` is used during parsing instead.
182
184
  # * {ReservedNodeAlreadyMigratedFault}
@@ -1349,6 +1351,18 @@ module Aws::Redshift
1349
1351
  end
1350
1352
  end
1351
1353
 
1354
+ # @deprecated This error class is not used during parsing.
1355
+ # Please use `RedshiftInvalidParameter` instead.
1356
+ class RedshiftInvalidParameterFault < ServiceError
1357
+
1358
+ # @param [Seahorse::Client::RequestContext] context
1359
+ # @param [String] message
1360
+ # @param [Aws::Redshift::Types::RedshiftInvalidParameterFault] data
1361
+ def initialize(context, message, data = Aws::EmptyStructure.new)
1362
+ super(context, message, data)
1363
+ end
1364
+ end
1365
+
1352
1366
  # @deprecated This error class is not used during parsing.
1353
1367
  # Please use `ReservedNodeAlreadyExists` instead.
1354
1368
  class ReservedNodeAlreadyExistsFault < ServiceError
@@ -6961,6 +6961,66 @@ module Aws::Redshift
6961
6961
  include Aws::Structure
6962
6962
  end
6963
6963
 
6964
+ # The request parameters for `GetIdentityCenterAuthToken`.
6965
+ #
6966
+ # @!attribute [rw] cluster_ids
6967
+ # A list of cluster identifiers that the generated token can be used
6968
+ # with. The token will be scoped to only allow authentication to the
6969
+ # specified clusters.
6970
+ #
6971
+ # Constraints:
6972
+ #
6973
+ # * `ClusterIds` must contain at least 1 cluster identifier.
6974
+ #
6975
+ # * `ClusterIds` can hold a maximum of 20 cluster identifiers.
6976
+ #
6977
+ # * Cluster identifiers must be 1 to 63 characters in length.
6978
+ #
6979
+ # * The characters accepted for cluster identifiers are the following:
6980
+ #
6981
+ # * Alphanumeric characters
6982
+ #
6983
+ # * Hyphens
6984
+ # * Cluster identifiers must start with a letter.
6985
+ #
6986
+ # * Cluster identifiers can't end with a hyphen or contain two
6987
+ # consecutive hyphens.
6988
+ # @return [Array<String>]
6989
+ #
6990
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/GetIdentityCenterAuthTokenRequest AWS API Documentation
6991
+ #
6992
+ class GetIdentityCenterAuthTokenRequest < Struct.new(
6993
+ :cluster_ids)
6994
+ SENSITIVE = []
6995
+ include Aws::Structure
6996
+ end
6997
+
6998
+ # The response from GetIdentityCenterAuthToken containing the encrypted
6999
+ # authentication token and expiration time.
7000
+ #
7001
+ # @!attribute [rw] token
7002
+ # The encrypted authentication token containing the caller's Amazon
7003
+ # Web Services IAM Identity Center identity information. This token is
7004
+ # encrypted using Key Management Service and can only be decrypted by
7005
+ # the specified Amazon Redshift clusters. Use this token with Amazon
7006
+ # Redshift drivers to authenticate using your Amazon Web Services IAM
7007
+ # Identity Center identity.
7008
+ # @return [String]
7009
+ #
7010
+ # @!attribute [rw] expiration_time
7011
+ # The time (UTC) when the token expires. After this timestamp, the
7012
+ # token will no longer be valid for authentication.
7013
+ # @return [Time]
7014
+ #
7015
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/GetIdentityCenterAuthTokenResponse AWS API Documentation
7016
+ #
7017
+ class GetIdentityCenterAuthTokenResponse < Struct.new(
7018
+ :token,
7019
+ :expiration_time)
7020
+ SENSITIVE = [:token]
7021
+ include Aws::Structure
7022
+ end
7023
+
6964
7024
  # @!attribute [rw] action_type
6965
7025
  # The action type of the reserved-node configuration. The action type
6966
7026
  # can be an exchange initiated from either a snapshot or a resize.
@@ -9903,6 +9963,14 @@ module Aws::Redshift
9903
9963
  #
9904
9964
  class RedshiftIdcApplicationQuotaExceededFault < Aws::EmptyStructure; end
9905
9965
 
9966
+ # The request contains one or more invalid parameters. This error occurs
9967
+ # when required parameters are missing, parameter values are outside
9968
+ # acceptable ranges, or parameter formats are incorrect.
9969
+ #
9970
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RedshiftInvalidParameterFault AWS API Documentation
9971
+ #
9972
+ class RedshiftInvalidParameterFault < Aws::EmptyStructure; end
9973
+
9906
9974
  # A link to an Amazon Redshift Advisor reference for more information
9907
9975
  # about a recommendation.
9908
9976
  #
@@ -55,7 +55,7 @@ module Aws::Redshift
55
55
  autoload :EndpointProvider, 'aws-sdk-redshift/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-redshift/endpoints'
57
57
 
58
- GEM_VERSION = '1.149.0'
58
+ GEM_VERSION = '1.150.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -1638,6 +1638,17 @@ module Aws
1638
1638
  ) -> _GetClusterCredentialsWithIAMResponseSuccess
1639
1639
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetClusterCredentialsWithIAMResponseSuccess
1640
1640
 
1641
+ interface _GetIdentityCenterAuthTokenResponseSuccess
1642
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetIdentityCenterAuthTokenResponse]
1643
+ def token: () -> ::String
1644
+ def expiration_time: () -> ::Time
1645
+ end
1646
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Redshift/Client.html#get_identity_center_auth_token-instance_method
1647
+ def get_identity_center_auth_token: (
1648
+ cluster_ids: Array[::String]
1649
+ ) -> _GetIdentityCenterAuthTokenResponseSuccess
1650
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetIdentityCenterAuthTokenResponseSuccess
1651
+
1641
1652
  interface _GetReservedNodeExchangeConfigurationOptionsResponseSuccess
1642
1653
  include ::Seahorse::Client::_ResponseSuccess[Types::GetReservedNodeExchangeConfigurationOptionsOutputMessage]
1643
1654
  def marker: () -> ::String
data/sig/errors.rbs CHANGED
@@ -209,6 +209,8 @@ module Aws
209
209
  end
210
210
  class RedshiftIdcApplicationQuotaExceededFault < ::Aws::Errors::ServiceError
211
211
  end
212
+ class RedshiftInvalidParameterFault < ::Aws::Errors::ServiceError
213
+ end
212
214
  class ReservedNodeAlreadyExistsFault < ::Aws::Errors::ServiceError
213
215
  end
214
216
  class ReservedNodeAlreadyMigratedFault < ::Aws::Errors::ServiceError
data/sig/types.rbs CHANGED
@@ -1549,6 +1549,17 @@ module Aws::Redshift
1549
1549
  SENSITIVE: []
1550
1550
  end
1551
1551
 
1552
+ class GetIdentityCenterAuthTokenRequest
1553
+ attr_accessor cluster_ids: ::Array[::String]
1554
+ SENSITIVE: []
1555
+ end
1556
+
1557
+ class GetIdentityCenterAuthTokenResponse
1558
+ attr_accessor token: ::String
1559
+ attr_accessor expiration_time: ::Time
1560
+ SENSITIVE: [:token]
1561
+ end
1562
+
1552
1563
  class GetReservedNodeExchangeConfigurationOptionsInputMessage
1553
1564
  attr_accessor action_type: ("restore-cluster" | "resize-cluster")
1554
1565
  attr_accessor cluster_identifier: ::String
@@ -2330,6 +2341,9 @@ module Aws::Redshift
2330
2341
  class RedshiftIdcApplicationQuotaExceededFault < Aws::EmptyStructure
2331
2342
  end
2332
2343
 
2344
+ class RedshiftInvalidParameterFault < Aws::EmptyStructure
2345
+ end
2346
+
2333
2347
  class ReferenceLink
2334
2348
  attr_accessor text: ::String
2335
2349
  attr_accessor link: ::String
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-redshift
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.149.0
4
+ version: 1.150.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services