aws-sdk-redshift 1.132.0 → 1.134.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: 76a8e954ad8b260ad7712f65fdf2e42b84eee46e3d8268c0eb1847d72626a5b9
4
- data.tar.gz: f276901994c9d384d67e1a10b833bfa000b7d17ce2d427dd977d362291ebbe66
3
+ metadata.gz: 8d8ae12bcaf7e4b4f228ada778664ba70a3b5f5cd67984e7e586c32261c15d47
4
+ data.tar.gz: e7e7cde2d711b3455b49a79a49f151e8d8051c93786bfe6c291c5c0b4b400a03
5
5
  SHA512:
6
- metadata.gz: 681ce6e5ac2bbee4a288c564274dbabb20140bd67b5bea4d360f9974e809bc0cec8374a9b81255134ba5337024ec96b5ed7d507d65ba29d4ccb6905f0e22b086
7
- data.tar.gz: a288043db934697c1ef0fbb43c63bd63a77dfc20e4c2bf201fe4d4a3fe775de6b1dc7fe821990eeff382158c93f880e9035dbce633a5232e152c4a207a9ac5b0
6
+ metadata.gz: f7c27338da09c30587979267bad1d97b53f05c98ee23a586f39cbe4a2f502faceec145c7a9431d5b5735a8bf6332c3663884251e4f6d26c6ba24d14d9d23058b
7
+ data.tar.gz: 2466ceb0a76f1e304f154519b8b52ac0d97d4ae4b020ad552257b591921044eb1c8177555e39d293ace6ac3936ba6ad0ff025c6e868bebfbabcb9e7a42b16daf
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.134.0 (2025-01-10)
5
+ ------------------
6
+
7
+ * Feature - Additions to the PubliclyAccessible and Encrypted parameters clarifying what the defaults are.
8
+
9
+ 1.133.0 (2024-12-03)
10
+ ------------------
11
+
12
+ * Feature - Adds support for Amazon Redshift RegisterNamespace and DeregisterNamespace APIs to share data to AWS Glue Data Catalog.
13
+
4
14
  1.132.0 (2024-11-18)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.132.0
1
+ 1.134.0
@@ -576,6 +576,7 @@ module Aws::Redshift
576
576
  # * {Types::DataShare#allow_publicly_accessible_consumers #allow_publicly_accessible_consumers} => Boolean
577
577
  # * {Types::DataShare#data_share_associations #data_share_associations} => Array<Types::DataShareAssociation>
578
578
  # * {Types::DataShare#managed_by #managed_by} => String
579
+ # * {Types::DataShare#data_share_type #data_share_type} => String
579
580
  #
580
581
  # @example Request syntax with placeholder values
581
582
  #
@@ -601,6 +602,7 @@ module Aws::Redshift
601
602
  # resp.data_share_associations[0].producer_allowed_writes #=> Boolean
602
603
  # resp.data_share_associations[0].consumer_accepted_writes #=> Boolean
603
604
  # resp.managed_by #=> String
605
+ # resp.data_share_type #=> String, one of "INTERNAL"
604
606
  #
605
607
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AssociateDataShareConsumer AWS API Documentation
606
608
  #
@@ -721,6 +723,7 @@ module Aws::Redshift
721
723
  # * {Types::DataShare#allow_publicly_accessible_consumers #allow_publicly_accessible_consumers} => Boolean
722
724
  # * {Types::DataShare#data_share_associations #data_share_associations} => Array<Types::DataShareAssociation>
723
725
  # * {Types::DataShare#managed_by #managed_by} => String
726
+ # * {Types::DataShare#data_share_type #data_share_type} => String
724
727
  #
725
728
  # @example Request syntax with placeholder values
726
729
  #
@@ -744,6 +747,7 @@ module Aws::Redshift
744
747
  # resp.data_share_associations[0].producer_allowed_writes #=> Boolean
745
748
  # resp.data_share_associations[0].consumer_accepted_writes #=> Boolean
746
749
  # resp.managed_by #=> String
750
+ # resp.data_share_type #=> String, one of "INTERNAL"
747
751
  #
748
752
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AuthorizeDataShare AWS API Documentation
749
753
  #
@@ -1240,9 +1244,28 @@ module Aws::Redshift
1240
1244
  # Redshift Clusters][1] in the *Amazon Redshift Cluster Management
1241
1245
  # Guide*.
1242
1246
  #
1247
+ # VPC Block Public Access (BPA) enables you to block resources in VPCs
1248
+ # and subnets that you own in a Region from reaching or being reached
1249
+ # from the internet through internet gateways and egress-only internet
1250
+ # gateways. If a subnet group for a provisioned cluster is in an account
1251
+ # with VPC BPA turned on, the following capabilities are blocked:
1252
+ #
1253
+ # * Creating a public cluster
1254
+ #
1255
+ # * Restoring a public cluster
1256
+ #
1257
+ # * Modifying a private cluster to be public
1258
+ #
1259
+ # * Adding a subnet with VPC BPA turned on to the subnet group when
1260
+ # there's at least one public cluster within the group
1261
+ #
1262
+ # For more information about VPC BPA, see [Block public access to VPCs
1263
+ # and subnets][2] in the *Amazon VPC User Guide*.
1264
+ #
1243
1265
  #
1244
1266
  #
1245
1267
  # [1]: https://docs.aws.amazon.com/redshift/latest/mgmt/working-with-clusters.html
1268
+ # [2]: https://docs.aws.amazon.com/vpc/latest/userguide/security-vpc-bpa.html
1246
1269
  #
1247
1270
  # @option params [String] :db_name
1248
1271
  # The name of the first database to be created when the cluster is
@@ -1512,10 +1535,13 @@ module Aws::Redshift
1512
1535
  # @option params [Boolean] :publicly_accessible
1513
1536
  # If `true`, the cluster can be accessed from a public network.
1514
1537
  #
1538
+ # Default: false
1539
+ #
1515
1540
  # @option params [Boolean] :encrypted
1516
- # If `true`, the data in the cluster is encrypted at rest.
1541
+ # If `true`, the data in the cluster is encrypted at rest. If you set
1542
+ # the value on this parameter to `false`, the request will fail.
1517
1543
  #
1518
- # Default: false
1544
+ # Default: true
1519
1545
  #
1520
1546
  # @option params [String] :hsm_client_certificate_identifier
1521
1547
  # Specifies the name of the HSM client certificate the Amazon Redshift
@@ -3181,6 +3207,7 @@ module Aws::Redshift
3181
3207
  # * {Types::DataShare#allow_publicly_accessible_consumers #allow_publicly_accessible_consumers} => Boolean
3182
3208
  # * {Types::DataShare#data_share_associations #data_share_associations} => Array<Types::DataShareAssociation>
3183
3209
  # * {Types::DataShare#managed_by #managed_by} => String
3210
+ # * {Types::DataShare#data_share_type #data_share_type} => String
3184
3211
  #
3185
3212
  # @example Request syntax with placeholder values
3186
3213
  #
@@ -3203,6 +3230,7 @@ module Aws::Redshift
3203
3230
  # resp.data_share_associations[0].producer_allowed_writes #=> Boolean
3204
3231
  # resp.data_share_associations[0].consumer_accepted_writes #=> Boolean
3205
3232
  # resp.managed_by #=> String
3233
+ # resp.data_share_type #=> String, one of "INTERNAL"
3206
3234
  #
3207
3235
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeauthorizeDataShare AWS API Documentation
3208
3236
  #
@@ -4058,6 +4086,49 @@ module Aws::Redshift
4058
4086
  req.send_request(options)
4059
4087
  end
4060
4088
 
4089
+ # Deregisters a cluster or serverless namespace from the Amazon Web
4090
+ # Services Glue Data Catalog.
4091
+ #
4092
+ # @option params [required, Types::NamespaceIdentifierUnion] :namespace_identifier
4093
+ # The unique identifier of the cluster or serverless namespace that you
4094
+ # want to deregister.
4095
+ #
4096
+ # @option params [required, Array<String>] :consumer_identifiers
4097
+ # An array containing the ID of the consumer account that you want to
4098
+ # deregister the cluster or serverless namespace from.
4099
+ #
4100
+ # @return [Types::DeregisterNamespaceOutputMessage] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4101
+ #
4102
+ # * {Types::DeregisterNamespaceOutputMessage#status #status} => String
4103
+ #
4104
+ # @example Request syntax with placeholder values
4105
+ #
4106
+ # resp = client.deregister_namespace({
4107
+ # namespace_identifier: { # required
4108
+ # serverless_identifier: {
4109
+ # namespace_identifier: "String", # required
4110
+ # workgroup_identifier: "String", # required
4111
+ # },
4112
+ # provisioned_identifier: {
4113
+ # cluster_identifier: "String", # required
4114
+ # },
4115
+ # },
4116
+ # consumer_identifiers: ["String"], # required
4117
+ # })
4118
+ #
4119
+ # @example Response structure
4120
+ #
4121
+ # resp.status #=> String, one of "Registering", "Deregistering"
4122
+ #
4123
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeregisterNamespace AWS API Documentation
4124
+ #
4125
+ # @overload deregister_namespace(params = {})
4126
+ # @param [Hash] params ({})
4127
+ def deregister_namespace(params = {}, options = {})
4128
+ req = build_request(:deregister_namespace, params)
4129
+ req.send_request(options)
4130
+ end
4131
+
4061
4132
  # Returns a list of attributes attached to an account
4062
4133
  #
4063
4134
  # @option params [Array<String>] :attribute_names
@@ -5292,6 +5363,7 @@ module Aws::Redshift
5292
5363
  # resp.data_shares[0].data_share_associations[0].producer_allowed_writes #=> Boolean
5293
5364
  # resp.data_shares[0].data_share_associations[0].consumer_accepted_writes #=> Boolean
5294
5365
  # resp.data_shares[0].managed_by #=> String
5366
+ # resp.data_shares[0].data_share_type #=> String, one of "INTERNAL"
5295
5367
  # resp.marker #=> String
5296
5368
  #
5297
5369
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeDataShares AWS API Documentation
@@ -5362,6 +5434,7 @@ module Aws::Redshift
5362
5434
  # resp.data_shares[0].data_share_associations[0].producer_allowed_writes #=> Boolean
5363
5435
  # resp.data_shares[0].data_share_associations[0].consumer_accepted_writes #=> Boolean
5364
5436
  # resp.data_shares[0].managed_by #=> String
5437
+ # resp.data_shares[0].data_share_type #=> String, one of "INTERNAL"
5365
5438
  # resp.marker #=> String
5366
5439
  #
5367
5440
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeDataSharesForConsumer AWS API Documentation
@@ -5432,6 +5505,7 @@ module Aws::Redshift
5432
5505
  # resp.data_shares[0].data_share_associations[0].producer_allowed_writes #=> Boolean
5433
5506
  # resp.data_shares[0].data_share_associations[0].consumer_accepted_writes #=> Boolean
5434
5507
  # resp.data_shares[0].managed_by #=> String
5508
+ # resp.data_shares[0].data_share_type #=> String, one of "INTERNAL"
5435
5509
  # resp.marker #=> String
5436
5510
  #
5437
5511
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeDataSharesForProducer AWS API Documentation
@@ -7756,6 +7830,7 @@ module Aws::Redshift
7756
7830
  # * {Types::DataShare#allow_publicly_accessible_consumers #allow_publicly_accessible_consumers} => Boolean
7757
7831
  # * {Types::DataShare#data_share_associations #data_share_associations} => Array&lt;Types::DataShareAssociation&gt;
7758
7832
  # * {Types::DataShare#managed_by #managed_by} => String
7833
+ # * {Types::DataShare#data_share_type #data_share_type} => String
7759
7834
  #
7760
7835
  # @example Request syntax with placeholder values
7761
7836
  #
@@ -7780,6 +7855,7 @@ module Aws::Redshift
7780
7855
  # resp.data_share_associations[0].producer_allowed_writes #=> Boolean
7781
7856
  # resp.data_share_associations[0].consumer_accepted_writes #=> Boolean
7782
7857
  # resp.managed_by #=> String
7858
+ # resp.data_share_type #=> String, one of "INTERNAL"
7783
7859
  #
7784
7860
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DisassociateDataShareConsumer AWS API Documentation
7785
7861
  #
@@ -8800,9 +8876,28 @@ module Aws::Redshift
8800
8876
  # Redshift Clusters][1] in the *Amazon Redshift Cluster Management
8801
8877
  # Guide*.
8802
8878
  #
8879
+ # VPC Block Public Access (BPA) enables you to block resources in VPCs
8880
+ # and subnets that you own in a Region from reaching or being reached
8881
+ # from the internet through internet gateways and egress-only internet
8882
+ # gateways. If a subnet group for a provisioned cluster is in an account
8883
+ # with VPC BPA turned on, the following capabilities are blocked:
8884
+ #
8885
+ # * Creating a public cluster
8886
+ #
8887
+ # * Restoring a public cluster
8888
+ #
8889
+ # * Modifying a private cluster to be public
8890
+ #
8891
+ # * Adding a subnet with VPC BPA turned on to the subnet group when
8892
+ # there's at least one public cluster within the group
8893
+ #
8894
+ # For more information about VPC BPA, see [Block public access to VPCs
8895
+ # and subnets][2] in the *Amazon VPC User Guide*.
8896
+ #
8803
8897
  #
8804
8898
  #
8805
8899
  # [1]: https://docs.aws.amazon.com/redshift/latest/mgmt/working-with-clusters.html
8900
+ # [2]: https://docs.aws.amazon.com/vpc/latest/userguide/security-vpc-bpa.html
8806
8901
  #
8807
8902
  # @option params [required, String] :cluster_identifier
8808
8903
  # The unique identifier of the cluster to be modified.
@@ -9010,6 +9105,8 @@ module Aws::Redshift
9010
9105
  # If `true`, the cluster can be accessed from a public network. Only
9011
9106
  # clusters in VPCs can be set to be publicly available.
9012
9107
  #
9108
+ # Default: false
9109
+ #
9013
9110
  # @option params [String] :elastic_ip
9014
9111
  # The Elastic IP (EIP) address for the cluster.
9015
9112
  #
@@ -10001,6 +10098,28 @@ module Aws::Redshift
10001
10098
  # subnets. The operation replaces the existing list of subnets with the
10002
10099
  # new list of subnets.
10003
10100
  #
10101
+ # VPC Block Public Access (BPA) enables you to block resources in VPCs
10102
+ # and subnets that you own in a Region from reaching or being reached
10103
+ # from the internet through internet gateways and egress-only internet
10104
+ # gateways. If a subnet group for a provisioned cluster is in an account
10105
+ # with VPC BPA turned on, the following capabilities are blocked:
10106
+ #
10107
+ # * Creating a public cluster
10108
+ #
10109
+ # * Restoring a public cluster
10110
+ #
10111
+ # * Modifying a private cluster to be public
10112
+ #
10113
+ # * Adding a subnet with VPC BPA turned on to the subnet group when
10114
+ # there's at least one public cluster within the group
10115
+ #
10116
+ # For more information about VPC BPA, see [Block public access to VPCs
10117
+ # and subnets][1] in the *Amazon VPC User Guide*.
10118
+ #
10119
+ #
10120
+ #
10121
+ # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/security-vpc-bpa.html
10122
+ #
10004
10123
  # @option params [required, String] :cluster_subnet_group_name
10005
10124
  # The name of the subnet group to be modified.
10006
10125
  #
@@ -11235,6 +11354,49 @@ module Aws::Redshift
11235
11354
  req.send_request(options)
11236
11355
  end
11237
11356
 
11357
+ # Registers a cluster or serverless namespace to the Amazon Web Services
11358
+ # Glue Data Catalog.
11359
+ #
11360
+ # @option params [required, Types::NamespaceIdentifierUnion] :namespace_identifier
11361
+ # The unique identifier of the cluster or serverless namespace that you
11362
+ # want to register.
11363
+ #
11364
+ # @option params [required, Array<String>] :consumer_identifiers
11365
+ # An array containing the ID of the consumer account that you want to
11366
+ # register the namespace to.
11367
+ #
11368
+ # @return [Types::RegisterNamespaceOutputMessage] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
11369
+ #
11370
+ # * {Types::RegisterNamespaceOutputMessage#status #status} => String
11371
+ #
11372
+ # @example Request syntax with placeholder values
11373
+ #
11374
+ # resp = client.register_namespace({
11375
+ # namespace_identifier: { # required
11376
+ # serverless_identifier: {
11377
+ # namespace_identifier: "String", # required
11378
+ # workgroup_identifier: "String", # required
11379
+ # },
11380
+ # provisioned_identifier: {
11381
+ # cluster_identifier: "String", # required
11382
+ # },
11383
+ # },
11384
+ # consumer_identifiers: ["String"], # required
11385
+ # })
11386
+ #
11387
+ # @example Response structure
11388
+ #
11389
+ # resp.status #=> String, one of "Registering", "Deregistering"
11390
+ #
11391
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RegisterNamespace AWS API Documentation
11392
+ #
11393
+ # @overload register_namespace(params = {})
11394
+ # @param [Hash] params ({})
11395
+ def register_namespace(params = {}, options = {})
11396
+ req = build_request(:register_namespace, params)
11397
+ req.send_request(options)
11398
+ end
11399
+
11238
11400
  # From a datashare consumer account, rejects the specified datashare.
11239
11401
  #
11240
11402
  # @option params [required, String] :data_share_arn
@@ -11247,6 +11409,7 @@ module Aws::Redshift
11247
11409
  # * {Types::DataShare#allow_publicly_accessible_consumers #allow_publicly_accessible_consumers} => Boolean
11248
11410
  # * {Types::DataShare#data_share_associations #data_share_associations} => Array&lt;Types::DataShareAssociation&gt;
11249
11411
  # * {Types::DataShare#managed_by #managed_by} => String
11412
+ # * {Types::DataShare#data_share_type #data_share_type} => String
11250
11413
  #
11251
11414
  # @example Request syntax with placeholder values
11252
11415
  #
@@ -11268,6 +11431,7 @@ module Aws::Redshift
11268
11431
  # resp.data_share_associations[0].producer_allowed_writes #=> Boolean
11269
11432
  # resp.data_share_associations[0].consumer_accepted_writes #=> Boolean
11270
11433
  # resp.managed_by #=> String
11434
+ # resp.data_share_type #=> String, one of "INTERNAL"
11271
11435
  #
11272
11436
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RejectDataShare AWS API Documentation
11273
11437
  #
@@ -11560,13 +11724,32 @@ module Aws::Redshift
11560
11724
  # If you restore a cluster into a VPC, you must provide a cluster subnet
11561
11725
  # group where you want the cluster restored.
11562
11726
  #
11727
+ # VPC Block Public Access (BPA) enables you to block resources in VPCs
11728
+ # and subnets that you own in a Region from reaching or being reached
11729
+ # from the internet through internet gateways and egress-only internet
11730
+ # gateways. If a subnet group for a provisioned cluster is in an account
11731
+ # with VPC BPA turned on, the following capabilities are blocked:
11732
+ #
11733
+ # * Creating a public cluster
11734
+ #
11735
+ # * Restoring a public cluster
11736
+ #
11737
+ # * Modifying a private cluster to be public
11738
+ #
11739
+ # * Adding a subnet with VPC BPA turned on to the subnet group when
11740
+ # there's at least one public cluster within the group
11741
+ #
11742
+ # For more information about VPC BPA, see [Block public access to VPCs
11743
+ # and subnets][1] in the *Amazon VPC User Guide*.
11744
+ #
11563
11745
  # For more information about working with snapshots, go to [Amazon
11564
- # Redshift Snapshots][1] in the *Amazon Redshift Cluster Management
11746
+ # Redshift Snapshots][2] in the *Amazon Redshift Cluster Management
11565
11747
  # Guide*.
11566
11748
  #
11567
11749
  #
11568
11750
  #
11569
- # [1]: https://docs.aws.amazon.com/redshift/latest/mgmt/working-with-snapshots.html
11751
+ # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/security-vpc-bpa.html
11752
+ # [2]: https://docs.aws.amazon.com/redshift/latest/mgmt/working-with-snapshots.html
11570
11753
  #
11571
11754
  # @option params [required, String] :cluster_identifier
11572
11755
  # The identifier of the cluster that will be created from restoring the
@@ -11636,6 +11819,8 @@ module Aws::Redshift
11636
11819
  # @option params [Boolean] :publicly_accessible
11637
11820
  # If `true`, the cluster can be accessed from a public network.
11638
11821
  #
11822
+ # Default: false
11823
+ #
11639
11824
  # @option params [String] :owner_account
11640
11825
  # The Amazon Web Services account used to create or copy the snapshot.
11641
11826
  # Required if you are restoring a snapshot you do not own, optional if
@@ -12754,7 +12939,7 @@ module Aws::Redshift
12754
12939
  tracer: tracer
12755
12940
  )
12756
12941
  context[:gem_name] = 'aws-sdk-redshift'
12757
- context[:gem_version] = '1.132.0'
12942
+ context[:gem_version] = '1.134.0'
12758
12943
  Seahorse::Client::Request.new(handlers, context)
12759
12944
  end
12760
12945
 
@@ -121,6 +121,7 @@ module Aws::Redshift
121
121
  ClusterVersionsMessage = Shapes::StructureShape.new(name: 'ClusterVersionsMessage')
122
122
  ClustersMessage = Shapes::StructureShape.new(name: 'ClustersMessage')
123
123
  ConflictPolicyUpdateFault = Shapes::StructureShape.new(name: 'ConflictPolicyUpdateFault', error: {"code"=>"ConflictPolicyUpdateFault", "httpStatusCode"=>409, "senderFault"=>true})
124
+ ConsumerIdentifierList = Shapes::ListShape.new(name: 'ConsumerIdentifierList')
124
125
  CopyClusterSnapshotMessage = Shapes::StructureShape.new(name: 'CopyClusterSnapshotMessage')
125
126
  CopyClusterSnapshotResult = Shapes::StructureShape.new(name: 'CopyClusterSnapshotResult')
126
127
  CopyToRegionDisabledFault = Shapes::StructureShape.new(name: 'CopyToRegionDisabledFault', error: {"code"=>"CopyToRegionDisabledFault", "httpStatusCode"=>400, "senderFault"=>true})
@@ -167,6 +168,7 @@ module Aws::Redshift
167
168
  DataShareStatus = Shapes::StringShape.new(name: 'DataShareStatus')
168
169
  DataShareStatusForConsumer = Shapes::StringShape.new(name: 'DataShareStatusForConsumer')
169
170
  DataShareStatusForProducer = Shapes::StringShape.new(name: 'DataShareStatusForProducer')
171
+ DataShareType = Shapes::StringShape.new(name: 'DataShareType')
170
172
  DataTransferProgress = Shapes::StructureShape.new(name: 'DataTransferProgress')
171
173
  DbGroupList = Shapes::ListShape.new(name: 'DbGroupList')
172
174
  DeauthorizeDataShareMessage = Shapes::StructureShape.new(name: 'DeauthorizeDataShareMessage')
@@ -199,6 +201,8 @@ module Aws::Redshift
199
201
  DependentServiceAccessDeniedFault = Shapes::StructureShape.new(name: 'DependentServiceAccessDeniedFault', error: {"code"=>"DependentServiceAccessDenied", "httpStatusCode"=>403, "senderFault"=>true})
200
202
  DependentServiceRequestThrottlingFault = Shapes::StructureShape.new(name: 'DependentServiceRequestThrottlingFault', error: {"code"=>"DependentServiceRequestThrottlingFault", "httpStatusCode"=>400, "senderFault"=>true})
201
203
  DependentServiceUnavailableFault = Shapes::StructureShape.new(name: 'DependentServiceUnavailableFault', error: {"code"=>"DependentServiceUnavailableFault", "httpStatusCode"=>400, "senderFault"=>true})
204
+ DeregisterNamespaceInputMessage = Shapes::StructureShape.new(name: 'DeregisterNamespaceInputMessage')
205
+ DeregisterNamespaceOutputMessage = Shapes::StructureShape.new(name: 'DeregisterNamespaceOutputMessage')
202
206
  DescribeAccountAttributesMessage = Shapes::StructureShape.new(name: 'DescribeAccountAttributesMessage')
203
207
  DescribeAuthenticationProfilesMessage = Shapes::StructureShape.new(name: 'DescribeAuthenticationProfilesMessage')
204
208
  DescribeAuthenticationProfilesResult = Shapes::StructureShape.new(name: 'DescribeAuthenticationProfilesResult')
@@ -427,6 +431,8 @@ module Aws::Redshift
427
431
  ModifySnapshotCopyRetentionPeriodResult = Shapes::StructureShape.new(name: 'ModifySnapshotCopyRetentionPeriodResult')
428
432
  ModifySnapshotScheduleMessage = Shapes::StructureShape.new(name: 'ModifySnapshotScheduleMessage')
429
433
  ModifyUsageLimitMessage = Shapes::StructureShape.new(name: 'ModifyUsageLimitMessage')
434
+ NamespaceIdentifierUnion = Shapes::UnionShape.new(name: 'NamespaceIdentifierUnion')
435
+ NamespaceRegistrationStatus = Shapes::StringShape.new(name: 'NamespaceRegistrationStatus')
430
436
  NetworkInterface = Shapes::StructureShape.new(name: 'NetworkInterface')
431
437
  NetworkInterfaceList = Shapes::ListShape.new(name: 'NetworkInterfaceList')
432
438
  NodeConfigurationOption = Shapes::StructureShape.new(name: 'NodeConfigurationOption')
@@ -460,6 +466,7 @@ module Aws::Redshift
460
466
  PauseClusterResult = Shapes::StructureShape.new(name: 'PauseClusterResult')
461
467
  PendingActionsList = Shapes::ListShape.new(name: 'PendingActionsList')
462
468
  PendingModifiedValues = Shapes::StructureShape.new(name: 'PendingModifiedValues')
469
+ ProvisionedIdentifier = Shapes::StructureShape.new(name: 'ProvisionedIdentifier')
463
470
  PurchaseReservedNodeOfferingMessage = Shapes::StructureShape.new(name: 'PurchaseReservedNodeOfferingMessage')
464
471
  PurchaseReservedNodeOfferingResult = Shapes::StructureShape.new(name: 'PurchaseReservedNodeOfferingResult')
465
472
  PutResourcePolicyMessage = Shapes::StructureShape.new(name: 'PutResourcePolicyMessage')
@@ -482,6 +489,8 @@ module Aws::Redshift
482
489
  RedshiftIdcApplicationQuotaExceededFault = Shapes::StructureShape.new(name: 'RedshiftIdcApplicationQuotaExceededFault', error: {"code"=>"RedshiftIdcApplicationQuotaExceeded", "httpStatusCode"=>400, "senderFault"=>true})
483
490
  ReferenceLink = Shapes::StructureShape.new(name: 'ReferenceLink')
484
491
  ReferenceLinkList = Shapes::ListShape.new(name: 'ReferenceLinkList')
492
+ RegisterNamespaceInputMessage = Shapes::StructureShape.new(name: 'RegisterNamespaceInputMessage')
493
+ RegisterNamespaceOutputMessage = Shapes::StructureShape.new(name: 'RegisterNamespaceOutputMessage')
485
494
  RejectDataShareMessage = Shapes::StructureShape.new(name: 'RejectDataShareMessage')
486
495
  ReservedNode = Shapes::StructureShape.new(name: 'ReservedNode')
487
496
  ReservedNodeAlreadyExistsFault = Shapes::StructureShape.new(name: 'ReservedNodeAlreadyExistsFault', error: {"code"=>"ReservedNodeAlreadyExists", "httpStatusCode"=>404, "senderFault"=>true})
@@ -553,6 +562,7 @@ module Aws::Redshift
553
562
  ScheduledSnapshotTimeList = Shapes::ListShape.new(name: 'ScheduledSnapshotTimeList')
554
563
  SecondaryClusterInfo = Shapes::StructureShape.new(name: 'SecondaryClusterInfo')
555
564
  SensitiveString = Shapes::StringShape.new(name: 'SensitiveString')
565
+ ServerlessIdentifier = Shapes::StructureShape.new(name: 'ServerlessIdentifier')
556
566
  ServiceAuthorization = Shapes::StringShape.new(name: 'ServiceAuthorization')
557
567
  ServiceIntegrationList = Shapes::ListShape.new(name: 'ServiceIntegrationList')
558
568
  ServiceIntegrationsUnion = Shapes::UnionShape.new(name: 'ServiceIntegrationsUnion')
@@ -1018,6 +1028,8 @@ module Aws::Redshift
1018
1028
 
1019
1029
  ConflictPolicyUpdateFault.struct_class = Types::ConflictPolicyUpdateFault
1020
1030
 
1031
+ ConsumerIdentifierList.member = Shapes::ShapeRef.new(shape: String)
1032
+
1021
1033
  CopyClusterSnapshotMessage.add_member(:source_snapshot_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SourceSnapshotIdentifier"))
1022
1034
  CopyClusterSnapshotMessage.add_member(:source_snapshot_cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "SourceSnapshotClusterIdentifier"))
1023
1035
  CopyClusterSnapshotMessage.add_member(:target_snapshot_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "TargetSnapshotIdentifier"))
@@ -1243,6 +1255,7 @@ module Aws::Redshift
1243
1255
  DataShare.add_member(:allow_publicly_accessible_consumers, Shapes::ShapeRef.new(shape: Boolean, location_name: "AllowPubliclyAccessibleConsumers"))
1244
1256
  DataShare.add_member(:data_share_associations, Shapes::ShapeRef.new(shape: DataShareAssociationList, location_name: "DataShareAssociations"))
1245
1257
  DataShare.add_member(:managed_by, Shapes::ShapeRef.new(shape: String, location_name: "ManagedBy"))
1258
+ DataShare.add_member(:data_share_type, Shapes::ShapeRef.new(shape: DataShareType, location_name: "DataShareType"))
1246
1259
  DataShare.struct_class = Types::DataShare
1247
1260
 
1248
1261
  DataShareAssociation.add_member(:consumer_identifier, Shapes::ShapeRef.new(shape: String, location_name: "ConsumerIdentifier"))
@@ -1364,6 +1377,13 @@ module Aws::Redshift
1364
1377
 
1365
1378
  DependentServiceUnavailableFault.struct_class = Types::DependentServiceUnavailableFault
1366
1379
 
1380
+ DeregisterNamespaceInputMessage.add_member(:namespace_identifier, Shapes::ShapeRef.new(shape: NamespaceIdentifierUnion, required: true, location_name: "NamespaceIdentifier"))
1381
+ DeregisterNamespaceInputMessage.add_member(:consumer_identifiers, Shapes::ShapeRef.new(shape: ConsumerIdentifierList, required: true, location_name: "ConsumerIdentifiers"))
1382
+ DeregisterNamespaceInputMessage.struct_class = Types::DeregisterNamespaceInputMessage
1383
+
1384
+ DeregisterNamespaceOutputMessage.add_member(:status, Shapes::ShapeRef.new(shape: NamespaceRegistrationStatus, location_name: "Status"))
1385
+ DeregisterNamespaceOutputMessage.struct_class = Types::DeregisterNamespaceOutputMessage
1386
+
1367
1387
  DescribeAccountAttributesMessage.add_member(:attribute_names, Shapes::ShapeRef.new(shape: AttributeNameList, location_name: "AttributeNames"))
1368
1388
  DescribeAccountAttributesMessage.struct_class = Types::DescribeAccountAttributesMessage
1369
1389
 
@@ -2258,6 +2278,14 @@ module Aws::Redshift
2258
2278
  ModifyUsageLimitMessage.add_member(:breach_action, Shapes::ShapeRef.new(shape: UsageLimitBreachAction, location_name: "BreachAction"))
2259
2279
  ModifyUsageLimitMessage.struct_class = Types::ModifyUsageLimitMessage
2260
2280
 
2281
+ NamespaceIdentifierUnion.add_member(:serverless_identifier, Shapes::ShapeRef.new(shape: ServerlessIdentifier, location_name: "ServerlessIdentifier"))
2282
+ NamespaceIdentifierUnion.add_member(:provisioned_identifier, Shapes::ShapeRef.new(shape: ProvisionedIdentifier, location_name: "ProvisionedIdentifier"))
2283
+ NamespaceIdentifierUnion.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
2284
+ NamespaceIdentifierUnion.add_member_subclass(:serverless_identifier, Types::NamespaceIdentifierUnion::ServerlessIdentifier)
2285
+ NamespaceIdentifierUnion.add_member_subclass(:provisioned_identifier, Types::NamespaceIdentifierUnion::ProvisionedIdentifier)
2286
+ NamespaceIdentifierUnion.add_member_subclass(:unknown, Types::NamespaceIdentifierUnion::Unknown)
2287
+ NamespaceIdentifierUnion.struct_class = Types::NamespaceIdentifierUnion
2288
+
2261
2289
  NetworkInterface.add_member(:network_interface_id, Shapes::ShapeRef.new(shape: String, location_name: "NetworkInterfaceId"))
2262
2290
  NetworkInterface.add_member(:subnet_id, Shapes::ShapeRef.new(shape: String, location_name: "SubnetId"))
2263
2291
  NetworkInterface.add_member(:private_ip_address, Shapes::ShapeRef.new(shape: String, location_name: "PrivateIpAddress"))
@@ -2360,6 +2388,9 @@ module Aws::Redshift
2360
2388
  PendingModifiedValues.add_member(:encryption_type, Shapes::ShapeRef.new(shape: String, location_name: "EncryptionType"))
2361
2389
  PendingModifiedValues.struct_class = Types::PendingModifiedValues
2362
2390
 
2391
+ ProvisionedIdentifier.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ClusterIdentifier"))
2392
+ ProvisionedIdentifier.struct_class = Types::ProvisionedIdentifier
2393
+
2363
2394
  PurchaseReservedNodeOfferingMessage.add_member(:reserved_node_offering_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ReservedNodeOfferingId"))
2364
2395
  PurchaseReservedNodeOfferingMessage.add_member(:node_count, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "NodeCount"))
2365
2396
  PurchaseReservedNodeOfferingMessage.struct_class = Types::PurchaseReservedNodeOfferingMessage
@@ -2439,6 +2470,13 @@ module Aws::Redshift
2439
2470
 
2440
2471
  ReferenceLinkList.member = Shapes::ShapeRef.new(shape: ReferenceLink, location_name: "ReferenceLink")
2441
2472
 
2473
+ RegisterNamespaceInputMessage.add_member(:namespace_identifier, Shapes::ShapeRef.new(shape: NamespaceIdentifierUnion, required: true, location_name: "NamespaceIdentifier"))
2474
+ RegisterNamespaceInputMessage.add_member(:consumer_identifiers, Shapes::ShapeRef.new(shape: ConsumerIdentifierList, required: true, location_name: "ConsumerIdentifiers"))
2475
+ RegisterNamespaceInputMessage.struct_class = Types::RegisterNamespaceInputMessage
2476
+
2477
+ RegisterNamespaceOutputMessage.add_member(:status, Shapes::ShapeRef.new(shape: NamespaceRegistrationStatus, location_name: "Status"))
2478
+ RegisterNamespaceOutputMessage.struct_class = Types::RegisterNamespaceOutputMessage
2479
+
2442
2480
  RejectDataShareMessage.add_member(:data_share_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DataShareArn"))
2443
2481
  RejectDataShareMessage.struct_class = Types::RejectDataShareMessage
2444
2482
 
@@ -2730,6 +2768,10 @@ module Aws::Redshift
2730
2768
  SecondaryClusterInfo.add_member(:cluster_nodes, Shapes::ShapeRef.new(shape: ClusterNodesList, location_name: "ClusterNodes"))
2731
2769
  SecondaryClusterInfo.struct_class = Types::SecondaryClusterInfo
2732
2770
 
2771
+ ServerlessIdentifier.add_member(:namespace_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "NamespaceIdentifier"))
2772
+ ServerlessIdentifier.add_member(:workgroup_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "WorkgroupIdentifier"))
2773
+ ServerlessIdentifier.struct_class = Types::ServerlessIdentifier
2774
+
2733
2775
  ServiceIntegrationList.member = Shapes::ShapeRef.new(shape: ServiceIntegrationsUnion)
2734
2776
 
2735
2777
  ServiceIntegrationsUnion.add_member(:lake_formation, Shapes::ShapeRef.new(shape: LakeFormationServiceIntegrations, location_name: "LakeFormation"))
@@ -3640,6 +3682,17 @@ module Aws::Redshift
3640
3682
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationFault)
3641
3683
  end)
3642
3684
 
3685
+ api.add_operation(:deregister_namespace, Seahorse::Model::Operation.new.tap do |o|
3686
+ o.name = "DeregisterNamespace"
3687
+ o.http_method = "POST"
3688
+ o.http_request_uri = "/"
3689
+ o.input = Shapes::ShapeRef.new(shape: DeregisterNamespaceInputMessage)
3690
+ o.output = Shapes::ShapeRef.new(shape: DeregisterNamespaceOutputMessage)
3691
+ o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundFault)
3692
+ o.errors << Shapes::ShapeRef.new(shape: InvalidNamespaceFault)
3693
+ o.errors << Shapes::ShapeRef.new(shape: InvalidClusterStateFault)
3694
+ end)
3695
+
3643
3696
  api.add_operation(:describe_account_attributes, Seahorse::Model::Operation.new.tap do |o|
3644
3697
  o.name = "DescribeAccountAttributes"
3645
3698
  o.http_method = "POST"
@@ -4709,6 +4762,17 @@ module Aws::Redshift
4709
4762
  o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundFault)
4710
4763
  end)
4711
4764
 
4765
+ api.add_operation(:register_namespace, Seahorse::Model::Operation.new.tap do |o|
4766
+ o.name = "RegisterNamespace"
4767
+ o.http_method = "POST"
4768
+ o.http_request_uri = "/"
4769
+ o.input = Shapes::ShapeRef.new(shape: RegisterNamespaceInputMessage)
4770
+ o.output = Shapes::ShapeRef.new(shape: RegisterNamespaceOutputMessage)
4771
+ o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundFault)
4772
+ o.errors << Shapes::ShapeRef.new(shape: InvalidNamespaceFault)
4773
+ o.errors << Shapes::ShapeRef.new(shape: InvalidClusterStateFault)
4774
+ end)
4775
+
4712
4776
  api.add_operation(:reject_data_share, Seahorse::Model::Operation.new.tap do |o|
4713
4777
  o.name = "RejectDataShare"
4714
4778
  o.http_method = "POST"
@@ -757,6 +757,8 @@ module Aws::Redshift
757
757
  # @!attribute [rw] publicly_accessible
758
758
  # A boolean value that, if `true`, indicates that the cluster can be
759
759
  # accessed from a public network.
760
+ #
761
+ # Default: false
760
762
  # @return [Boolean]
761
763
  #
762
764
  # @!attribute [rw] encrypted
@@ -2196,12 +2198,15 @@ module Aws::Redshift
2196
2198
  #
2197
2199
  # @!attribute [rw] publicly_accessible
2198
2200
  # If `true`, the cluster can be accessed from a public network.
2201
+ #
2202
+ # Default: false
2199
2203
  # @return [Boolean]
2200
2204
  #
2201
2205
  # @!attribute [rw] encrypted
2202
- # If `true`, the data in the cluster is encrypted at rest.
2206
+ # If `true`, the data in the cluster is encrypted at rest. If you set
2207
+ # the value on this parameter to `false`, the request will fail.
2203
2208
  #
2204
- # Default: false
2209
+ # Default: true
2205
2210
  # @return [Boolean]
2206
2211
  #
2207
2212
  # @!attribute [rw] hsm_client_certificate_identifier
@@ -3320,6 +3325,10 @@ module Aws::Redshift
3320
3325
  # The identifier of a datashare to show its managing entity.
3321
3326
  # @return [String]
3322
3327
  #
3328
+ # @!attribute [rw] data_share_type
3329
+ # The type of the datashare created by RegisterNamespace.
3330
+ # @return [String]
3331
+ #
3323
3332
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DataShare AWS API Documentation
3324
3333
  #
3325
3334
  class DataShare < Struct.new(
@@ -3327,7 +3336,8 @@ module Aws::Redshift
3327
3336
  :producer_arn,
3328
3337
  :allow_publicly_accessible_consumers,
3329
3338
  :data_share_associations,
3330
- :managed_by)
3339
+ :managed_by,
3340
+ :data_share_type)
3331
3341
  SENSITIVE = []
3332
3342
  include Aws::Structure
3333
3343
  end
@@ -3876,6 +3886,37 @@ module Aws::Redshift
3876
3886
  #
3877
3887
  class DependentServiceUnavailableFault < Aws::EmptyStructure; end
3878
3888
 
3889
+ # @!attribute [rw] namespace_identifier
3890
+ # The unique identifier of the cluster or serverless namespace that
3891
+ # you want to deregister.
3892
+ # @return [Types::NamespaceIdentifierUnion]
3893
+ #
3894
+ # @!attribute [rw] consumer_identifiers
3895
+ # An array containing the ID of the consumer account that you want to
3896
+ # deregister the cluster or serverless namespace from.
3897
+ # @return [Array<String>]
3898
+ #
3899
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeregisterNamespaceInputMessage AWS API Documentation
3900
+ #
3901
+ class DeregisterNamespaceInputMessage < Struct.new(
3902
+ :namespace_identifier,
3903
+ :consumer_identifiers)
3904
+ SENSITIVE = []
3905
+ include Aws::Structure
3906
+ end
3907
+
3908
+ # @!attribute [rw] status
3909
+ # The registration status of the cluster or serverless namespace.
3910
+ # @return [String]
3911
+ #
3912
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeregisterNamespaceOutputMessage AWS API Documentation
3913
+ #
3914
+ class DeregisterNamespaceOutputMessage < Struct.new(
3915
+ :status)
3916
+ SENSITIVE = []
3917
+ include Aws::Structure
3918
+ end
3919
+
3879
3920
  # @!attribute [rw] attribute_names
3880
3921
  # A list of attribute names.
3881
3922
  # @return [Array<String>]
@@ -8345,6 +8386,8 @@ module Aws::Redshift
8345
8386
  # @!attribute [rw] publicly_accessible
8346
8387
  # If `true`, the cluster can be accessed from a public network. Only
8347
8388
  # clusters in VPCs can be set to be publicly available.
8389
+ #
8390
+ # Default: false
8348
8391
  # @return [Boolean]
8349
8392
  #
8350
8393
  # @!attribute [rw] elastic_ip
@@ -9020,6 +9063,34 @@ module Aws::Redshift
9020
9063
  include Aws::Structure
9021
9064
  end
9022
9065
 
9066
+ # Object to store union of values for a provisioned cluster or
9067
+ # serverless namespace’s identifier.
9068
+ #
9069
+ # @note NamespaceIdentifierUnion is a union - when making an API calls you must set exactly one of the members.
9070
+ #
9071
+ # @!attribute [rw] serverless_identifier
9072
+ # The identifier for a serverless namespace.
9073
+ # @return [Types::ServerlessIdentifier]
9074
+ #
9075
+ # @!attribute [rw] provisioned_identifier
9076
+ # The identifier for a provisioned cluster.
9077
+ # @return [Types::ProvisionedIdentifier]
9078
+ #
9079
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/NamespaceIdentifierUnion AWS API Documentation
9080
+ #
9081
+ class NamespaceIdentifierUnion < Struct.new(
9082
+ :serverless_identifier,
9083
+ :provisioned_identifier,
9084
+ :unknown)
9085
+ SENSITIVE = []
9086
+ include Aws::Structure
9087
+ include Aws::Structure::Union
9088
+
9089
+ class ServerlessIdentifier < NamespaceIdentifierUnion; end
9090
+ class ProvisionedIdentifier < NamespaceIdentifierUnion; end
9091
+ class Unknown < NamespaceIdentifierUnion; end
9092
+ end
9093
+
9023
9094
  # Describes a network interface.
9024
9095
  #
9025
9096
  # @!attribute [rw] network_interface_id
@@ -9479,6 +9550,20 @@ module Aws::Redshift
9479
9550
  include Aws::Structure
9480
9551
  end
9481
9552
 
9553
+ # The identifier for a provisioned cluster.
9554
+ #
9555
+ # @!attribute [rw] cluster_identifier
9556
+ # The unique identifier for the provisioned cluster.
9557
+ # @return [String]
9558
+ #
9559
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ProvisionedIdentifier AWS API Documentation
9560
+ #
9561
+ class ProvisionedIdentifier < Struct.new(
9562
+ :cluster_identifier)
9563
+ SENSITIVE = []
9564
+ include Aws::Structure
9565
+ end
9566
+
9482
9567
  # @!attribute [rw] reserved_node_offering_id
9483
9568
  # The unique identifier of the reserved node offering you want to
9484
9569
  # purchase.
@@ -9814,6 +9899,37 @@ module Aws::Redshift
9814
9899
  include Aws::Structure
9815
9900
  end
9816
9901
 
9902
+ # @!attribute [rw] namespace_identifier
9903
+ # The unique identifier of the cluster or serverless namespace that
9904
+ # you want to register.
9905
+ # @return [Types::NamespaceIdentifierUnion]
9906
+ #
9907
+ # @!attribute [rw] consumer_identifiers
9908
+ # An array containing the ID of the consumer account that you want to
9909
+ # register the namespace to.
9910
+ # @return [Array<String>]
9911
+ #
9912
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RegisterNamespaceInputMessage AWS API Documentation
9913
+ #
9914
+ class RegisterNamespaceInputMessage < Struct.new(
9915
+ :namespace_identifier,
9916
+ :consumer_identifiers)
9917
+ SENSITIVE = []
9918
+ include Aws::Structure
9919
+ end
9920
+
9921
+ # @!attribute [rw] status
9922
+ # The registration status of the cluster or serverless namespace.
9923
+ # @return [String]
9924
+ #
9925
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RegisterNamespaceOutputMessage AWS API Documentation
9926
+ #
9927
+ class RegisterNamespaceOutputMessage < Struct.new(
9928
+ :status)
9929
+ SENSITIVE = []
9930
+ include Aws::Structure
9931
+ end
9932
+
9817
9933
  # @!attribute [rw] data_share_arn
9818
9934
  # The Amazon Resource Name (ARN) of the datashare to reject.
9819
9935
  # @return [String]
@@ -10487,6 +10603,8 @@ module Aws::Redshift
10487
10603
  #
10488
10604
  # @!attribute [rw] publicly_accessible
10489
10605
  # If `true`, the cluster can be accessed from a public network.
10606
+ #
10607
+ # Default: false
10490
10608
  # @return [Boolean]
10491
10609
  #
10492
10610
  # @!attribute [rw] owner_account
@@ -11362,6 +11480,26 @@ module Aws::Redshift
11362
11480
  include Aws::Structure
11363
11481
  end
11364
11482
 
11483
+ # The identifier for a serverless namespace.
11484
+ #
11485
+ # @!attribute [rw] namespace_identifier
11486
+ # The unique identifier for the serverless namespace.
11487
+ # @return [String]
11488
+ #
11489
+ # @!attribute [rw] workgroup_identifier
11490
+ # The unique identifier for the workgroup associated with the
11491
+ # serverless namespace.
11492
+ # @return [String]
11493
+ #
11494
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ServerlessIdentifier AWS API Documentation
11495
+ #
11496
+ class ServerlessIdentifier < Struct.new(
11497
+ :namespace_identifier,
11498
+ :workgroup_identifier)
11499
+ SENSITIVE = []
11500
+ include Aws::Structure
11501
+ end
11502
+
11365
11503
  # A list of service integrations.
11366
11504
  #
11367
11505
  # @note ServiceIntegrationsUnion is a union - when making an API calls you must set exactly one of the members.
@@ -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.132.0'
58
+ GEM_VERSION = '1.134.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -107,6 +107,7 @@ module Aws
107
107
  def allow_publicly_accessible_consumers: () -> bool
108
108
  def data_share_associations: () -> ::Array[Types::DataShareAssociation]
109
109
  def managed_by: () -> ::String
110
+ def data_share_type: () -> ("INTERNAL")
110
111
  end
111
112
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Redshift/Client.html#associate_data_share_consumer-instance_method
112
113
  def associate_data_share_consumer: (
@@ -138,6 +139,7 @@ module Aws
138
139
  def allow_publicly_accessible_consumers: () -> bool
139
140
  def data_share_associations: () -> ::Array[Types::DataShareAssociation]
140
141
  def managed_by: () -> ::String
142
+ def data_share_type: () -> ("INTERNAL")
141
143
  end
142
144
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Redshift/Client.html#authorize_data_share-instance_method
143
145
  def authorize_data_share: (
@@ -680,6 +682,7 @@ module Aws
680
682
  def allow_publicly_accessible_consumers: () -> bool
681
683
  def data_share_associations: () -> ::Array[Types::DataShareAssociation]
682
684
  def managed_by: () -> ::String
685
+ def data_share_type: () -> ("INTERNAL")
683
686
  end
684
687
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Redshift/Client.html#deauthorize_data_share-instance_method
685
688
  def deauthorize_data_share: (
@@ -861,6 +864,25 @@ module Aws
861
864
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
862
865
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
863
866
 
867
+ interface _DeregisterNamespaceResponseSuccess
868
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeregisterNamespaceOutputMessage]
869
+ def status: () -> ("Registering" | "Deregistering")
870
+ end
871
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Redshift/Client.html#deregister_namespace-instance_method
872
+ def deregister_namespace: (
873
+ namespace_identifier: {
874
+ serverless_identifier: {
875
+ namespace_identifier: ::String,
876
+ workgroup_identifier: ::String
877
+ }?,
878
+ provisioned_identifier: {
879
+ cluster_identifier: ::String
880
+ }?
881
+ },
882
+ consumer_identifiers: Array[::String]
883
+ ) -> _DeregisterNamespaceResponseSuccess
884
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeregisterNamespaceResponseSuccess
885
+
864
886
  interface _DescribeAccountAttributesResponseSuccess
865
887
  include ::Seahorse::Client::_ResponseSuccess[Types::AccountAttributeList]
866
888
  def account_attributes: () -> ::Array[Types::AccountAttribute]
@@ -1516,6 +1538,7 @@ module Aws
1516
1538
  def allow_publicly_accessible_consumers: () -> bool
1517
1539
  def data_share_associations: () -> ::Array[Types::DataShareAssociation]
1518
1540
  def managed_by: () -> ::String
1541
+ def data_share_type: () -> ("INTERNAL")
1519
1542
  end
1520
1543
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Redshift/Client.html#disassociate_data_share_consumer-instance_method
1521
1544
  def disassociate_data_share_consumer: (
@@ -2054,6 +2077,25 @@ module Aws
2054
2077
  ) -> _RebootClusterResponseSuccess
2055
2078
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RebootClusterResponseSuccess
2056
2079
 
2080
+ interface _RegisterNamespaceResponseSuccess
2081
+ include ::Seahorse::Client::_ResponseSuccess[Types::RegisterNamespaceOutputMessage]
2082
+ def status: () -> ("Registering" | "Deregistering")
2083
+ end
2084
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Redshift/Client.html#register_namespace-instance_method
2085
+ def register_namespace: (
2086
+ namespace_identifier: {
2087
+ serverless_identifier: {
2088
+ namespace_identifier: ::String,
2089
+ workgroup_identifier: ::String
2090
+ }?,
2091
+ provisioned_identifier: {
2092
+ cluster_identifier: ::String
2093
+ }?
2094
+ },
2095
+ consumer_identifiers: Array[::String]
2096
+ ) -> _RegisterNamespaceResponseSuccess
2097
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RegisterNamespaceResponseSuccess
2098
+
2057
2099
  interface _RejectDataShareResponseSuccess
2058
2100
  include ::Seahorse::Client::_ResponseSuccess[Types::DataShare]
2059
2101
  def data_share_arn: () -> ::String
@@ -2061,6 +2103,7 @@ module Aws
2061
2103
  def allow_publicly_accessible_consumers: () -> bool
2062
2104
  def data_share_associations: () -> ::Array[Types::DataShareAssociation]
2063
2105
  def managed_by: () -> ::String
2106
+ def data_share_type: () -> ("INTERNAL")
2064
2107
  end
2065
2108
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Redshift/Client.html#reject_data_share-instance_method
2066
2109
  def reject_data_share: (
data/sig/types.rbs CHANGED
@@ -757,6 +757,7 @@ module Aws::Redshift
757
757
  attr_accessor allow_publicly_accessible_consumers: bool
758
758
  attr_accessor data_share_associations: ::Array[Types::DataShareAssociation]
759
759
  attr_accessor managed_by: ::String
760
+ attr_accessor data_share_type: ("INTERNAL")
760
761
  SENSITIVE: []
761
762
  end
762
763
 
@@ -926,6 +927,17 @@ module Aws::Redshift
926
927
  class DependentServiceUnavailableFault < Aws::EmptyStructure
927
928
  end
928
929
 
930
+ class DeregisterNamespaceInputMessage
931
+ attr_accessor namespace_identifier: Types::NamespaceIdentifierUnion
932
+ attr_accessor consumer_identifiers: ::Array[::String]
933
+ SENSITIVE: []
934
+ end
935
+
936
+ class DeregisterNamespaceOutputMessage
937
+ attr_accessor status: ("Registering" | "Deregistering")
938
+ SENSITIVE: []
939
+ end
940
+
929
941
  class DescribeAccountAttributesMessage
930
942
  attr_accessor attribute_names: ::Array[::String]
931
943
  SENSITIVE: []
@@ -2090,6 +2102,20 @@ module Aws::Redshift
2090
2102
  SENSITIVE: []
2091
2103
  end
2092
2104
 
2105
+ class NamespaceIdentifierUnion
2106
+ attr_accessor serverless_identifier: Types::ServerlessIdentifier
2107
+ attr_accessor provisioned_identifier: Types::ProvisionedIdentifier
2108
+ attr_accessor unknown: untyped
2109
+ SENSITIVE: []
2110
+
2111
+ class ServerlessIdentifier < NamespaceIdentifierUnion
2112
+ end
2113
+ class ProvisionedIdentifier < NamespaceIdentifierUnion
2114
+ end
2115
+ class Unknown < NamespaceIdentifierUnion
2116
+ end
2117
+ end
2118
+
2093
2119
  class NetworkInterface
2094
2120
  attr_accessor network_interface_id: ::String
2095
2121
  attr_accessor subnet_id: ::String
@@ -2205,6 +2231,11 @@ module Aws::Redshift
2205
2231
  SENSITIVE: [:master_user_password]
2206
2232
  end
2207
2233
 
2234
+ class ProvisionedIdentifier
2235
+ attr_accessor cluster_identifier: ::String
2236
+ SENSITIVE: []
2237
+ end
2238
+
2208
2239
  class PurchaseReservedNodeOfferingMessage
2209
2240
  attr_accessor reserved_node_offering_id: ::String
2210
2241
  attr_accessor node_count: ::Integer
@@ -2301,6 +2332,17 @@ module Aws::Redshift
2301
2332
  SENSITIVE: []
2302
2333
  end
2303
2334
 
2335
+ class RegisterNamespaceInputMessage
2336
+ attr_accessor namespace_identifier: Types::NamespaceIdentifierUnion
2337
+ attr_accessor consumer_identifiers: ::Array[::String]
2338
+ SENSITIVE: []
2339
+ end
2340
+
2341
+ class RegisterNamespaceOutputMessage
2342
+ attr_accessor status: ("Registering" | "Deregistering")
2343
+ SENSITIVE: []
2344
+ end
2345
+
2304
2346
  class RejectDataShareMessage
2305
2347
  attr_accessor data_share_arn: ::String
2306
2348
  SENSITIVE: []
@@ -2655,6 +2697,12 @@ module Aws::Redshift
2655
2697
  SENSITIVE: []
2656
2698
  end
2657
2699
 
2700
+ class ServerlessIdentifier
2701
+ attr_accessor namespace_identifier: ::String
2702
+ attr_accessor workgroup_identifier: ::String
2703
+ SENSITIVE: []
2704
+ end
2705
+
2658
2706
  class ServiceIntegrationsUnion
2659
2707
  attr_accessor lake_formation: ::Array[Types::LakeFormationScopeUnion]
2660
2708
  attr_accessor s3_access_grants: ::Array[Types::S3AccessGrantsScopeUnion]
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.132.0
4
+ version: 1.134.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: 2024-11-18 00:00:00.000000000 Z
11
+ date: 2025-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core