aws-sdk-redshift 1.88.0 → 1.90.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 02a53565fc89634b51aca6358dbb7e44fe319f46638449e14e66e9c23105cd15
4
- data.tar.gz: abd3870fbce2845d8d7bb8695d479c89ec83539acafcbc056adf33f708b8fc47
3
+ metadata.gz: 8b8b7bb506427df36a931a39af69ef73c3adc7a34a0bb6e504211f006c07a265
4
+ data.tar.gz: 4fca8802632fb4e0daace9f9331b8fd00a6505bc748cd5fe037a9118adbe22f1
5
5
  SHA512:
6
- metadata.gz: d6efac67aa2bb24ce94562765420f0126e54dac02fe184478bda50aab8db93246f016cc4e5d06945510920f2c178b45717558baca38594c5f5cba493e8b7dff6
7
- data.tar.gz: 3f4d3535059a2c48e7e80aa41d9f719f5e75af85dc3f50339ceb0dada606f284bc6c0881f0b146cb350e6b37da17451d947dc93b30d579ba4359f9b0e6d718d9
6
+ metadata.gz: ce708de5d3e86e9e65cff6e11c0a0f9d470700cf1b3fe1210bf1a78d9bb368d76cf3e276002a72da6ae448375ca0d6e588e346488fe42fea63adda04ca794493
7
+ data.tar.gz: 4deb9d319f1424e65595e018cafe20fbb64507633ff8aabceb20551dc01828e31946b3b83c6c79b92088a7a213dc3e9fc76b4210583e709b3d3a95b0cc5992ce
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.90.0 (2023-02-03)
5
+ ------------------
6
+
7
+ * Feature - Corrects descriptions of the parameters for the API operations RestoreFromClusterSnapshot, RestoreTableFromClusterSnapshot, and CreateCluster.
8
+
9
+ 1.89.0 (2023-02-02)
10
+ ------------------
11
+
12
+ * Feature - Enabled FIPS endpoints for GovCloud (US) regions in SDK.
13
+
4
14
  1.88.0 (2023-01-18)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.88.0
1
+ 1.90.0
@@ -1218,10 +1218,15 @@ module Aws::Redshift
1218
1218
  #
1219
1219
  # Constraints:
1220
1220
  #
1221
- # * Must be 1 - 128 alphanumeric characters. The user name can't be
1222
- # `PUBLIC`.
1221
+ # * Must be 1 - 128 alphanumeric characters or hyphens. The user name
1222
+ # can't be `PUBLIC`.
1223
1223
  #
1224
- # * First character must be a letter.
1224
+ # * Must contain only lowercase letters, numbers, underscore, plus sign,
1225
+ # period (dot), at symbol (@), or hyphen.
1226
+ #
1227
+ # * The first character must be a letter.
1228
+ #
1229
+ # * Must not contain a colon (:) or a slash (/).
1225
1230
  #
1226
1231
  # * Cannot be a reserved word. A list of reserved words can be found in
1227
1232
  # [Reserved Words][1] in the Amazon Redshift Database Developer Guide.
@@ -3852,7 +3857,7 @@ module Aws::Redshift
3852
3857
  #
3853
3858
  # @option params [String] :cluster_security_group_name
3854
3859
  # The name of a cluster security group for which you are requesting
3855
- # details. You can specify either the **Marker** parameter or a
3860
+ # details. You must specify either the **Marker** parameter or a
3856
3861
  # **ClusterSecurityGroupName** parameter, but not both.
3857
3862
  #
3858
3863
  # Example: `securitygroup1`
@@ -3877,7 +3882,7 @@ module Aws::Redshift
3877
3882
  # records by providing the returned marker value in the `Marker`
3878
3883
  # parameter and retrying the request.
3879
3884
  #
3880
- # Constraints: You can specify either the **ClusterSecurityGroupName**
3885
+ # Constraints: You must specify either the **ClusterSecurityGroupName**
3881
3886
  # parameter or the **Marker** parameter, but not both.
3882
3887
  #
3883
3888
  # @option params [Array<String>] :tag_keys
@@ -4967,7 +4972,7 @@ module Aws::Redshift
4967
4972
  # The cluster identifier of the cluster to access.
4968
4973
  #
4969
4974
  # @option params [String] :account
4970
- # The AAmazon Web Services account ID of either the cluster owner
4975
+ # The Amazon Web Services account ID of either the cluster owner
4971
4976
  # (grantor) or grantee. If `Grantee` parameter is true, then the
4972
4977
  # `Account` value is of the grantor.
4973
4978
  #
@@ -6969,8 +6974,8 @@ module Aws::Redshift
6969
6974
  # `cloudwatch`.
6970
6975
  #
6971
6976
  # @option params [Array<String>] :log_exports
6972
- # The collection of exported log types. Log types include the connection
6973
- # log, user log and user activity log.
6977
+ # The collection of exported log types. Possible values are
6978
+ # `connectionlog`, `useractivitylog`, and `userlog`.
6974
6979
  #
6975
6980
  # @return [Types::LoggingStatus] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6976
6981
  #
@@ -10069,14 +10074,14 @@ module Aws::Redshift
10069
10074
  #
10070
10075
  # @option params [String] :snapshot_identifier
10071
10076
  # The name of the snapshot from which to create the new cluster. This
10072
- # parameter isn't case sensitive. You can specify this parameter or
10077
+ # parameter isn't case sensitive. You must specify this parameter or
10073
10078
  # `snapshotArn`, but not both.
10074
10079
  #
10075
10080
  # Example: `my-snapshot-id`
10076
10081
  #
10077
10082
  # @option params [String] :snapshot_arn
10078
10083
  # The Amazon Resource Name (ARN) of the snapshot associated with the
10079
- # message to restore from a cluster. You can specify this parameter or
10084
+ # message to restore from a cluster. You must specify this parameter or
10080
10085
  # `snapshotIdentifier`, but not both.
10081
10086
  #
10082
10087
  # @option params [String] :snapshot_cluster_identifier
@@ -10497,6 +10502,13 @@ module Aws::Redshift
10497
10502
  # `RestoreTableFromClusterSnapshot`. This way, you can replace the
10498
10503
  # original table with the table created from the snapshot.
10499
10504
  #
10505
+ # You can't use this operation to restore tables with [interleaved sort
10506
+ # keys][1].
10507
+ #
10508
+ #
10509
+ #
10510
+ # [1]: https://docs.aws.amazon.com/redshift/latest/dg/t_Sorting_data.html#t_Sorting_data-interleaved
10511
+ #
10500
10512
  # @option params [required, String] :cluster_identifier
10501
10513
  # The identifier of the Amazon Redshift cluster to restore the table to.
10502
10514
  #
@@ -11164,7 +11176,7 @@ module Aws::Redshift
11164
11176
  params: params,
11165
11177
  config: config)
11166
11178
  context[:gem_name] = 'aws-sdk-redshift'
11167
- context[:gem_version] = '1.88.0'
11179
+ context[:gem_version] = '1.90.0'
11168
11180
  Seahorse::Client::Request.new(handlers, context)
11169
11181
  end
11170
11182
 
@@ -50,6 +50,9 @@ module Aws::Redshift
50
50
 
51
51
  def initialize(options = {})
52
52
  self[:region] = options[:region]
53
+ if self[:region].nil?
54
+ raise ArgumentError, "Missing required EndpointParameter: :region"
55
+ end
53
56
  self[:use_dual_stack] = options[:use_dual_stack]
54
57
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
58
  if self[:use_dual_stack].nil?
@@ -15,7 +15,7 @@ module Aws::Redshift
15
15
  use_fips = parameters.use_fips
16
16
  endpoint = parameters.endpoint
17
17
  if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
- if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
18
+ if Aws::Endpoints::Matchers.set?(endpoint)
19
19
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
20
  raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
21
  end
@@ -32,6 +32,9 @@ module Aws::Redshift
32
32
  end
33
33
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
34
  if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
36
+ return Aws::Endpoints::Endpoint.new(url: "https://redshift.#{region}.amazonaws.com", headers: {}, properties: {})
37
+ end
35
38
  return Aws::Endpoints::Endpoint.new(url: "https://redshift-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
39
  end
37
40
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
@@ -42,6 +45,12 @@ module Aws::Redshift
42
45
  end
43
46
  raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
44
47
  end
48
+ if Aws::Endpoints::Matchers.string_equals?(region, "us-gov-east-1")
49
+ return Aws::Endpoints::Endpoint.new(url: "https://redshift.us-gov-east-1.amazonaws.com", headers: {}, properties: {})
50
+ end
51
+ if Aws::Endpoints::Matchers.string_equals?(region, "us-gov-west-1")
52
+ return Aws::Endpoints::Endpoint.new(url: "https://redshift.us-gov-west-1.amazonaws.com", headers: {}, properties: {})
53
+ end
45
54
  return Aws::Endpoints::Endpoint.new(url: "https://redshift.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
46
55
  end
47
56
  raise ArgumentError, 'No endpoint could be resolved'
@@ -1846,10 +1846,15 @@ module Aws::Redshift
1846
1846
  #
1847
1847
  # Constraints:
1848
1848
  #
1849
- # * Must be 1 - 128 alphanumeric characters. The user name can't be
1850
- # `PUBLIC`.
1849
+ # * Must be 1 - 128 alphanumeric characters or hyphens. The user name
1850
+ # can't be `PUBLIC`.
1851
1851
  #
1852
- # * First character must be a letter.
1852
+ # * Must contain only lowercase letters, numbers, underscore, plus
1853
+ # sign, period (dot), at symbol (@), or hyphen.
1854
+ #
1855
+ # * The first character must be a letter.
1856
+ #
1857
+ # * Must not contain a colon (:) or a slash (/).
1853
1858
  #
1854
1859
  # * Cannot be a reserved word. A list of reserved words can be found
1855
1860
  # in [Reserved Words][1] in the Amazon Redshift Database Developer
@@ -3602,7 +3607,7 @@ module Aws::Redshift
3602
3607
 
3603
3608
  # @!attribute [rw] cluster_security_group_name
3604
3609
  # The name of a cluster security group for which you are requesting
3605
- # details. You can specify either the **Marker** parameter or a
3610
+ # details. You must specify either the **Marker** parameter or a
3606
3611
  # **ClusterSecurityGroupName** parameter, but not both.
3607
3612
  #
3608
3613
  # Example: `securitygroup1`
@@ -3629,8 +3634,9 @@ module Aws::Redshift
3629
3634
  # records by providing the returned marker value in the `Marker`
3630
3635
  # parameter and retrying the request.
3631
3636
  #
3632
- # Constraints: You can specify either the **ClusterSecurityGroupName**
3633
- # parameter or the **Marker** parameter, but not both.
3637
+ # Constraints: You must specify either the
3638
+ # **ClusterSecurityGroupName** parameter or the **Marker** parameter,
3639
+ # but not both.
3634
3640
  # @return [String]
3635
3641
  #
3636
3642
  # @!attribute [rw] tag_keys
@@ -4289,7 +4295,7 @@ module Aws::Redshift
4289
4295
  # @return [String]
4290
4296
  #
4291
4297
  # @!attribute [rw] account
4292
- # The AAmazon Web Services account ID of either the cluster owner
4298
+ # The Amazon Web Services account ID of either the cluster owner
4293
4299
  # (grantor) or grantee. If `Grantee` parameter is true, then the
4294
4300
  # `Account` value is of the grantor.
4295
4301
  # @return [String]
@@ -5516,8 +5522,8 @@ module Aws::Redshift
5516
5522
  # @return [String]
5517
5523
  #
5518
5524
  # @!attribute [rw] log_exports
5519
- # The collection of exported log types. Log types include the
5520
- # connection log, user log and user activity log.
5525
+ # The collection of exported log types. Possible values are
5526
+ # `connectionlog`, `useractivitylog`, and `userlog`.
5521
5527
  # @return [Array<String>]
5522
5528
  #
5523
5529
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/EnableLoggingMessage AWS API Documentation
@@ -6835,8 +6841,8 @@ module Aws::Redshift
6835
6841
  # @return [String]
6836
6842
  #
6837
6843
  # @!attribute [rw] log_exports
6838
- # The collection of exported log types. Log types include the
6839
- # connection log, user log and user activity log.
6844
+ # The collection of exported log types. Possible values are
6845
+ # `connectionlog`, `useractivitylog`, and `userlog`.
6840
6846
  # @return [Array<String>]
6841
6847
  #
6842
6848
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/LoggingStatus AWS API Documentation
@@ -8934,7 +8940,7 @@ module Aws::Redshift
8934
8940
  #
8935
8941
  # @!attribute [rw] snapshot_identifier
8936
8942
  # The name of the snapshot from which to create the new cluster. This
8937
- # parameter isn't case sensitive. You can specify this parameter or
8943
+ # parameter isn't case sensitive. You must specify this parameter or
8938
8944
  # `snapshotArn`, but not both.
8939
8945
  #
8940
8946
  # Example: `my-snapshot-id`
@@ -8942,8 +8948,8 @@ module Aws::Redshift
8942
8948
  #
8943
8949
  # @!attribute [rw] snapshot_arn
8944
8950
  # The Amazon Resource Name (ARN) of the snapshot associated with the
8945
- # message to restore from a cluster. You can specify this parameter or
8946
- # `snapshotIdentifier`, but not both.
8951
+ # message to restore from a cluster. You must specify this parameter
8952
+ # or `snapshotIdentifier`, but not both.
8947
8953
  # @return [String]
8948
8954
  #
8949
8955
  # @!attribute [rw] snapshot_cluster_identifier
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-redshift/customizations'
53
53
  # @!group service
54
54
  module Aws::Redshift
55
55
 
56
- GEM_VERSION = '1.88.0'
56
+ GEM_VERSION = '1.90.0'
57
57
 
58
58
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-redshift
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.88.0
4
+ version: 1.90.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-01-18 00:00:00.000000000 Z
11
+ date: 2023-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core