aws-sdk-redshift 1.57.0 → 1.62.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +25 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-redshift.rb +1 -1
- data/lib/aws-sdk-redshift/client.rb +652 -4
- data/lib/aws-sdk-redshift/client_api.rb +329 -0
- data/lib/aws-sdk-redshift/errors.rb +132 -0
- data/lib/aws-sdk-redshift/types.rb +720 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c10ef81dfa2ee8c905d930216f8999dc715193c5396965579eacdbdb48ab4514
|
4
|
+
data.tar.gz: 9d07eb9f3f8f9b267a48b912070055e558ffb863f54af3b85ccca81c45c900a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 97a89e4fb3e28fb3b14927ff197a43e1b4472efab6387e09de1397c97155bafedfc314999b58a9f4f528df3647a408244cde47098d448bdcf41df61e40456513
|
7
|
+
data.tar.gz: 52752f3a7a8dab26fb1a80791a313490d0b57953bc4ba38ee39641027b2c2d04a2ac042726e7282d919c9dd5421e877e53513142e247c009e8691a25f78e2286
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,31 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.62.0 (2021-04-21)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Add operations: AddPartner, DescribePartners, DeletePartner, and UpdatePartnerStatus to support tracking integration status with data partners.
|
8
|
+
|
9
|
+
1.61.0 (2021-04-13)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Added support to enable AQUA in Amazon Redshift clusters.
|
13
|
+
|
14
|
+
1.60.0 (2021-04-09)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Add support for case sensitive table level restore
|
18
|
+
|
19
|
+
1.59.0 (2021-03-31)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Enable customers to share access to their Redshift clusters from other VPCs (including VPCs from other accounts).
|
23
|
+
|
24
|
+
1.58.0 (2021-03-23)
|
25
|
+
------------------
|
26
|
+
|
27
|
+
* Feature - Removed APIs to control AQUA on clusters.
|
28
|
+
|
4
29
|
1.57.0 (2021-03-22)
|
5
30
|
------------------
|
6
31
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.62.0
|
data/lib/aws-sdk-redshift.rb
CHANGED
@@ -378,6 +378,52 @@ module Aws::Redshift
|
|
378
378
|
req.send_request(options)
|
379
379
|
end
|
380
380
|
|
381
|
+
# Adds a partner integration to a cluster. This operation authorizes a
|
382
|
+
# partner to push status updates for the specified database. To complete
|
383
|
+
# the integration, you also set up the integration on the partner
|
384
|
+
# website.
|
385
|
+
#
|
386
|
+
# @option params [required, String] :account_id
|
387
|
+
# The AWS account ID that owns the cluster.
|
388
|
+
#
|
389
|
+
# @option params [required, String] :cluster_identifier
|
390
|
+
# The cluster identifier of the cluster that receives data from the
|
391
|
+
# partner.
|
392
|
+
#
|
393
|
+
# @option params [required, String] :database_name
|
394
|
+
# The name of the database that receives data from the partner.
|
395
|
+
#
|
396
|
+
# @option params [required, String] :partner_name
|
397
|
+
# The name of the partner that is authorized to send data.
|
398
|
+
#
|
399
|
+
# @return [Types::PartnerIntegrationOutputMessage] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
400
|
+
#
|
401
|
+
# * {Types::PartnerIntegrationOutputMessage#database_name #database_name} => String
|
402
|
+
# * {Types::PartnerIntegrationOutputMessage#partner_name #partner_name} => String
|
403
|
+
#
|
404
|
+
# @example Request syntax with placeholder values
|
405
|
+
#
|
406
|
+
# resp = client.add_partner({
|
407
|
+
# account_id: "PartnerIntegrationAccountId", # required
|
408
|
+
# cluster_identifier: "PartnerIntegrationClusterIdentifier", # required
|
409
|
+
# database_name: "PartnerIntegrationDatabaseName", # required
|
410
|
+
# partner_name: "PartnerIntegrationPartnerName", # required
|
411
|
+
# })
|
412
|
+
#
|
413
|
+
# @example Response structure
|
414
|
+
#
|
415
|
+
# resp.database_name #=> String
|
416
|
+
# resp.partner_name #=> String
|
417
|
+
#
|
418
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AddPartner AWS API Documentation
|
419
|
+
#
|
420
|
+
# @overload add_partner(params = {})
|
421
|
+
# @param [Hash] params ({})
|
422
|
+
def add_partner(params = {}, options = {})
|
423
|
+
req = build_request(:add_partner, params)
|
424
|
+
req.send_request(options)
|
425
|
+
end
|
426
|
+
|
381
427
|
# Adds an inbound (ingress) rule to an Amazon Redshift security group.
|
382
428
|
# Depending on whether the application accessing your cluster is running
|
383
429
|
# on the Internet or an Amazon EC2 instance, you can authorize inbound
|
@@ -464,6 +510,59 @@ module Aws::Redshift
|
|
464
510
|
req.send_request(options)
|
465
511
|
end
|
466
512
|
|
513
|
+
# Grants access to a cluster.
|
514
|
+
#
|
515
|
+
# @option params [String] :cluster_identifier
|
516
|
+
# The cluster identifier of the cluster to grant access to.
|
517
|
+
#
|
518
|
+
# @option params [required, String] :account
|
519
|
+
# The AWS account ID to grant access to.
|
520
|
+
#
|
521
|
+
# @option params [Array<String>] :vpc_ids
|
522
|
+
# The virtual private cloud (VPC) identifiers to grant access to.
|
523
|
+
#
|
524
|
+
# @return [Types::EndpointAuthorization] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
525
|
+
#
|
526
|
+
# * {Types::EndpointAuthorization#grantor #grantor} => String
|
527
|
+
# * {Types::EndpointAuthorization#grantee #grantee} => String
|
528
|
+
# * {Types::EndpointAuthorization#cluster_identifier #cluster_identifier} => String
|
529
|
+
# * {Types::EndpointAuthorization#authorize_time #authorize_time} => Time
|
530
|
+
# * {Types::EndpointAuthorization#cluster_status #cluster_status} => String
|
531
|
+
# * {Types::EndpointAuthorization#status #status} => String
|
532
|
+
# * {Types::EndpointAuthorization#allowed_all_vp_cs #allowed_all_vp_cs} => Boolean
|
533
|
+
# * {Types::EndpointAuthorization#allowed_vp_cs #allowed_vp_cs} => Array<String>
|
534
|
+
# * {Types::EndpointAuthorization#endpoint_count #endpoint_count} => Integer
|
535
|
+
#
|
536
|
+
# @example Request syntax with placeholder values
|
537
|
+
#
|
538
|
+
# resp = client.authorize_endpoint_access({
|
539
|
+
# cluster_identifier: "String",
|
540
|
+
# account: "String", # required
|
541
|
+
# vpc_ids: ["String"],
|
542
|
+
# })
|
543
|
+
#
|
544
|
+
# @example Response structure
|
545
|
+
#
|
546
|
+
# resp.grantor #=> String
|
547
|
+
# resp.grantee #=> String
|
548
|
+
# resp.cluster_identifier #=> String
|
549
|
+
# resp.authorize_time #=> Time
|
550
|
+
# resp.cluster_status #=> String
|
551
|
+
# resp.status #=> String, one of "Authorized", "Revoking"
|
552
|
+
# resp.allowed_all_vp_cs #=> Boolean
|
553
|
+
# resp.allowed_vp_cs #=> Array
|
554
|
+
# resp.allowed_vp_cs[0] #=> String
|
555
|
+
# resp.endpoint_count #=> Integer
|
556
|
+
#
|
557
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AuthorizeEndpointAccess AWS API Documentation
|
558
|
+
#
|
559
|
+
# @overload authorize_endpoint_access(params = {})
|
560
|
+
# @param [Hash] params ({})
|
561
|
+
def authorize_endpoint_access(params = {}, options = {})
|
562
|
+
req = build_request(:authorize_endpoint_access, params)
|
563
|
+
req.send_request(options)
|
564
|
+
end
|
565
|
+
|
467
566
|
# Authorizes the specified AWS customer account to restore the specified
|
468
567
|
# snapshot.
|
469
568
|
#
|
@@ -1707,6 +1806,83 @@ module Aws::Redshift
|
|
1707
1806
|
req.send_request(options)
|
1708
1807
|
end
|
1709
1808
|
|
1809
|
+
# Creates a Redshift-managed VPC endpoint.
|
1810
|
+
#
|
1811
|
+
# @option params [String] :cluster_identifier
|
1812
|
+
# The cluster identifier of the cluster to access.
|
1813
|
+
#
|
1814
|
+
# @option params [String] :resource_owner
|
1815
|
+
# The AWS account ID of the owner of the cluster. This is only required
|
1816
|
+
# if the cluster is in another AWS account.
|
1817
|
+
#
|
1818
|
+
# @option params [required, String] :endpoint_name
|
1819
|
+
# The Redshift-managed VPC endpoint name.
|
1820
|
+
#
|
1821
|
+
# An endpoint name must contain 1-30 characters. Valid characters are
|
1822
|
+
# A-Z, a-z, 0-9, and hyphen(-). The first character must be a letter.
|
1823
|
+
# The name can't contain two consecutive hyphens or end with a hyphen.
|
1824
|
+
#
|
1825
|
+
# @option params [required, String] :subnet_group_name
|
1826
|
+
# The subnet group from which Amazon Redshift chooses the subnet to
|
1827
|
+
# deploy the endpoint.
|
1828
|
+
#
|
1829
|
+
# @option params [Array<String>] :vpc_security_group_ids
|
1830
|
+
# The security group that defines the ports, protocols, and sources for
|
1831
|
+
# inbound traffic that you are authorizing into your endpoint.
|
1832
|
+
#
|
1833
|
+
# @return [Types::EndpointAccess] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1834
|
+
#
|
1835
|
+
# * {Types::EndpointAccess#cluster_identifier #cluster_identifier} => String
|
1836
|
+
# * {Types::EndpointAccess#resource_owner #resource_owner} => String
|
1837
|
+
# * {Types::EndpointAccess#subnet_group_name #subnet_group_name} => String
|
1838
|
+
# * {Types::EndpointAccess#endpoint_status #endpoint_status} => String
|
1839
|
+
# * {Types::EndpointAccess#endpoint_name #endpoint_name} => String
|
1840
|
+
# * {Types::EndpointAccess#endpoint_create_time #endpoint_create_time} => Time
|
1841
|
+
# * {Types::EndpointAccess#port #port} => Integer
|
1842
|
+
# * {Types::EndpointAccess#address #address} => String
|
1843
|
+
# * {Types::EndpointAccess#vpc_security_groups #vpc_security_groups} => Array<Types::VpcSecurityGroupMembership>
|
1844
|
+
# * {Types::EndpointAccess#vpc_endpoint #vpc_endpoint} => Types::VpcEndpoint
|
1845
|
+
#
|
1846
|
+
# @example Request syntax with placeholder values
|
1847
|
+
#
|
1848
|
+
# resp = client.create_endpoint_access({
|
1849
|
+
# cluster_identifier: "String",
|
1850
|
+
# resource_owner: "String",
|
1851
|
+
# endpoint_name: "String", # required
|
1852
|
+
# subnet_group_name: "String", # required
|
1853
|
+
# vpc_security_group_ids: ["String"],
|
1854
|
+
# })
|
1855
|
+
#
|
1856
|
+
# @example Response structure
|
1857
|
+
#
|
1858
|
+
# resp.cluster_identifier #=> String
|
1859
|
+
# resp.resource_owner #=> String
|
1860
|
+
# resp.subnet_group_name #=> String
|
1861
|
+
# resp.endpoint_status #=> String
|
1862
|
+
# resp.endpoint_name #=> String
|
1863
|
+
# resp.endpoint_create_time #=> Time
|
1864
|
+
# resp.port #=> Integer
|
1865
|
+
# resp.address #=> String
|
1866
|
+
# resp.vpc_security_groups #=> Array
|
1867
|
+
# resp.vpc_security_groups[0].vpc_security_group_id #=> String
|
1868
|
+
# resp.vpc_security_groups[0].status #=> String
|
1869
|
+
# resp.vpc_endpoint.vpc_endpoint_id #=> String
|
1870
|
+
# resp.vpc_endpoint.vpc_id #=> String
|
1871
|
+
# resp.vpc_endpoint.network_interfaces #=> Array
|
1872
|
+
# resp.vpc_endpoint.network_interfaces[0].network_interface_id #=> String
|
1873
|
+
# resp.vpc_endpoint.network_interfaces[0].subnet_id #=> String
|
1874
|
+
# resp.vpc_endpoint.network_interfaces[0].private_ip_address #=> String
|
1875
|
+
# resp.vpc_endpoint.network_interfaces[0].availability_zone #=> String
|
1876
|
+
#
|
1877
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateEndpointAccess AWS API Documentation
|
1878
|
+
#
|
1879
|
+
# @overload create_endpoint_access(params = {})
|
1880
|
+
# @param [Hash] params ({})
|
1881
|
+
def create_endpoint_access(params = {}, options = {})
|
1882
|
+
req = build_request(:create_endpoint_access, params)
|
1883
|
+
req.send_request(options)
|
1884
|
+
end
|
1885
|
+
|
1710
1886
|
# Creates an Amazon Redshift event notification subscription. This
|
1711
1887
|
# action requires an ARN (Amazon Resource Name) of an Amazon SNS topic
|
1712
1888
|
# created by either the Amazon Redshift console, the Amazon SNS console,
|
@@ -1848,12 +2024,12 @@ module Aws::Redshift
|
|
1848
2024
|
# addition to creating the HSM certificate, you must create an Amazon
|
1849
2025
|
# Redshift HSM configuration that provides a cluster the information
|
1850
2026
|
# needed to store and use encryption keys in the HSM. For more
|
1851
|
-
# information, go to [Hardware Security Modules][1] in the Amazon
|
1852
|
-
# Redshift Cluster Management Guide
|
2027
|
+
# information, go to [Hardware Security Modules][1] in the *Amazon
|
2028
|
+
# Redshift Cluster Management Guide*.
|
1853
2029
|
#
|
1854
2030
|
#
|
1855
2031
|
#
|
1856
|
-
# [1]: https://docs.aws.amazon.com/redshift/latest/mgmt/working-with-
|
2032
|
+
# [1]: https://docs.aws.amazon.com/redshift/latest/mgmt/working-with-db-encryption.html#working-with-HSM
|
1857
2033
|
#
|
1858
2034
|
# @option params [required, String] :hsm_client_certificate_identifier
|
1859
2035
|
# The identifier to be assigned to the new HSM client certificate that
|
@@ -2732,6 +2908,60 @@ module Aws::Redshift
|
|
2732
2908
|
req.send_request(options)
|
2733
2909
|
end
|
2734
2910
|
|
2911
|
+
# Deletes a Redshift-managed VPC endpoint.
|
2912
|
+
#
|
2913
|
+
# @option params [required, String] :endpoint_name
|
2914
|
+
# The Redshift-managed VPC endpoint to delete.
|
2915
|
+
#
|
2916
|
+
# @return [Types::EndpointAccess] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2917
|
+
#
|
2918
|
+
# * {Types::EndpointAccess#cluster_identifier #cluster_identifier} => String
|
2919
|
+
# * {Types::EndpointAccess#resource_owner #resource_owner} => String
|
2920
|
+
# * {Types::EndpointAccess#subnet_group_name #subnet_group_name} => String
|
2921
|
+
# * {Types::EndpointAccess#endpoint_status #endpoint_status} => String
|
2922
|
+
# * {Types::EndpointAccess#endpoint_name #endpoint_name} => String
|
2923
|
+
# * {Types::EndpointAccess#endpoint_create_time #endpoint_create_time} => Time
|
2924
|
+
# * {Types::EndpointAccess#port #port} => Integer
|
2925
|
+
# * {Types::EndpointAccess#address #address} => String
|
2926
|
+
# * {Types::EndpointAccess#vpc_security_groups #vpc_security_groups} => Array<Types::VpcSecurityGroupMembership>
|
2927
|
+
# * {Types::EndpointAccess#vpc_endpoint #vpc_endpoint} => Types::VpcEndpoint
|
2928
|
+
#
|
2929
|
+
# @example Request syntax with placeholder values
|
2930
|
+
#
|
2931
|
+
# resp = client.delete_endpoint_access({
|
2932
|
+
# endpoint_name: "String", # required
|
2933
|
+
# })
|
2934
|
+
#
|
2935
|
+
# @example Response structure
|
2936
|
+
#
|
2937
|
+
# resp.cluster_identifier #=> String
|
2938
|
+
# resp.resource_owner #=> String
|
2939
|
+
# resp.subnet_group_name #=> String
|
2940
|
+
# resp.endpoint_status #=> String
|
2941
|
+
# resp.endpoint_name #=> String
|
2942
|
+
# resp.endpoint_create_time #=> Time
|
2943
|
+
# resp.port #=> Integer
|
2944
|
+
# resp.address #=> String
|
2945
|
+
# resp.vpc_security_groups #=> Array
|
2946
|
+
# resp.vpc_security_groups[0].vpc_security_group_id #=> String
|
2947
|
+
# resp.vpc_security_groups[0].status #=> String
|
2948
|
+
# resp.vpc_endpoint.vpc_endpoint_id #=> String
|
2949
|
+
# resp.vpc_endpoint.vpc_id #=> String
|
2950
|
+
# resp.vpc_endpoint.network_interfaces #=> Array
|
2951
|
+
# resp.vpc_endpoint.network_interfaces[0].network_interface_id #=> String
|
2952
|
+
# resp.vpc_endpoint.network_interfaces[0].subnet_id #=> String
|
2953
|
+
# resp.vpc_endpoint.network_interfaces[0].private_ip_address #=> String
|
2954
|
+
# resp.vpc_endpoint.network_interfaces[0].availability_zone #=> String
|
2955
|
+
#
|
2956
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteEndpointAccess AWS API Documentation
|
2957
|
+
#
|
2958
|
+
# @overload delete_endpoint_access(params = {})
|
2959
|
+
# @param [Hash] params ({})
|
2960
|
+
def delete_endpoint_access(params = {}, options = {})
|
2961
|
+
req = build_request(:delete_endpoint_access, params)
|
2962
|
+
req.send_request(options)
|
2963
|
+
end
|
2964
|
+
|
2735
2965
|
# Deletes an Amazon Redshift event notification subscription.
|
2736
2966
|
#
|
2737
2967
|
# @option params [required, String] :subscription_name
|
@@ -2799,6 +3029,51 @@ module Aws::Redshift
|
|
2799
3029
|
req.send_request(options)
|
2800
3030
|
end
|
2801
3031
|
|
3032
|
+
# Deletes a partner integration from a cluster. Data can still flow to
|
3033
|
+
# the cluster until the integration is deleted at the partner's
|
3034
|
+
# website.
|
3035
|
+
#
|
3036
|
+
# @option params [required, String] :account_id
|
3037
|
+
# The AWS account ID that owns the cluster.
|
3038
|
+
#
|
3039
|
+
# @option params [required, String] :cluster_identifier
|
3040
|
+
# The cluster identifier of the cluster that receives data from the
|
3041
|
+
# partner.
|
3042
|
+
#
|
3043
|
+
# @option params [required, String] :database_name
|
3044
|
+
# The name of the database that receives data from the partner.
|
3045
|
+
#
|
3046
|
+
# @option params [required, String] :partner_name
|
3047
|
+
# The name of the partner that is authorized to send data.
|
3048
|
+
#
|
3049
|
+
# @return [Types::PartnerIntegrationOutputMessage] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3050
|
+
#
|
3051
|
+
# * {Types::PartnerIntegrationOutputMessage#database_name #database_name} => String
|
3052
|
+
# * {Types::PartnerIntegrationOutputMessage#partner_name #partner_name} => String
|
3053
|
+
#
|
3054
|
+
# @example Request syntax with placeholder values
|
3055
|
+
#
|
3056
|
+
# resp = client.delete_partner({
|
3057
|
+
# account_id: "PartnerIntegrationAccountId", # required
|
3058
|
+
# cluster_identifier: "PartnerIntegrationClusterIdentifier", # required
|
3059
|
+
# database_name: "PartnerIntegrationDatabaseName", # required
|
3060
|
+
# partner_name: "PartnerIntegrationPartnerName", # required
|
3061
|
+
# })
|
3062
|
+
#
|
3063
|
+
# @example Response structure
|
3064
|
+
#
|
3065
|
+
# resp.database_name #=> String
|
3066
|
+
# resp.partner_name #=> String
|
3067
|
+
#
|
3068
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeletePartner AWS API Documentation
|
3069
|
+
#
|
3070
|
+
# @overload delete_partner(params = {})
|
3071
|
+
# @param [Hash] params ({})
|
3072
|
+
def delete_partner(params = {}, options = {})
|
3073
|
+
req = build_request(:delete_partner, params)
|
3074
|
+
req.send_request(options)
|
3075
|
+
end
|
3076
|
+
|
2802
3077
|
# Deletes a scheduled action.
|
2803
3078
|
#
|
2804
3079
|
# @option params [required, String] :scheduled_action_name
|
@@ -4053,6 +4328,151 @@ module Aws::Redshift
|
|
4053
4328
|
req.send_request(options)
|
4054
4329
|
end
|
4055
4330
|
|
4331
|
+
# Describes a Redshift-managed VPC endpoint.
|
4332
|
+
#
|
4333
|
+
# @option params [String] :cluster_identifier
|
4334
|
+
# The cluster identifier associated with the described endpoint.
|
4335
|
+
#
|
4336
|
+
# @option params [String] :resource_owner
|
4337
|
+
# The AWS account ID of the owner of the cluster.
|
4338
|
+
#
|
4339
|
+
# @option params [String] :endpoint_name
|
4340
|
+
# The name of the endpoint to be described.
|
4341
|
+
#
|
4342
|
+
# @option params [String] :vpc_id
|
4343
|
+
# The virtual private cloud (VPC) identifier with access to the cluster.
|
4344
|
+
#
|
4345
|
+
# @option params [Integer] :max_records
|
4346
|
+
# The maximum number of records to include in the response. If more
|
4347
|
+
# records exist than the specified `MaxRecords` value, a pagination
|
4348
|
+
# token called a `Marker` is included in the response so that the
|
4349
|
+
# remaining results can be retrieved.
|
4350
|
+
#
|
4351
|
+
# @option params [String] :marker
|
4352
|
+
# An optional pagination token provided by a previous
|
4353
|
+
# `DescribeEndpointAccess` request. If this parameter is specified, the
|
4354
|
+
# response includes only records beyond the marker, up to the value
|
4355
|
+
# specified by the `MaxRecords` parameter.
|
4356
|
+
#
|
4357
|
+
# @return [Types::EndpointAccessList] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4358
|
+
#
|
4359
|
+
# * {Types::EndpointAccessList#endpoint_access_list #endpoint_access_list} => Array<Types::EndpointAccess>
|
4360
|
+
# * {Types::EndpointAccessList#marker #marker} => String
|
4361
|
+
#
|
4362
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
4363
|
+
#
|
4364
|
+
# @example Request syntax with placeholder values
|
4365
|
+
#
|
4366
|
+
# resp = client.describe_endpoint_access({
|
4367
|
+
# cluster_identifier: "String",
|
4368
|
+
# resource_owner: "String",
|
4369
|
+
# endpoint_name: "String",
|
4370
|
+
# vpc_id: "String",
|
4371
|
+
# max_records: 1,
|
4372
|
+
# marker: "String",
|
4373
|
+
# })
|
4374
|
+
#
|
4375
|
+
# @example Response structure
|
4376
|
+
#
|
4377
|
+
# resp.endpoint_access_list #=> Array
|
4378
|
+
# resp.endpoint_access_list[0].cluster_identifier #=> String
|
4379
|
+
# resp.endpoint_access_list[0].resource_owner #=> String
|
4380
|
+
# resp.endpoint_access_list[0].subnet_group_name #=> String
|
4381
|
+
# resp.endpoint_access_list[0].endpoint_status #=> String
|
4382
|
+
# resp.endpoint_access_list[0].endpoint_name #=> String
|
4383
|
+
# resp.endpoint_access_list[0].endpoint_create_time #=> Time
|
4384
|
+
# resp.endpoint_access_list[0].port #=> Integer
|
4385
|
+
# resp.endpoint_access_list[0].address #=> String
|
4386
|
+
# resp.endpoint_access_list[0].vpc_security_groups #=> Array
|
4387
|
+
# resp.endpoint_access_list[0].vpc_security_groups[0].vpc_security_group_id #=> String
|
4388
|
+
# resp.endpoint_access_list[0].vpc_security_groups[0].status #=> String
|
4389
|
+
# resp.endpoint_access_list[0].vpc_endpoint.vpc_endpoint_id #=> String
|
4390
|
+
# resp.endpoint_access_list[0].vpc_endpoint.vpc_id #=> String
|
4391
|
+
# resp.endpoint_access_list[0].vpc_endpoint.network_interfaces #=> Array
|
4392
|
+
# resp.endpoint_access_list[0].vpc_endpoint.network_interfaces[0].network_interface_id #=> String
|
4393
|
+
# resp.endpoint_access_list[0].vpc_endpoint.network_interfaces[0].subnet_id #=> String
|
4394
|
+
# resp.endpoint_access_list[0].vpc_endpoint.network_interfaces[0].private_ip_address #=> String
|
4395
|
+
# resp.endpoint_access_list[0].vpc_endpoint.network_interfaces[0].availability_zone #=> String
|
4396
|
+
# resp.marker #=> String
|
4397
|
+
#
|
4398
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeEndpointAccess AWS API Documentation
|
4399
|
+
#
|
4400
|
+
# @overload describe_endpoint_access(params = {})
|
4401
|
+
# @param [Hash] params ({})
|
4402
|
+
def describe_endpoint_access(params = {}, options = {})
|
4403
|
+
req = build_request(:describe_endpoint_access, params)
|
4404
|
+
req.send_request(options)
|
4405
|
+
end
|
4406
|
+
|
4407
|
+
# Describes an endpoint authorization.
|
4408
|
+
#
|
4409
|
+
# @option params [String] :cluster_identifier
|
4410
|
+
# The cluster identifier of the cluster to access.
|
4411
|
+
#
|
4412
|
+
# @option params [String] :account
|
4413
|
+
# The AWS account ID of either the cluster owner (grantor) or grantee.
|
4414
|
+
# If `Grantee` parameter is true, then the `Account` value is of the
|
4415
|
+
# grantor.
|
4416
|
+
#
|
4417
|
+
# @option params [Boolean] :grantee
|
4418
|
+
# Indicates whether to check authorization from a grantor or grantee
|
4419
|
+
# point of view. If true, Amazon Redshift returns endpoint
|
4420
|
+
# authorizations that you've been granted. If false (default), checks
|
4421
|
+
# authorization from a grantor point of view.
|
4422
|
+
#
|
4423
|
+
# @option params [Integer] :max_records
|
4424
|
+
# The maximum number of records to include in the response. If more
|
4425
|
+
# records exist than the specified `MaxRecords` value, a pagination
|
4426
|
+
# token called a `Marker` is included in the response so that the
|
4427
|
+
# remaining results can be retrieved.
|
4428
|
+
#
|
4429
|
+
# @option params [String] :marker
|
4430
|
+
# An optional pagination token provided by a previous
|
4431
|
+
# `DescribeEndpointAuthorization` request. If this parameter is
|
4432
|
+
# specified, the response includes only records beyond the marker, up to
|
4433
|
+
# the value specified by the `MaxRecords` parameter.
|
4434
|
+
#
|
4435
|
+
# @return [Types::EndpointAuthorizationList] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4436
|
+
#
|
4437
|
+
# * {Types::EndpointAuthorizationList#endpoint_authorization_list #endpoint_authorization_list} => Array<Types::EndpointAuthorization>
|
4438
|
+
# * {Types::EndpointAuthorizationList#marker #marker} => String
|
4439
|
+
#
|
4440
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
4441
|
+
#
|
4442
|
+
# @example Request syntax with placeholder values
|
4443
|
+
#
|
4444
|
+
# resp = client.describe_endpoint_authorization({
|
4445
|
+
# cluster_identifier: "String",
|
4446
|
+
# account: "String",
|
4447
|
+
# grantee: false,
|
4448
|
+
# max_records: 1,
|
4449
|
+
# marker: "String",
|
4450
|
+
# })
|
4451
|
+
#
|
4452
|
+
# @example Response structure
|
4453
|
+
#
|
4454
|
+
# resp.endpoint_authorization_list #=> Array
|
4455
|
+
# resp.endpoint_authorization_list[0].grantor #=> String
|
4456
|
+
# resp.endpoint_authorization_list[0].grantee #=> String
|
4457
|
+
# resp.endpoint_authorization_list[0].cluster_identifier #=> String
|
4458
|
+
# resp.endpoint_authorization_list[0].authorize_time #=> Time
|
4459
|
+
# resp.endpoint_authorization_list[0].cluster_status #=> String
|
4460
|
+
# resp.endpoint_authorization_list[0].status #=> String, one of "Authorized", "Revoking"
|
4461
|
+
# resp.endpoint_authorization_list[0].allowed_all_vp_cs #=> Boolean
|
4462
|
+
# resp.endpoint_authorization_list[0].allowed_vp_cs #=> Array
|
4463
|
+
# resp.endpoint_authorization_list[0].allowed_vp_cs[0] #=> String
|
4464
|
+
# resp.endpoint_authorization_list[0].endpoint_count #=> Integer
|
4465
|
+
# resp.marker #=> String
|
4466
|
+
#
|
4467
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeEndpointAuthorization AWS API Documentation
|
4468
|
+
#
|
4469
|
+
# @overload describe_endpoint_authorization(params = {})
|
4470
|
+
# @param [Hash] params ({})
|
4471
|
+
def describe_endpoint_authorization(params = {}, options = {})
|
4472
|
+
req = build_request(:describe_endpoint_authorization, params)
|
4473
|
+
req.send_request(options)
|
4474
|
+
end
|
4475
|
+
|
4056
4476
|
# Displays a list of event categories for all event source types, or for
|
4057
4477
|
# a specified source type. For a list of the event categories and source
|
4058
4478
|
# types, go to [Amazon Redshift Event Notifications][1].
|
@@ -4742,6 +5162,57 @@ module Aws::Redshift
|
|
4742
5162
|
req.send_request(options)
|
4743
5163
|
end
|
4744
5164
|
|
5165
|
+
# Returns information about the partner integrations defined for a
|
5166
|
+
# cluster.
|
5167
|
+
#
|
5168
|
+
# @option params [required, String] :account_id
|
5169
|
+
# The AWS account ID that owns the cluster.
|
5170
|
+
#
|
5171
|
+
# @option params [required, String] :cluster_identifier
|
5172
|
+
# The cluster identifier of the cluster whose partner integration is
|
5173
|
+
# being described.
|
5174
|
+
#
|
5175
|
+
# @option params [String] :database_name
|
5176
|
+
# The name of the database whose partner integration is being described.
|
5177
|
+
# If database name is not specified, then all databases in the cluster
|
5178
|
+
# are described.
|
5179
|
+
#
|
5180
|
+
# @option params [String] :partner_name
|
5181
|
+
# The name of the partner that is being described. If partner name is
|
5182
|
+
# not specified, then all partner integrations are described.
|
5183
|
+
#
|
5184
|
+
# @return [Types::DescribePartnersOutputMessage] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5185
|
+
#
|
5186
|
+
# * {Types::DescribePartnersOutputMessage#partner_integration_info_list #partner_integration_info_list} => Array<Types::PartnerIntegrationInfo>
|
5187
|
+
#
|
5188
|
+
# @example Request syntax with placeholder values
|
5189
|
+
#
|
5190
|
+
# resp = client.describe_partners({
|
5191
|
+
# account_id: "PartnerIntegrationAccountId", # required
|
5192
|
+
# cluster_identifier: "PartnerIntegrationClusterIdentifier", # required
|
5193
|
+
# database_name: "PartnerIntegrationDatabaseName",
|
5194
|
+
# partner_name: "PartnerIntegrationPartnerName",
|
5195
|
+
# })
|
5196
|
+
#
|
5197
|
+
# @example Response structure
|
5198
|
+
#
|
5199
|
+
# resp.partner_integration_info_list #=> Array
|
5200
|
+
# resp.partner_integration_info_list[0].database_name #=> String
|
5201
|
+
# resp.partner_integration_info_list[0].partner_name #=> String
|
5202
|
+
# resp.partner_integration_info_list[0].status #=> String, one of "Active", "Inactive", "RuntimeFailure", "ConnectionFailure"
|
5203
|
+
# resp.partner_integration_info_list[0].status_message #=> String
|
5204
|
+
# resp.partner_integration_info_list[0].created_at #=> Time
|
5205
|
+
# resp.partner_integration_info_list[0].updated_at #=> Time
|
5206
|
+
#
|
5207
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribePartners AWS API Documentation
|
5208
|
+
#
|
5209
|
+
# @overload describe_partners(params = {})
|
5210
|
+
# @param [Hash] params ({})
|
5211
|
+
def describe_partners(params = {}, options = {})
|
5212
|
+
req = build_request(:describe_partners, params)
|
5213
|
+
req.send_request(options)
|
5214
|
+
end
|
5215
|
+
|
4745
5216
|
# Returns a list of the available reserved node offerings by Amazon
|
4746
5217
|
# Redshift with their descriptions including the node type, the fixed
|
4747
5218
|
# and recurring costs of reserving the node and duration the node will
|
@@ -7365,6 +7836,65 @@ module Aws::Redshift
|
|
7365
7836
|
req.send_request(options)
|
7366
7837
|
end
|
7367
7838
|
|
7839
|
+
# Modifies a Redshift-managed VPC endpoint.
|
7840
|
+
#
|
7841
|
+
# @option params [required, String] :endpoint_name
|
7842
|
+
# The endpoint to be modified.
|
7843
|
+
#
|
7844
|
+
# @option params [Array<String>] :vpc_security_group_ids
|
7845
|
+
# The complete list of VPC security groups associated with the endpoint
|
7846
|
+
# after the endpoint is modified.
|
7847
|
+
#
|
7848
|
+
# @return [Types::EndpointAccess] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
7849
|
+
#
|
7850
|
+
# * {Types::EndpointAccess#cluster_identifier #cluster_identifier} => String
|
7851
|
+
# * {Types::EndpointAccess#resource_owner #resource_owner} => String
|
7852
|
+
# * {Types::EndpointAccess#subnet_group_name #subnet_group_name} => String
|
7853
|
+
# * {Types::EndpointAccess#endpoint_status #endpoint_status} => String
|
7854
|
+
# * {Types::EndpointAccess#endpoint_name #endpoint_name} => String
|
7855
|
+
# * {Types::EndpointAccess#endpoint_create_time #endpoint_create_time} => Time
|
7856
|
+
# * {Types::EndpointAccess#port #port} => Integer
|
7857
|
+
# * {Types::EndpointAccess#address #address} => String
|
7858
|
+
# * {Types::EndpointAccess#vpc_security_groups #vpc_security_groups} => Array<Types::VpcSecurityGroupMembership>
|
7859
|
+
# * {Types::EndpointAccess#vpc_endpoint #vpc_endpoint} => Types::VpcEndpoint
|
7860
|
+
#
|
7861
|
+
# @example Request syntax with placeholder values
|
7862
|
+
#
|
7863
|
+
# resp = client.modify_endpoint_access({
|
7864
|
+
# endpoint_name: "String", # required
|
7865
|
+
# vpc_security_group_ids: ["String"],
|
7866
|
+
# })
|
7867
|
+
#
|
7868
|
+
# @example Response structure
|
7869
|
+
#
|
7870
|
+
# resp.cluster_identifier #=> String
|
7871
|
+
# resp.resource_owner #=> String
|
7872
|
+
# resp.subnet_group_name #=> String
|
7873
|
+
# resp.endpoint_status #=> String
|
7874
|
+
# resp.endpoint_name #=> String
|
7875
|
+
# resp.endpoint_create_time #=> Time
|
7876
|
+
# resp.port #=> Integer
|
7877
|
+
# resp.address #=> String
|
7878
|
+
# resp.vpc_security_groups #=> Array
|
7879
|
+
# resp.vpc_security_groups[0].vpc_security_group_id #=> String
|
7880
|
+
# resp.vpc_security_groups[0].status #=> String
|
7881
|
+
# resp.vpc_endpoint.vpc_endpoint_id #=> String
|
7882
|
+
# resp.vpc_endpoint.vpc_id #=> String
|
7883
|
+
# resp.vpc_endpoint.network_interfaces #=> Array
|
7884
|
+
# resp.vpc_endpoint.network_interfaces[0].network_interface_id #=> String
|
7885
|
+
# resp.vpc_endpoint.network_interfaces[0].subnet_id #=> String
|
7886
|
+
# resp.vpc_endpoint.network_interfaces[0].private_ip_address #=> String
|
7887
|
+
# resp.vpc_endpoint.network_interfaces[0].availability_zone #=> String
|
7888
|
+
#
|
7889
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyEndpointAccess AWS API Documentation
|
7890
|
+
#
|
7891
|
+
# @overload modify_endpoint_access(params = {})
|
7892
|
+
# @param [Hash] params ({})
|
7893
|
+
def modify_endpoint_access(params = {}, options = {})
|
7894
|
+
req = build_request(:modify_endpoint_access, params)
|
7895
|
+
req.send_request(options)
|
7896
|
+
end
|
7897
|
+
|
7368
7898
|
# Modifies an existing Amazon Redshift event notification subscription.
|
7369
7899
|
#
|
7370
7900
|
# @option params [required, String] :subscription_name
|
@@ -8880,6 +9410,11 @@ module Aws::Redshift
|
|
8880
9410
|
# @option params [required, String] :new_table_name
|
8881
9411
|
# The name of the table to create as a result of the current request.
|
8882
9412
|
#
|
9413
|
+
# @option params [Boolean] :enable_case_sensitive_identifier
|
9414
|
+
# Indicates whether name identifiers for database, schema, and table are
|
9415
|
+
# case sensitive. If `true`, the names are case sensitive. If `false`
|
9416
|
+
# (default), the names are not case sensitive.
|
9417
|
+
#
|
8883
9418
|
# @return [Types::RestoreTableFromClusterSnapshotResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
8884
9419
|
#
|
8885
9420
|
# * {Types::RestoreTableFromClusterSnapshotResult#table_restore_status #table_restore_status} => Types::TableRestoreStatus
|
@@ -8895,6 +9430,7 @@ module Aws::Redshift
|
|
8895
9430
|
# target_database_name: "String",
|
8896
9431
|
# target_schema_name: "String",
|
8897
9432
|
# new_table_name: "String", # required
|
9433
|
+
# enable_case_sensitive_identifier: false,
|
8898
9434
|
# })
|
8899
9435
|
#
|
8900
9436
|
# @example Response structure
|
@@ -9135,6 +9671,66 @@ module Aws::Redshift
|
|
9135
9671
|
req.send_request(options)
|
9136
9672
|
end
|
9137
9673
|
|
9674
|
+
# Revokes access to a cluster.
|
9675
|
+
#
|
9676
|
+
# @option params [String] :cluster_identifier
|
9677
|
+
# The cluster to revoke access from.
|
9678
|
+
#
|
9679
|
+
# @option params [String] :account
|
9680
|
+
# The AWS account ID whose access is to be revoked.
|
9681
|
+
#
|
9682
|
+
# @option params [Array<String>] :vpc_ids
|
9683
|
+
# The virtual private cloud (VPC) identifiers for which access is to be
|
9684
|
+
# revoked.
|
9685
|
+
#
|
9686
|
+
# @option params [Boolean] :force
|
9687
|
+
# Indicates whether to force the revoke action. If true, the
|
9688
|
+
# Redshift-managed VPC endpoints associated with the endpoint
|
9689
|
+
# authorization are also deleted.
|
9690
|
+
#
|
9691
|
+
# @return [Types::EndpointAuthorization] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
9692
|
+
#
|
9693
|
+
# * {Types::EndpointAuthorization#grantor #grantor} => String
|
9694
|
+
# * {Types::EndpointAuthorization#grantee #grantee} => String
|
9695
|
+
# * {Types::EndpointAuthorization#cluster_identifier #cluster_identifier} => String
|
9696
|
+
# * {Types::EndpointAuthorization#authorize_time #authorize_time} => Time
|
9697
|
+
# * {Types::EndpointAuthorization#cluster_status #cluster_status} => String
|
9698
|
+
# * {Types::EndpointAuthorization#status #status} => String
|
9699
|
+
# * {Types::EndpointAuthorization#allowed_all_vp_cs #allowed_all_vp_cs} => Boolean
|
9700
|
+
# * {Types::EndpointAuthorization#allowed_vp_cs #allowed_vp_cs} => Array<String>
|
9701
|
+
# * {Types::EndpointAuthorization#endpoint_count #endpoint_count} => Integer
|
9702
|
+
#
|
9703
|
+
# @example Request syntax with placeholder values
|
9704
|
+
#
|
9705
|
+
# resp = client.revoke_endpoint_access({
|
9706
|
+
# cluster_identifier: "String",
|
9707
|
+
# account: "String",
|
9708
|
+
# vpc_ids: ["String"],
|
9709
|
+
# force: false,
|
9710
|
+
# })
|
9711
|
+
#
|
9712
|
+
# @example Response structure
|
9713
|
+
#
|
9714
|
+
# resp.grantor #=> String
|
9715
|
+
# resp.grantee #=> String
|
9716
|
+
# resp.cluster_identifier #=> String
|
9717
|
+
# resp.authorize_time #=> Time
|
9718
|
+
# resp.cluster_status #=> String
|
9719
|
+
# resp.status #=> String, one of "Authorized", "Revoking"
|
9720
|
+
# resp.allowed_all_vp_cs #=> Boolean
|
9721
|
+
# resp.allowed_vp_cs #=> Array
|
9722
|
+
# resp.allowed_vp_cs[0] #=> String
|
9723
|
+
# resp.endpoint_count #=> Integer
|
9724
|
+
#
|
9725
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RevokeEndpointAccess AWS API Documentation
|
9726
|
+
#
|
9727
|
+
# @overload revoke_endpoint_access(params = {})
|
9728
|
+
# @param [Hash] params ({})
|
9729
|
+
def revoke_endpoint_access(params = {}, options = {})
|
9730
|
+
req = build_request(:revoke_endpoint_access, params)
|
9731
|
+
req.send_request(options)
|
9732
|
+
end
|
9733
|
+
|
9138
9734
|
# Removes the ability of the specified AWS customer account to restore
|
9139
9735
|
# the specified snapshot. If the account is currently restoring the
|
9140
9736
|
# snapshot, the restore will run to completion.
|
@@ -9362,6 +9958,58 @@ module Aws::Redshift
|
|
9362
9958
|
req.send_request(options)
|
9363
9959
|
end
|
9364
9960
|
|
9961
|
+
# Updates the status of a partner integration.
|
9962
|
+
#
|
9963
|
+
# @option params [required, String] :account_id
|
9964
|
+
# The AWS account ID that owns the cluster.
|
9965
|
+
#
|
9966
|
+
# @option params [required, String] :cluster_identifier
|
9967
|
+
# The cluster identifier of the cluster whose partner integration status
|
9968
|
+
# is being updated.
|
9969
|
+
#
|
9970
|
+
# @option params [required, String] :database_name
|
9971
|
+
# The name of the database whose partner integration status is being
|
9972
|
+
# updated.
|
9973
|
+
#
|
9974
|
+
# @option params [required, String] :partner_name
|
9975
|
+
# The name of the partner whose integration status is being updated.
|
9976
|
+
#
|
9977
|
+
# @option params [required, String] :status
|
9978
|
+
# The value of the updated status.
|
9979
|
+
#
|
9980
|
+
# @option params [String] :status_message
|
9981
|
+
# The status message provided by the partner.
|
9982
|
+
#
|
9983
|
+
# @return [Types::PartnerIntegrationOutputMessage] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
9984
|
+
#
|
9985
|
+
# * {Types::PartnerIntegrationOutputMessage#database_name #database_name} => String
|
9986
|
+
# * {Types::PartnerIntegrationOutputMessage#partner_name #partner_name} => String
|
9987
|
+
#
|
9988
|
+
# @example Request syntax with placeholder values
|
9989
|
+
#
|
9990
|
+
# resp = client.update_partner_status({
|
9991
|
+
# account_id: "PartnerIntegrationAccountId", # required
|
9992
|
+
# cluster_identifier: "PartnerIntegrationClusterIdentifier", # required
|
9993
|
+
# database_name: "PartnerIntegrationDatabaseName", # required
|
9994
|
+
# partner_name: "PartnerIntegrationPartnerName", # required
|
9995
|
+
# status: "Active", # required, accepts Active, Inactive, RuntimeFailure, ConnectionFailure
|
9996
|
+
# status_message: "PartnerIntegrationStatusMessage",
|
9997
|
+
# })
|
9998
|
+
#
|
9999
|
+
# @example Response structure
|
10000
|
+
#
|
10001
|
+
# resp.database_name #=> String
|
10002
|
+
# resp.partner_name #=> String
|
10003
|
+
#
|
10004
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/UpdatePartnerStatus AWS API Documentation
|
10005
|
+
#
|
10006
|
+
# @overload update_partner_status(params = {})
|
10007
|
+
# @param [Hash] params ({})
|
10008
|
+
def update_partner_status(params = {}, options = {})
|
10009
|
+
req = build_request(:update_partner_status, params)
|
10010
|
+
req.send_request(options)
|
10011
|
+
end
|
10012
|
+
|
9365
10013
|
# @!endgroup
|
9366
10014
|
|
9367
10015
|
# @param params ({})
|
@@ -9375,7 +10023,7 @@ module Aws::Redshift
|
|
9375
10023
|
params: params,
|
9376
10024
|
config: config)
|
9377
10025
|
context[:gem_name] = 'aws-sdk-redshift'
|
9378
|
-
context[:gem_version] = '1.
|
10026
|
+
context[:gem_version] = '1.62.0'
|
9379
10027
|
Seahorse::Client::Request.new(handlers, context)
|
9380
10028
|
end
|
9381
10029
|
|