aws-sdk-redshift 1.157.0 → 1.159.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: e1f311008788ddc70cc994d511189761584521d18d146f925d1113fa2dce1196
4
- data.tar.gz: 301bd50e490ba82089cfac595267c0a7161915768b3104c5e9355ac8c3b69db1
3
+ metadata.gz: eca7a4e84400c63bf2fbb1f96d85a56135d4680600f96cf91f94331a4195443c
4
+ data.tar.gz: 7d2917cdde29752d524c546bc014a30082b3c3c12e83a91982277fae3e688dd8
5
5
  SHA512:
6
- metadata.gz: f901ad308c5a430eb6a27115824d52c3aac2b21b242958e94dbb237b5e201ba7fc6a9630e2909afa1084d0c6cccfd9349cb1b22869bd07686b8e9efcfbd95e97
7
- data.tar.gz: f0908d9aabf6fd964b993c61aea71af9a7cdf216e32146795493c7ea5aa9c58542a1c7d6a89ce1d21c70567960b353196383cb88a105ff2c64b0199829a249a6
6
+ metadata.gz: cd086e5e2479bd9b703f89d081599dff9b823a0dd0868a04e5b0c52220af82c561d56b5eac4883b8d31ed34b65121bb3d9bc5377dd5949247f3eba2af37f6ec3
7
+ data.tar.gz: 6ee6461af28117036cb7c5272b5ca5f95aba5ba757e4cd2c2aec57aae751ac9e31e4e87bacf06ad7e997ce63a109b33c6290f19277c257cefd88db7f177eb796
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.159.0 (2026-05-19)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.158.0 (2026-05-13)
10
+ ------------------
11
+
12
+ * Feature - Added rg.xlarge and rg.4xlarge to valid NodeType values and updated documentation for CreateCluster, ModifyCluster, ResizeCluster, and RestoreFromClusterSnapshot APIs to reflect RG node type support.
13
+
4
14
  1.157.0 (2026-03-18)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.157.0
1
+ 1.159.0
@@ -1359,8 +1359,9 @@ module Aws::Redshift
1359
1359
  # node types, go to [ Working with Clusters][1] in the *Amazon Redshift
1360
1360
  # Cluster Management Guide*.
1361
1361
  #
1362
- # Valid Values: `dc2.large` \| `dc2.8xlarge` \| `ra3.large` \|
1363
- # `ra3.xlplus` \| `ra3.4xlarge` \| `ra3.16xlarge`
1362
+ # Valid Values: `dc2.large` \| `dc2.8xlarge`\| `rg.xlarge` \|
1363
+ # `rg.4xlarge` \| `ra3.large` \| `ra3.xlplus` \| `ra3.4xlarge` \|
1364
+ # `ra3.16xlarge`
1364
1365
  #
1365
1366
  #
1366
1367
  #
@@ -1486,8 +1487,8 @@ module Aws::Redshift
1486
1487
  # are disabled, you can still create manual snapshots when you want with
1487
1488
  # CreateClusterSnapshot.
1488
1489
  #
1489
- # You can't disable automated snapshots for RA3 node types. Set the
1490
- # automated retention period from 1-35 days.
1490
+ # You can't disable automated snapshots for RG or RA3 node types. Set
1491
+ # the automated retention period from 1-35 days.
1491
1492
  #
1492
1493
  # Default: `1`
1493
1494
  #
@@ -1511,9 +1512,9 @@ module Aws::Redshift
1511
1512
  #
1512
1513
  # Valid Values:
1513
1514
  #
1514
- # * For clusters with ra3 nodes - Select a port within the ranges
1515
- # `5431-5455` or `8191-8215`. (If you have an existing cluster with
1516
- # ra3 nodes, it isn't required that you change the port to these
1515
+ # * For clusters with RG or RA3 nodes - Select a port within the ranges
1516
+ # `5431-5455` or `8191-8215`. (If you have an existing cluster with RG
1517
+ # or RA3 nodes, it isn't required that you change the port to these
1517
1518
  # ranges.)
1518
1519
  #
1519
1520
  # * For clusters with dc2 nodes - Select a port within the range
@@ -9104,8 +9105,9 @@ module Aws::Redshift
9104
9105
  # in Amazon Redshift][1] in the *Amazon Redshift Cluster Management
9105
9106
  # Guide*.
9106
9107
  #
9107
- # Valid Values: `dc2.large` \| `dc2.8xlarge` \| `ra3.large` \|
9108
- # `ra3.xlplus` \| `ra3.4xlarge` \| `ra3.16xlarge`
9108
+ # Valid Values: `dc2.large` \| `dc2.8xlarge`\| `rg.xlarge` \|
9109
+ # `rg.4xlarge` \| `ra3.large` \| `ra3.xlplus` \| `ra3.4xlarge` \|
9110
+ # `ra3.16xlarge`
9109
9111
  #
9110
9112
  #
9111
9113
  #
@@ -9196,8 +9198,8 @@ module Aws::Redshift
9196
9198
  # current value, existing automated snapshots that fall outside of the
9197
9199
  # new retention period will be immediately deleted.
9198
9200
  #
9199
- # You can't disable automated snapshots for RA3 node types. Set the
9200
- # automated retention period from 1-35 days.
9201
+ # You can't disable automated snapshots for RG or RA3 node types. Set
9202
+ # the automated retention period from 1-35 days.
9201
9203
  #
9202
9204
  # Default: Uses existing setting.
9203
9205
  #
@@ -9348,9 +9350,9 @@ module Aws::Redshift
9348
9350
  #
9349
9351
  # Valid Values:
9350
9352
  #
9351
- # * For clusters with ra3 nodes - Select a port within the ranges
9352
- # `5431-5455` or `8191-8215`. (If you have an existing cluster with
9353
- # ra3 nodes, it isn't required that you change the port to these
9353
+ # * For clusters with RG or RA3 nodes - Select a port within the ranges
9354
+ # `5431-5455` or `8191-8215`. (If you have an existing cluster with RG
9355
+ # or RA3 nodes, it isn't required that you change the port to these
9354
9356
  # ranges.)
9355
9357
  #
9356
9358
  # * For clusters with dc2 nodes - Select a port within the range
@@ -11818,6 +11820,10 @@ module Aws::Redshift
11818
11820
  #
11819
11821
  # * dc2.8xlarge
11820
11822
  #
11823
+ # * rg.xlarge
11824
+ #
11825
+ # * rg.4xlarge
11826
+ #
11821
11827
  # * ra3.large
11822
11828
  #
11823
11829
  # * ra3.xlplus
@@ -12096,8 +12102,8 @@ module Aws::Redshift
12096
12102
  # Default: The same port as the original cluster.
12097
12103
  #
12098
12104
  # Valid values: For clusters with DC2 nodes, must be within the range
12099
- # `1150`-`65535`. For clusters with ra3 nodes, must be within the ranges
12100
- # `5431`-`5455` or `8191`-`8215`.
12105
+ # `1150`-`65535`. For clusters with RG or RA3 nodes, must be within the
12106
+ # ranges `5431`-`5455` or `8191`-`8215`.
12101
12107
  #
12102
12108
  # @option params [String] :availability_zone
12103
12109
  # The Amazon EC2 Availability Zone in which to restore the cluster.
@@ -12204,8 +12210,8 @@ module Aws::Redshift
12204
12210
  # are disabled, you can still create manual snapshots when you want with
12205
12211
  # CreateClusterSnapshot.
12206
12212
  #
12207
- # You can't disable automated snapshots for RA3 node types. Set the
12208
- # automated retention period from 1-35 days.
12213
+ # You can't disable automated snapshots for RG or RA3 node types. Set
12214
+ # the automated retention period from 1-35 days.
12209
12215
  #
12210
12216
  # Default: The value selected for the cluster from which the snapshot
12211
12217
  # was taken.
@@ -13275,7 +13281,7 @@ module Aws::Redshift
13275
13281
  tracer: tracer
13276
13282
  )
13277
13283
  context[:gem_name] = 'aws-sdk-redshift'
13278
- context[:gem_version] = '1.157.0'
13284
+ context[:gem_version] = '1.159.0'
13279
13285
  Seahorse::Client::Request.new(handlers, context)
13280
13286
  end
13281
13287
 
@@ -2014,8 +2014,9 @@ module Aws::Redshift
2014
2014
  # about node types, go to [ Working with Clusters][1] in the *Amazon
2015
2015
  # Redshift Cluster Management Guide*.
2016
2016
  #
2017
- # Valid Values: `dc2.large` \| `dc2.8xlarge` \| `ra3.large` \|
2018
- # `ra3.xlplus` \| `ra3.4xlarge` \| `ra3.16xlarge`
2017
+ # Valid Values: `dc2.large` \| `dc2.8xlarge`\| `rg.xlarge` \|
2018
+ # `rg.4xlarge` \| `ra3.large` \| `ra3.xlplus` \| `ra3.4xlarge` \|
2019
+ # `ra3.16xlarge`
2019
2020
  #
2020
2021
  #
2021
2022
  #
@@ -2152,8 +2153,8 @@ module Aws::Redshift
2152
2153
  # snapshots are disabled, you can still create manual snapshots when
2153
2154
  # you want with CreateClusterSnapshot.
2154
2155
  #
2155
- # You can't disable automated snapshots for RA3 node types. Set the
2156
- # automated retention period from 1-35 days.
2156
+ # You can't disable automated snapshots for RG or RA3 node types. Set
2157
+ # the automated retention period from 1-35 days.
2157
2158
  #
2158
2159
  # Default: `1`
2159
2160
  #
@@ -2179,10 +2180,10 @@ module Aws::Redshift
2179
2180
  #
2180
2181
  # Valid Values:
2181
2182
  #
2182
- # * For clusters with ra3 nodes - Select a port within the ranges
2183
- # `5431-5455` or `8191-8215`. (If you have an existing cluster with
2184
- # ra3 nodes, it isn't required that you change the port to these
2185
- # ranges.)
2183
+ # * For clusters with RG or RA3 nodes - Select a port within the
2184
+ # ranges `5431-5455` or `8191-8215`. (If you have an existing
2185
+ # cluster with RG or RA3 nodes, it isn't required that you change
2186
+ # the port to these ranges.)
2186
2187
  #
2187
2188
  # * For clusters with dc2 nodes - Select a port within the range
2188
2189
  # `1150-65535`.
@@ -8373,8 +8374,9 @@ module Aws::Redshift
8373
8374
  # Clusters in Amazon Redshift][1] in the *Amazon Redshift Cluster
8374
8375
  # Management Guide*.
8375
8376
  #
8376
- # Valid Values: `dc2.large` \| `dc2.8xlarge` \| `ra3.large` \|
8377
- # `ra3.xlplus` \| `ra3.4xlarge` \| `ra3.16xlarge`
8377
+ # Valid Values: `dc2.large` \| `dc2.8xlarge`\| `rg.xlarge` \|
8378
+ # `rg.4xlarge` \| `ra3.large` \| `ra3.xlplus` \| `ra3.4xlarge` \|
8379
+ # `ra3.16xlarge`
8378
8380
  #
8379
8381
  #
8380
8382
  #
@@ -8471,8 +8473,8 @@ module Aws::Redshift
8471
8473
  # current value, existing automated snapshots that fall outside of the
8472
8474
  # new retention period will be immediately deleted.
8473
8475
  #
8474
- # You can't disable automated snapshots for RA3 node types. Set the
8475
- # automated retention period from 1-35 days.
8476
+ # You can't disable automated snapshots for RG or RA3 node types. Set
8477
+ # the automated retention period from 1-35 days.
8476
8478
  #
8477
8479
  # Default: Uses existing setting.
8478
8480
  #
@@ -8642,10 +8644,10 @@ module Aws::Redshift
8642
8644
  #
8643
8645
  # Valid Values:
8644
8646
  #
8645
- # * For clusters with ra3 nodes - Select a port within the ranges
8646
- # `5431-5455` or `8191-8215`. (If you have an existing cluster with
8647
- # ra3 nodes, it isn't required that you change the port to these
8648
- # ranges.)
8647
+ # * For clusters with RG or RA3 nodes - Select a port within the
8648
+ # ranges `5431-5455` or `8191-8215`. (If you have an existing
8649
+ # cluster with RG or RA3 nodes, it isn't required that you change
8650
+ # the port to these ranges.)
8649
8651
  #
8650
8652
  # * For clusters with dc2 nodes - Select a port within the range
8651
8653
  # `1150-65535`.
@@ -10876,8 +10878,8 @@ module Aws::Redshift
10876
10878
  # Default: The same port as the original cluster.
10877
10879
  #
10878
10880
  # Valid values: For clusters with DC2 nodes, must be within the range
10879
- # `1150`-`65535`. For clusters with ra3 nodes, must be within the
10880
- # ranges `5431`-`5455` or `8191`-`8215`.
10881
+ # `1150`-`65535`. For clusters with RG or RA3 nodes, must be within
10882
+ # the ranges `5431`-`5455` or `8191`-`8215`.
10881
10883
  # @return [Integer]
10882
10884
  #
10883
10885
  # @!attribute [rw] availability_zone
@@ -10997,8 +10999,8 @@ module Aws::Redshift
10997
10999
  # snapshots are disabled, you can still create manual snapshots when
10998
11000
  # you want with CreateClusterSnapshot.
10999
11001
  #
11000
- # You can't disable automated snapshots for RA3 node types. Set the
11001
- # automated retention period from 1-35 days.
11002
+ # You can't disable automated snapshots for RG or RA3 node types. Set
11003
+ # the automated retention period from 1-35 days.
11002
11004
  #
11003
11005
  # Default: The value selected for the cluster from which the snapshot
11004
11006
  # was taken.
@@ -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.157.0'
58
+ GEM_VERSION = '1.159.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -196,7 +196,7 @@ module Aws
196
196
  {
197
197
  snapshot_identifier: ::String,
198
198
  snapshot_cluster_identifier: ::String?
199
- },
199
+ }
200
200
  ]
201
201
  ) -> _BatchDeleteClusterSnapshotsResponseSuccess
202
202
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchDeleteClusterSnapshotsResponseSuccess
@@ -297,7 +297,7 @@ module Aws
297
297
  {
298
298
  key: ::String?,
299
299
  value: ::String?
300
- },
300
+ }
301
301
  ],
302
302
  ?kms_key_id: ::String,
303
303
  ?enhanced_vpc_routing: bool,
@@ -332,7 +332,7 @@ module Aws
332
332
  {
333
333
  key: ::String?,
334
334
  value: ::String?
335
- },
335
+ }
336
336
  ]
337
337
  ) -> _CreateClusterParameterGroupResponseSuccess
338
338
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateClusterParameterGroupResponseSuccess
@@ -349,7 +349,7 @@ module Aws
349
349
  {
350
350
  key: ::String?,
351
351
  value: ::String?
352
- },
352
+ }
353
353
  ]
354
354
  ) -> _CreateClusterSecurityGroupResponseSuccess
355
355
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateClusterSecurityGroupResponseSuccess
@@ -367,7 +367,7 @@ module Aws
367
367
  {
368
368
  key: ::String?,
369
369
  value: ::String?
370
- },
370
+ }
371
371
  ]
372
372
  ) -> _CreateClusterSnapshotResponseSuccess
373
373
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateClusterSnapshotResponseSuccess
@@ -385,7 +385,7 @@ module Aws
385
385
  {
386
386
  key: ::String?,
387
387
  value: ::String?
388
- },
388
+ }
389
389
  ]
390
390
  ) -> _CreateClusterSubnetGroupResponseSuccess
391
391
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateClusterSubnetGroupResponseSuccess
@@ -445,7 +445,7 @@ module Aws
445
445
  {
446
446
  key: ::String?,
447
447
  value: ::String?
448
- },
448
+ }
449
449
  ]
450
450
  ) -> _CreateEventSubscriptionResponseSuccess
451
451
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateEventSubscriptionResponseSuccess
@@ -461,7 +461,7 @@ module Aws
461
461
  {
462
462
  key: ::String?,
463
463
  value: ::String?
464
- },
464
+ }
465
465
  ]
466
466
  ) -> _CreateHsmClientCertificateResponseSuccess
467
467
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateHsmClientCertificateResponseSuccess
@@ -482,7 +482,7 @@ module Aws
482
482
  {
483
483
  key: ::String?,
484
484
  value: ::String?
485
- },
485
+ }
486
486
  ]
487
487
  ) -> _CreateHsmConfigurationResponseSuccess
488
488
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateHsmConfigurationResponseSuccess
@@ -511,7 +511,7 @@ module Aws
511
511
  {
512
512
  key: ::String?,
513
513
  value: ::String?
514
- },
514
+ }
515
515
  ],
516
516
  ?additional_encryption_context: Hash[::String, ::String],
517
517
  ?description: ::String
@@ -533,39 +533,17 @@ module Aws
533
533
  {
534
534
  trusted_token_issuer_arn: ::String?,
535
535
  authorized_audiences_list: Array[::String]?
536
- },
536
+ }
537
537
  ],
538
538
  ?service_integrations: Array[
539
- {
540
- lake_formation: Array[
541
- {
542
- lake_formation_query: {
543
- authorization: ("Enabled" | "Disabled")
544
- }?
545
- },
546
- ]?,
547
- s3_access_grants: Array[
548
- {
549
- read_write_access: {
550
- authorization: ("Enabled" | "Disabled")
551
- }?
552
- },
553
- ]?,
554
- redshift: Array[
555
- {
556
- connect: {
557
- authorization: ("Enabled" | "Disabled")
558
- }?
559
- },
560
- ]?
561
- },
539
+ Params::service_integrations_union
562
540
  ],
563
541
  ?application_type: ("None" | "Lakehouse"),
564
542
  ?tags: Array[
565
543
  {
566
544
  key: ::String?,
567
545
  value: ::String?
568
- },
546
+ }
569
547
  ],
570
548
  ?sso_tag_keys: Array[::String]
571
549
  ) -> _CreateRedshiftIdcApplicationResponseSuccess
@@ -586,23 +564,7 @@ module Aws
586
564
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Redshift/Client.html#create_scheduled_action-instance_method
587
565
  def create_scheduled_action: (
588
566
  scheduled_action_name: ::String,
589
- target_action: {
590
- resize_cluster: {
591
- cluster_identifier: ::String,
592
- cluster_type: ::String?,
593
- node_type: ::String?,
594
- number_of_nodes: ::Integer?,
595
- classic: bool?,
596
- reserved_node_id: ::String?,
597
- target_reserved_node_offering_id: ::String?
598
- }?,
599
- pause_cluster: {
600
- cluster_identifier: ::String
601
- }?,
602
- resume_cluster: {
603
- cluster_identifier: ::String
604
- }?
605
- },
567
+ target_action: Params::scheduled_action_type,
606
568
  schedule: ::String,
607
569
  iam_role: ::String,
608
570
  ?scheduled_action_description: ::String,
@@ -624,7 +586,7 @@ module Aws
624
586
  {
625
587
  key: ::String?,
626
588
  value: ::String?
627
- },
589
+ }
628
590
  ]
629
591
  ) -> _CreateSnapshotCopyGrantResponseSuccess
630
592
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSnapshotCopyGrantResponseSuccess
@@ -648,7 +610,7 @@ module Aws
648
610
  {
649
611
  key: ::String?,
650
612
  value: ::String?
651
- },
613
+ }
652
614
  ],
653
615
  ?dry_run: bool,
654
616
  ?next_invocations: ::Integer
@@ -662,7 +624,7 @@ module Aws
662
624
  {
663
625
  key: ::String?,
664
626
  value: ::String?
665
- },
627
+ }
666
628
  ]
667
629
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
668
630
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
@@ -690,7 +652,7 @@ module Aws
690
652
  {
691
653
  key: ::String?,
692
654
  value: ::String?
693
- },
655
+ }
694
656
  ]
695
657
  ) -> _CreateUsageLimitResponseSuccess
696
658
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateUsageLimitResponseSuccess
@@ -890,15 +852,7 @@ module Aws
890
852
  end
891
853
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Redshift/Client.html#deregister_namespace-instance_method
892
854
  def deregister_namespace: (
893
- namespace_identifier: {
894
- serverless_identifier: {
895
- namespace_identifier: ::String,
896
- workgroup_identifier: ::String
897
- }?,
898
- provisioned_identifier: {
899
- cluster_identifier: ::String
900
- }?
901
- },
855
+ namespace_identifier: Params::namespace_identifier_union,
902
856
  consumer_identifiers: Array[::String]
903
857
  ) -> _DeregisterNamespaceResponseSuccess
904
858
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeregisterNamespaceResponseSuccess
@@ -1003,7 +957,7 @@ module Aws
1003
957
  {
1004
958
  attribute: ("SOURCE_TYPE" | "TOTAL_SIZE" | "CREATE_TIME"),
1005
959
  sort_order: ("ASC" | "DESC")?
1006
- },
960
+ }
1007
961
  ]
1008
962
  ) -> _DescribeClusterSnapshotsResponseSuccess
1009
963
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeClusterSnapshotsResponseSuccess
@@ -1263,7 +1217,7 @@ module Aws
1263
1217
  {
1264
1218
  name: ("integration-arn" | "source-arn" | "source-types" | "status"),
1265
1219
  values: Array[::String]
1266
- },
1220
+ }
1267
1221
  ]
1268
1222
  ) -> _DescribeIntegrationsResponseSuccess
1269
1223
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeIntegrationsResponseSuccess
@@ -1302,7 +1256,7 @@ module Aws
1302
1256
  name: ("NodeType" | "NumberOfNodes" | "EstimatedDiskUtilizationPercent" | "Mode")?,
1303
1257
  operator: ("eq" | "lt" | "gt" | "le" | "ge" | "in" | "between")?,
1304
1258
  values: Array[::String]?
1305
- },
1259
+ }
1306
1260
  ],
1307
1261
  ?marker: ::String,
1308
1262
  ?max_records: ::Integer
@@ -1430,7 +1384,7 @@ module Aws
1430
1384
  {
1431
1385
  name: ("cluster-identifier" | "iam-role"),
1432
1386
  values: Array[::String]
1433
- },
1387
+ }
1434
1388
  ],
1435
1389
  ?marker: ::String,
1436
1390
  ?max_records: ::Integer
@@ -1821,17 +1775,7 @@ module Aws
1821
1775
  def modify_cluster_parameter_group: (
1822
1776
  parameter_group_name: ::String,
1823
1777
  parameters: Array[
1824
- {
1825
- parameter_name: ::String?,
1826
- parameter_value: ::String?,
1827
- description: ::String?,
1828
- source: ::String?,
1829
- data_type: ::String?,
1830
- allowed_values: ::String?,
1831
- apply_type: ("static" | "dynamic")?,
1832
- is_modifiable: bool?,
1833
- minimum_engine_version: ::String?
1834
- },
1778
+ Params::parameter
1835
1779
  ]
1836
1780
  ) -> _ModifyClusterParameterGroupResponseSuccess
1837
1781
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ModifyClusterParameterGroupResponseSuccess
@@ -1973,32 +1917,10 @@ module Aws
1973
1917
  {
1974
1918
  trusted_token_issuer_arn: ::String?,
1975
1919
  authorized_audiences_list: Array[::String]?
1976
- },
1920
+ }
1977
1921
  ],
1978
1922
  ?service_integrations: Array[
1979
- {
1980
- lake_formation: Array[
1981
- {
1982
- lake_formation_query: {
1983
- authorization: ("Enabled" | "Disabled")
1984
- }?
1985
- },
1986
- ]?,
1987
- s3_access_grants: Array[
1988
- {
1989
- read_write_access: {
1990
- authorization: ("Enabled" | "Disabled")
1991
- }?
1992
- },
1993
- ]?,
1994
- redshift: Array[
1995
- {
1996
- connect: {
1997
- authorization: ("Enabled" | "Disabled")
1998
- }?
1999
- },
2000
- ]?
2001
- },
1923
+ Params::service_integrations_union
2002
1924
  ]
2003
1925
  ) -> _ModifyRedshiftIdcApplicationResponseSuccess
2004
1926
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ModifyRedshiftIdcApplicationResponseSuccess
@@ -2018,23 +1940,7 @@ module Aws
2018
1940
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Redshift/Client.html#modify_scheduled_action-instance_method
2019
1941
  def modify_scheduled_action: (
2020
1942
  scheduled_action_name: ::String,
2021
- ?target_action: {
2022
- resize_cluster: {
2023
- cluster_identifier: ::String,
2024
- cluster_type: ::String?,
2025
- node_type: ::String?,
2026
- number_of_nodes: ::Integer?,
2027
- classic: bool?,
2028
- reserved_node_id: ::String?,
2029
- target_reserved_node_offering_id: ::String?
2030
- }?,
2031
- pause_cluster: {
2032
- cluster_identifier: ::String
2033
- }?,
2034
- resume_cluster: {
2035
- cluster_identifier: ::String
2036
- }?
2037
- },
1943
+ ?target_action: Params::scheduled_action_type,
2038
1944
  ?schedule: ::String,
2039
1945
  ?iam_role: ::String,
2040
1946
  ?scheduled_action_description: ::String,
@@ -2140,15 +2046,7 @@ module Aws
2140
2046
  end
2141
2047
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Redshift/Client.html#register_namespace-instance_method
2142
2048
  def register_namespace: (
2143
- namespace_identifier: {
2144
- serverless_identifier: {
2145
- namespace_identifier: ::String,
2146
- workgroup_identifier: ::String
2147
- }?,
2148
- provisioned_identifier: {
2149
- cluster_identifier: ::String
2150
- }?
2151
- },
2049
+ namespace_identifier: Params::namespace_identifier_union,
2152
2050
  consumer_identifiers: Array[::String]
2153
2051
  ) -> _RegisterNamespaceResponseSuccess
2154
2052
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RegisterNamespaceResponseSuccess
@@ -2178,17 +2076,7 @@ module Aws
2178
2076
  parameter_group_name: ::String,
2179
2077
  ?reset_all_parameters: bool,
2180
2078
  ?parameters: Array[
2181
- {
2182
- parameter_name: ::String?,
2183
- parameter_value: ::String?,
2184
- description: ::String?,
2185
- source: ::String?,
2186
- data_type: ::String?,
2187
- allowed_values: ::String?,
2188
- apply_type: ("static" | "dynamic")?,
2189
- is_modifiable: bool?,
2190
- minimum_engine_version: ::String?
2191
- },
2079
+ Params::parameter
2192
2080
  ]
2193
2081
  ) -> _ResetClusterParameterGroupResponseSuccess
2194
2082
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ResetClusterParameterGroupResponseSuccess
@@ -2400,7 +2288,7 @@ module Aws
2400
2288
  {
2401
2289
  attribute: ("SOURCE_TYPE" | "TOTAL_SIZE" | "CREATE_TIME"),
2402
2290
  sort_order: ("ASC" | "DESC")?
2403
- },
2291
+ }
2404
2292
  ]
2405
2293
  ) -> Client::_DescribeClusterSnapshotsResponseSuccess
2406
2294
  | (:snapshot_available waiter_name, ?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeClusterSnapshotsResponseSuccess
data/sig/params.rbs ADDED
@@ -0,0 +1,79 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module Redshift
10
+ module Params
11
+ type service_integrations_union = {
12
+ lake_formation: Array[
13
+ {
14
+ lake_formation_query: {
15
+ authorization: ("Enabled" | "Disabled")
16
+ }?
17
+ }
18
+ ]?,
19
+ s3_access_grants: Array[
20
+ {
21
+ read_write_access: {
22
+ authorization: ("Enabled" | "Disabled")
23
+ }?
24
+ }
25
+ ]?,
26
+ redshift: Array[
27
+ {
28
+ connect: {
29
+ authorization: ("Enabled" | "Disabled")
30
+ }?
31
+ }
32
+ ]?
33
+ }
34
+
35
+ type resize_cluster_message = {
36
+ cluster_identifier: ::String,
37
+ cluster_type: ::String?,
38
+ node_type: ::String?,
39
+ number_of_nodes: ::Integer?,
40
+ classic: bool?,
41
+ reserved_node_id: ::String?,
42
+ target_reserved_node_offering_id: ::String?
43
+ }
44
+
45
+ type scheduled_action_type = {
46
+ resize_cluster: Params::resize_cluster_message?,
47
+ pause_cluster: {
48
+ cluster_identifier: ::String
49
+ }?,
50
+ resume_cluster: {
51
+ cluster_identifier: ::String
52
+ }?
53
+ }
54
+
55
+ type namespace_identifier_union = {
56
+ serverless_identifier: {
57
+ namespace_identifier: ::String,
58
+ workgroup_identifier: ::String
59
+ }?,
60
+ provisioned_identifier: {
61
+ cluster_identifier: ::String
62
+ }?
63
+ }
64
+
65
+ type parameter = {
66
+ parameter_name: ::String?,
67
+ parameter_value: ::String?,
68
+ description: ::String?,
69
+ source: ::String?,
70
+ data_type: ::String?,
71
+ allowed_values: ::String?,
72
+ apply_type: ("static" | "dynamic")?,
73
+ is_modifiable: bool?,
74
+ minimum_engine_version: ::String?
75
+ }
76
+
77
+ end
78
+ end
79
+ end
data/sig/waiters.rbs CHANGED
@@ -72,7 +72,7 @@ module Aws
72
72
  {
73
73
  attribute: ("SOURCE_TYPE" | "TOTAL_SIZE" | "CREATE_TIME"),
74
74
  sort_order: ("ASC" | "DESC")?
75
- },
75
+ }
76
76
  ]
77
77
  ) -> Client::_DescribeClusterSnapshotsResponseSuccess
78
78
  | (?Hash[Symbol, untyped]) -> Client::_DescribeClusterSnapshotsResponseSuccess
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.157.0
4
+ version: 1.159.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -18,7 +18,7 @@ dependencies:
18
18
  version: '3'
19
19
  - - ">="
20
20
  - !ruby/object:Gem::Version
21
- version: 3.244.0
21
+ version: 3.247.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -28,7 +28,7 @@ dependencies:
28
28
  version: '3'
29
29
  - - ">="
30
30
  - !ruby/object:Gem::Version
31
- version: 3.244.0
31
+ version: 3.247.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement
@@ -68,6 +68,7 @@ files:
68
68
  - lib/aws-sdk-redshift/waiters.rb
69
69
  - sig/client.rbs
70
70
  - sig/errors.rbs
71
+ - sig/params.rbs
71
72
  - sig/resource.rbs
72
73
  - sig/types.rbs
73
74
  - sig/waiters.rbs