aws-sdk-redshift 1.99.0 → 1.100.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/client.rb +155 -1
- data/lib/aws-sdk-redshift/client_api.rb +118 -0
- data/lib/aws-sdk-redshift/endpoint_provider.rb +2 -2
- data/lib/aws-sdk-redshift/endpoints.rb +56 -0
- data/lib/aws-sdk-redshift/errors.rb +33 -0
- data/lib/aws-sdk-redshift/plugins/endpoints.rb +8 -0
- data/lib/aws-sdk-redshift/types.rb +230 -0
- data/lib/aws-sdk-redshift.rb +1 -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: 3db7ac89d6b02321e5f620f09792b2e8190ebdd7c128393e6260fc98a0aabefc
|
4
|
+
data.tar.gz: e4f13d91086b6bf740f0897b38d82c36425bd2270d46271a395bb8d501fc11f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 89488448d7a364e44c275c015a0e81162b6da2511b9cfd04d93e355ea1b88148d6ae00d82ff997148fb5383aec0412b8d87a20e75fc03b31b90093e0ba6f0e64
|
7
|
+
data.tar.gz: 3b619562b1fd304e80cc49ea6195221850fba9c5b33e5a00d9d7cfd26dcc20c9bcb2bdf614152ae292151bd2d0dd56e7d2bd857ac6e24a50806e9b6ea1abae42
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.100.0 (2023-10-26)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Add Redshift APIs GetResourcePolicy, DeleteResourcePolicy, PutResourcePolicy and DescribeInboundIntegrations for the new Amazon Redshift Zero-ETL integration feature, which can be used to control data ingress into Redshift namespace, and view inbound integrations.
|
8
|
+
|
4
9
|
1.99.0 (2023-10-16)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.100.0
|
@@ -3515,6 +3515,29 @@ module Aws::Redshift
|
|
3515
3515
|
req.send_request(options)
|
3516
3516
|
end
|
3517
3517
|
|
3518
|
+
# Deletes the resource policy for a specified resource.
|
3519
|
+
#
|
3520
|
+
# @option params [required, String] :resource_arn
|
3521
|
+
# The Amazon Resource Name (ARN) of the resource of which its resource
|
3522
|
+
# policy is deleted.
|
3523
|
+
#
|
3524
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3525
|
+
#
|
3526
|
+
# @example Request syntax with placeholder values
|
3527
|
+
#
|
3528
|
+
# resp = client.delete_resource_policy({
|
3529
|
+
# resource_arn: "String", # required
|
3530
|
+
# })
|
3531
|
+
#
|
3532
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteResourcePolicy AWS API Documentation
|
3533
|
+
#
|
3534
|
+
# @overload delete_resource_policy(params = {})
|
3535
|
+
# @param [Hash] params ({})
|
3536
|
+
def delete_resource_policy(params = {}, options = {})
|
3537
|
+
req = build_request(:delete_resource_policy, params)
|
3538
|
+
req.send_request(options)
|
3539
|
+
end
|
3540
|
+
|
3518
3541
|
# Deletes a scheduled action.
|
3519
3542
|
#
|
3520
3543
|
# @option params [required, String] :scheduled_action_name
|
@@ -5691,6 +5714,73 @@ module Aws::Redshift
|
|
5691
5714
|
req.send_request(options)
|
5692
5715
|
end
|
5693
5716
|
|
5717
|
+
# Returns a list of inbound integrations.
|
5718
|
+
#
|
5719
|
+
# @option params [String] :integration_arn
|
5720
|
+
# The Amazon Resource Name (ARN) of the inbound integration.
|
5721
|
+
#
|
5722
|
+
# @option params [String] :target_arn
|
5723
|
+
# The Amazon Resource Name (ARN) of the target of an inbound
|
5724
|
+
# integration.
|
5725
|
+
#
|
5726
|
+
# @option params [Integer] :max_records
|
5727
|
+
# The maximum number of response records to return in each call. If the
|
5728
|
+
# number of remaining response records exceeds the specified
|
5729
|
+
# `MaxRecords` value, a value is returned in a `marker` field of the
|
5730
|
+
# response. You can retrieve the next set of records by retrying the
|
5731
|
+
# command with the returned marker value.
|
5732
|
+
#
|
5733
|
+
# Default: `100`
|
5734
|
+
#
|
5735
|
+
# Constraints: minimum 20, maximum 100.
|
5736
|
+
#
|
5737
|
+
# @option params [String] :marker
|
5738
|
+
# An optional parameter that specifies the starting point to return a
|
5739
|
+
# set of response records. When the results of a
|
5740
|
+
# DescribeInboundIntegrations request exceed the value specified in
|
5741
|
+
# `MaxRecords`, Amazon Web Services returns a value in the `Marker`
|
5742
|
+
# field of the response. You can retrieve the next set of response
|
5743
|
+
# records by providing the returned marker value in the `Marker`
|
5744
|
+
# parameter and retrying the request.
|
5745
|
+
#
|
5746
|
+
# @return [Types::InboundIntegrationsMessage] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5747
|
+
#
|
5748
|
+
# * {Types::InboundIntegrationsMessage#marker #marker} => String
|
5749
|
+
# * {Types::InboundIntegrationsMessage#inbound_integrations #inbound_integrations} => Array<Types::InboundIntegration>
|
5750
|
+
#
|
5751
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
5752
|
+
#
|
5753
|
+
# @example Request syntax with placeholder values
|
5754
|
+
#
|
5755
|
+
# resp = client.describe_inbound_integrations({
|
5756
|
+
# integration_arn: "String",
|
5757
|
+
# target_arn: "String",
|
5758
|
+
# max_records: 1,
|
5759
|
+
# marker: "String",
|
5760
|
+
# })
|
5761
|
+
#
|
5762
|
+
# @example Response structure
|
5763
|
+
#
|
5764
|
+
# resp.marker #=> String
|
5765
|
+
# resp.inbound_integrations #=> Array
|
5766
|
+
# resp.inbound_integrations[0].integration_arn #=> String
|
5767
|
+
# resp.inbound_integrations[0].source_arn #=> String
|
5768
|
+
# resp.inbound_integrations[0].target_arn #=> String
|
5769
|
+
# resp.inbound_integrations[0].status #=> String, one of "creating", "active", "modifying", "failed", "deleting", "syncing", "needs_attention"
|
5770
|
+
# resp.inbound_integrations[0].errors #=> Array
|
5771
|
+
# resp.inbound_integrations[0].errors[0].error_code #=> String
|
5772
|
+
# resp.inbound_integrations[0].errors[0].error_message #=> String
|
5773
|
+
# resp.inbound_integrations[0].create_time #=> Time
|
5774
|
+
#
|
5775
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeInboundIntegrations AWS API Documentation
|
5776
|
+
#
|
5777
|
+
# @overload describe_inbound_integrations(params = {})
|
5778
|
+
# @param [Hash] params ({})
|
5779
|
+
def describe_inbound_integrations(params = {}, options = {})
|
5780
|
+
req = build_request(:describe_inbound_integrations, params)
|
5781
|
+
req.send_request(options)
|
5782
|
+
end
|
5783
|
+
|
5694
5784
|
# Describes whether information, such as queries and connection
|
5695
5785
|
# attempts, is being logged for the specified Amazon Redshift cluster.
|
5696
5786
|
#
|
@@ -7774,6 +7864,36 @@ module Aws::Redshift
|
|
7774
7864
|
req.send_request(options)
|
7775
7865
|
end
|
7776
7866
|
|
7867
|
+
# Get the resource policy for a specified resource.
|
7868
|
+
#
|
7869
|
+
# @option params [required, String] :resource_arn
|
7870
|
+
# The Amazon Resource Name (ARN) of the resource of which its resource
|
7871
|
+
# policy is fetched.
|
7872
|
+
#
|
7873
|
+
# @return [Types::GetResourcePolicyResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
7874
|
+
#
|
7875
|
+
# * {Types::GetResourcePolicyResult#resource_policy #resource_policy} => Types::ResourcePolicy
|
7876
|
+
#
|
7877
|
+
# @example Request syntax with placeholder values
|
7878
|
+
#
|
7879
|
+
# resp = client.get_resource_policy({
|
7880
|
+
# resource_arn: "String", # required
|
7881
|
+
# })
|
7882
|
+
#
|
7883
|
+
# @example Response structure
|
7884
|
+
#
|
7885
|
+
# resp.resource_policy.resource_arn #=> String
|
7886
|
+
# resp.resource_policy.policy #=> String
|
7887
|
+
#
|
7888
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/GetResourcePolicy AWS API Documentation
|
7889
|
+
#
|
7890
|
+
# @overload get_resource_policy(params = {})
|
7891
|
+
# @param [Hash] params ({})
|
7892
|
+
def get_resource_policy(params = {}, options = {})
|
7893
|
+
req = build_request(:get_resource_policy, params)
|
7894
|
+
req.send_request(options)
|
7895
|
+
end
|
7896
|
+
|
7777
7897
|
# This operation is retired. Calling this operation does not change AQUA
|
7778
7898
|
# configuration. Amazon Redshift automatically determines whether to use
|
7779
7899
|
# AQUA (Advanced Query Accelerator).
|
@@ -9867,6 +9987,40 @@ module Aws::Redshift
|
|
9867
9987
|
req.send_request(options)
|
9868
9988
|
end
|
9869
9989
|
|
9990
|
+
# Updates the resource policy for a specified resource.
|
9991
|
+
#
|
9992
|
+
# @option params [required, String] :resource_arn
|
9993
|
+
# The Amazon Resource Name (ARN) of the resource of which its resource
|
9994
|
+
# policy is updated.
|
9995
|
+
#
|
9996
|
+
# @option params [required, String] :policy
|
9997
|
+
# The content of the resource policy being updated.
|
9998
|
+
#
|
9999
|
+
# @return [Types::PutResourcePolicyResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
10000
|
+
#
|
10001
|
+
# * {Types::PutResourcePolicyResult#resource_policy #resource_policy} => Types::ResourcePolicy
|
10002
|
+
#
|
10003
|
+
# @example Request syntax with placeholder values
|
10004
|
+
#
|
10005
|
+
# resp = client.put_resource_policy({
|
10006
|
+
# resource_arn: "String", # required
|
10007
|
+
# policy: "String", # required
|
10008
|
+
# })
|
10009
|
+
#
|
10010
|
+
# @example Response structure
|
10011
|
+
#
|
10012
|
+
# resp.resource_policy.resource_arn #=> String
|
10013
|
+
# resp.resource_policy.policy #=> String
|
10014
|
+
#
|
10015
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/PutResourcePolicy AWS API Documentation
|
10016
|
+
#
|
10017
|
+
# @overload put_resource_policy(params = {})
|
10018
|
+
# @param [Hash] params ({})
|
10019
|
+
def put_resource_policy(params = {}, options = {})
|
10020
|
+
req = build_request(:put_resource_policy, params)
|
10021
|
+
req.send_request(options)
|
10022
|
+
end
|
10023
|
+
|
9870
10024
|
# Reboots a cluster. This action is taken as soon as possible. It
|
9871
10025
|
# results in a momentary outage to the cluster, during which the cluster
|
9872
10026
|
# status is set to `rebooting`. A cluster event is created when the
|
@@ -11508,7 +11662,7 @@ module Aws::Redshift
|
|
11508
11662
|
params: params,
|
11509
11663
|
config: config)
|
11510
11664
|
context[:gem_name] = 'aws-sdk-redshift'
|
11511
|
-
context[:gem_version] = '1.
|
11665
|
+
context[:gem_version] = '1.100.0'
|
11512
11666
|
Seahorse::Client::Request.new(handlers, context)
|
11513
11667
|
end
|
11514
11668
|
|
@@ -116,6 +116,7 @@ module Aws::Redshift
|
|
116
116
|
ClusterVersionList = Shapes::ListShape.new(name: 'ClusterVersionList')
|
117
117
|
ClusterVersionsMessage = Shapes::StructureShape.new(name: 'ClusterVersionsMessage')
|
118
118
|
ClustersMessage = Shapes::StructureShape.new(name: 'ClustersMessage')
|
119
|
+
ConflictPolicyUpdateFault = Shapes::StructureShape.new(name: 'ConflictPolicyUpdateFault')
|
119
120
|
CopyClusterSnapshotMessage = Shapes::StructureShape.new(name: 'CopyClusterSnapshotMessage')
|
120
121
|
CopyClusterSnapshotResult = Shapes::StructureShape.new(name: 'CopyClusterSnapshotResult')
|
121
122
|
CopyToRegionDisabledFault = Shapes::StructureShape.new(name: 'CopyToRegionDisabledFault')
|
@@ -180,6 +181,7 @@ module Aws::Redshift
|
|
180
181
|
DeleteEventSubscriptionMessage = Shapes::StructureShape.new(name: 'DeleteEventSubscriptionMessage')
|
181
182
|
DeleteHsmClientCertificateMessage = Shapes::StructureShape.new(name: 'DeleteHsmClientCertificateMessage')
|
182
183
|
DeleteHsmConfigurationMessage = Shapes::StructureShape.new(name: 'DeleteHsmConfigurationMessage')
|
184
|
+
DeleteResourcePolicyMessage = Shapes::StructureShape.new(name: 'DeleteResourcePolicyMessage')
|
183
185
|
DeleteScheduledActionMessage = Shapes::StructureShape.new(name: 'DeleteScheduledActionMessage')
|
184
186
|
DeleteSnapshotCopyGrantMessage = Shapes::StructureShape.new(name: 'DeleteSnapshotCopyGrantMessage')
|
185
187
|
DeleteSnapshotScheduleMessage = Shapes::StructureShape.new(name: 'DeleteSnapshotScheduleMessage')
|
@@ -215,6 +217,7 @@ module Aws::Redshift
|
|
215
217
|
DescribeEventsMessage = Shapes::StructureShape.new(name: 'DescribeEventsMessage')
|
216
218
|
DescribeHsmClientCertificatesMessage = Shapes::StructureShape.new(name: 'DescribeHsmClientCertificatesMessage')
|
217
219
|
DescribeHsmConfigurationsMessage = Shapes::StructureShape.new(name: 'DescribeHsmConfigurationsMessage')
|
220
|
+
DescribeInboundIntegrationsMessage = Shapes::StructureShape.new(name: 'DescribeInboundIntegrationsMessage')
|
218
221
|
DescribeLoggingStatusMessage = Shapes::StructureShape.new(name: 'DescribeLoggingStatusMessage')
|
219
222
|
DescribeNodeConfigurationOptionsMessage = Shapes::StructureShape.new(name: 'DescribeNodeConfigurationOptionsMessage')
|
220
223
|
DescribeOrderableClusterOptionsMessage = Shapes::StructureShape.new(name: 'DescribeOrderableClusterOptionsMessage')
|
@@ -278,6 +281,8 @@ module Aws::Redshift
|
|
278
281
|
GetReservedNodeExchangeConfigurationOptionsOutputMessage = Shapes::StructureShape.new(name: 'GetReservedNodeExchangeConfigurationOptionsOutputMessage')
|
279
282
|
GetReservedNodeExchangeOfferingsInputMessage = Shapes::StructureShape.new(name: 'GetReservedNodeExchangeOfferingsInputMessage')
|
280
283
|
GetReservedNodeExchangeOfferingsOutputMessage = Shapes::StructureShape.new(name: 'GetReservedNodeExchangeOfferingsOutputMessage')
|
284
|
+
GetResourcePolicyMessage = Shapes::StructureShape.new(name: 'GetResourcePolicyMessage')
|
285
|
+
GetResourcePolicyResult = Shapes::StructureShape.new(name: 'GetResourcePolicyResult')
|
281
286
|
HsmClientCertificate = Shapes::StructureShape.new(name: 'HsmClientCertificate')
|
282
287
|
HsmClientCertificateAlreadyExistsFault = Shapes::StructureShape.new(name: 'HsmClientCertificateAlreadyExistsFault')
|
283
288
|
HsmClientCertificateList = Shapes::ListShape.new(name: 'HsmClientCertificateList')
|
@@ -298,11 +303,17 @@ module Aws::Redshift
|
|
298
303
|
ImportTablesInProgress = Shapes::ListShape.new(name: 'ImportTablesInProgress')
|
299
304
|
ImportTablesNotStarted = Shapes::ListShape.new(name: 'ImportTablesNotStarted')
|
300
305
|
InProgressTableRestoreQuotaExceededFault = Shapes::StructureShape.new(name: 'InProgressTableRestoreQuotaExceededFault')
|
306
|
+
InboundIntegration = Shapes::StructureShape.new(name: 'InboundIntegration')
|
307
|
+
InboundIntegrationList = Shapes::ListShape.new(name: 'InboundIntegrationList')
|
308
|
+
InboundIntegrationsMessage = Shapes::StructureShape.new(name: 'InboundIntegrationsMessage')
|
301
309
|
IncompatibleOrderableOptions = Shapes::StructureShape.new(name: 'IncompatibleOrderableOptions')
|
302
310
|
InsufficientClusterCapacityFault = Shapes::StructureShape.new(name: 'InsufficientClusterCapacityFault')
|
303
311
|
InsufficientS3BucketPolicyFault = Shapes::StructureShape.new(name: 'InsufficientS3BucketPolicyFault')
|
304
312
|
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
305
313
|
IntegerOptional = Shapes::IntegerShape.new(name: 'IntegerOptional')
|
314
|
+
IntegrationError = Shapes::StructureShape.new(name: 'IntegrationError')
|
315
|
+
IntegrationErrorList = Shapes::ListShape.new(name: 'IntegrationErrorList')
|
316
|
+
IntegrationNotFoundFault = Shapes::StructureShape.new(name: 'IntegrationNotFoundFault')
|
306
317
|
InvalidAuthenticationProfileRequestFault = Shapes::StructureShape.new(name: 'InvalidAuthenticationProfileRequestFault')
|
307
318
|
InvalidAuthorizationStateFault = Shapes::StructureShape.new(name: 'InvalidAuthorizationStateFault')
|
308
319
|
InvalidClusterParameterGroupStateFault = Shapes::StructureShape.new(name: 'InvalidClusterParameterGroupStateFault')
|
@@ -319,6 +330,7 @@ module Aws::Redshift
|
|
319
330
|
InvalidHsmClientCertificateStateFault = Shapes::StructureShape.new(name: 'InvalidHsmClientCertificateStateFault')
|
320
331
|
InvalidHsmConfigurationStateFault = Shapes::StructureShape.new(name: 'InvalidHsmConfigurationStateFault')
|
321
332
|
InvalidNamespaceFault = Shapes::StructureShape.new(name: 'InvalidNamespaceFault')
|
333
|
+
InvalidPolicyFault = Shapes::StructureShape.new(name: 'InvalidPolicyFault')
|
322
334
|
InvalidReservedNodeStateFault = Shapes::StructureShape.new(name: 'InvalidReservedNodeStateFault')
|
323
335
|
InvalidRestoreFault = Shapes::StructureShape.new(name: 'InvalidRestoreFault')
|
324
336
|
InvalidRetentionPeriodFault = Shapes::StructureShape.new(name: 'InvalidRetentionPeriodFault')
|
@@ -404,6 +416,8 @@ module Aws::Redshift
|
|
404
416
|
PendingModifiedValues = Shapes::StructureShape.new(name: 'PendingModifiedValues')
|
405
417
|
PurchaseReservedNodeOfferingMessage = Shapes::StructureShape.new(name: 'PurchaseReservedNodeOfferingMessage')
|
406
418
|
PurchaseReservedNodeOfferingResult = Shapes::StructureShape.new(name: 'PurchaseReservedNodeOfferingResult')
|
419
|
+
PutResourcePolicyMessage = Shapes::StructureShape.new(name: 'PutResourcePolicyMessage')
|
420
|
+
PutResourcePolicyResult = Shapes::StructureShape.new(name: 'PutResourcePolicyResult')
|
407
421
|
RebootClusterMessage = Shapes::StructureShape.new(name: 'RebootClusterMessage')
|
408
422
|
RebootClusterResult = Shapes::StructureShape.new(name: 'RebootClusterResult')
|
409
423
|
RecurringCharge = Shapes::StructureShape.new(name: 'RecurringCharge')
|
@@ -435,6 +449,7 @@ module Aws::Redshift
|
|
435
449
|
ResizeNotFoundFault = Shapes::StructureShape.new(name: 'ResizeNotFoundFault')
|
436
450
|
ResizeProgressMessage = Shapes::StructureShape.new(name: 'ResizeProgressMessage')
|
437
451
|
ResourceNotFoundFault = Shapes::StructureShape.new(name: 'ResourceNotFoundFault')
|
452
|
+
ResourcePolicy = Shapes::StructureShape.new(name: 'ResourcePolicy')
|
438
453
|
RestorableNodeTypeList = Shapes::ListShape.new(name: 'RestorableNodeTypeList')
|
439
454
|
RestoreFromClusterSnapshotMessage = Shapes::StructureShape.new(name: 'RestoreFromClusterSnapshotMessage')
|
440
455
|
RestoreFromClusterSnapshotResult = Shapes::StructureShape.new(name: 'RestoreFromClusterSnapshotResult')
|
@@ -555,6 +570,7 @@ module Aws::Redshift
|
|
555
570
|
VpcSecurityGroupIdList = Shapes::ListShape.new(name: 'VpcSecurityGroupIdList')
|
556
571
|
VpcSecurityGroupMembership = Shapes::StructureShape.new(name: 'VpcSecurityGroupMembership')
|
557
572
|
VpcSecurityGroupMembershipList = Shapes::ListShape.new(name: 'VpcSecurityGroupMembershipList')
|
573
|
+
ZeroETLIntegrationStatus = Shapes::StringShape.new(name: 'ZeroETLIntegrationStatus')
|
558
574
|
|
559
575
|
AcceptReservedNodeExchangeInputMessage.add_member(:reserved_node_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ReservedNodeId"))
|
560
576
|
AcceptReservedNodeExchangeInputMessage.add_member(:target_reserved_node_offering_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "TargetReservedNodeOfferingId"))
|
@@ -917,6 +933,8 @@ module Aws::Redshift
|
|
917
933
|
ClustersMessage.add_member(:clusters, Shapes::ShapeRef.new(shape: ClusterList, location_name: "Clusters"))
|
918
934
|
ClustersMessage.struct_class = Types::ClustersMessage
|
919
935
|
|
936
|
+
ConflictPolicyUpdateFault.struct_class = Types::ConflictPolicyUpdateFault
|
937
|
+
|
920
938
|
CopyClusterSnapshotMessage.add_member(:source_snapshot_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SourceSnapshotIdentifier"))
|
921
939
|
CopyClusterSnapshotMessage.add_member(:source_snapshot_cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "SourceSnapshotClusterIdentifier"))
|
922
940
|
CopyClusterSnapshotMessage.add_member(:target_snapshot_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "TargetSnapshotIdentifier"))
|
@@ -1205,6 +1223,9 @@ module Aws::Redshift
|
|
1205
1223
|
DeleteHsmConfigurationMessage.add_member(:hsm_configuration_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "HsmConfigurationIdentifier"))
|
1206
1224
|
DeleteHsmConfigurationMessage.struct_class = Types::DeleteHsmConfigurationMessage
|
1207
1225
|
|
1226
|
+
DeleteResourcePolicyMessage.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceArn"))
|
1227
|
+
DeleteResourcePolicyMessage.struct_class = Types::DeleteResourcePolicyMessage
|
1228
|
+
|
1208
1229
|
DeleteScheduledActionMessage.add_member(:scheduled_action_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ScheduledActionName"))
|
1209
1230
|
DeleteScheduledActionMessage.struct_class = Types::DeleteScheduledActionMessage
|
1210
1231
|
|
@@ -1390,6 +1411,12 @@ module Aws::Redshift
|
|
1390
1411
|
DescribeHsmConfigurationsMessage.add_member(:tag_values, Shapes::ShapeRef.new(shape: TagValueList, location_name: "TagValues"))
|
1391
1412
|
DescribeHsmConfigurationsMessage.struct_class = Types::DescribeHsmConfigurationsMessage
|
1392
1413
|
|
1414
|
+
DescribeInboundIntegrationsMessage.add_member(:integration_arn, Shapes::ShapeRef.new(shape: String, location_name: "IntegrationArn"))
|
1415
|
+
DescribeInboundIntegrationsMessage.add_member(:target_arn, Shapes::ShapeRef.new(shape: String, location_name: "TargetArn"))
|
1416
|
+
DescribeInboundIntegrationsMessage.add_member(:max_records, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MaxRecords"))
|
1417
|
+
DescribeInboundIntegrationsMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
|
1418
|
+
DescribeInboundIntegrationsMessage.struct_class = Types::DescribeInboundIntegrationsMessage
|
1419
|
+
|
1393
1420
|
DescribeLoggingStatusMessage.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ClusterIdentifier"))
|
1394
1421
|
DescribeLoggingStatusMessage.struct_class = Types::DescribeLoggingStatusMessage
|
1395
1422
|
|
@@ -1683,6 +1710,12 @@ module Aws::Redshift
|
|
1683
1710
|
GetReservedNodeExchangeOfferingsOutputMessage.add_member(:reserved_node_offerings, Shapes::ShapeRef.new(shape: ReservedNodeOfferingList, location_name: "ReservedNodeOfferings"))
|
1684
1711
|
GetReservedNodeExchangeOfferingsOutputMessage.struct_class = Types::GetReservedNodeExchangeOfferingsOutputMessage
|
1685
1712
|
|
1713
|
+
GetResourcePolicyMessage.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceArn"))
|
1714
|
+
GetResourcePolicyMessage.struct_class = Types::GetResourcePolicyMessage
|
1715
|
+
|
1716
|
+
GetResourcePolicyResult.add_member(:resource_policy, Shapes::ShapeRef.new(shape: ResourcePolicy, location_name: "ResourcePolicy"))
|
1717
|
+
GetResourcePolicyResult.struct_class = Types::GetResourcePolicyResult
|
1718
|
+
|
1686
1719
|
HsmClientCertificate.add_member(:hsm_client_certificate_identifier, Shapes::ShapeRef.new(shape: String, location_name: "HsmClientCertificateIdentifier"))
|
1687
1720
|
HsmClientCertificate.add_member(:hsm_client_certificate_public_key, Shapes::ShapeRef.new(shape: String, location_name: "HsmClientCertificatePublicKey"))
|
1688
1721
|
HsmClientCertificate.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
@@ -1741,12 +1774,34 @@ module Aws::Redshift
|
|
1741
1774
|
|
1742
1775
|
InProgressTableRestoreQuotaExceededFault.struct_class = Types::InProgressTableRestoreQuotaExceededFault
|
1743
1776
|
|
1777
|
+
InboundIntegration.add_member(:integration_arn, Shapes::ShapeRef.new(shape: String, location_name: "IntegrationArn"))
|
1778
|
+
InboundIntegration.add_member(:source_arn, Shapes::ShapeRef.new(shape: String, location_name: "SourceArn"))
|
1779
|
+
InboundIntegration.add_member(:target_arn, Shapes::ShapeRef.new(shape: String, location_name: "TargetArn"))
|
1780
|
+
InboundIntegration.add_member(:status, Shapes::ShapeRef.new(shape: ZeroETLIntegrationStatus, location_name: "Status"))
|
1781
|
+
InboundIntegration.add_member(:errors, Shapes::ShapeRef.new(shape: IntegrationErrorList, location_name: "Errors"))
|
1782
|
+
InboundIntegration.add_member(:create_time, Shapes::ShapeRef.new(shape: TStamp, location_name: "CreateTime"))
|
1783
|
+
InboundIntegration.struct_class = Types::InboundIntegration
|
1784
|
+
|
1785
|
+
InboundIntegrationList.member = Shapes::ShapeRef.new(shape: InboundIntegration, location_name: "InboundIntegration")
|
1786
|
+
|
1787
|
+
InboundIntegrationsMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
|
1788
|
+
InboundIntegrationsMessage.add_member(:inbound_integrations, Shapes::ShapeRef.new(shape: InboundIntegrationList, location_name: "InboundIntegrations"))
|
1789
|
+
InboundIntegrationsMessage.struct_class = Types::InboundIntegrationsMessage
|
1790
|
+
|
1744
1791
|
IncompatibleOrderableOptions.struct_class = Types::IncompatibleOrderableOptions
|
1745
1792
|
|
1746
1793
|
InsufficientClusterCapacityFault.struct_class = Types::InsufficientClusterCapacityFault
|
1747
1794
|
|
1748
1795
|
InsufficientS3BucketPolicyFault.struct_class = Types::InsufficientS3BucketPolicyFault
|
1749
1796
|
|
1797
|
+
IntegrationError.add_member(:error_code, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ErrorCode"))
|
1798
|
+
IntegrationError.add_member(:error_message, Shapes::ShapeRef.new(shape: String, location_name: "ErrorMessage"))
|
1799
|
+
IntegrationError.struct_class = Types::IntegrationError
|
1800
|
+
|
1801
|
+
IntegrationErrorList.member = Shapes::ShapeRef.new(shape: IntegrationError, location_name: "IntegrationError")
|
1802
|
+
|
1803
|
+
IntegrationNotFoundFault.struct_class = Types::IntegrationNotFoundFault
|
1804
|
+
|
1750
1805
|
InvalidAuthenticationProfileRequestFault.struct_class = Types::InvalidAuthenticationProfileRequestFault
|
1751
1806
|
|
1752
1807
|
InvalidAuthorizationStateFault.struct_class = Types::InvalidAuthorizationStateFault
|
@@ -1779,6 +1834,8 @@ module Aws::Redshift
|
|
1779
1834
|
|
1780
1835
|
InvalidNamespaceFault.struct_class = Types::InvalidNamespaceFault
|
1781
1836
|
|
1837
|
+
InvalidPolicyFault.struct_class = Types::InvalidPolicyFault
|
1838
|
+
|
1782
1839
|
InvalidReservedNodeStateFault.struct_class = Types::InvalidReservedNodeStateFault
|
1783
1840
|
|
1784
1841
|
InvalidRestoreFault.struct_class = Types::InvalidRestoreFault
|
@@ -2087,6 +2144,13 @@ module Aws::Redshift
|
|
2087
2144
|
PurchaseReservedNodeOfferingResult.add_member(:reserved_node, Shapes::ShapeRef.new(shape: ReservedNode, location_name: "ReservedNode"))
|
2088
2145
|
PurchaseReservedNodeOfferingResult.struct_class = Types::PurchaseReservedNodeOfferingResult
|
2089
2146
|
|
2147
|
+
PutResourcePolicyMessage.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceArn"))
|
2148
|
+
PutResourcePolicyMessage.add_member(:policy, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Policy"))
|
2149
|
+
PutResourcePolicyMessage.struct_class = Types::PutResourcePolicyMessage
|
2150
|
+
|
2151
|
+
PutResourcePolicyResult.add_member(:resource_policy, Shapes::ShapeRef.new(shape: ResourcePolicy, location_name: "ResourcePolicy"))
|
2152
|
+
PutResourcePolicyResult.struct_class = Types::PutResourcePolicyResult
|
2153
|
+
|
2090
2154
|
RebootClusterMessage.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ClusterIdentifier"))
|
2091
2155
|
RebootClusterMessage.struct_class = Types::RebootClusterMessage
|
2092
2156
|
|
@@ -2215,6 +2279,10 @@ module Aws::Redshift
|
|
2215
2279
|
|
2216
2280
|
ResourceNotFoundFault.struct_class = Types::ResourceNotFoundFault
|
2217
2281
|
|
2282
|
+
ResourcePolicy.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, location_name: "ResourceArn"))
|
2283
|
+
ResourcePolicy.add_member(:policy, Shapes::ShapeRef.new(shape: String, location_name: "Policy"))
|
2284
|
+
ResourcePolicy.struct_class = Types::ResourcePolicy
|
2285
|
+
|
2218
2286
|
RestorableNodeTypeList.member = Shapes::ShapeRef.new(shape: String, location_name: "NodeType")
|
2219
2287
|
|
2220
2288
|
RestoreFromClusterSnapshotMessage.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ClusterIdentifier"))
|
@@ -3146,6 +3214,16 @@ module Aws::Redshift
|
|
3146
3214
|
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedPartnerIntegrationFault)
|
3147
3215
|
end)
|
3148
3216
|
|
3217
|
+
api.add_operation(:delete_resource_policy, Seahorse::Model::Operation.new.tap do |o|
|
3218
|
+
o.name = "DeleteResourcePolicy"
|
3219
|
+
o.http_method = "POST"
|
3220
|
+
o.http_request_uri = "/"
|
3221
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteResourcePolicyMessage)
|
3222
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
3223
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundFault)
|
3224
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationFault)
|
3225
|
+
end)
|
3226
|
+
|
3149
3227
|
api.add_operation(:delete_scheduled_action, Seahorse::Model::Operation.new.tap do |o|
|
3150
3228
|
o.name = "DeleteScheduledAction"
|
3151
3229
|
o.http_method = "POST"
|
@@ -3535,6 +3613,23 @@ module Aws::Redshift
|
|
3535
3613
|
)
|
3536
3614
|
end)
|
3537
3615
|
|
3616
|
+
api.add_operation(:describe_inbound_integrations, Seahorse::Model::Operation.new.tap do |o|
|
3617
|
+
o.name = "DescribeInboundIntegrations"
|
3618
|
+
o.http_method = "POST"
|
3619
|
+
o.http_request_uri = "/"
|
3620
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeInboundIntegrationsMessage)
|
3621
|
+
o.output = Shapes::ShapeRef.new(shape: InboundIntegrationsMessage)
|
3622
|
+
o.errors << Shapes::ShapeRef.new(shape: IntegrationNotFoundFault)
|
3623
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidNamespaceFault)
|
3624
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationFault)
|
3625
|
+
o[:pager] = Aws::Pager.new(
|
3626
|
+
limit_key: "max_records",
|
3627
|
+
tokens: {
|
3628
|
+
"marker" => "marker"
|
3629
|
+
}
|
3630
|
+
)
|
3631
|
+
end)
|
3632
|
+
|
3538
3633
|
api.add_operation(:describe_logging_status, Seahorse::Model::Operation.new.tap do |o|
|
3539
3634
|
o.name = "DescribeLoggingStatus"
|
3540
3635
|
o.http_method = "POST"
|
@@ -3876,6 +3971,17 @@ module Aws::Redshift
|
|
3876
3971
|
)
|
3877
3972
|
end)
|
3878
3973
|
|
3974
|
+
api.add_operation(:get_resource_policy, Seahorse::Model::Operation.new.tap do |o|
|
3975
|
+
o.name = "GetResourcePolicy"
|
3976
|
+
o.http_method = "POST"
|
3977
|
+
o.http_request_uri = "/"
|
3978
|
+
o.input = Shapes::ShapeRef.new(shape: GetResourcePolicyMessage)
|
3979
|
+
o.output = Shapes::ShapeRef.new(shape: GetResourcePolicyResult)
|
3980
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundFault)
|
3981
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidPolicyFault)
|
3982
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationFault)
|
3983
|
+
end)
|
3984
|
+
|
3879
3985
|
api.add_operation(:modify_aqua_configuration, Seahorse::Model::Operation.new.tap do |o|
|
3880
3986
|
o.name = "ModifyAquaConfiguration"
|
3881
3987
|
o.http_method = "POST"
|
@@ -4116,6 +4222,18 @@ module Aws::Redshift
|
|
4116
4222
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationFault)
|
4117
4223
|
end)
|
4118
4224
|
|
4225
|
+
api.add_operation(:put_resource_policy, Seahorse::Model::Operation.new.tap do |o|
|
4226
|
+
o.name = "PutResourcePolicy"
|
4227
|
+
o.http_method = "POST"
|
4228
|
+
o.http_request_uri = "/"
|
4229
|
+
o.input = Shapes::ShapeRef.new(shape: PutResourcePolicyMessage)
|
4230
|
+
o.output = Shapes::ShapeRef.new(shape: PutResourcePolicyResult)
|
4231
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundFault)
|
4232
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidPolicyFault)
|
4233
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictPolicyUpdateFault)
|
4234
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationFault)
|
4235
|
+
end)
|
4236
|
+
|
4119
4237
|
api.add_operation(:reboot_cluster, Seahorse::Model::Operation.new.tap do |o|
|
4120
4238
|
o.name = "RebootCluster"
|
4121
4239
|
o.http_method = "POST"
|
@@ -32,8 +32,8 @@ module Aws::Redshift
|
|
32
32
|
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
33
|
end
|
34
34
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
-
if Aws::Endpoints::Matchers.boolean_equals?(
|
36
|
-
if Aws::Endpoints::Matchers.string_equals?(
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
|
36
|
+
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov")
|
37
37
|
return Aws::Endpoints::Endpoint.new(url: "https://redshift.#{region}.amazonaws.com", headers: {}, properties: {})
|
38
38
|
end
|
39
39
|
return Aws::Endpoints::Endpoint.new(url: "https://redshift-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
@@ -572,6 +572,20 @@ module Aws::Redshift
|
|
572
572
|
end
|
573
573
|
end
|
574
574
|
|
575
|
+
class DeleteResourcePolicy
|
576
|
+
def self.build(context)
|
577
|
+
unless context.config.regional_endpoint
|
578
|
+
endpoint = context.config.endpoint.to_s
|
579
|
+
end
|
580
|
+
Aws::Redshift::EndpointParameters.new(
|
581
|
+
region: context.config.region,
|
582
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
583
|
+
use_fips: context.config.use_fips_endpoint,
|
584
|
+
endpoint: endpoint,
|
585
|
+
)
|
586
|
+
end
|
587
|
+
end
|
588
|
+
|
575
589
|
class DeleteScheduledAction
|
576
590
|
def self.build(context)
|
577
591
|
unless context.config.regional_endpoint
|
@@ -964,6 +978,20 @@ module Aws::Redshift
|
|
964
978
|
end
|
965
979
|
end
|
966
980
|
|
981
|
+
class DescribeInboundIntegrations
|
982
|
+
def self.build(context)
|
983
|
+
unless context.config.regional_endpoint
|
984
|
+
endpoint = context.config.endpoint.to_s
|
985
|
+
end
|
986
|
+
Aws::Redshift::EndpointParameters.new(
|
987
|
+
region: context.config.region,
|
988
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
989
|
+
use_fips: context.config.use_fips_endpoint,
|
990
|
+
endpoint: endpoint,
|
991
|
+
)
|
992
|
+
end
|
993
|
+
end
|
994
|
+
|
967
995
|
class DescribeLoggingStatus
|
968
996
|
def self.build(context)
|
969
997
|
unless context.config.regional_endpoint
|
@@ -1300,6 +1328,20 @@ module Aws::Redshift
|
|
1300
1328
|
end
|
1301
1329
|
end
|
1302
1330
|
|
1331
|
+
class GetResourcePolicy
|
1332
|
+
def self.build(context)
|
1333
|
+
unless context.config.regional_endpoint
|
1334
|
+
endpoint = context.config.endpoint.to_s
|
1335
|
+
end
|
1336
|
+
Aws::Redshift::EndpointParameters.new(
|
1337
|
+
region: context.config.region,
|
1338
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
1339
|
+
use_fips: context.config.use_fips_endpoint,
|
1340
|
+
endpoint: endpoint,
|
1341
|
+
)
|
1342
|
+
end
|
1343
|
+
end
|
1344
|
+
|
1303
1345
|
class ModifyAquaConfiguration
|
1304
1346
|
def self.build(context)
|
1305
1347
|
unless context.config.regional_endpoint
|
@@ -1566,6 +1608,20 @@ module Aws::Redshift
|
|
1566
1608
|
end
|
1567
1609
|
end
|
1568
1610
|
|
1611
|
+
class PutResourcePolicy
|
1612
|
+
def self.build(context)
|
1613
|
+
unless context.config.regional_endpoint
|
1614
|
+
endpoint = context.config.endpoint.to_s
|
1615
|
+
end
|
1616
|
+
Aws::Redshift::EndpointParameters.new(
|
1617
|
+
region: context.config.region,
|
1618
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
1619
|
+
use_fips: context.config.use_fips_endpoint,
|
1620
|
+
endpoint: endpoint,
|
1621
|
+
)
|
1622
|
+
end
|
1623
|
+
end
|
1624
|
+
|
1569
1625
|
class RebootCluster
|
1570
1626
|
def self.build(context)
|
1571
1627
|
unless context.config.regional_endpoint
|
@@ -55,6 +55,7 @@ module Aws::Redshift
|
|
55
55
|
# * {ClusterSubnetGroupNotFoundFault}
|
56
56
|
# * {ClusterSubnetGroupQuotaExceededFault}
|
57
57
|
# * {ClusterSubnetQuotaExceededFault}
|
58
|
+
# * {ConflictPolicyUpdateFault}
|
58
59
|
# * {CopyToRegionDisabledFault}
|
59
60
|
# * {CustomCnameAssociationFault}
|
60
61
|
# * {CustomDomainAssociationNotFoundFault}
|
@@ -78,6 +79,7 @@ module Aws::Redshift
|
|
78
79
|
# * {IncompatibleOrderableOptions}
|
79
80
|
# * {InsufficientClusterCapacityFault}
|
80
81
|
# * {InsufficientS3BucketPolicyFault}
|
82
|
+
# * {IntegrationNotFoundFault}
|
81
83
|
# * {InvalidAuthenticationProfileRequestFault}
|
82
84
|
# * {InvalidAuthorizationStateFault}
|
83
85
|
# * {InvalidClusterParameterGroupStateFault}
|
@@ -94,6 +96,7 @@ module Aws::Redshift
|
|
94
96
|
# * {InvalidHsmClientCertificateStateFault}
|
95
97
|
# * {InvalidHsmConfigurationStateFault}
|
96
98
|
# * {InvalidNamespaceFault}
|
99
|
+
# * {InvalidPolicyFault}
|
97
100
|
# * {InvalidReservedNodeStateFault}
|
98
101
|
# * {InvalidRestoreFault}
|
99
102
|
# * {InvalidRetentionPeriodFault}
|
@@ -442,6 +445,16 @@ module Aws::Redshift
|
|
442
445
|
end
|
443
446
|
end
|
444
447
|
|
448
|
+
class ConflictPolicyUpdateFault < ServiceError
|
449
|
+
|
450
|
+
# @param [Seahorse::Client::RequestContext] context
|
451
|
+
# @param [String] message
|
452
|
+
# @param [Aws::Redshift::Types::ConflictPolicyUpdateFault] data
|
453
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
454
|
+
super(context, message, data)
|
455
|
+
end
|
456
|
+
end
|
457
|
+
|
445
458
|
class CopyToRegionDisabledFault < ServiceError
|
446
459
|
|
447
460
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -672,6 +685,16 @@ module Aws::Redshift
|
|
672
685
|
end
|
673
686
|
end
|
674
687
|
|
688
|
+
class IntegrationNotFoundFault < ServiceError
|
689
|
+
|
690
|
+
# @param [Seahorse::Client::RequestContext] context
|
691
|
+
# @param [String] message
|
692
|
+
# @param [Aws::Redshift::Types::IntegrationNotFoundFault] data
|
693
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
694
|
+
super(context, message, data)
|
695
|
+
end
|
696
|
+
end
|
697
|
+
|
675
698
|
class InvalidAuthenticationProfileRequestFault < ServiceError
|
676
699
|
|
677
700
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -832,6 +855,16 @@ module Aws::Redshift
|
|
832
855
|
end
|
833
856
|
end
|
834
857
|
|
858
|
+
class InvalidPolicyFault < ServiceError
|
859
|
+
|
860
|
+
# @param [Seahorse::Client::RequestContext] context
|
861
|
+
# @param [String] message
|
862
|
+
# @param [Aws::Redshift::Types::InvalidPolicyFault] data
|
863
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
864
|
+
super(context, message, data)
|
865
|
+
end
|
866
|
+
end
|
867
|
+
|
835
868
|
class InvalidReservedNodeStateFault < ServiceError
|
836
869
|
|
837
870
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -136,6 +136,8 @@ module Aws::Redshift
|
|
136
136
|
Aws::Redshift::Endpoints::DeleteHsmConfiguration.build(context)
|
137
137
|
when :delete_partner
|
138
138
|
Aws::Redshift::Endpoints::DeletePartner.build(context)
|
139
|
+
when :delete_resource_policy
|
140
|
+
Aws::Redshift::Endpoints::DeleteResourcePolicy.build(context)
|
139
141
|
when :delete_scheduled_action
|
140
142
|
Aws::Redshift::Endpoints::DeleteScheduledAction.build(context)
|
141
143
|
when :delete_snapshot_copy_grant
|
@@ -192,6 +194,8 @@ module Aws::Redshift
|
|
192
194
|
Aws::Redshift::Endpoints::DescribeHsmClientCertificates.build(context)
|
193
195
|
when :describe_hsm_configurations
|
194
196
|
Aws::Redshift::Endpoints::DescribeHsmConfigurations.build(context)
|
197
|
+
when :describe_inbound_integrations
|
198
|
+
Aws::Redshift::Endpoints::DescribeInboundIntegrations.build(context)
|
195
199
|
when :describe_logging_status
|
196
200
|
Aws::Redshift::Endpoints::DescribeLoggingStatus.build(context)
|
197
201
|
when :describe_node_configuration_options
|
@@ -240,6 +244,8 @@ module Aws::Redshift
|
|
240
244
|
Aws::Redshift::Endpoints::GetReservedNodeExchangeConfigurationOptions.build(context)
|
241
245
|
when :get_reserved_node_exchange_offerings
|
242
246
|
Aws::Redshift::Endpoints::GetReservedNodeExchangeOfferings.build(context)
|
247
|
+
when :get_resource_policy
|
248
|
+
Aws::Redshift::Endpoints::GetResourcePolicy.build(context)
|
243
249
|
when :modify_aqua_configuration
|
244
250
|
Aws::Redshift::Endpoints::ModifyAquaConfiguration.build(context)
|
245
251
|
when :modify_authentication_profile
|
@@ -278,6 +284,8 @@ module Aws::Redshift
|
|
278
284
|
Aws::Redshift::Endpoints::PauseCluster.build(context)
|
279
285
|
when :purchase_reserved_node_offering
|
280
286
|
Aws::Redshift::Endpoints::PurchaseReservedNodeOffering.build(context)
|
287
|
+
when :put_resource_policy
|
288
|
+
Aws::Redshift::Endpoints::PutResourcePolicy.build(context)
|
281
289
|
when :reboot_cluster
|
282
290
|
Aws::Redshift::Endpoints::RebootCluster.build(context)
|
283
291
|
when :reject_data_share
|
@@ -1724,6 +1724,12 @@ module Aws::Redshift
|
|
1724
1724
|
include Aws::Structure
|
1725
1725
|
end
|
1726
1726
|
|
1727
|
+
# There is a conflict while updating the resource policy.
|
1728
|
+
#
|
1729
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ConflictPolicyUpdateFault AWS API Documentation
|
1730
|
+
#
|
1731
|
+
class ConflictPolicyUpdateFault < Aws::EmptyStructure; end
|
1732
|
+
|
1727
1733
|
# @!attribute [rw] source_snapshot_identifier
|
1728
1734
|
# The identifier for the source snapshot.
|
1729
1735
|
#
|
@@ -3521,6 +3527,19 @@ module Aws::Redshift
|
|
3521
3527
|
include Aws::Structure
|
3522
3528
|
end
|
3523
3529
|
|
3530
|
+
# @!attribute [rw] resource_arn
|
3531
|
+
# The Amazon Resource Name (ARN) of the resource of which its resource
|
3532
|
+
# policy is deleted.
|
3533
|
+
# @return [String]
|
3534
|
+
#
|
3535
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteResourcePolicyMessage AWS API Documentation
|
3536
|
+
#
|
3537
|
+
class DeleteResourcePolicyMessage < Struct.new(
|
3538
|
+
:resource_arn)
|
3539
|
+
SENSITIVE = []
|
3540
|
+
include Aws::Structure
|
3541
|
+
end
|
3542
|
+
|
3524
3543
|
# @!attribute [rw] scheduled_action_name
|
3525
3544
|
# The name of the scheduled action to delete.
|
3526
3545
|
# @return [String]
|
@@ -4859,6 +4878,48 @@ module Aws::Redshift
|
|
4859
4878
|
include Aws::Structure
|
4860
4879
|
end
|
4861
4880
|
|
4881
|
+
# @!attribute [rw] integration_arn
|
4882
|
+
# The Amazon Resource Name (ARN) of the inbound integration.
|
4883
|
+
# @return [String]
|
4884
|
+
#
|
4885
|
+
# @!attribute [rw] target_arn
|
4886
|
+
# The Amazon Resource Name (ARN) of the target of an inbound
|
4887
|
+
# integration.
|
4888
|
+
# @return [String]
|
4889
|
+
#
|
4890
|
+
# @!attribute [rw] max_records
|
4891
|
+
# The maximum number of response records to return in each call. If
|
4892
|
+
# the number of remaining response records exceeds the specified
|
4893
|
+
# `MaxRecords` value, a value is returned in a `marker` field of the
|
4894
|
+
# response. You can retrieve the next set of records by retrying the
|
4895
|
+
# command with the returned marker value.
|
4896
|
+
#
|
4897
|
+
# Default: `100`
|
4898
|
+
#
|
4899
|
+
# Constraints: minimum 20, maximum 100.
|
4900
|
+
# @return [Integer]
|
4901
|
+
#
|
4902
|
+
# @!attribute [rw] marker
|
4903
|
+
# An optional parameter that specifies the starting point to return a
|
4904
|
+
# set of response records. When the results of a
|
4905
|
+
# DescribeInboundIntegrations request exceed the value specified in
|
4906
|
+
# `MaxRecords`, Amazon Web Services returns a value in the `Marker`
|
4907
|
+
# field of the response. You can retrieve the next set of response
|
4908
|
+
# records by providing the returned marker value in the `Marker`
|
4909
|
+
# parameter and retrying the request.
|
4910
|
+
# @return [String]
|
4911
|
+
#
|
4912
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeInboundIntegrationsMessage AWS API Documentation
|
4913
|
+
#
|
4914
|
+
class DescribeInboundIntegrationsMessage < Struct.new(
|
4915
|
+
:integration_arn,
|
4916
|
+
:target_arn,
|
4917
|
+
:max_records,
|
4918
|
+
:marker)
|
4919
|
+
SENSITIVE = []
|
4920
|
+
include Aws::Structure
|
4921
|
+
end
|
4922
|
+
|
4862
4923
|
# @!attribute [rw] cluster_identifier
|
4863
4924
|
# The identifier of the cluster from which to get the logging status.
|
4864
4925
|
#
|
@@ -6579,6 +6640,31 @@ module Aws::Redshift
|
|
6579
6640
|
include Aws::Structure
|
6580
6641
|
end
|
6581
6642
|
|
6643
|
+
# @!attribute [rw] resource_arn
|
6644
|
+
# The Amazon Resource Name (ARN) of the resource of which its resource
|
6645
|
+
# policy is fetched.
|
6646
|
+
# @return [String]
|
6647
|
+
#
|
6648
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/GetResourcePolicyMessage AWS API Documentation
|
6649
|
+
#
|
6650
|
+
class GetResourcePolicyMessage < Struct.new(
|
6651
|
+
:resource_arn)
|
6652
|
+
SENSITIVE = []
|
6653
|
+
include Aws::Structure
|
6654
|
+
end
|
6655
|
+
|
6656
|
+
# @!attribute [rw] resource_policy
|
6657
|
+
# The content of the resource policy.
|
6658
|
+
# @return [Types::ResourcePolicy]
|
6659
|
+
#
|
6660
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/GetResourcePolicyResult AWS API Documentation
|
6661
|
+
#
|
6662
|
+
class GetResourcePolicyResult < Struct.new(
|
6663
|
+
:resource_policy)
|
6664
|
+
SENSITIVE = []
|
6665
|
+
include Aws::Structure
|
6666
|
+
end
|
6667
|
+
|
6582
6668
|
# Returns information about an HSM client certificate. The certificate
|
6583
6669
|
# is stored in a secure Hardware Storage Module (HSM), and used by the
|
6584
6670
|
# Amazon Redshift cluster to encrypt data files.
|
@@ -6805,6 +6891,70 @@ module Aws::Redshift
|
|
6805
6891
|
#
|
6806
6892
|
class InProgressTableRestoreQuotaExceededFault < Aws::EmptyStructure; end
|
6807
6893
|
|
6894
|
+
# The content of an inbound integration.
|
6895
|
+
#
|
6896
|
+
# @!attribute [rw] integration_arn
|
6897
|
+
# The Amazon Resource Name (ARN) of an inbound integration.
|
6898
|
+
# @return [String]
|
6899
|
+
#
|
6900
|
+
# @!attribute [rw] source_arn
|
6901
|
+
# The Amazon Resource Name (ARN) of the source of an inbound
|
6902
|
+
# integration.
|
6903
|
+
# @return [String]
|
6904
|
+
#
|
6905
|
+
# @!attribute [rw] target_arn
|
6906
|
+
# The Amazon Resource Name (ARN) of the target of an inbound
|
6907
|
+
# integration.
|
6908
|
+
# @return [String]
|
6909
|
+
#
|
6910
|
+
# @!attribute [rw] status
|
6911
|
+
# The status of an inbound integration.
|
6912
|
+
# @return [String]
|
6913
|
+
#
|
6914
|
+
# @!attribute [rw] errors
|
6915
|
+
# The outstanding errors of an inbound integration. Each item is an
|
6916
|
+
# "IntegrationError". This is null if there is no error.
|
6917
|
+
# @return [Array<Types::IntegrationError>]
|
6918
|
+
#
|
6919
|
+
# @!attribute [rw] create_time
|
6920
|
+
# The creation time of an inbound integration.
|
6921
|
+
# @return [Time]
|
6922
|
+
#
|
6923
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/InboundIntegration AWS API Documentation
|
6924
|
+
#
|
6925
|
+
class InboundIntegration < Struct.new(
|
6926
|
+
:integration_arn,
|
6927
|
+
:source_arn,
|
6928
|
+
:target_arn,
|
6929
|
+
:status,
|
6930
|
+
:errors,
|
6931
|
+
:create_time)
|
6932
|
+
SENSITIVE = []
|
6933
|
+
include Aws::Structure
|
6934
|
+
end
|
6935
|
+
|
6936
|
+
# @!attribute [rw] marker
|
6937
|
+
# A value that indicates the starting point for the next set of
|
6938
|
+
# response records in a subsequent request. If a value is returned in
|
6939
|
+
# a response, you can retrieve the next set of records by providing
|
6940
|
+
# this returned marker value in the `Marker` parameter and retrying
|
6941
|
+
# the command. If the `Marker` field is empty, all response records
|
6942
|
+
# have been retrieved for the request.
|
6943
|
+
# @return [String]
|
6944
|
+
#
|
6945
|
+
# @!attribute [rw] inbound_integrations
|
6946
|
+
# A list of InboundIntegration instances.
|
6947
|
+
# @return [Array<Types::InboundIntegration>]
|
6948
|
+
#
|
6949
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/InboundIntegrationsMessage AWS API Documentation
|
6950
|
+
#
|
6951
|
+
class InboundIntegrationsMessage < Struct.new(
|
6952
|
+
:marker,
|
6953
|
+
:inbound_integrations)
|
6954
|
+
SENSITIVE = []
|
6955
|
+
include Aws::Structure
|
6956
|
+
end
|
6957
|
+
|
6808
6958
|
# The specified options are incompatible.
|
6809
6959
|
#
|
6810
6960
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/IncompatibleOrderableOptions AWS API Documentation
|
@@ -6825,6 +6975,31 @@ module Aws::Redshift
|
|
6825
6975
|
#
|
6826
6976
|
class InsufficientS3BucketPolicyFault < Aws::EmptyStructure; end
|
6827
6977
|
|
6978
|
+
# The error of an inbound integration.
|
6979
|
+
#
|
6980
|
+
# @!attribute [rw] error_code
|
6981
|
+
# The error code of an inbound integration error.
|
6982
|
+
# @return [String]
|
6983
|
+
#
|
6984
|
+
# @!attribute [rw] error_message
|
6985
|
+
# The error message of an inbound integration error.
|
6986
|
+
# @return [String]
|
6987
|
+
#
|
6988
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/IntegrationError AWS API Documentation
|
6989
|
+
#
|
6990
|
+
class IntegrationError < Struct.new(
|
6991
|
+
:error_code,
|
6992
|
+
:error_message)
|
6993
|
+
SENSITIVE = []
|
6994
|
+
include Aws::Structure
|
6995
|
+
end
|
6996
|
+
|
6997
|
+
# The integration can't be found.
|
6998
|
+
#
|
6999
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/IntegrationNotFoundFault AWS API Documentation
|
7000
|
+
#
|
7001
|
+
class IntegrationNotFoundFault < Aws::EmptyStructure; end
|
7002
|
+
|
6828
7003
|
# The authentication profile request is not valid. The profile name
|
6829
7004
|
# can't be null or empty. The authentication profile API operation must
|
6830
7005
|
# be available in the Amazon Web Services Region.
|
@@ -6929,6 +7104,12 @@ module Aws::Redshift
|
|
6929
7104
|
#
|
6930
7105
|
class InvalidNamespaceFault < Aws::EmptyStructure; end
|
6931
7106
|
|
7107
|
+
# The resource policy isn't valid.
|
7108
|
+
#
|
7109
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/InvalidPolicyFault AWS API Documentation
|
7110
|
+
#
|
7111
|
+
class InvalidPolicyFault < Aws::EmptyStructure; end
|
7112
|
+
|
6932
7113
|
# Indicates that the Reserved Node being exchanged is not in an active
|
6933
7114
|
# state.
|
6934
7115
|
#
|
@@ -8598,6 +8779,36 @@ module Aws::Redshift
|
|
8598
8779
|
include Aws::Structure
|
8599
8780
|
end
|
8600
8781
|
|
8782
|
+
# @!attribute [rw] resource_arn
|
8783
|
+
# The Amazon Resource Name (ARN) of the resource of which its resource
|
8784
|
+
# policy is updated.
|
8785
|
+
# @return [String]
|
8786
|
+
#
|
8787
|
+
# @!attribute [rw] policy
|
8788
|
+
# The content of the resource policy being updated.
|
8789
|
+
# @return [String]
|
8790
|
+
#
|
8791
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/PutResourcePolicyMessage AWS API Documentation
|
8792
|
+
#
|
8793
|
+
class PutResourcePolicyMessage < Struct.new(
|
8794
|
+
:resource_arn,
|
8795
|
+
:policy)
|
8796
|
+
SENSITIVE = []
|
8797
|
+
include Aws::Structure
|
8798
|
+
end
|
8799
|
+
|
8800
|
+
# @!attribute [rw] resource_policy
|
8801
|
+
# The content of the updated resource policy.
|
8802
|
+
# @return [Types::ResourcePolicy]
|
8803
|
+
#
|
8804
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/PutResourcePolicyResult AWS API Documentation
|
8805
|
+
#
|
8806
|
+
class PutResourcePolicyResult < Struct.new(
|
8807
|
+
:resource_policy)
|
8808
|
+
SENSITIVE = []
|
8809
|
+
include Aws::Structure
|
8810
|
+
end
|
8811
|
+
|
8601
8812
|
# @!attribute [rw] cluster_identifier
|
8602
8813
|
# The cluster identifier.
|
8603
8814
|
# @return [String]
|
@@ -9221,6 +9432,25 @@ module Aws::Redshift
|
|
9221
9432
|
#
|
9222
9433
|
class ResourceNotFoundFault < Aws::EmptyStructure; end
|
9223
9434
|
|
9435
|
+
# The policy that is attached to a resource.
|
9436
|
+
#
|
9437
|
+
# @!attribute [rw] resource_arn
|
9438
|
+
# The resources that a policy is attached to.
|
9439
|
+
# @return [String]
|
9440
|
+
#
|
9441
|
+
# @!attribute [rw] policy
|
9442
|
+
# The content of a resource policy.
|
9443
|
+
# @return [String]
|
9444
|
+
#
|
9445
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ResourcePolicy AWS API Documentation
|
9446
|
+
#
|
9447
|
+
class ResourcePolicy < Struct.new(
|
9448
|
+
:resource_arn,
|
9449
|
+
:policy)
|
9450
|
+
SENSITIVE = []
|
9451
|
+
include Aws::Structure
|
9452
|
+
end
|
9453
|
+
|
9224
9454
|
# @!attribute [rw] cluster_identifier
|
9225
9455
|
# The identifier of the cluster that will be created from restoring
|
9226
9456
|
# the snapshot.
|
data/lib/aws-sdk-redshift.rb
CHANGED
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.
|
4
|
+
version: 1.100.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: 2023-10-
|
11
|
+
date: 2023-10-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|