aws-sdk-redshift 1.58.0 → 1.59.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-redshift.rb +1 -1
- data/lib/aws-sdk-redshift/client.rb +433 -1
- data/lib/aws-sdk-redshift/client_api.rb +217 -0
- data/lib/aws-sdk-redshift/errors.rb +110 -0
- data/lib/aws-sdk-redshift/types.rb +482 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 723ba244e70317f9eacefdd1517884d7f3d824c8af69656053035713973d3a5a
|
4
|
+
data.tar.gz: 750df94c5c6f73d4ecf5be2ed517cb9ed6537c6ae7d5bf0dfe7d2fb19ca609a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: caf2026301a7853c56c51de99c9185ac41ebcd3b09b7ab5f50d0ad2729ceb4ddbe2f2d3d959062de38ce9d12fab1251bb72b73f4cfe533cf4141f94403bf2860
|
7
|
+
data.tar.gz: 40bec118fbc54298b73c3a4ab40817b7b04faa8e82b5d4919a8d8b4af4f9a5e001721d05373b42eaaf68acc72dfc74495a947cf54203bc092ebeaff99376bd1b
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.59.0 (2021-03-31)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Enable customers to share access to their Redshift clusters from other VPCs (including VPCs from other accounts).
|
8
|
+
|
4
9
|
1.58.0 (2021-03-23)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.59.0
|
data/lib/aws-sdk-redshift.rb
CHANGED
@@ -464,6 +464,59 @@ module Aws::Redshift
|
|
464
464
|
req.send_request(options)
|
465
465
|
end
|
466
466
|
|
467
|
+
# Grants access to a cluster.
|
468
|
+
#
|
469
|
+
# @option params [String] :cluster_identifier
|
470
|
+
# The cluster identifier of the cluster to grant access to.
|
471
|
+
#
|
472
|
+
# @option params [required, String] :account
|
473
|
+
# The AWS account ID to grant access to.
|
474
|
+
#
|
475
|
+
# @option params [Array<String>] :vpc_ids
|
476
|
+
# The virtual private cloud (VPC) identifiers to grant access to.
|
477
|
+
#
|
478
|
+
# @return [Types::EndpointAuthorization] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
479
|
+
#
|
480
|
+
# * {Types::EndpointAuthorization#grantor #grantor} => String
|
481
|
+
# * {Types::EndpointAuthorization#grantee #grantee} => String
|
482
|
+
# * {Types::EndpointAuthorization#cluster_identifier #cluster_identifier} => String
|
483
|
+
# * {Types::EndpointAuthorization#authorize_time #authorize_time} => Time
|
484
|
+
# * {Types::EndpointAuthorization#cluster_status #cluster_status} => String
|
485
|
+
# * {Types::EndpointAuthorization#status #status} => String
|
486
|
+
# * {Types::EndpointAuthorization#allowed_all_vp_cs #allowed_all_vp_cs} => Boolean
|
487
|
+
# * {Types::EndpointAuthorization#allowed_vp_cs #allowed_vp_cs} => Array<String>
|
488
|
+
# * {Types::EndpointAuthorization#endpoint_count #endpoint_count} => Integer
|
489
|
+
#
|
490
|
+
# @example Request syntax with placeholder values
|
491
|
+
#
|
492
|
+
# resp = client.authorize_endpoint_access({
|
493
|
+
# cluster_identifier: "String",
|
494
|
+
# account: "String", # required
|
495
|
+
# vpc_ids: ["String"],
|
496
|
+
# })
|
497
|
+
#
|
498
|
+
# @example Response structure
|
499
|
+
#
|
500
|
+
# resp.grantor #=> String
|
501
|
+
# resp.grantee #=> String
|
502
|
+
# resp.cluster_identifier #=> String
|
503
|
+
# resp.authorize_time #=> Time
|
504
|
+
# resp.cluster_status #=> String
|
505
|
+
# resp.status #=> String, one of "Authorized", "Revoking"
|
506
|
+
# resp.allowed_all_vp_cs #=> Boolean
|
507
|
+
# resp.allowed_vp_cs #=> Array
|
508
|
+
# resp.allowed_vp_cs[0] #=> String
|
509
|
+
# resp.endpoint_count #=> Integer
|
510
|
+
#
|
511
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AuthorizeEndpointAccess AWS API Documentation
|
512
|
+
#
|
513
|
+
# @overload authorize_endpoint_access(params = {})
|
514
|
+
# @param [Hash] params ({})
|
515
|
+
def authorize_endpoint_access(params = {}, options = {})
|
516
|
+
req = build_request(:authorize_endpoint_access, params)
|
517
|
+
req.send_request(options)
|
518
|
+
end
|
519
|
+
|
467
520
|
# Authorizes the specified AWS customer account to restore the specified
|
468
521
|
# snapshot.
|
469
522
|
#
|
@@ -1692,6 +1745,83 @@ module Aws::Redshift
|
|
1692
1745
|
req.send_request(options)
|
1693
1746
|
end
|
1694
1747
|
|
1748
|
+
# Creates a Redshift-managed VPC endpoint.
|
1749
|
+
#
|
1750
|
+
# @option params [String] :cluster_identifier
|
1751
|
+
# The cluster identifier of the cluster to access.
|
1752
|
+
#
|
1753
|
+
# @option params [String] :resource_owner
|
1754
|
+
# The AWS account ID of the owner of the cluster. This is only required
|
1755
|
+
# if the cluster is in another AWS account.
|
1756
|
+
#
|
1757
|
+
# @option params [required, String] :endpoint_name
|
1758
|
+
# The Redshift-managed VPC endpoint name.
|
1759
|
+
#
|
1760
|
+
# An endpoint name must contain 1-30 characters. Valid characters are
|
1761
|
+
# A-Z, a-z, 0-9, and hyphen(-). The first character must be a letter.
|
1762
|
+
# The name can't contain two consecutive hyphens or end with a hyphen.
|
1763
|
+
#
|
1764
|
+
# @option params [required, String] :subnet_group_name
|
1765
|
+
# The subnet group from which Amazon Redshift chooses the subnet to
|
1766
|
+
# deploy the endpoint.
|
1767
|
+
#
|
1768
|
+
# @option params [Array<String>] :vpc_security_group_ids
|
1769
|
+
# The security group that defines the ports, protocols, and sources for
|
1770
|
+
# inbound traffic that you are authorizing into your endpoint.
|
1771
|
+
#
|
1772
|
+
# @return [Types::EndpointAccess] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1773
|
+
#
|
1774
|
+
# * {Types::EndpointAccess#cluster_identifier #cluster_identifier} => String
|
1775
|
+
# * {Types::EndpointAccess#resource_owner #resource_owner} => String
|
1776
|
+
# * {Types::EndpointAccess#subnet_group_name #subnet_group_name} => String
|
1777
|
+
# * {Types::EndpointAccess#endpoint_status #endpoint_status} => String
|
1778
|
+
# * {Types::EndpointAccess#endpoint_name #endpoint_name} => String
|
1779
|
+
# * {Types::EndpointAccess#endpoint_create_time #endpoint_create_time} => Time
|
1780
|
+
# * {Types::EndpointAccess#port #port} => Integer
|
1781
|
+
# * {Types::EndpointAccess#address #address} => String
|
1782
|
+
# * {Types::EndpointAccess#vpc_security_groups #vpc_security_groups} => Array<Types::VpcSecurityGroupMembership>
|
1783
|
+
# * {Types::EndpointAccess#vpc_endpoint #vpc_endpoint} => Types::VpcEndpoint
|
1784
|
+
#
|
1785
|
+
# @example Request syntax with placeholder values
|
1786
|
+
#
|
1787
|
+
# resp = client.create_endpoint_access({
|
1788
|
+
# cluster_identifier: "String",
|
1789
|
+
# resource_owner: "String",
|
1790
|
+
# endpoint_name: "String", # required
|
1791
|
+
# subnet_group_name: "String", # required
|
1792
|
+
# vpc_security_group_ids: ["String"],
|
1793
|
+
# })
|
1794
|
+
#
|
1795
|
+
# @example Response structure
|
1796
|
+
#
|
1797
|
+
# resp.cluster_identifier #=> String
|
1798
|
+
# resp.resource_owner #=> String
|
1799
|
+
# resp.subnet_group_name #=> String
|
1800
|
+
# resp.endpoint_status #=> String
|
1801
|
+
# resp.endpoint_name #=> String
|
1802
|
+
# resp.endpoint_create_time #=> Time
|
1803
|
+
# resp.port #=> Integer
|
1804
|
+
# resp.address #=> String
|
1805
|
+
# resp.vpc_security_groups #=> Array
|
1806
|
+
# resp.vpc_security_groups[0].vpc_security_group_id #=> String
|
1807
|
+
# resp.vpc_security_groups[0].status #=> String
|
1808
|
+
# resp.vpc_endpoint.vpc_endpoint_id #=> String
|
1809
|
+
# resp.vpc_endpoint.vpc_id #=> String
|
1810
|
+
# resp.vpc_endpoint.network_interfaces #=> Array
|
1811
|
+
# resp.vpc_endpoint.network_interfaces[0].network_interface_id #=> String
|
1812
|
+
# resp.vpc_endpoint.network_interfaces[0].subnet_id #=> String
|
1813
|
+
# resp.vpc_endpoint.network_interfaces[0].private_ip_address #=> String
|
1814
|
+
# resp.vpc_endpoint.network_interfaces[0].availability_zone #=> String
|
1815
|
+
#
|
1816
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateEndpointAccess AWS API Documentation
|
1817
|
+
#
|
1818
|
+
# @overload create_endpoint_access(params = {})
|
1819
|
+
# @param [Hash] params ({})
|
1820
|
+
def create_endpoint_access(params = {}, options = {})
|
1821
|
+
req = build_request(:create_endpoint_access, params)
|
1822
|
+
req.send_request(options)
|
1823
|
+
end
|
1824
|
+
|
1695
1825
|
# Creates an Amazon Redshift event notification subscription. This
|
1696
1826
|
# action requires an ARN (Amazon Resource Name) of an Amazon SNS topic
|
1697
1827
|
# created by either the Amazon Redshift console, the Amazon SNS console,
|
@@ -2715,6 +2845,60 @@ module Aws::Redshift
|
|
2715
2845
|
req.send_request(options)
|
2716
2846
|
end
|
2717
2847
|
|
2848
|
+
# Deletes a Redshift-managed VPC endpoint.
|
2849
|
+
#
|
2850
|
+
# @option params [required, String] :endpoint_name
|
2851
|
+
# The Redshift-managed VPC endpoint to delete.
|
2852
|
+
#
|
2853
|
+
# @return [Types::EndpointAccess] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2854
|
+
#
|
2855
|
+
# * {Types::EndpointAccess#cluster_identifier #cluster_identifier} => String
|
2856
|
+
# * {Types::EndpointAccess#resource_owner #resource_owner} => String
|
2857
|
+
# * {Types::EndpointAccess#subnet_group_name #subnet_group_name} => String
|
2858
|
+
# * {Types::EndpointAccess#endpoint_status #endpoint_status} => String
|
2859
|
+
# * {Types::EndpointAccess#endpoint_name #endpoint_name} => String
|
2860
|
+
# * {Types::EndpointAccess#endpoint_create_time #endpoint_create_time} => Time
|
2861
|
+
# * {Types::EndpointAccess#port #port} => Integer
|
2862
|
+
# * {Types::EndpointAccess#address #address} => String
|
2863
|
+
# * {Types::EndpointAccess#vpc_security_groups #vpc_security_groups} => Array<Types::VpcSecurityGroupMembership>
|
2864
|
+
# * {Types::EndpointAccess#vpc_endpoint #vpc_endpoint} => Types::VpcEndpoint
|
2865
|
+
#
|
2866
|
+
# @example Request syntax with placeholder values
|
2867
|
+
#
|
2868
|
+
# resp = client.delete_endpoint_access({
|
2869
|
+
# endpoint_name: "String", # required
|
2870
|
+
# })
|
2871
|
+
#
|
2872
|
+
# @example Response structure
|
2873
|
+
#
|
2874
|
+
# resp.cluster_identifier #=> String
|
2875
|
+
# resp.resource_owner #=> String
|
2876
|
+
# resp.subnet_group_name #=> String
|
2877
|
+
# resp.endpoint_status #=> String
|
2878
|
+
# resp.endpoint_name #=> String
|
2879
|
+
# resp.endpoint_create_time #=> Time
|
2880
|
+
# resp.port #=> Integer
|
2881
|
+
# resp.address #=> String
|
2882
|
+
# resp.vpc_security_groups #=> Array
|
2883
|
+
# resp.vpc_security_groups[0].vpc_security_group_id #=> String
|
2884
|
+
# resp.vpc_security_groups[0].status #=> String
|
2885
|
+
# resp.vpc_endpoint.vpc_endpoint_id #=> String
|
2886
|
+
# resp.vpc_endpoint.vpc_id #=> String
|
2887
|
+
# resp.vpc_endpoint.network_interfaces #=> Array
|
2888
|
+
# resp.vpc_endpoint.network_interfaces[0].network_interface_id #=> String
|
2889
|
+
# resp.vpc_endpoint.network_interfaces[0].subnet_id #=> String
|
2890
|
+
# resp.vpc_endpoint.network_interfaces[0].private_ip_address #=> String
|
2891
|
+
# resp.vpc_endpoint.network_interfaces[0].availability_zone #=> String
|
2892
|
+
#
|
2893
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteEndpointAccess AWS API Documentation
|
2894
|
+
#
|
2895
|
+
# @overload delete_endpoint_access(params = {})
|
2896
|
+
# @param [Hash] params ({})
|
2897
|
+
def delete_endpoint_access(params = {}, options = {})
|
2898
|
+
req = build_request(:delete_endpoint_access, params)
|
2899
|
+
req.send_request(options)
|
2900
|
+
end
|
2901
|
+
|
2718
2902
|
# Deletes an Amazon Redshift event notification subscription.
|
2719
2903
|
#
|
2720
2904
|
# @option params [required, String] :subscription_name
|
@@ -4034,6 +4218,135 @@ module Aws::Redshift
|
|
4034
4218
|
req.send_request(options)
|
4035
4219
|
end
|
4036
4220
|
|
4221
|
+
# Describes a Redshift-managed VPC endpoint.
|
4222
|
+
#
|
4223
|
+
# @option params [String] :cluster_identifier
|
4224
|
+
# The cluster identifier associated with the described endpoint.
|
4225
|
+
#
|
4226
|
+
# @option params [String] :resource_owner
|
4227
|
+
# The AWS account ID of the owner of the cluster.
|
4228
|
+
#
|
4229
|
+
# @option params [String] :endpoint_name
|
4230
|
+
# The name of the endpoint to be described.
|
4231
|
+
#
|
4232
|
+
# @option params [String] :vpc_id
|
4233
|
+
# The virtual private cloud (VPC) identifier with access to the cluster.
|
4234
|
+
#
|
4235
|
+
# @option params [Integer] :max_records
|
4236
|
+
# Reserved for Amazon Redshift internal use.
|
4237
|
+
#
|
4238
|
+
# @option params [String] :marker
|
4239
|
+
# Reserved for Amazon Redshift internal use.
|
4240
|
+
#
|
4241
|
+
# @return [Types::EndpointAccessList] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4242
|
+
#
|
4243
|
+
# * {Types::EndpointAccessList#endpoint_access_list #endpoint_access_list} => Array<Types::EndpointAccess>
|
4244
|
+
# * {Types::EndpointAccessList#marker #marker} => String
|
4245
|
+
#
|
4246
|
+
# @example Request syntax with placeholder values
|
4247
|
+
#
|
4248
|
+
# resp = client.describe_endpoint_access({
|
4249
|
+
# cluster_identifier: "String",
|
4250
|
+
# resource_owner: "String",
|
4251
|
+
# endpoint_name: "String",
|
4252
|
+
# vpc_id: "String",
|
4253
|
+
# max_records: 1,
|
4254
|
+
# marker: "String",
|
4255
|
+
# })
|
4256
|
+
#
|
4257
|
+
# @example Response structure
|
4258
|
+
#
|
4259
|
+
# resp.endpoint_access_list #=> Array
|
4260
|
+
# resp.endpoint_access_list[0].cluster_identifier #=> String
|
4261
|
+
# resp.endpoint_access_list[0].resource_owner #=> String
|
4262
|
+
# resp.endpoint_access_list[0].subnet_group_name #=> String
|
4263
|
+
# resp.endpoint_access_list[0].endpoint_status #=> String
|
4264
|
+
# resp.endpoint_access_list[0].endpoint_name #=> String
|
4265
|
+
# resp.endpoint_access_list[0].endpoint_create_time #=> Time
|
4266
|
+
# resp.endpoint_access_list[0].port #=> Integer
|
4267
|
+
# resp.endpoint_access_list[0].address #=> String
|
4268
|
+
# resp.endpoint_access_list[0].vpc_security_groups #=> Array
|
4269
|
+
# resp.endpoint_access_list[0].vpc_security_groups[0].vpc_security_group_id #=> String
|
4270
|
+
# resp.endpoint_access_list[0].vpc_security_groups[0].status #=> String
|
4271
|
+
# resp.endpoint_access_list[0].vpc_endpoint.vpc_endpoint_id #=> String
|
4272
|
+
# resp.endpoint_access_list[0].vpc_endpoint.vpc_id #=> String
|
4273
|
+
# resp.endpoint_access_list[0].vpc_endpoint.network_interfaces #=> Array
|
4274
|
+
# resp.endpoint_access_list[0].vpc_endpoint.network_interfaces[0].network_interface_id #=> String
|
4275
|
+
# resp.endpoint_access_list[0].vpc_endpoint.network_interfaces[0].subnet_id #=> String
|
4276
|
+
# resp.endpoint_access_list[0].vpc_endpoint.network_interfaces[0].private_ip_address #=> String
|
4277
|
+
# resp.endpoint_access_list[0].vpc_endpoint.network_interfaces[0].availability_zone #=> String
|
4278
|
+
# resp.marker #=> String
|
4279
|
+
#
|
4280
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeEndpointAccess AWS API Documentation
|
4281
|
+
#
|
4282
|
+
# @overload describe_endpoint_access(params = {})
|
4283
|
+
# @param [Hash] params ({})
|
4284
|
+
def describe_endpoint_access(params = {}, options = {})
|
4285
|
+
req = build_request(:describe_endpoint_access, params)
|
4286
|
+
req.send_request(options)
|
4287
|
+
end
|
4288
|
+
|
4289
|
+
# Describes an endpoint authorization.
|
4290
|
+
#
|
4291
|
+
# @option params [String] :cluster_identifier
|
4292
|
+
# The cluster identifier of the cluster to access.
|
4293
|
+
#
|
4294
|
+
# @option params [String] :account
|
4295
|
+
# The AWS account ID of either the cluster owner (grantor) or grantee.
|
4296
|
+
# If `Grantee` parameter is true, then the `Account` value is of the
|
4297
|
+
# grantor.
|
4298
|
+
#
|
4299
|
+
# @option params [Boolean] :grantee
|
4300
|
+
# Indicates whether to check authorization from a grantor or grantee
|
4301
|
+
# point of view. If true, Amazon Redshift returns endpoint
|
4302
|
+
# authorizations that you've been granted. If false (default), checks
|
4303
|
+
# authorization from a grantor point of view.
|
4304
|
+
#
|
4305
|
+
# @option params [Integer] :max_records
|
4306
|
+
# Reserved for Amazon Redshift internal use.
|
4307
|
+
#
|
4308
|
+
# @option params [String] :marker
|
4309
|
+
# Reserved for Amazon Redshift internal use.
|
4310
|
+
#
|
4311
|
+
# @return [Types::EndpointAuthorizationList] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4312
|
+
#
|
4313
|
+
# * {Types::EndpointAuthorizationList#endpoint_authorization_list #endpoint_authorization_list} => Array<Types::EndpointAuthorization>
|
4314
|
+
# * {Types::EndpointAuthorizationList#marker #marker} => String
|
4315
|
+
#
|
4316
|
+
# @example Request syntax with placeholder values
|
4317
|
+
#
|
4318
|
+
# resp = client.describe_endpoint_authorization({
|
4319
|
+
# cluster_identifier: "String",
|
4320
|
+
# account: "String",
|
4321
|
+
# grantee: false,
|
4322
|
+
# max_records: 1,
|
4323
|
+
# marker: "String",
|
4324
|
+
# })
|
4325
|
+
#
|
4326
|
+
# @example Response structure
|
4327
|
+
#
|
4328
|
+
# resp.endpoint_authorization_list #=> Array
|
4329
|
+
# resp.endpoint_authorization_list[0].grantor #=> String
|
4330
|
+
# resp.endpoint_authorization_list[0].grantee #=> String
|
4331
|
+
# resp.endpoint_authorization_list[0].cluster_identifier #=> String
|
4332
|
+
# resp.endpoint_authorization_list[0].authorize_time #=> Time
|
4333
|
+
# resp.endpoint_authorization_list[0].cluster_status #=> String
|
4334
|
+
# resp.endpoint_authorization_list[0].status #=> String, one of "Authorized", "Revoking"
|
4335
|
+
# resp.endpoint_authorization_list[0].allowed_all_vp_cs #=> Boolean
|
4336
|
+
# resp.endpoint_authorization_list[0].allowed_vp_cs #=> Array
|
4337
|
+
# resp.endpoint_authorization_list[0].allowed_vp_cs[0] #=> String
|
4338
|
+
# resp.endpoint_authorization_list[0].endpoint_count #=> Integer
|
4339
|
+
# resp.marker #=> String
|
4340
|
+
#
|
4341
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeEndpointAuthorization AWS API Documentation
|
4342
|
+
#
|
4343
|
+
# @overload describe_endpoint_authorization(params = {})
|
4344
|
+
# @param [Hash] params ({})
|
4345
|
+
def describe_endpoint_authorization(params = {}, options = {})
|
4346
|
+
req = build_request(:describe_endpoint_authorization, params)
|
4347
|
+
req.send_request(options)
|
4348
|
+
end
|
4349
|
+
|
4037
4350
|
# Displays a list of event categories for all event source types, or for
|
4038
4351
|
# a specified source type. For a list of the event categories and source
|
4039
4352
|
# types, go to [Amazon Redshift Event Notifications][1].
|
@@ -7293,6 +7606,65 @@ module Aws::Redshift
|
|
7293
7606
|
req.send_request(options)
|
7294
7607
|
end
|
7295
7608
|
|
7609
|
+
# Modifies a Redshift-managed VPC endpoint.
|
7610
|
+
#
|
7611
|
+
# @option params [required, String] :endpoint_name
|
7612
|
+
# The endpoint to be modified.
|
7613
|
+
#
|
7614
|
+
# @option params [Array<String>] :vpc_security_group_ids
|
7615
|
+
# The complete list of VPC security groups associated with the endpoint
|
7616
|
+
# after the endpoint is modified.
|
7617
|
+
#
|
7618
|
+
# @return [Types::EndpointAccess] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
7619
|
+
#
|
7620
|
+
# * {Types::EndpointAccess#cluster_identifier #cluster_identifier} => String
|
7621
|
+
# * {Types::EndpointAccess#resource_owner #resource_owner} => String
|
7622
|
+
# * {Types::EndpointAccess#subnet_group_name #subnet_group_name} => String
|
7623
|
+
# * {Types::EndpointAccess#endpoint_status #endpoint_status} => String
|
7624
|
+
# * {Types::EndpointAccess#endpoint_name #endpoint_name} => String
|
7625
|
+
# * {Types::EndpointAccess#endpoint_create_time #endpoint_create_time} => Time
|
7626
|
+
# * {Types::EndpointAccess#port #port} => Integer
|
7627
|
+
# * {Types::EndpointAccess#address #address} => String
|
7628
|
+
# * {Types::EndpointAccess#vpc_security_groups #vpc_security_groups} => Array<Types::VpcSecurityGroupMembership>
|
7629
|
+
# * {Types::EndpointAccess#vpc_endpoint #vpc_endpoint} => Types::VpcEndpoint
|
7630
|
+
#
|
7631
|
+
# @example Request syntax with placeholder values
|
7632
|
+
#
|
7633
|
+
# resp = client.modify_endpoint_access({
|
7634
|
+
# endpoint_name: "String", # required
|
7635
|
+
# vpc_security_group_ids: ["String"],
|
7636
|
+
# })
|
7637
|
+
#
|
7638
|
+
# @example Response structure
|
7639
|
+
#
|
7640
|
+
# resp.cluster_identifier #=> String
|
7641
|
+
# resp.resource_owner #=> String
|
7642
|
+
# resp.subnet_group_name #=> String
|
7643
|
+
# resp.endpoint_status #=> String
|
7644
|
+
# resp.endpoint_name #=> String
|
7645
|
+
# resp.endpoint_create_time #=> Time
|
7646
|
+
# resp.port #=> Integer
|
7647
|
+
# resp.address #=> String
|
7648
|
+
# resp.vpc_security_groups #=> Array
|
7649
|
+
# resp.vpc_security_groups[0].vpc_security_group_id #=> String
|
7650
|
+
# resp.vpc_security_groups[0].status #=> String
|
7651
|
+
# resp.vpc_endpoint.vpc_endpoint_id #=> String
|
7652
|
+
# resp.vpc_endpoint.vpc_id #=> String
|
7653
|
+
# resp.vpc_endpoint.network_interfaces #=> Array
|
7654
|
+
# resp.vpc_endpoint.network_interfaces[0].network_interface_id #=> String
|
7655
|
+
# resp.vpc_endpoint.network_interfaces[0].subnet_id #=> String
|
7656
|
+
# resp.vpc_endpoint.network_interfaces[0].private_ip_address #=> String
|
7657
|
+
# resp.vpc_endpoint.network_interfaces[0].availability_zone #=> String
|
7658
|
+
#
|
7659
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyEndpointAccess AWS API Documentation
|
7660
|
+
#
|
7661
|
+
# @overload modify_endpoint_access(params = {})
|
7662
|
+
# @param [Hash] params ({})
|
7663
|
+
def modify_endpoint_access(params = {}, options = {})
|
7664
|
+
req = build_request(:modify_endpoint_access, params)
|
7665
|
+
req.send_request(options)
|
7666
|
+
end
|
7667
|
+
|
7296
7668
|
# Modifies an existing Amazon Redshift event notification subscription.
|
7297
7669
|
#
|
7298
7670
|
# @option params [required, String] :subscription_name
|
@@ -9038,6 +9410,66 @@ module Aws::Redshift
|
|
9038
9410
|
req.send_request(options)
|
9039
9411
|
end
|
9040
9412
|
|
9413
|
+
# Revokes access to a cluster.
|
9414
|
+
#
|
9415
|
+
# @option params [String] :cluster_identifier
|
9416
|
+
# The cluster to revoke access from.
|
9417
|
+
#
|
9418
|
+
# @option params [String] :account
|
9419
|
+
# The AWS account ID whose access is to be revoked.
|
9420
|
+
#
|
9421
|
+
# @option params [Array<String>] :vpc_ids
|
9422
|
+
# The virtual private cloud (VPC) identifiers for which access is to be
|
9423
|
+
# revoked.
|
9424
|
+
#
|
9425
|
+
# @option params [Boolean] :force
|
9426
|
+
# Indicates whether to force the revoke action. If true, the
|
9427
|
+
# Redshift-managed VPC endpoints associated with the endpoint
|
9428
|
+
# authorization are also deleted.
|
9429
|
+
#
|
9430
|
+
# @return [Types::EndpointAuthorization] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
9431
|
+
#
|
9432
|
+
# * {Types::EndpointAuthorization#grantor #grantor} => String
|
9433
|
+
# * {Types::EndpointAuthorization#grantee #grantee} => String
|
9434
|
+
# * {Types::EndpointAuthorization#cluster_identifier #cluster_identifier} => String
|
9435
|
+
# * {Types::EndpointAuthorization#authorize_time #authorize_time} => Time
|
9436
|
+
# * {Types::EndpointAuthorization#cluster_status #cluster_status} => String
|
9437
|
+
# * {Types::EndpointAuthorization#status #status} => String
|
9438
|
+
# * {Types::EndpointAuthorization#allowed_all_vp_cs #allowed_all_vp_cs} => Boolean
|
9439
|
+
# * {Types::EndpointAuthorization#allowed_vp_cs #allowed_vp_cs} => Array<String>
|
9440
|
+
# * {Types::EndpointAuthorization#endpoint_count #endpoint_count} => Integer
|
9441
|
+
#
|
9442
|
+
# @example Request syntax with placeholder values
|
9443
|
+
#
|
9444
|
+
# resp = client.revoke_endpoint_access({
|
9445
|
+
# cluster_identifier: "String",
|
9446
|
+
# account: "String",
|
9447
|
+
# vpc_ids: ["String"],
|
9448
|
+
# force: false,
|
9449
|
+
# })
|
9450
|
+
#
|
9451
|
+
# @example Response structure
|
9452
|
+
#
|
9453
|
+
# resp.grantor #=> String
|
9454
|
+
# resp.grantee #=> String
|
9455
|
+
# resp.cluster_identifier #=> String
|
9456
|
+
# resp.authorize_time #=> Time
|
9457
|
+
# resp.cluster_status #=> String
|
9458
|
+
# resp.status #=> String, one of "Authorized", "Revoking"
|
9459
|
+
# resp.allowed_all_vp_cs #=> Boolean
|
9460
|
+
# resp.allowed_vp_cs #=> Array
|
9461
|
+
# resp.allowed_vp_cs[0] #=> String
|
9462
|
+
# resp.endpoint_count #=> Integer
|
9463
|
+
#
|
9464
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RevokeEndpointAccess AWS API Documentation
|
9465
|
+
#
|
9466
|
+
# @overload revoke_endpoint_access(params = {})
|
9467
|
+
# @param [Hash] params ({})
|
9468
|
+
def revoke_endpoint_access(params = {}, options = {})
|
9469
|
+
req = build_request(:revoke_endpoint_access, params)
|
9470
|
+
req.send_request(options)
|
9471
|
+
end
|
9472
|
+
|
9041
9473
|
# Removes the ability of the specified AWS customer account to restore
|
9042
9474
|
# the specified snapshot. If the account is currently restoring the
|
9043
9475
|
# snapshot, the restore will run to completion.
|
@@ -9276,7 +9708,7 @@ module Aws::Redshift
|
|
9276
9708
|
params: params,
|
9277
9709
|
config: config)
|
9278
9710
|
context[:gem_name] = 'aws-sdk-redshift'
|
9279
|
-
context[:gem_version] = '1.
|
9711
|
+
context[:gem_version] = '1.59.0'
|
9280
9712
|
Seahorse::Client::Request.new(handlers, context)
|
9281
9713
|
end
|
9282
9714
|
|