aws-sdk-redshift 1.58.0 → 1.59.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -49,6 +49,12 @@ module Aws::Redshift
49
49
  include Aws::Structure
50
50
  end
51
51
 
52
+ # You are not authorized to access the cluster.
53
+ #
54
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AccessToClusterDeniedFault AWS API Documentation
55
+ #
56
+ class AccessToClusterDeniedFault < Aws::EmptyStructure; end
57
+
52
58
  # The owner of the specified snapshot has not authorized your account to
53
59
  # access the snapshot.
54
60
  #
@@ -198,6 +204,37 @@ module Aws::Redshift
198
204
  include Aws::Structure
199
205
  end
200
206
 
207
+ # @note When making an API call, you may pass AuthorizeEndpointAccessMessage
208
+ # data as a hash:
209
+ #
210
+ # {
211
+ # cluster_identifier: "String",
212
+ # account: "String", # required
213
+ # vpc_ids: ["String"],
214
+ # }
215
+ #
216
+ # @!attribute [rw] cluster_identifier
217
+ # The cluster identifier of the cluster to grant access to.
218
+ # @return [String]
219
+ #
220
+ # @!attribute [rw] account
221
+ # The AWS account ID to grant access to.
222
+ # @return [String]
223
+ #
224
+ # @!attribute [rw] vpc_ids
225
+ # The virtual private cloud (VPC) identifiers to grant access to.
226
+ # @return [Array<String>]
227
+ #
228
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AuthorizeEndpointAccessMessage AWS API Documentation
229
+ #
230
+ class AuthorizeEndpointAccessMessage < Struct.new(
231
+ :cluster_identifier,
232
+ :account,
233
+ :vpc_ids)
234
+ SENSITIVE = []
235
+ include Aws::Structure
236
+ end
237
+
201
238
  # @note When making an API call, you may pass AuthorizeSnapshotAccessMessage
202
239
  # data as a hash:
203
240
  #
@@ -2320,6 +2357,57 @@ module Aws::Redshift
2320
2357
  include Aws::Structure
2321
2358
  end
2322
2359
 
2360
+ # @note When making an API call, you may pass CreateEndpointAccessMessage
2361
+ # data as a hash:
2362
+ #
2363
+ # {
2364
+ # cluster_identifier: "String",
2365
+ # resource_owner: "String",
2366
+ # endpoint_name: "String", # required
2367
+ # subnet_group_name: "String", # required
2368
+ # vpc_security_group_ids: ["String"],
2369
+ # }
2370
+ #
2371
+ # @!attribute [rw] cluster_identifier
2372
+ # The cluster identifier of the cluster to access.
2373
+ # @return [String]
2374
+ #
2375
+ # @!attribute [rw] resource_owner
2376
+ # The AWS account ID of the owner of the cluster. This is only
2377
+ # required if the cluster is in another AWS account.
2378
+ # @return [String]
2379
+ #
2380
+ # @!attribute [rw] endpoint_name
2381
+ # The Redshift-managed VPC endpoint name.
2382
+ #
2383
+ # An endpoint name must contain 1-30 characters. Valid characters are
2384
+ # A-Z, a-z, 0-9, and hyphen(-). The first character must be a letter.
2385
+ # The name can't contain two consecutive hyphens or end with a
2386
+ # hyphen.
2387
+ # @return [String]
2388
+ #
2389
+ # @!attribute [rw] subnet_group_name
2390
+ # The subnet group from which Amazon Redshift chooses the subnet to
2391
+ # deploy the endpoint.
2392
+ # @return [String]
2393
+ #
2394
+ # @!attribute [rw] vpc_security_group_ids
2395
+ # The security group that defines the ports, protocols, and sources
2396
+ # for inbound traffic that you are authorizing into your endpoint.
2397
+ # @return [Array<String>]
2398
+ #
2399
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateEndpointAccessMessage AWS API Documentation
2400
+ #
2401
+ class CreateEndpointAccessMessage < Struct.new(
2402
+ :cluster_identifier,
2403
+ :resource_owner,
2404
+ :endpoint_name,
2405
+ :subnet_group_name,
2406
+ :vpc_security_group_ids)
2407
+ SENSITIVE = []
2408
+ include Aws::Structure
2409
+ end
2410
+
2323
2411
  # @note When making an API call, you may pass CreateEventSubscriptionMessage
2324
2412
  # data as a hash:
2325
2413
  #
@@ -3193,6 +3281,25 @@ module Aws::Redshift
3193
3281
  include Aws::Structure
3194
3282
  end
3195
3283
 
3284
+ # @note When making an API call, you may pass DeleteEndpointAccessMessage
3285
+ # data as a hash:
3286
+ #
3287
+ # {
3288
+ # endpoint_name: "String", # required
3289
+ # }
3290
+ #
3291
+ # @!attribute [rw] endpoint_name
3292
+ # The Redshift-managed VPC endpoint to delete.
3293
+ # @return [String]
3294
+ #
3295
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteEndpointAccessMessage AWS API Documentation
3296
+ #
3297
+ class DeleteEndpointAccessMessage < Struct.new(
3298
+ :endpoint_name)
3299
+ SENSITIVE = []
3300
+ include Aws::Structure
3301
+ end
3302
+
3196
3303
  # @note When making an API call, you may pass DeleteEventSubscriptionMessage
3197
3304
  # data as a hash:
3198
3305
  #
@@ -4109,6 +4216,104 @@ module Aws::Redshift
4109
4216
  include Aws::Structure
4110
4217
  end
4111
4218
 
4219
+ # @note When making an API call, you may pass DescribeEndpointAccessMessage
4220
+ # data as a hash:
4221
+ #
4222
+ # {
4223
+ # cluster_identifier: "String",
4224
+ # resource_owner: "String",
4225
+ # endpoint_name: "String",
4226
+ # vpc_id: "String",
4227
+ # max_records: 1,
4228
+ # marker: "String",
4229
+ # }
4230
+ #
4231
+ # @!attribute [rw] cluster_identifier
4232
+ # The cluster identifier associated with the described endpoint.
4233
+ # @return [String]
4234
+ #
4235
+ # @!attribute [rw] resource_owner
4236
+ # The AWS account ID of the owner of the cluster.
4237
+ # @return [String]
4238
+ #
4239
+ # @!attribute [rw] endpoint_name
4240
+ # The name of the endpoint to be described.
4241
+ # @return [String]
4242
+ #
4243
+ # @!attribute [rw] vpc_id
4244
+ # The virtual private cloud (VPC) identifier with access to the
4245
+ # cluster.
4246
+ # @return [String]
4247
+ #
4248
+ # @!attribute [rw] max_records
4249
+ # Reserved for Amazon Redshift internal use.
4250
+ # @return [Integer]
4251
+ #
4252
+ # @!attribute [rw] marker
4253
+ # Reserved for Amazon Redshift internal use.
4254
+ # @return [String]
4255
+ #
4256
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeEndpointAccessMessage AWS API Documentation
4257
+ #
4258
+ class DescribeEndpointAccessMessage < Struct.new(
4259
+ :cluster_identifier,
4260
+ :resource_owner,
4261
+ :endpoint_name,
4262
+ :vpc_id,
4263
+ :max_records,
4264
+ :marker)
4265
+ SENSITIVE = []
4266
+ include Aws::Structure
4267
+ end
4268
+
4269
+ # @note When making an API call, you may pass DescribeEndpointAuthorizationMessage
4270
+ # data as a hash:
4271
+ #
4272
+ # {
4273
+ # cluster_identifier: "String",
4274
+ # account: "String",
4275
+ # grantee: false,
4276
+ # max_records: 1,
4277
+ # marker: "String",
4278
+ # }
4279
+ #
4280
+ # @!attribute [rw] cluster_identifier
4281
+ # The cluster identifier of the cluster to access.
4282
+ # @return [String]
4283
+ #
4284
+ # @!attribute [rw] account
4285
+ # The AWS account ID of either the cluster owner (grantor) or grantee.
4286
+ # If `Grantee` parameter is true, then the `Account` value is of the
4287
+ # grantor.
4288
+ # @return [String]
4289
+ #
4290
+ # @!attribute [rw] grantee
4291
+ # Indicates whether to check authorization from a grantor or grantee
4292
+ # point of view. If true, Amazon Redshift returns endpoint
4293
+ # authorizations that you've been granted. If false (default), checks
4294
+ # authorization from a grantor point of view.
4295
+ # @return [Boolean]
4296
+ #
4297
+ # @!attribute [rw] max_records
4298
+ # Reserved for Amazon Redshift internal use.
4299
+ # @return [Integer]
4300
+ #
4301
+ # @!attribute [rw] marker
4302
+ # Reserved for Amazon Redshift internal use.
4303
+ # @return [String]
4304
+ #
4305
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeEndpointAuthorizationMessage AWS API Documentation
4306
+ #
4307
+ class DescribeEndpointAuthorizationMessage < Struct.new(
4308
+ :cluster_identifier,
4309
+ :account,
4310
+ :grantee,
4311
+ :max_records,
4312
+ :marker)
4313
+ SENSITIVE = []
4314
+ include Aws::Structure
4315
+ end
4316
+
4112
4317
  # @note When making an API call, you may pass DescribeEventCategoriesMessage
4113
4318
  # data as a hash:
4114
4319
  #
@@ -5475,6 +5680,204 @@ module Aws::Redshift
5475
5680
  include Aws::Structure
5476
5681
  end
5477
5682
 
5683
+ # Describes a Redshift-managed VPC endpoint.
5684
+ #
5685
+ # @!attribute [rw] cluster_identifier
5686
+ # The cluster identifier of the cluster associated with the endpoint.
5687
+ # @return [String]
5688
+ #
5689
+ # @!attribute [rw] resource_owner
5690
+ # The AWS account ID of the owner of the cluster.
5691
+ # @return [String]
5692
+ #
5693
+ # @!attribute [rw] subnet_group_name
5694
+ # The subnet group name where Amazon Redshift chooses to deploy the
5695
+ # endpoint.
5696
+ # @return [String]
5697
+ #
5698
+ # @!attribute [rw] endpoint_status
5699
+ # The status of the endpoint.
5700
+ # @return [String]
5701
+ #
5702
+ # @!attribute [rw] endpoint_name
5703
+ # The name of the endpoint.
5704
+ # @return [String]
5705
+ #
5706
+ # @!attribute [rw] endpoint_create_time
5707
+ # The time (UTC) that the endpoint was created.
5708
+ # @return [Time]
5709
+ #
5710
+ # @!attribute [rw] port
5711
+ # The port number on which the cluster accepts incoming connections.
5712
+ # @return [Integer]
5713
+ #
5714
+ # @!attribute [rw] address
5715
+ # The DNS address of the endpoint.
5716
+ # @return [String]
5717
+ #
5718
+ # @!attribute [rw] vpc_security_groups
5719
+ # The security groups associated with the endpoint.
5720
+ # @return [Array<Types::VpcSecurityGroupMembership>]
5721
+ #
5722
+ # @!attribute [rw] vpc_endpoint
5723
+ # The connection endpoint for connecting to an Amazon Redshift cluster
5724
+ # through the proxy.
5725
+ # @return [Types::VpcEndpoint]
5726
+ #
5727
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/EndpointAccess AWS API Documentation
5728
+ #
5729
+ class EndpointAccess < Struct.new(
5730
+ :cluster_identifier,
5731
+ :resource_owner,
5732
+ :subnet_group_name,
5733
+ :endpoint_status,
5734
+ :endpoint_name,
5735
+ :endpoint_create_time,
5736
+ :port,
5737
+ :address,
5738
+ :vpc_security_groups,
5739
+ :vpc_endpoint)
5740
+ SENSITIVE = []
5741
+ include Aws::Structure
5742
+ end
5743
+
5744
+ # @!attribute [rw] endpoint_access_list
5745
+ # The list of endpoints with access to the cluster.
5746
+ # @return [Array<Types::EndpointAccess>]
5747
+ #
5748
+ # @!attribute [rw] marker
5749
+ # Reserved for Amazon Redshift internal use.
5750
+ # @return [String]
5751
+ #
5752
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/EndpointAccessList AWS API Documentation
5753
+ #
5754
+ class EndpointAccessList < Struct.new(
5755
+ :endpoint_access_list,
5756
+ :marker)
5757
+ SENSITIVE = []
5758
+ include Aws::Structure
5759
+ end
5760
+
5761
+ # The account already has a Redshift-managed VPC endpoint with the given
5762
+ # identifier.
5763
+ #
5764
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/EndpointAlreadyExistsFault AWS API Documentation
5765
+ #
5766
+ class EndpointAlreadyExistsFault < Aws::EmptyStructure; end
5767
+
5768
+ # Describes an endpoint authorization for authorizing Redshift-managed
5769
+ # VPC endpoint access to a cluster across AWS accounts.
5770
+ #
5771
+ # @!attribute [rw] grantor
5772
+ # The AWS account ID of the cluster owner.
5773
+ # @return [String]
5774
+ #
5775
+ # @!attribute [rw] grantee
5776
+ # The AWS account ID of the grantee of the cluster.
5777
+ # @return [String]
5778
+ #
5779
+ # @!attribute [rw] cluster_identifier
5780
+ # The cluster identifier.
5781
+ # @return [String]
5782
+ #
5783
+ # @!attribute [rw] authorize_time
5784
+ # The time (UTC) when the authorization was created.
5785
+ # @return [Time]
5786
+ #
5787
+ # @!attribute [rw] cluster_status
5788
+ # The status of the cluster.
5789
+ # @return [String]
5790
+ #
5791
+ # @!attribute [rw] status
5792
+ # The status of the authorization action.
5793
+ # @return [String]
5794
+ #
5795
+ # @!attribute [rw] allowed_all_vp_cs
5796
+ # Indicates whether all VPCs in the grantee account are allowed access
5797
+ # to the cluster.
5798
+ # @return [Boolean]
5799
+ #
5800
+ # @!attribute [rw] allowed_vp_cs
5801
+ # The VPCs allowed access to the cluster.
5802
+ # @return [Array<String>]
5803
+ #
5804
+ # @!attribute [rw] endpoint_count
5805
+ # The number of Redshift-managed VPC endpoints created for the
5806
+ # authorization.
5807
+ # @return [Integer]
5808
+ #
5809
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/EndpointAuthorization AWS API Documentation
5810
+ #
5811
+ class EndpointAuthorization < Struct.new(
5812
+ :grantor,
5813
+ :grantee,
5814
+ :cluster_identifier,
5815
+ :authorize_time,
5816
+ :cluster_status,
5817
+ :status,
5818
+ :allowed_all_vp_cs,
5819
+ :allowed_vp_cs,
5820
+ :endpoint_count)
5821
+ SENSITIVE = []
5822
+ include Aws::Structure
5823
+ end
5824
+
5825
+ # The authorization already exists for this endpoint.
5826
+ #
5827
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/EndpointAuthorizationAlreadyExistsFault AWS API Documentation
5828
+ #
5829
+ class EndpointAuthorizationAlreadyExistsFault < Aws::EmptyStructure; end
5830
+
5831
+ # @!attribute [rw] endpoint_authorization_list
5832
+ # The authorizations to an endpoint.
5833
+ # @return [Array<Types::EndpointAuthorization>]
5834
+ #
5835
+ # @!attribute [rw] marker
5836
+ # Reserved for Amazon Redshift internal use.
5837
+ # @return [String]
5838
+ #
5839
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/EndpointAuthorizationList AWS API Documentation
5840
+ #
5841
+ class EndpointAuthorizationList < Struct.new(
5842
+ :endpoint_authorization_list,
5843
+ :marker)
5844
+ SENSITIVE = []
5845
+ include Aws::Structure
5846
+ end
5847
+
5848
+ # The authorization for this endpoint can't be found.
5849
+ #
5850
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/EndpointAuthorizationNotFoundFault AWS API Documentation
5851
+ #
5852
+ class EndpointAuthorizationNotFoundFault < Aws::EmptyStructure; end
5853
+
5854
+ # The number of endpoint authorizations per cluster has exceeded its
5855
+ # limit.
5856
+ #
5857
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/EndpointAuthorizationsPerClusterLimitExceededFault AWS API Documentation
5858
+ #
5859
+ class EndpointAuthorizationsPerClusterLimitExceededFault < Aws::EmptyStructure; end
5860
+
5861
+ # The endpoint name doesn't refer to an existing endpoint.
5862
+ #
5863
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/EndpointNotFoundFault AWS API Documentation
5864
+ #
5865
+ class EndpointNotFoundFault < Aws::EmptyStructure; end
5866
+
5867
+ # The number of Redshift-managed VPC endpoints per authorization has
5868
+ # exceeded its limit.
5869
+ #
5870
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/EndpointsPerAuthorizationLimitExceededFault AWS API Documentation
5871
+ #
5872
+ class EndpointsPerAuthorizationLimitExceededFault < Aws::EmptyStructure; end
5873
+
5874
+ # The number of Redshift-managed VPC endpoints per cluster has exceeded
5875
+ # its limit.
5876
+ #
5877
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/EndpointsPerClusterLimitExceededFault AWS API Documentation
5878
+ #
5879
+ class EndpointsPerClusterLimitExceededFault < Aws::EmptyStructure; end
5880
+
5478
5881
  # Describes an event.
5479
5882
  #
5480
5883
  # @!attribute [rw] source_identifier
@@ -6166,6 +6569,12 @@ module Aws::Redshift
6166
6569
  #
6167
6570
  class InsufficientS3BucketPolicyFault < Aws::EmptyStructure; end
6168
6571
 
6572
+ # The status of the authorization is not valid.
6573
+ #
6574
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/InvalidAuthorizationStateFault AWS API Documentation
6575
+ #
6576
+ class InvalidAuthorizationStateFault < Aws::EmptyStructure; end
6577
+
6169
6578
  # The cluster parameter group action can not be completed because
6170
6579
  # another task is in progress that involves the parameter group. Wait a
6171
6580
  # few moments and try the operation again.
@@ -6223,6 +6632,12 @@ module Aws::Redshift
6223
6632
  #
6224
6633
  class InvalidElasticIpFault < Aws::EmptyStructure; end
6225
6634
 
6635
+ # The status of the endpoint is not valid.
6636
+ #
6637
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/InvalidEndpointStateFault AWS API Documentation
6638
+ #
6639
+ class InvalidEndpointStateFault < Aws::EmptyStructure; end
6640
+
6226
6641
  # The specified HSM client certificate is not in the `available` state,
6227
6642
  # or it is still in use by one or more Amazon Redshift clusters.
6228
6643
  #
@@ -7108,6 +7523,32 @@ module Aws::Redshift
7108
7523
  include Aws::Structure
7109
7524
  end
7110
7525
 
7526
+ # @note When making an API call, you may pass ModifyEndpointAccessMessage
7527
+ # data as a hash:
7528
+ #
7529
+ # {
7530
+ # endpoint_name: "String", # required
7531
+ # vpc_security_group_ids: ["String"],
7532
+ # }
7533
+ #
7534
+ # @!attribute [rw] endpoint_name
7535
+ # The endpoint to be modified.
7536
+ # @return [String]
7537
+ #
7538
+ # @!attribute [rw] vpc_security_group_ids
7539
+ # The complete list of VPC security groups associated with the
7540
+ # endpoint after the endpoint is modified.
7541
+ # @return [Array<String>]
7542
+ #
7543
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyEndpointAccessMessage AWS API Documentation
7544
+ #
7545
+ class ModifyEndpointAccessMessage < Struct.new(
7546
+ :endpoint_name,
7547
+ :vpc_security_group_ids)
7548
+ SENSITIVE = []
7549
+ include Aws::Structure
7550
+ end
7551
+
7111
7552
  # @note When making an API call, you may pass ModifyEventSubscriptionMessage
7112
7553
  # data as a hash:
7113
7554
  #
@@ -8978,6 +9419,46 @@ module Aws::Redshift
8978
9419
  include Aws::Structure
8979
9420
  end
8980
9421
 
9422
+ # @note When making an API call, you may pass RevokeEndpointAccessMessage
9423
+ # data as a hash:
9424
+ #
9425
+ # {
9426
+ # cluster_identifier: "String",
9427
+ # account: "String",
9428
+ # vpc_ids: ["String"],
9429
+ # force: false,
9430
+ # }
9431
+ #
9432
+ # @!attribute [rw] cluster_identifier
9433
+ # The cluster to revoke access from.
9434
+ # @return [String]
9435
+ #
9436
+ # @!attribute [rw] account
9437
+ # The AWS account ID whose access is to be revoked.
9438
+ # @return [String]
9439
+ #
9440
+ # @!attribute [rw] vpc_ids
9441
+ # The virtual private cloud (VPC) identifiers for which access is to
9442
+ # be revoked.
9443
+ # @return [Array<String>]
9444
+ #
9445
+ # @!attribute [rw] force
9446
+ # Indicates whether to force the revoke action. If true, the
9447
+ # Redshift-managed VPC endpoints associated with the endpoint
9448
+ # authorization are also deleted.
9449
+ # @return [Boolean]
9450
+ #
9451
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RevokeEndpointAccessMessage AWS API Documentation
9452
+ #
9453
+ class RevokeEndpointAccessMessage < Struct.new(
9454
+ :cluster_identifier,
9455
+ :account,
9456
+ :vpc_ids,
9457
+ :force)
9458
+ SENSITIVE = []
9459
+ include Aws::Structure
9460
+ end
9461
+
8981
9462
  # @note When making an API call, you may pass RevokeSnapshotAccessMessage
8982
9463
  # data as a hash:
8983
9464
  #
@@ -10266,7 +10747,7 @@ module Aws::Redshift
10266
10747
  #
10267
10748
  class UsageLimitNotFoundFault < Aws::EmptyStructure; end
10268
10749
 
10269
- # The connection endpoint for connecting an Amazon Redshift cluster
10750
+ # The connection endpoint for connecting to an Amazon Redshift cluster
10270
10751
  # through the proxy.
10271
10752
  #
10272
10753
  # @!attribute [rw] vpc_endpoint_id