aws-sdk-redshift 1.131.0 → 1.133.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: 59e3d0274823bf9c18dad4152262c08b06a4b6bbb793e35fc17305e062f2f039
4
- data.tar.gz: 99e2d4e6fc424d2723ece078f1fc9be5a66b051feac1f6cf77e1b492bf45de2b
3
+ metadata.gz: 2483b6fa9a19d702fd66c7c18b3f7d9ae4ded7f896dd63d89cee1833f31d178a
4
+ data.tar.gz: 4f1c216918679187bd91a3c47bbe6caf4c11a549c62378bc2560db7d0ddd73dd
5
5
  SHA512:
6
- metadata.gz: 999bd2cfeff487d625f709193dcf3126d92c4b5b8bc1168883a77b54c5022605c728e49cd37dfb7179f6400ea2e3c547e08d3b4cb77a5f21b2bc9e5120f083a9
7
- data.tar.gz: fcba266db67c2152e67e46efad9979dcbaf3d97656c9d824c96bbeedeb06fc975d90e466641f759d7fb6662fd4b3d137b5105600fac9dce347a56df76dd39b11
6
+ metadata.gz: 2da03e5981e9d194713025d500b8906e9270a151d0c900a4ca00fefa465f5be366c1f665e630943628ce642e6acaa05334781c9a78d0d631de914b015432e453
7
+ data.tar.gz: 32cdeb5cd84c6c1a6fb06058e9021428ae1e0a80a8cfb7f017e95af02536160fde655b50f743e910b28875e8435892aa753d4c6a3366d7e13ab614607d13a09e
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.133.0 (2024-12-03)
5
+ ------------------
6
+
7
+ * Feature - Adds support for Amazon Redshift RegisterNamespace and DeregisterNamespace APIs to share data to AWS Glue Data Catalog.
8
+
9
+ 1.132.0 (2024-11-18)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.131.0 (2024-11-14)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.131.0
1
+ 1.133.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
@@ -3181,6 +3204,7 @@ module Aws::Redshift
3181
3204
  # * {Types::DataShare#allow_publicly_accessible_consumers #allow_publicly_accessible_consumers} => Boolean
3182
3205
  # * {Types::DataShare#data_share_associations #data_share_associations} => Array<Types::DataShareAssociation>
3183
3206
  # * {Types::DataShare#managed_by #managed_by} => String
3207
+ # * {Types::DataShare#data_share_type #data_share_type} => String
3184
3208
  #
3185
3209
  # @example Request syntax with placeholder values
3186
3210
  #
@@ -3203,6 +3227,7 @@ module Aws::Redshift
3203
3227
  # resp.data_share_associations[0].producer_allowed_writes #=> Boolean
3204
3228
  # resp.data_share_associations[0].consumer_accepted_writes #=> Boolean
3205
3229
  # resp.managed_by #=> String
3230
+ # resp.data_share_type #=> String, one of "INTERNAL"
3206
3231
  #
3207
3232
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeauthorizeDataShare AWS API Documentation
3208
3233
  #
@@ -4058,6 +4083,49 @@ module Aws::Redshift
4058
4083
  req.send_request(options)
4059
4084
  end
4060
4085
 
4086
+ # Deregisters a cluster or serverless namespace from the Amazon Web
4087
+ # Services Glue Data Catalog.
4088
+ #
4089
+ # @option params [required, Types::NamespaceIdentifierUnion] :namespace_identifier
4090
+ # The unique identifier of the cluster or serverless namespace that you
4091
+ # want to deregister.
4092
+ #
4093
+ # @option params [required, Array<String>] :consumer_identifiers
4094
+ # An array containing the ID of the consumer account that you want to
4095
+ # deregister the cluster or serverless namespace from.
4096
+ #
4097
+ # @return [Types::DeregisterNamespaceOutputMessage] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4098
+ #
4099
+ # * {Types::DeregisterNamespaceOutputMessage#status #status} => String
4100
+ #
4101
+ # @example Request syntax with placeholder values
4102
+ #
4103
+ # resp = client.deregister_namespace({
4104
+ # namespace_identifier: { # required
4105
+ # serverless_identifier: {
4106
+ # namespace_identifier: "String", # required
4107
+ # workgroup_identifier: "String", # required
4108
+ # },
4109
+ # provisioned_identifier: {
4110
+ # cluster_identifier: "String", # required
4111
+ # },
4112
+ # },
4113
+ # consumer_identifiers: ["String"], # required
4114
+ # })
4115
+ #
4116
+ # @example Response structure
4117
+ #
4118
+ # resp.status #=> String, one of "Registering", "Deregistering"
4119
+ #
4120
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeregisterNamespace AWS API Documentation
4121
+ #
4122
+ # @overload deregister_namespace(params = {})
4123
+ # @param [Hash] params ({})
4124
+ def deregister_namespace(params = {}, options = {})
4125
+ req = build_request(:deregister_namespace, params)
4126
+ req.send_request(options)
4127
+ end
4128
+
4061
4129
  # Returns a list of attributes attached to an account
4062
4130
  #
4063
4131
  # @option params [Array<String>] :attribute_names
@@ -5292,6 +5360,7 @@ module Aws::Redshift
5292
5360
  # resp.data_shares[0].data_share_associations[0].producer_allowed_writes #=> Boolean
5293
5361
  # resp.data_shares[0].data_share_associations[0].consumer_accepted_writes #=> Boolean
5294
5362
  # resp.data_shares[0].managed_by #=> String
5363
+ # resp.data_shares[0].data_share_type #=> String, one of "INTERNAL"
5295
5364
  # resp.marker #=> String
5296
5365
  #
5297
5366
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeDataShares AWS API Documentation
@@ -5362,6 +5431,7 @@ module Aws::Redshift
5362
5431
  # resp.data_shares[0].data_share_associations[0].producer_allowed_writes #=> Boolean
5363
5432
  # resp.data_shares[0].data_share_associations[0].consumer_accepted_writes #=> Boolean
5364
5433
  # resp.data_shares[0].managed_by #=> String
5434
+ # resp.data_shares[0].data_share_type #=> String, one of "INTERNAL"
5365
5435
  # resp.marker #=> String
5366
5436
  #
5367
5437
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeDataSharesForConsumer AWS API Documentation
@@ -5432,6 +5502,7 @@ module Aws::Redshift
5432
5502
  # resp.data_shares[0].data_share_associations[0].producer_allowed_writes #=> Boolean
5433
5503
  # resp.data_shares[0].data_share_associations[0].consumer_accepted_writes #=> Boolean
5434
5504
  # resp.data_shares[0].managed_by #=> String
5505
+ # resp.data_shares[0].data_share_type #=> String, one of "INTERNAL"
5435
5506
  # resp.marker #=> String
5436
5507
  #
5437
5508
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeDataSharesForProducer AWS API Documentation
@@ -7756,6 +7827,7 @@ module Aws::Redshift
7756
7827
  # * {Types::DataShare#allow_publicly_accessible_consumers #allow_publicly_accessible_consumers} => Boolean
7757
7828
  # * {Types::DataShare#data_share_associations #data_share_associations} => Array&lt;Types::DataShareAssociation&gt;
7758
7829
  # * {Types::DataShare#managed_by #managed_by} => String
7830
+ # * {Types::DataShare#data_share_type #data_share_type} => String
7759
7831
  #
7760
7832
  # @example Request syntax with placeholder values
7761
7833
  #
@@ -7780,6 +7852,7 @@ module Aws::Redshift
7780
7852
  # resp.data_share_associations[0].producer_allowed_writes #=> Boolean
7781
7853
  # resp.data_share_associations[0].consumer_accepted_writes #=> Boolean
7782
7854
  # resp.managed_by #=> String
7855
+ # resp.data_share_type #=> String, one of "INTERNAL"
7783
7856
  #
7784
7857
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DisassociateDataShareConsumer AWS API Documentation
7785
7858
  #
@@ -8800,9 +8873,28 @@ module Aws::Redshift
8800
8873
  # Redshift Clusters][1] in the *Amazon Redshift Cluster Management
8801
8874
  # Guide*.
8802
8875
  #
8876
+ # VPC Block Public Access (BPA) enables you to block resources in VPCs
8877
+ # and subnets that you own in a Region from reaching or being reached
8878
+ # from the internet through internet gateways and egress-only internet
8879
+ # gateways. If a subnet group for a provisioned cluster is in an account
8880
+ # with VPC BPA turned on, the following capabilities are blocked:
8881
+ #
8882
+ # * Creating a public cluster
8883
+ #
8884
+ # * Restoring a public cluster
8885
+ #
8886
+ # * Modifying a private cluster to be public
8887
+ #
8888
+ # * Adding a subnet with VPC BPA turned on to the subnet group when
8889
+ # there's at least one public cluster within the group
8890
+ #
8891
+ # For more information about VPC BPA, see [Block public access to VPCs
8892
+ # and subnets][2] in the *Amazon VPC User Guide*.
8893
+ #
8803
8894
  #
8804
8895
  #
8805
8896
  # [1]: https://docs.aws.amazon.com/redshift/latest/mgmt/working-with-clusters.html
8897
+ # [2]: https://docs.aws.amazon.com/vpc/latest/userguide/security-vpc-bpa.html
8806
8898
  #
8807
8899
  # @option params [required, String] :cluster_identifier
8808
8900
  # The unique identifier of the cluster to be modified.
@@ -10001,6 +10093,28 @@ module Aws::Redshift
10001
10093
  # subnets. The operation replaces the existing list of subnets with the
10002
10094
  # new list of subnets.
10003
10095
  #
10096
+ # VPC Block Public Access (BPA) enables you to block resources in VPCs
10097
+ # and subnets that you own in a Region from reaching or being reached
10098
+ # from the internet through internet gateways and egress-only internet
10099
+ # gateways. If a subnet group for a provisioned cluster is in an account
10100
+ # with VPC BPA turned on, the following capabilities are blocked:
10101
+ #
10102
+ # * Creating a public cluster
10103
+ #
10104
+ # * Restoring a public cluster
10105
+ #
10106
+ # * Modifying a private cluster to be public
10107
+ #
10108
+ # * Adding a subnet with VPC BPA turned on to the subnet group when
10109
+ # there's at least one public cluster within the group
10110
+ #
10111
+ # For more information about VPC BPA, see [Block public access to VPCs
10112
+ # and subnets][1] in the *Amazon VPC User Guide*.
10113
+ #
10114
+ #
10115
+ #
10116
+ # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/security-vpc-bpa.html
10117
+ #
10004
10118
  # @option params [required, String] :cluster_subnet_group_name
10005
10119
  # The name of the subnet group to be modified.
10006
10120
  #
@@ -11235,6 +11349,49 @@ module Aws::Redshift
11235
11349
  req.send_request(options)
11236
11350
  end
11237
11351
 
11352
+ # Registers a cluster or serverless namespace to the Amazon Web Services
11353
+ # Glue Data Catalog.
11354
+ #
11355
+ # @option params [required, Types::NamespaceIdentifierUnion] :namespace_identifier
11356
+ # The unique identifier of the cluster or serverless namespace that you
11357
+ # want to register.
11358
+ #
11359
+ # @option params [required, Array<String>] :consumer_identifiers
11360
+ # An array containing the ID of the consumer account that you want to
11361
+ # register the namespace to.
11362
+ #
11363
+ # @return [Types::RegisterNamespaceOutputMessage] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
11364
+ #
11365
+ # * {Types::RegisterNamespaceOutputMessage#status #status} => String
11366
+ #
11367
+ # @example Request syntax with placeholder values
11368
+ #
11369
+ # resp = client.register_namespace({
11370
+ # namespace_identifier: { # required
11371
+ # serverless_identifier: {
11372
+ # namespace_identifier: "String", # required
11373
+ # workgroup_identifier: "String", # required
11374
+ # },
11375
+ # provisioned_identifier: {
11376
+ # cluster_identifier: "String", # required
11377
+ # },
11378
+ # },
11379
+ # consumer_identifiers: ["String"], # required
11380
+ # })
11381
+ #
11382
+ # @example Response structure
11383
+ #
11384
+ # resp.status #=> String, one of "Registering", "Deregistering"
11385
+ #
11386
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RegisterNamespace AWS API Documentation
11387
+ #
11388
+ # @overload register_namespace(params = {})
11389
+ # @param [Hash] params ({})
11390
+ def register_namespace(params = {}, options = {})
11391
+ req = build_request(:register_namespace, params)
11392
+ req.send_request(options)
11393
+ end
11394
+
11238
11395
  # From a datashare consumer account, rejects the specified datashare.
11239
11396
  #
11240
11397
  # @option params [required, String] :data_share_arn
@@ -11247,6 +11404,7 @@ module Aws::Redshift
11247
11404
  # * {Types::DataShare#allow_publicly_accessible_consumers #allow_publicly_accessible_consumers} => Boolean
11248
11405
  # * {Types::DataShare#data_share_associations #data_share_associations} => Array&lt;Types::DataShareAssociation&gt;
11249
11406
  # * {Types::DataShare#managed_by #managed_by} => String
11407
+ # * {Types::DataShare#data_share_type #data_share_type} => String
11250
11408
  #
11251
11409
  # @example Request syntax with placeholder values
11252
11410
  #
@@ -11268,6 +11426,7 @@ module Aws::Redshift
11268
11426
  # resp.data_share_associations[0].producer_allowed_writes #=> Boolean
11269
11427
  # resp.data_share_associations[0].consumer_accepted_writes #=> Boolean
11270
11428
  # resp.managed_by #=> String
11429
+ # resp.data_share_type #=> String, one of "INTERNAL"
11271
11430
  #
11272
11431
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RejectDataShare AWS API Documentation
11273
11432
  #
@@ -11360,7 +11519,6 @@ module Aws::Redshift
11360
11519
  # * ra3.4xlarge
11361
11520
  #
11362
11521
  # * ra3.16xlarge
11363
- #
11364
11522
  # * The type of nodes that you add must match the node type for the
11365
11523
  # cluster.
11366
11524
  #
@@ -11561,13 +11719,32 @@ module Aws::Redshift
11561
11719
  # If you restore a cluster into a VPC, you must provide a cluster subnet
11562
11720
  # group where you want the cluster restored.
11563
11721
  #
11722
+ # VPC Block Public Access (BPA) enables you to block resources in VPCs
11723
+ # and subnets that you own in a Region from reaching or being reached
11724
+ # from the internet through internet gateways and egress-only internet
11725
+ # gateways. If a subnet group for a provisioned cluster is in an account
11726
+ # with VPC BPA turned on, the following capabilities are blocked:
11727
+ #
11728
+ # * Creating a public cluster
11729
+ #
11730
+ # * Restoring a public cluster
11731
+ #
11732
+ # * Modifying a private cluster to be public
11733
+ #
11734
+ # * Adding a subnet with VPC BPA turned on to the subnet group when
11735
+ # there's at least one public cluster within the group
11736
+ #
11737
+ # For more information about VPC BPA, see [Block public access to VPCs
11738
+ # and subnets][1] in the *Amazon VPC User Guide*.
11739
+ #
11564
11740
  # For more information about working with snapshots, go to [Amazon
11565
- # Redshift Snapshots][1] in the *Amazon Redshift Cluster Management
11741
+ # Redshift Snapshots][2] in the *Amazon Redshift Cluster Management
11566
11742
  # Guide*.
11567
11743
  #
11568
11744
  #
11569
11745
  #
11570
- # [1]: https://docs.aws.amazon.com/redshift/latest/mgmt/working-with-snapshots.html
11746
+ # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/security-vpc-bpa.html
11747
+ # [2]: https://docs.aws.amazon.com/redshift/latest/mgmt/working-with-snapshots.html
11571
11748
  #
11572
11749
  # @option params [required, String] :cluster_identifier
11573
11750
  # The identifier of the cluster that will be created from restoring the
@@ -12755,7 +12932,7 @@ module Aws::Redshift
12755
12932
  tracer: tracer
12756
12933
  )
12757
12934
  context[:gem_name] = 'aws-sdk-redshift'
12758
- context[:gem_version] = '1.131.0'
12935
+ context[:gem_version] = '1.133.0'
12759
12936
  Seahorse::Client::Request.new(handlers, context)
12760
12937
  end
12761
12938
 
@@ -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"
@@ -3320,6 +3320,10 @@ module Aws::Redshift
3320
3320
  # The identifier of a datashare to show its managing entity.
3321
3321
  # @return [String]
3322
3322
  #
3323
+ # @!attribute [rw] data_share_type
3324
+ # The type of the datashare created by RegisterNamespace.
3325
+ # @return [String]
3326
+ #
3323
3327
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DataShare AWS API Documentation
3324
3328
  #
3325
3329
  class DataShare < Struct.new(
@@ -3327,7 +3331,8 @@ module Aws::Redshift
3327
3331
  :producer_arn,
3328
3332
  :allow_publicly_accessible_consumers,
3329
3333
  :data_share_associations,
3330
- :managed_by)
3334
+ :managed_by,
3335
+ :data_share_type)
3331
3336
  SENSITIVE = []
3332
3337
  include Aws::Structure
3333
3338
  end
@@ -3876,6 +3881,37 @@ module Aws::Redshift
3876
3881
  #
3877
3882
  class DependentServiceUnavailableFault < Aws::EmptyStructure; end
3878
3883
 
3884
+ # @!attribute [rw] namespace_identifier
3885
+ # The unique identifier of the cluster or serverless namespace that
3886
+ # you want to deregister.
3887
+ # @return [Types::NamespaceIdentifierUnion]
3888
+ #
3889
+ # @!attribute [rw] consumer_identifiers
3890
+ # An array containing the ID of the consumer account that you want to
3891
+ # deregister the cluster or serverless namespace from.
3892
+ # @return [Array<String>]
3893
+ #
3894
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeregisterNamespaceInputMessage AWS API Documentation
3895
+ #
3896
+ class DeregisterNamespaceInputMessage < Struct.new(
3897
+ :namespace_identifier,
3898
+ :consumer_identifiers)
3899
+ SENSITIVE = []
3900
+ include Aws::Structure
3901
+ end
3902
+
3903
+ # @!attribute [rw] status
3904
+ # The registration status of the cluster or serverless namespace.
3905
+ # @return [String]
3906
+ #
3907
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeregisterNamespaceOutputMessage AWS API Documentation
3908
+ #
3909
+ class DeregisterNamespaceOutputMessage < Struct.new(
3910
+ :status)
3911
+ SENSITIVE = []
3912
+ include Aws::Structure
3913
+ end
3914
+
3879
3915
  # @!attribute [rw] attribute_names
3880
3916
  # A list of attribute names.
3881
3917
  # @return [Array<String>]
@@ -9020,6 +9056,34 @@ module Aws::Redshift
9020
9056
  include Aws::Structure
9021
9057
  end
9022
9058
 
9059
+ # Object to store union of values for a provisioned cluster or
9060
+ # serverless namespace’s identifier.
9061
+ #
9062
+ # @note NamespaceIdentifierUnion is a union - when making an API calls you must set exactly one of the members.
9063
+ #
9064
+ # @!attribute [rw] serverless_identifier
9065
+ # The identifier for a serverless namespace.
9066
+ # @return [Types::ServerlessIdentifier]
9067
+ #
9068
+ # @!attribute [rw] provisioned_identifier
9069
+ # The identifier for a provisioned cluster.
9070
+ # @return [Types::ProvisionedIdentifier]
9071
+ #
9072
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/NamespaceIdentifierUnion AWS API Documentation
9073
+ #
9074
+ class NamespaceIdentifierUnion < Struct.new(
9075
+ :serverless_identifier,
9076
+ :provisioned_identifier,
9077
+ :unknown)
9078
+ SENSITIVE = []
9079
+ include Aws::Structure
9080
+ include Aws::Structure::Union
9081
+
9082
+ class ServerlessIdentifier < NamespaceIdentifierUnion; end
9083
+ class ProvisionedIdentifier < NamespaceIdentifierUnion; end
9084
+ class Unknown < NamespaceIdentifierUnion; end
9085
+ end
9086
+
9023
9087
  # Describes a network interface.
9024
9088
  #
9025
9089
  # @!attribute [rw] network_interface_id
@@ -9479,6 +9543,20 @@ module Aws::Redshift
9479
9543
  include Aws::Structure
9480
9544
  end
9481
9545
 
9546
+ # The identifier for a provisioned cluster.
9547
+ #
9548
+ # @!attribute [rw] cluster_identifier
9549
+ # The unique identifier for the provisioned cluster.
9550
+ # @return [String]
9551
+ #
9552
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ProvisionedIdentifier AWS API Documentation
9553
+ #
9554
+ class ProvisionedIdentifier < Struct.new(
9555
+ :cluster_identifier)
9556
+ SENSITIVE = []
9557
+ include Aws::Structure
9558
+ end
9559
+
9482
9560
  # @!attribute [rw] reserved_node_offering_id
9483
9561
  # The unique identifier of the reserved node offering you want to
9484
9562
  # purchase.
@@ -9814,6 +9892,37 @@ module Aws::Redshift
9814
9892
  include Aws::Structure
9815
9893
  end
9816
9894
 
9895
+ # @!attribute [rw] namespace_identifier
9896
+ # The unique identifier of the cluster or serverless namespace that
9897
+ # you want to register.
9898
+ # @return [Types::NamespaceIdentifierUnion]
9899
+ #
9900
+ # @!attribute [rw] consumer_identifiers
9901
+ # An array containing the ID of the consumer account that you want to
9902
+ # register the namespace to.
9903
+ # @return [Array<String>]
9904
+ #
9905
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RegisterNamespaceInputMessage AWS API Documentation
9906
+ #
9907
+ class RegisterNamespaceInputMessage < Struct.new(
9908
+ :namespace_identifier,
9909
+ :consumer_identifiers)
9910
+ SENSITIVE = []
9911
+ include Aws::Structure
9912
+ end
9913
+
9914
+ # @!attribute [rw] status
9915
+ # The registration status of the cluster or serverless namespace.
9916
+ # @return [String]
9917
+ #
9918
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RegisterNamespaceOutputMessage AWS API Documentation
9919
+ #
9920
+ class RegisterNamespaceOutputMessage < Struct.new(
9921
+ :status)
9922
+ SENSITIVE = []
9923
+ include Aws::Structure
9924
+ end
9925
+
9817
9926
  # @!attribute [rw] data_share_arn
9818
9927
  # The Amazon Resource Name (ARN) of the datashare to reject.
9819
9928
  # @return [String]
@@ -11362,6 +11471,26 @@ module Aws::Redshift
11362
11471
  include Aws::Structure
11363
11472
  end
11364
11473
 
11474
+ # The identifier for a serverless namespace.
11475
+ #
11476
+ # @!attribute [rw] namespace_identifier
11477
+ # The unique identifier for the serverless namespace.
11478
+ # @return [String]
11479
+ #
11480
+ # @!attribute [rw] workgroup_identifier
11481
+ # The unique identifier for the workgroup associated with the
11482
+ # serverless namespace.
11483
+ # @return [String]
11484
+ #
11485
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ServerlessIdentifier AWS API Documentation
11486
+ #
11487
+ class ServerlessIdentifier < Struct.new(
11488
+ :namespace_identifier,
11489
+ :workgroup_identifier)
11490
+ SENSITIVE = []
11491
+ include Aws::Structure
11492
+ end
11493
+
11365
11494
  # A list of service integrations.
11366
11495
  #
11367
11496
  # @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.131.0'
58
+ GEM_VERSION = '1.133.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.131.0
4
+ version: 1.133.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-14 00:00:00.000000000 Z
11
+ date: 2024-12-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core