aws-sdk-redshift 1.126.0 → 1.128.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -80,7 +80,13 @@ module Aws::Redshift
80
80
  # * {IncompatibleOrderableOptions}
81
81
  # * {InsufficientClusterCapacityFault}
82
82
  # * {InsufficientS3BucketPolicyFault}
83
+ # * {IntegrationAlreadyExistsFault}
84
+ # * {IntegrationConflictOperationFault}
85
+ # * {IntegrationConflictStateFault}
83
86
  # * {IntegrationNotFoundFault}
87
+ # * {IntegrationQuotaExceededFault}
88
+ # * {IntegrationSourceNotFoundFault}
89
+ # * {IntegrationTargetNotFoundFault}
84
90
  # * {InvalidAuthenticationProfileRequestFault}
85
91
  # * {InvalidAuthorizationStateFault}
86
92
  # * {InvalidClusterParameterGroupStateFault}
@@ -700,6 +706,36 @@ module Aws::Redshift
700
706
  end
701
707
  end
702
708
 
709
+ class IntegrationAlreadyExistsFault < ServiceError
710
+
711
+ # @param [Seahorse::Client::RequestContext] context
712
+ # @param [String] message
713
+ # @param [Aws::Redshift::Types::IntegrationAlreadyExistsFault] data
714
+ def initialize(context, message, data = Aws::EmptyStructure.new)
715
+ super(context, message, data)
716
+ end
717
+ end
718
+
719
+ class IntegrationConflictOperationFault < ServiceError
720
+
721
+ # @param [Seahorse::Client::RequestContext] context
722
+ # @param [String] message
723
+ # @param [Aws::Redshift::Types::IntegrationConflictOperationFault] data
724
+ def initialize(context, message, data = Aws::EmptyStructure.new)
725
+ super(context, message, data)
726
+ end
727
+ end
728
+
729
+ class IntegrationConflictStateFault < ServiceError
730
+
731
+ # @param [Seahorse::Client::RequestContext] context
732
+ # @param [String] message
733
+ # @param [Aws::Redshift::Types::IntegrationConflictStateFault] data
734
+ def initialize(context, message, data = Aws::EmptyStructure.new)
735
+ super(context, message, data)
736
+ end
737
+ end
738
+
703
739
  class IntegrationNotFoundFault < ServiceError
704
740
 
705
741
  # @param [Seahorse::Client::RequestContext] context
@@ -710,6 +746,36 @@ module Aws::Redshift
710
746
  end
711
747
  end
712
748
 
749
+ class IntegrationQuotaExceededFault < ServiceError
750
+
751
+ # @param [Seahorse::Client::RequestContext] context
752
+ # @param [String] message
753
+ # @param [Aws::Redshift::Types::IntegrationQuotaExceededFault] data
754
+ def initialize(context, message, data = Aws::EmptyStructure.new)
755
+ super(context, message, data)
756
+ end
757
+ end
758
+
759
+ class IntegrationSourceNotFoundFault < ServiceError
760
+
761
+ # @param [Seahorse::Client::RequestContext] context
762
+ # @param [String] message
763
+ # @param [Aws::Redshift::Types::IntegrationSourceNotFoundFault] data
764
+ def initialize(context, message, data = Aws::EmptyStructure.new)
765
+ super(context, message, data)
766
+ end
767
+ end
768
+
769
+ class IntegrationTargetNotFoundFault < ServiceError
770
+
771
+ # @param [Seahorse::Client::RequestContext] context
772
+ # @param [String] message
773
+ # @param [Aws::Redshift::Types::IntegrationTargetNotFoundFault] data
774
+ def initialize(context, message, data = Aws::EmptyStructure.new)
775
+ super(context, message, data)
776
+ end
777
+ end
778
+
713
779
  class InvalidAuthenticationProfileRequestFault < ServiceError
714
780
 
715
781
  # @param [Seahorse::Client::RequestContext] context
@@ -27,7 +27,7 @@ The endpoint provider used to resolve endpoints. Any object that responds to
27
27
  class Handler < Seahorse::Client::Handler
28
28
  def call(context)
29
29
  unless context[:discovered_endpoint]
30
- params = parameters_for_operation(context)
30
+ params = Aws::Redshift::Endpoints.parameters_for_operation(context)
31
31
  endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
32
 
33
33
  context.http_request.endpoint = endpoint.url
@@ -67,277 +67,6 @@ The endpoint provider used to resolve endpoints. Any object that responds to
67
67
  context.http_request.headers[key] = value
68
68
  end
69
69
  end
70
-
71
- def parameters_for_operation(context)
72
- case context.operation_name
73
- when :accept_reserved_node_exchange
74
- Aws::Redshift::Endpoints::AcceptReservedNodeExchange.build(context)
75
- when :add_partner
76
- Aws::Redshift::Endpoints::AddPartner.build(context)
77
- when :associate_data_share_consumer
78
- Aws::Redshift::Endpoints::AssociateDataShareConsumer.build(context)
79
- when :authorize_cluster_security_group_ingress
80
- Aws::Redshift::Endpoints::AuthorizeClusterSecurityGroupIngress.build(context)
81
- when :authorize_data_share
82
- Aws::Redshift::Endpoints::AuthorizeDataShare.build(context)
83
- when :authorize_endpoint_access
84
- Aws::Redshift::Endpoints::AuthorizeEndpointAccess.build(context)
85
- when :authorize_snapshot_access
86
- Aws::Redshift::Endpoints::AuthorizeSnapshotAccess.build(context)
87
- when :batch_delete_cluster_snapshots
88
- Aws::Redshift::Endpoints::BatchDeleteClusterSnapshots.build(context)
89
- when :batch_modify_cluster_snapshots
90
- Aws::Redshift::Endpoints::BatchModifyClusterSnapshots.build(context)
91
- when :cancel_resize
92
- Aws::Redshift::Endpoints::CancelResize.build(context)
93
- when :copy_cluster_snapshot
94
- Aws::Redshift::Endpoints::CopyClusterSnapshot.build(context)
95
- when :create_authentication_profile
96
- Aws::Redshift::Endpoints::CreateAuthenticationProfile.build(context)
97
- when :create_cluster
98
- Aws::Redshift::Endpoints::CreateCluster.build(context)
99
- when :create_cluster_parameter_group
100
- Aws::Redshift::Endpoints::CreateClusterParameterGroup.build(context)
101
- when :create_cluster_security_group
102
- Aws::Redshift::Endpoints::CreateClusterSecurityGroup.build(context)
103
- when :create_cluster_snapshot
104
- Aws::Redshift::Endpoints::CreateClusterSnapshot.build(context)
105
- when :create_cluster_subnet_group
106
- Aws::Redshift::Endpoints::CreateClusterSubnetGroup.build(context)
107
- when :create_custom_domain_association
108
- Aws::Redshift::Endpoints::CreateCustomDomainAssociation.build(context)
109
- when :create_endpoint_access
110
- Aws::Redshift::Endpoints::CreateEndpointAccess.build(context)
111
- when :create_event_subscription
112
- Aws::Redshift::Endpoints::CreateEventSubscription.build(context)
113
- when :create_hsm_client_certificate
114
- Aws::Redshift::Endpoints::CreateHsmClientCertificate.build(context)
115
- when :create_hsm_configuration
116
- Aws::Redshift::Endpoints::CreateHsmConfiguration.build(context)
117
- when :create_redshift_idc_application
118
- Aws::Redshift::Endpoints::CreateRedshiftIdcApplication.build(context)
119
- when :create_scheduled_action
120
- Aws::Redshift::Endpoints::CreateScheduledAction.build(context)
121
- when :create_snapshot_copy_grant
122
- Aws::Redshift::Endpoints::CreateSnapshotCopyGrant.build(context)
123
- when :create_snapshot_schedule
124
- Aws::Redshift::Endpoints::CreateSnapshotSchedule.build(context)
125
- when :create_tags
126
- Aws::Redshift::Endpoints::CreateTags.build(context)
127
- when :create_usage_limit
128
- Aws::Redshift::Endpoints::CreateUsageLimit.build(context)
129
- when :deauthorize_data_share
130
- Aws::Redshift::Endpoints::DeauthorizeDataShare.build(context)
131
- when :delete_authentication_profile
132
- Aws::Redshift::Endpoints::DeleteAuthenticationProfile.build(context)
133
- when :delete_cluster
134
- Aws::Redshift::Endpoints::DeleteCluster.build(context)
135
- when :delete_cluster_parameter_group
136
- Aws::Redshift::Endpoints::DeleteClusterParameterGroup.build(context)
137
- when :delete_cluster_security_group
138
- Aws::Redshift::Endpoints::DeleteClusterSecurityGroup.build(context)
139
- when :delete_cluster_snapshot
140
- Aws::Redshift::Endpoints::DeleteClusterSnapshot.build(context)
141
- when :delete_cluster_subnet_group
142
- Aws::Redshift::Endpoints::DeleteClusterSubnetGroup.build(context)
143
- when :delete_custom_domain_association
144
- Aws::Redshift::Endpoints::DeleteCustomDomainAssociation.build(context)
145
- when :delete_endpoint_access
146
- Aws::Redshift::Endpoints::DeleteEndpointAccess.build(context)
147
- when :delete_event_subscription
148
- Aws::Redshift::Endpoints::DeleteEventSubscription.build(context)
149
- when :delete_hsm_client_certificate
150
- Aws::Redshift::Endpoints::DeleteHsmClientCertificate.build(context)
151
- when :delete_hsm_configuration
152
- Aws::Redshift::Endpoints::DeleteHsmConfiguration.build(context)
153
- when :delete_partner
154
- Aws::Redshift::Endpoints::DeletePartner.build(context)
155
- when :delete_redshift_idc_application
156
- Aws::Redshift::Endpoints::DeleteRedshiftIdcApplication.build(context)
157
- when :delete_resource_policy
158
- Aws::Redshift::Endpoints::DeleteResourcePolicy.build(context)
159
- when :delete_scheduled_action
160
- Aws::Redshift::Endpoints::DeleteScheduledAction.build(context)
161
- when :delete_snapshot_copy_grant
162
- Aws::Redshift::Endpoints::DeleteSnapshotCopyGrant.build(context)
163
- when :delete_snapshot_schedule
164
- Aws::Redshift::Endpoints::DeleteSnapshotSchedule.build(context)
165
- when :delete_tags
166
- Aws::Redshift::Endpoints::DeleteTags.build(context)
167
- when :delete_usage_limit
168
- Aws::Redshift::Endpoints::DeleteUsageLimit.build(context)
169
- when :describe_account_attributes
170
- Aws::Redshift::Endpoints::DescribeAccountAttributes.build(context)
171
- when :describe_authentication_profiles
172
- Aws::Redshift::Endpoints::DescribeAuthenticationProfiles.build(context)
173
- when :describe_cluster_db_revisions
174
- Aws::Redshift::Endpoints::DescribeClusterDbRevisions.build(context)
175
- when :describe_cluster_parameter_groups
176
- Aws::Redshift::Endpoints::DescribeClusterParameterGroups.build(context)
177
- when :describe_cluster_parameters
178
- Aws::Redshift::Endpoints::DescribeClusterParameters.build(context)
179
- when :describe_cluster_security_groups
180
- Aws::Redshift::Endpoints::DescribeClusterSecurityGroups.build(context)
181
- when :describe_cluster_snapshots
182
- Aws::Redshift::Endpoints::DescribeClusterSnapshots.build(context)
183
- when :describe_cluster_subnet_groups
184
- Aws::Redshift::Endpoints::DescribeClusterSubnetGroups.build(context)
185
- when :describe_cluster_tracks
186
- Aws::Redshift::Endpoints::DescribeClusterTracks.build(context)
187
- when :describe_cluster_versions
188
- Aws::Redshift::Endpoints::DescribeClusterVersions.build(context)
189
- when :describe_clusters
190
- Aws::Redshift::Endpoints::DescribeClusters.build(context)
191
- when :describe_custom_domain_associations
192
- Aws::Redshift::Endpoints::DescribeCustomDomainAssociations.build(context)
193
- when :describe_data_shares
194
- Aws::Redshift::Endpoints::DescribeDataShares.build(context)
195
- when :describe_data_shares_for_consumer
196
- Aws::Redshift::Endpoints::DescribeDataSharesForConsumer.build(context)
197
- when :describe_data_shares_for_producer
198
- Aws::Redshift::Endpoints::DescribeDataSharesForProducer.build(context)
199
- when :describe_default_cluster_parameters
200
- Aws::Redshift::Endpoints::DescribeDefaultClusterParameters.build(context)
201
- when :describe_endpoint_access
202
- Aws::Redshift::Endpoints::DescribeEndpointAccess.build(context)
203
- when :describe_endpoint_authorization
204
- Aws::Redshift::Endpoints::DescribeEndpointAuthorization.build(context)
205
- when :describe_event_categories
206
- Aws::Redshift::Endpoints::DescribeEventCategories.build(context)
207
- when :describe_event_subscriptions
208
- Aws::Redshift::Endpoints::DescribeEventSubscriptions.build(context)
209
- when :describe_events
210
- Aws::Redshift::Endpoints::DescribeEvents.build(context)
211
- when :describe_hsm_client_certificates
212
- Aws::Redshift::Endpoints::DescribeHsmClientCertificates.build(context)
213
- when :describe_hsm_configurations
214
- Aws::Redshift::Endpoints::DescribeHsmConfigurations.build(context)
215
- when :describe_inbound_integrations
216
- Aws::Redshift::Endpoints::DescribeInboundIntegrations.build(context)
217
- when :describe_logging_status
218
- Aws::Redshift::Endpoints::DescribeLoggingStatus.build(context)
219
- when :describe_node_configuration_options
220
- Aws::Redshift::Endpoints::DescribeNodeConfigurationOptions.build(context)
221
- when :describe_orderable_cluster_options
222
- Aws::Redshift::Endpoints::DescribeOrderableClusterOptions.build(context)
223
- when :describe_partners
224
- Aws::Redshift::Endpoints::DescribePartners.build(context)
225
- when :describe_redshift_idc_applications
226
- Aws::Redshift::Endpoints::DescribeRedshiftIdcApplications.build(context)
227
- when :describe_reserved_node_exchange_status
228
- Aws::Redshift::Endpoints::DescribeReservedNodeExchangeStatus.build(context)
229
- when :describe_reserved_node_offerings
230
- Aws::Redshift::Endpoints::DescribeReservedNodeOfferings.build(context)
231
- when :describe_reserved_nodes
232
- Aws::Redshift::Endpoints::DescribeReservedNodes.build(context)
233
- when :describe_resize
234
- Aws::Redshift::Endpoints::DescribeResize.build(context)
235
- when :describe_scheduled_actions
236
- Aws::Redshift::Endpoints::DescribeScheduledActions.build(context)
237
- when :describe_snapshot_copy_grants
238
- Aws::Redshift::Endpoints::DescribeSnapshotCopyGrants.build(context)
239
- when :describe_snapshot_schedules
240
- Aws::Redshift::Endpoints::DescribeSnapshotSchedules.build(context)
241
- when :describe_storage
242
- Aws::Redshift::Endpoints::DescribeStorage.build(context)
243
- when :describe_table_restore_status
244
- Aws::Redshift::Endpoints::DescribeTableRestoreStatus.build(context)
245
- when :describe_tags
246
- Aws::Redshift::Endpoints::DescribeTags.build(context)
247
- when :describe_usage_limits
248
- Aws::Redshift::Endpoints::DescribeUsageLimits.build(context)
249
- when :disable_logging
250
- Aws::Redshift::Endpoints::DisableLogging.build(context)
251
- when :disable_snapshot_copy
252
- Aws::Redshift::Endpoints::DisableSnapshotCopy.build(context)
253
- when :disassociate_data_share_consumer
254
- Aws::Redshift::Endpoints::DisassociateDataShareConsumer.build(context)
255
- when :enable_logging
256
- Aws::Redshift::Endpoints::EnableLogging.build(context)
257
- when :enable_snapshot_copy
258
- Aws::Redshift::Endpoints::EnableSnapshotCopy.build(context)
259
- when :failover_primary_compute
260
- Aws::Redshift::Endpoints::FailoverPrimaryCompute.build(context)
261
- when :get_cluster_credentials
262
- Aws::Redshift::Endpoints::GetClusterCredentials.build(context)
263
- when :get_cluster_credentials_with_iam
264
- Aws::Redshift::Endpoints::GetClusterCredentialsWithIAM.build(context)
265
- when :get_reserved_node_exchange_configuration_options
266
- Aws::Redshift::Endpoints::GetReservedNodeExchangeConfigurationOptions.build(context)
267
- when :get_reserved_node_exchange_offerings
268
- Aws::Redshift::Endpoints::GetReservedNodeExchangeOfferings.build(context)
269
- when :get_resource_policy
270
- Aws::Redshift::Endpoints::GetResourcePolicy.build(context)
271
- when :list_recommendations
272
- Aws::Redshift::Endpoints::ListRecommendations.build(context)
273
- when :modify_aqua_configuration
274
- Aws::Redshift::Endpoints::ModifyAquaConfiguration.build(context)
275
- when :modify_authentication_profile
276
- Aws::Redshift::Endpoints::ModifyAuthenticationProfile.build(context)
277
- when :modify_cluster
278
- Aws::Redshift::Endpoints::ModifyCluster.build(context)
279
- when :modify_cluster_db_revision
280
- Aws::Redshift::Endpoints::ModifyClusterDbRevision.build(context)
281
- when :modify_cluster_iam_roles
282
- Aws::Redshift::Endpoints::ModifyClusterIamRoles.build(context)
283
- when :modify_cluster_maintenance
284
- Aws::Redshift::Endpoints::ModifyClusterMaintenance.build(context)
285
- when :modify_cluster_parameter_group
286
- Aws::Redshift::Endpoints::ModifyClusterParameterGroup.build(context)
287
- when :modify_cluster_snapshot
288
- Aws::Redshift::Endpoints::ModifyClusterSnapshot.build(context)
289
- when :modify_cluster_snapshot_schedule
290
- Aws::Redshift::Endpoints::ModifyClusterSnapshotSchedule.build(context)
291
- when :modify_cluster_subnet_group
292
- Aws::Redshift::Endpoints::ModifyClusterSubnetGroup.build(context)
293
- when :modify_custom_domain_association
294
- Aws::Redshift::Endpoints::ModifyCustomDomainAssociation.build(context)
295
- when :modify_endpoint_access
296
- Aws::Redshift::Endpoints::ModifyEndpointAccess.build(context)
297
- when :modify_event_subscription
298
- Aws::Redshift::Endpoints::ModifyEventSubscription.build(context)
299
- when :modify_redshift_idc_application
300
- Aws::Redshift::Endpoints::ModifyRedshiftIdcApplication.build(context)
301
- when :modify_scheduled_action
302
- Aws::Redshift::Endpoints::ModifyScheduledAction.build(context)
303
- when :modify_snapshot_copy_retention_period
304
- Aws::Redshift::Endpoints::ModifySnapshotCopyRetentionPeriod.build(context)
305
- when :modify_snapshot_schedule
306
- Aws::Redshift::Endpoints::ModifySnapshotSchedule.build(context)
307
- when :modify_usage_limit
308
- Aws::Redshift::Endpoints::ModifyUsageLimit.build(context)
309
- when :pause_cluster
310
- Aws::Redshift::Endpoints::PauseCluster.build(context)
311
- when :purchase_reserved_node_offering
312
- Aws::Redshift::Endpoints::PurchaseReservedNodeOffering.build(context)
313
- when :put_resource_policy
314
- Aws::Redshift::Endpoints::PutResourcePolicy.build(context)
315
- when :reboot_cluster
316
- Aws::Redshift::Endpoints::RebootCluster.build(context)
317
- when :reject_data_share
318
- Aws::Redshift::Endpoints::RejectDataShare.build(context)
319
- when :reset_cluster_parameter_group
320
- Aws::Redshift::Endpoints::ResetClusterParameterGroup.build(context)
321
- when :resize_cluster
322
- Aws::Redshift::Endpoints::ResizeCluster.build(context)
323
- when :restore_from_cluster_snapshot
324
- Aws::Redshift::Endpoints::RestoreFromClusterSnapshot.build(context)
325
- when :restore_table_from_cluster_snapshot
326
- Aws::Redshift::Endpoints::RestoreTableFromClusterSnapshot.build(context)
327
- when :resume_cluster
328
- Aws::Redshift::Endpoints::ResumeCluster.build(context)
329
- when :revoke_cluster_security_group_ingress
330
- Aws::Redshift::Endpoints::RevokeClusterSecurityGroupIngress.build(context)
331
- when :revoke_endpoint_access
332
- Aws::Redshift::Endpoints::RevokeEndpointAccess.build(context)
333
- when :revoke_snapshot_access
334
- Aws::Redshift::Endpoints::RevokeSnapshotAccess.build(context)
335
- when :rotate_encryption_key
336
- Aws::Redshift::Endpoints::RotateEncryptionKey.build(context)
337
- when :update_partner_status
338
- Aws::Redshift::Endpoints::UpdatePartnerStatus.build(context)
339
- end
340
- end
341
70
  end
342
71
 
343
72
  def add_handlers(handlers, _config)