aws-sdk-redshift 1.126.0 → 1.128.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.
@@ -145,6 +145,7 @@ module Aws::Redshift
145
145
  CreateHsmClientCertificateResult = Shapes::StructureShape.new(name: 'CreateHsmClientCertificateResult')
146
146
  CreateHsmConfigurationMessage = Shapes::StructureShape.new(name: 'CreateHsmConfigurationMessage')
147
147
  CreateHsmConfigurationResult = Shapes::StructureShape.new(name: 'CreateHsmConfigurationResult')
148
+ CreateIntegrationMessage = Shapes::StructureShape.new(name: 'CreateIntegrationMessage')
148
149
  CreateRedshiftIdcApplicationMessage = Shapes::StructureShape.new(name: 'CreateRedshiftIdcApplicationMessage')
149
150
  CreateRedshiftIdcApplicationResult = Shapes::StructureShape.new(name: 'CreateRedshiftIdcApplicationResult')
150
151
  CreateScheduledActionMessage = Shapes::StructureShape.new(name: 'CreateScheduledActionMessage')
@@ -187,6 +188,7 @@ module Aws::Redshift
187
188
  DeleteEventSubscriptionMessage = Shapes::StructureShape.new(name: 'DeleteEventSubscriptionMessage')
188
189
  DeleteHsmClientCertificateMessage = Shapes::StructureShape.new(name: 'DeleteHsmClientCertificateMessage')
189
190
  DeleteHsmConfigurationMessage = Shapes::StructureShape.new(name: 'DeleteHsmConfigurationMessage')
191
+ DeleteIntegrationMessage = Shapes::StructureShape.new(name: 'DeleteIntegrationMessage')
190
192
  DeleteRedshiftIdcApplicationMessage = Shapes::StructureShape.new(name: 'DeleteRedshiftIdcApplicationMessage')
191
193
  DeleteResourcePolicyMessage = Shapes::StructureShape.new(name: 'DeleteResourcePolicyMessage')
192
194
  DeleteScheduledActionMessage = Shapes::StructureShape.new(name: 'DeleteScheduledActionMessage')
@@ -226,6 +228,11 @@ module Aws::Redshift
226
228
  DescribeHsmClientCertificatesMessage = Shapes::StructureShape.new(name: 'DescribeHsmClientCertificatesMessage')
227
229
  DescribeHsmConfigurationsMessage = Shapes::StructureShape.new(name: 'DescribeHsmConfigurationsMessage')
228
230
  DescribeInboundIntegrationsMessage = Shapes::StructureShape.new(name: 'DescribeInboundIntegrationsMessage')
231
+ DescribeIntegrationsFilter = Shapes::StructureShape.new(name: 'DescribeIntegrationsFilter')
232
+ DescribeIntegrationsFilterList = Shapes::ListShape.new(name: 'DescribeIntegrationsFilterList')
233
+ DescribeIntegrationsFilterName = Shapes::StringShape.new(name: 'DescribeIntegrationsFilterName')
234
+ DescribeIntegrationsFilterValueList = Shapes::ListShape.new(name: 'DescribeIntegrationsFilterValueList')
235
+ DescribeIntegrationsMessage = Shapes::StructureShape.new(name: 'DescribeIntegrationsMessage')
229
236
  DescribeLoggingStatusMessage = Shapes::StructureShape.new(name: 'DescribeLoggingStatusMessage')
230
237
  DescribeNodeConfigurationOptionsMessage = Shapes::StructureShape.new(name: 'DescribeNodeConfigurationOptionsMessage')
231
238
  DescribeOrderableClusterOptionsMessage = Shapes::StructureShape.new(name: 'DescribeOrderableClusterOptionsMessage')
@@ -245,6 +252,7 @@ module Aws::Redshift
245
252
  DescribeTableRestoreStatusMessage = Shapes::StructureShape.new(name: 'DescribeTableRestoreStatusMessage')
246
253
  DescribeTagsMessage = Shapes::StructureShape.new(name: 'DescribeTagsMessage')
247
254
  DescribeUsageLimitsMessage = Shapes::StructureShape.new(name: 'DescribeUsageLimitsMessage')
255
+ Description = Shapes::StringShape.new(name: 'Description')
248
256
  DisableLoggingMessage = Shapes::StructureShape.new(name: 'DisableLoggingMessage')
249
257
  DisableSnapshotCopyMessage = Shapes::StructureShape.new(name: 'DisableSnapshotCopyMessage')
250
258
  DisableSnapshotCopyResult = Shapes::StructureShape.new(name: 'DisableSnapshotCopyResult')
@@ -258,6 +266,7 @@ module Aws::Redshift
258
266
  EnableLoggingMessage = Shapes::StructureShape.new(name: 'EnableLoggingMessage')
259
267
  EnableSnapshotCopyMessage = Shapes::StructureShape.new(name: 'EnableSnapshotCopyMessage')
260
268
  EnableSnapshotCopyResult = Shapes::StructureShape.new(name: 'EnableSnapshotCopyResult')
269
+ EncryptionContextMap = Shapes::MapShape.new(name: 'EncryptionContextMap')
261
270
  Endpoint = Shapes::StructureShape.new(name: 'Endpoint')
262
271
  EndpointAccess = Shapes::StructureShape.new(name: 'EndpointAccess')
263
272
  EndpointAccessList = Shapes::StructureShape.new(name: 'EndpointAccessList')
@@ -326,9 +335,21 @@ module Aws::Redshift
326
335
  InsufficientS3BucketPolicyFault = Shapes::StructureShape.new(name: 'InsufficientS3BucketPolicyFault', error: {"code"=>"InsufficientS3BucketPolicyFault", "httpStatusCode"=>400, "senderFault"=>true})
327
336
  Integer = Shapes::IntegerShape.new(name: 'Integer')
328
337
  IntegerOptional = Shapes::IntegerShape.new(name: 'IntegerOptional')
338
+ Integration = Shapes::StructureShape.new(name: 'Integration')
339
+ IntegrationAlreadyExistsFault = Shapes::StructureShape.new(name: 'IntegrationAlreadyExistsFault', error: {"code"=>"IntegrationAlreadyExistsFault", "httpStatusCode"=>400, "senderFault"=>true})
340
+ IntegrationArn = Shapes::StringShape.new(name: 'IntegrationArn')
341
+ IntegrationConflictOperationFault = Shapes::StructureShape.new(name: 'IntegrationConflictOperationFault', error: {"code"=>"IntegrationConflictOperationFault", "httpStatusCode"=>400, "senderFault"=>true})
342
+ IntegrationConflictStateFault = Shapes::StructureShape.new(name: 'IntegrationConflictStateFault', error: {"code"=>"IntegrationConflictStateFault", "httpStatusCode"=>400, "senderFault"=>true})
343
+ IntegrationDescription = Shapes::StringShape.new(name: 'IntegrationDescription')
329
344
  IntegrationError = Shapes::StructureShape.new(name: 'IntegrationError')
330
345
  IntegrationErrorList = Shapes::ListShape.new(name: 'IntegrationErrorList')
346
+ IntegrationList = Shapes::ListShape.new(name: 'IntegrationList')
347
+ IntegrationName = Shapes::StringShape.new(name: 'IntegrationName')
331
348
  IntegrationNotFoundFault = Shapes::StructureShape.new(name: 'IntegrationNotFoundFault', error: {"code"=>"IntegrationNotFoundFault", "httpStatusCode"=>404, "senderFault"=>true})
349
+ IntegrationQuotaExceededFault = Shapes::StructureShape.new(name: 'IntegrationQuotaExceededFault', error: {"code"=>"IntegrationQuotaExceededFault", "httpStatusCode"=>400, "senderFault"=>true})
350
+ IntegrationSourceNotFoundFault = Shapes::StructureShape.new(name: 'IntegrationSourceNotFoundFault', error: {"code"=>"IntegrationSourceNotFoundFault", "httpStatusCode"=>404, "senderFault"=>true})
351
+ IntegrationTargetNotFoundFault = Shapes::StructureShape.new(name: 'IntegrationTargetNotFoundFault', error: {"code"=>"IntegrationTargetNotFoundFault", "httpStatusCode"=>404, "senderFault"=>true})
352
+ IntegrationsMessage = Shapes::StructureShape.new(name: 'IntegrationsMessage')
332
353
  InvalidAuthenticationProfileRequestFault = Shapes::StructureShape.new(name: 'InvalidAuthenticationProfileRequestFault', error: {"code"=>"InvalidAuthenticationProfileRequestFault", "httpStatusCode"=>400, "senderFault"=>true})
333
354
  InvalidAuthorizationStateFault = Shapes::StructureShape.new(name: 'InvalidAuthorizationStateFault', error: {"code"=>"InvalidAuthorizationState", "httpStatusCode"=>400, "senderFault"=>true})
334
355
  InvalidClusterParameterGroupStateFault = Shapes::StructureShape.new(name: 'InvalidClusterParameterGroupStateFault', error: {"code"=>"InvalidClusterParameterGroupState", "httpStatusCode"=>400, "senderFault"=>true})
@@ -397,6 +418,7 @@ module Aws::Redshift
397
418
  ModifyEndpointAccessMessage = Shapes::StructureShape.new(name: 'ModifyEndpointAccessMessage')
398
419
  ModifyEventSubscriptionMessage = Shapes::StructureShape.new(name: 'ModifyEventSubscriptionMessage')
399
420
  ModifyEventSubscriptionResult = Shapes::StructureShape.new(name: 'ModifyEventSubscriptionResult')
421
+ ModifyIntegrationMessage = Shapes::StructureShape.new(name: 'ModifyIntegrationMessage')
400
422
  ModifyRedshiftIdcApplicationMessage = Shapes::StructureShape.new(name: 'ModifyRedshiftIdcApplicationMessage')
401
423
  ModifyRedshiftIdcApplicationResult = Shapes::StructureShape.new(name: 'ModifyRedshiftIdcApplicationResult')
402
424
  ModifyScheduledActionMessage = Shapes::StructureShape.new(name: 'ModifyScheduledActionMessage')
@@ -1138,6 +1160,15 @@ module Aws::Redshift
1138
1160
  CreateHsmConfigurationResult.add_member(:hsm_configuration, Shapes::ShapeRef.new(shape: HsmConfiguration, location_name: "HsmConfiguration"))
1139
1161
  CreateHsmConfigurationResult.struct_class = Types::CreateHsmConfigurationResult
1140
1162
 
1163
+ CreateIntegrationMessage.add_member(:source_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SourceArn"))
1164
+ CreateIntegrationMessage.add_member(:target_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "TargetArn"))
1165
+ CreateIntegrationMessage.add_member(:integration_name, Shapes::ShapeRef.new(shape: IntegrationName, required: true, location_name: "IntegrationName"))
1166
+ CreateIntegrationMessage.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KMSKeyId"))
1167
+ CreateIntegrationMessage.add_member(:tag_list, Shapes::ShapeRef.new(shape: TagList, location_name: "TagList"))
1168
+ CreateIntegrationMessage.add_member(:additional_encryption_context, Shapes::ShapeRef.new(shape: EncryptionContextMap, location_name: "AdditionalEncryptionContext"))
1169
+ CreateIntegrationMessage.add_member(:description, Shapes::ShapeRef.new(shape: IntegrationDescription, location_name: "Description"))
1170
+ CreateIntegrationMessage.struct_class = Types::CreateIntegrationMessage
1171
+
1141
1172
  CreateRedshiftIdcApplicationMessage.add_member(:idc_instance_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "IdcInstanceArn"))
1142
1173
  CreateRedshiftIdcApplicationMessage.add_member(:redshift_idc_application_name, Shapes::ShapeRef.new(shape: RedshiftIdcApplicationName, required: true, location_name: "RedshiftIdcApplicationName"))
1143
1174
  CreateRedshiftIdcApplicationMessage.add_member(:identity_namespace, Shapes::ShapeRef.new(shape: IdentityNamespaceString, location_name: "IdentityNamespace"))
@@ -1296,6 +1327,9 @@ module Aws::Redshift
1296
1327
  DeleteHsmConfigurationMessage.add_member(:hsm_configuration_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "HsmConfigurationIdentifier"))
1297
1328
  DeleteHsmConfigurationMessage.struct_class = Types::DeleteHsmConfigurationMessage
1298
1329
 
1330
+ DeleteIntegrationMessage.add_member(:integration_arn, Shapes::ShapeRef.new(shape: IntegrationArn, required: true, location_name: "IntegrationArn"))
1331
+ DeleteIntegrationMessage.struct_class = Types::DeleteIntegrationMessage
1332
+
1299
1333
  DeleteRedshiftIdcApplicationMessage.add_member(:redshift_idc_application_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "RedshiftIdcApplicationArn"))
1300
1334
  DeleteRedshiftIdcApplicationMessage.struct_class = Types::DeleteRedshiftIdcApplicationMessage
1301
1335
 
@@ -1495,6 +1529,20 @@ module Aws::Redshift
1495
1529
  DescribeInboundIntegrationsMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
1496
1530
  DescribeInboundIntegrationsMessage.struct_class = Types::DescribeInboundIntegrationsMessage
1497
1531
 
1532
+ DescribeIntegrationsFilter.add_member(:name, Shapes::ShapeRef.new(shape: DescribeIntegrationsFilterName, required: true, location_name: "Name"))
1533
+ DescribeIntegrationsFilter.add_member(:values, Shapes::ShapeRef.new(shape: DescribeIntegrationsFilterValueList, required: true, location_name: "Values"))
1534
+ DescribeIntegrationsFilter.struct_class = Types::DescribeIntegrationsFilter
1535
+
1536
+ DescribeIntegrationsFilterList.member = Shapes::ShapeRef.new(shape: DescribeIntegrationsFilter, location_name: "DescribeIntegrationsFilter")
1537
+
1538
+ DescribeIntegrationsFilterValueList.member = Shapes::ShapeRef.new(shape: String, location_name: "Value")
1539
+
1540
+ DescribeIntegrationsMessage.add_member(:integration_arn, Shapes::ShapeRef.new(shape: IntegrationArn, location_name: "IntegrationArn"))
1541
+ DescribeIntegrationsMessage.add_member(:max_records, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MaxRecords"))
1542
+ DescribeIntegrationsMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
1543
+ DescribeIntegrationsMessage.add_member(:filters, Shapes::ShapeRef.new(shape: DescribeIntegrationsFilterList, location_name: "Filters"))
1544
+ DescribeIntegrationsMessage.struct_class = Types::DescribeIntegrationsMessage
1545
+
1498
1546
  DescribeLoggingStatusMessage.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ClusterIdentifier"))
1499
1547
  DescribeLoggingStatusMessage.struct_class = Types::DescribeLoggingStatusMessage
1500
1548
 
@@ -1653,6 +1701,9 @@ module Aws::Redshift
1653
1701
  EnableSnapshotCopyResult.add_member(:cluster, Shapes::ShapeRef.new(shape: Cluster, location_name: "Cluster"))
1654
1702
  EnableSnapshotCopyResult.struct_class = Types::EnableSnapshotCopyResult
1655
1703
 
1704
+ EncryptionContextMap.key = Shapes::ShapeRef.new(shape: String)
1705
+ EncryptionContextMap.value = Shapes::ShapeRef.new(shape: String)
1706
+
1656
1707
  Endpoint.add_member(:address, Shapes::ShapeRef.new(shape: String, location_name: "Address"))
1657
1708
  Endpoint.add_member(:port, Shapes::ShapeRef.new(shape: Integer, location_name: "Port"))
1658
1709
  Endpoint.add_member(:vpc_endpoints, Shapes::ShapeRef.new(shape: VpcEndpointsList, location_name: "VpcEndpoints"))
@@ -1887,14 +1938,45 @@ module Aws::Redshift
1887
1938
 
1888
1939
  InsufficientS3BucketPolicyFault.struct_class = Types::InsufficientS3BucketPolicyFault
1889
1940
 
1941
+ Integration.add_member(:integration_arn, Shapes::ShapeRef.new(shape: String, location_name: "IntegrationArn"))
1942
+ Integration.add_member(:integration_name, Shapes::ShapeRef.new(shape: IntegrationName, location_name: "IntegrationName"))
1943
+ Integration.add_member(:source_arn, Shapes::ShapeRef.new(shape: String, location_name: "SourceArn"))
1944
+ Integration.add_member(:target_arn, Shapes::ShapeRef.new(shape: String, location_name: "TargetArn"))
1945
+ Integration.add_member(:status, Shapes::ShapeRef.new(shape: ZeroETLIntegrationStatus, location_name: "Status"))
1946
+ Integration.add_member(:errors, Shapes::ShapeRef.new(shape: IntegrationErrorList, location_name: "Errors"))
1947
+ Integration.add_member(:create_time, Shapes::ShapeRef.new(shape: TStamp, location_name: "CreateTime"))
1948
+ Integration.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
1949
+ Integration.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KMSKeyId"))
1950
+ Integration.add_member(:additional_encryption_context, Shapes::ShapeRef.new(shape: EncryptionContextMap, location_name: "AdditionalEncryptionContext"))
1951
+ Integration.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
1952
+ Integration.struct_class = Types::Integration
1953
+
1954
+ IntegrationAlreadyExistsFault.struct_class = Types::IntegrationAlreadyExistsFault
1955
+
1956
+ IntegrationConflictOperationFault.struct_class = Types::IntegrationConflictOperationFault
1957
+
1958
+ IntegrationConflictStateFault.struct_class = Types::IntegrationConflictStateFault
1959
+
1890
1960
  IntegrationError.add_member(:error_code, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ErrorCode"))
1891
1961
  IntegrationError.add_member(:error_message, Shapes::ShapeRef.new(shape: String, location_name: "ErrorMessage"))
1892
1962
  IntegrationError.struct_class = Types::IntegrationError
1893
1963
 
1894
1964
  IntegrationErrorList.member = Shapes::ShapeRef.new(shape: IntegrationError, location_name: "IntegrationError")
1895
1965
 
1966
+ IntegrationList.member = Shapes::ShapeRef.new(shape: Integration, location_name: "Integration")
1967
+
1896
1968
  IntegrationNotFoundFault.struct_class = Types::IntegrationNotFoundFault
1897
1969
 
1970
+ IntegrationQuotaExceededFault.struct_class = Types::IntegrationQuotaExceededFault
1971
+
1972
+ IntegrationSourceNotFoundFault.struct_class = Types::IntegrationSourceNotFoundFault
1973
+
1974
+ IntegrationTargetNotFoundFault.struct_class = Types::IntegrationTargetNotFoundFault
1975
+
1976
+ IntegrationsMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
1977
+ IntegrationsMessage.add_member(:integrations, Shapes::ShapeRef.new(shape: IntegrationList, location_name: "Integrations"))
1978
+ IntegrationsMessage.struct_class = Types::IntegrationsMessage
1979
+
1898
1980
  InvalidAuthenticationProfileRequestFault.struct_class = Types::InvalidAuthenticationProfileRequestFault
1899
1981
 
1900
1982
  InvalidAuthorizationStateFault.struct_class = Types::InvalidAuthorizationStateFault
@@ -2127,6 +2209,11 @@ module Aws::Redshift
2127
2209
  ModifyEventSubscriptionResult.add_member(:event_subscription, Shapes::ShapeRef.new(shape: EventSubscription, location_name: "EventSubscription"))
2128
2210
  ModifyEventSubscriptionResult.struct_class = Types::ModifyEventSubscriptionResult
2129
2211
 
2212
+ ModifyIntegrationMessage.add_member(:integration_arn, Shapes::ShapeRef.new(shape: IntegrationArn, required: true, location_name: "IntegrationArn"))
2213
+ ModifyIntegrationMessage.add_member(:description, Shapes::ShapeRef.new(shape: IntegrationDescription, location_name: "Description"))
2214
+ ModifyIntegrationMessage.add_member(:integration_name, Shapes::ShapeRef.new(shape: IntegrationName, location_name: "IntegrationName"))
2215
+ ModifyIntegrationMessage.struct_class = Types::ModifyIntegrationMessage
2216
+
2130
2217
  ModifyRedshiftIdcApplicationMessage.add_member(:redshift_idc_application_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "RedshiftIdcApplicationArn"))
2131
2218
  ModifyRedshiftIdcApplicationMessage.add_member(:identity_namespace, Shapes::ShapeRef.new(shape: IdentityNamespaceString, location_name: "IdentityNamespace"))
2132
2219
  ModifyRedshiftIdcApplicationMessage.add_member(:iam_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "IamRoleArn"))
@@ -3209,6 +3296,23 @@ module Aws::Redshift
3209
3296
  o.errors << Shapes::ShapeRef.new(shape: InvalidTagFault)
3210
3297
  end)
3211
3298
 
3299
+ api.add_operation(:create_integration, Seahorse::Model::Operation.new.tap do |o|
3300
+ o.name = "CreateIntegration"
3301
+ o.http_method = "POST"
3302
+ o.http_request_uri = "/"
3303
+ o.input = Shapes::ShapeRef.new(shape: CreateIntegrationMessage)
3304
+ o.output = Shapes::ShapeRef.new(shape: Integration)
3305
+ o.errors << Shapes::ShapeRef.new(shape: IntegrationAlreadyExistsFault)
3306
+ o.errors << Shapes::ShapeRef.new(shape: IntegrationConflictOperationFault)
3307
+ o.errors << Shapes::ShapeRef.new(shape: IntegrationQuotaExceededFault)
3308
+ o.errors << Shapes::ShapeRef.new(shape: IntegrationSourceNotFoundFault)
3309
+ o.errors << Shapes::ShapeRef.new(shape: IntegrationTargetNotFoundFault)
3310
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationFault)
3311
+ o.errors << Shapes::ShapeRef.new(shape: InvalidClusterStateFault)
3312
+ o.errors << Shapes::ShapeRef.new(shape: TagLimitExceededFault)
3313
+ o.errors << Shapes::ShapeRef.new(shape: InvalidTagFault)
3314
+ end)
3315
+
3212
3316
  api.add_operation(:create_redshift_idc_application, Seahorse::Model::Operation.new.tap do |o|
3213
3317
  o.name = "CreateRedshiftIdcApplication"
3214
3318
  o.http_method = "POST"
@@ -3421,6 +3525,18 @@ module Aws::Redshift
3421
3525
  o.errors << Shapes::ShapeRef.new(shape: HsmConfigurationNotFoundFault)
3422
3526
  end)
3423
3527
 
3528
+ api.add_operation(:delete_integration, Seahorse::Model::Operation.new.tap do |o|
3529
+ o.name = "DeleteIntegration"
3530
+ o.http_method = "POST"
3531
+ o.http_request_uri = "/"
3532
+ o.input = Shapes::ShapeRef.new(shape: DeleteIntegrationMessage)
3533
+ o.output = Shapes::ShapeRef.new(shape: Integration)
3534
+ o.errors << Shapes::ShapeRef.new(shape: IntegrationNotFoundFault)
3535
+ o.errors << Shapes::ShapeRef.new(shape: IntegrationConflictStateFault)
3536
+ o.errors << Shapes::ShapeRef.new(shape: IntegrationConflictOperationFault)
3537
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationFault)
3538
+ end)
3539
+
3424
3540
  api.add_operation(:delete_partner, Seahorse::Model::Operation.new.tap do |o|
3425
3541
  o.name = "DeletePartner"
3426
3542
  o.http_method = "POST"
@@ -3861,6 +3977,22 @@ module Aws::Redshift
3861
3977
  )
3862
3978
  end)
3863
3979
 
3980
+ api.add_operation(:describe_integrations, Seahorse::Model::Operation.new.tap do |o|
3981
+ o.name = "DescribeIntegrations"
3982
+ o.http_method = "POST"
3983
+ o.http_request_uri = "/"
3984
+ o.input = Shapes::ShapeRef.new(shape: DescribeIntegrationsMessage)
3985
+ o.output = Shapes::ShapeRef.new(shape: IntegrationsMessage)
3986
+ o.errors << Shapes::ShapeRef.new(shape: IntegrationNotFoundFault)
3987
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationFault)
3988
+ o[:pager] = Aws::Pager.new(
3989
+ limit_key: "max_records",
3990
+ tokens: {
3991
+ "marker" => "marker"
3992
+ }
3993
+ )
3994
+ end)
3995
+
3864
3996
  api.add_operation(:describe_logging_status, Seahorse::Model::Operation.new.tap do |o|
3865
3997
  o.name = "DescribeLoggingStatus"
3866
3998
  o.http_method = "POST"
@@ -4438,6 +4570,19 @@ module Aws::Redshift
4438
4570
  o.errors << Shapes::ShapeRef.new(shape: InvalidSubscriptionStateFault)
4439
4571
  end)
4440
4572
 
4573
+ api.add_operation(:modify_integration, Seahorse::Model::Operation.new.tap do |o|
4574
+ o.name = "ModifyIntegration"
4575
+ o.http_method = "POST"
4576
+ o.http_request_uri = "/"
4577
+ o.input = Shapes::ShapeRef.new(shape: ModifyIntegrationMessage)
4578
+ o.output = Shapes::ShapeRef.new(shape: Integration)
4579
+ o.errors << Shapes::ShapeRef.new(shape: IntegrationNotFoundFault)
4580
+ o.errors << Shapes::ShapeRef.new(shape: IntegrationConflictStateFault)
4581
+ o.errors << Shapes::ShapeRef.new(shape: IntegrationConflictOperationFault)
4582
+ o.errors << Shapes::ShapeRef.new(shape: IntegrationAlreadyExistsFault)
4583
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationFault)
4584
+ end)
4585
+
4441
4586
  api.add_operation(:modify_redshift_idc_application, Seahorse::Model::Operation.new.tap do |o|
4442
4587
  o.name = "ModifyRedshiftIdcApplication"
4443
4588
  o.http_method = "POST"
@@ -52,15 +52,18 @@ module Aws::Redshift
52
52
  self[:region] = options[:region]
53
53
  self[:use_dual_stack] = options[:use_dual_stack]
54
54
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
- if self[:use_dual_stack].nil?
56
- raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
57
- end
58
55
  self[:use_fips] = options[:use_fips]
59
56
  self[:use_fips] = false if self[:use_fips].nil?
60
- if self[:use_fips].nil?
61
- raise ArgumentError, "Missing required EndpointParameter: :use_fips"
62
- end
63
57
  self[:endpoint] = options[:endpoint]
64
58
  end
59
+
60
+ def self.create(config, options={})
61
+ new({
62
+ region: config.region,
63
+ use_dual_stack: config.use_dualstack_endpoint,
64
+ use_fips: config.use_fips_endpoint,
65
+ endpoint: (config.endpoint.to_s unless config.regional_endpoint),
66
+ }.merge(options))
67
+ end
65
68
  end
66
69
  end