aws-sdk-redshift 1.127.0 → 1.129.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-redshift/client.rb +14 -10
- data/lib/aws-sdk-redshift/client_api.rb +12 -9
- data/lib/aws-sdk-redshift/endpoint_parameters.rb +9 -6
- data/lib/aws-sdk-redshift/endpoints.rb +2 -1505
- data/lib/aws-sdk-redshift/plugins/endpoints.rb +1 -280
- data/lib/aws-sdk-redshift/types.rb +3 -3
- data/lib/aws-sdk-redshift.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b1d98818fd064f52750ec7cd55f6681e1f61488cded31b55559fe527d07a7ae1
|
4
|
+
data.tar.gz: e3aed6f73f24a4a333e383ad50f33f4caa7c178fa755072e0ae399805d7bcc96
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e0fd7520062193477142fb70da7da2e9f0452e23283674842cce3c716d4cc45606e1c56fb7924e08d4ba0359647be8065edbe17b050514f042b2808fdc305630
|
7
|
+
data.tar.gz: 241463ee73ec0f1a844a33294c075ec4d10d0e78bbd4bb996417c34465b0cfc2d212565c4704c023f2b62fc4fe260c35e8cb2c89008b7a8b8735cde730aaa04d
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.129.0 (2024-10-30)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release launches S3 event integrations to create and manage integrations from an Amazon S3 source into an Amazon Redshift database.
|
8
|
+
|
9
|
+
1.128.0 (2024-10-18)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.127.0 (2024-10-15)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.129.0
|
@@ -2580,7 +2580,8 @@ module Aws::Redshift
|
|
2580
2580
|
req.send_request(options)
|
2581
2581
|
end
|
2582
2582
|
|
2583
|
-
# Creates a zero-ETL integration with Amazon
|
2583
|
+
# Creates a zero-ETL integration or S3 event integration with Amazon
|
2584
|
+
# Redshift.
|
2584
2585
|
#
|
2585
2586
|
# @option params [required, String] :source_arn
|
2586
2587
|
# The Amazon Resource Name (ARN) of the database to use as the source
|
@@ -2634,8 +2635,8 @@ module Aws::Redshift
|
|
2634
2635
|
# @example Request syntax with placeholder values
|
2635
2636
|
#
|
2636
2637
|
# resp = client.create_integration({
|
2637
|
-
# source_arn: "
|
2638
|
-
# target_arn: "
|
2638
|
+
# source_arn: "SourceArn", # required
|
2639
|
+
# target_arn: "TargetArn", # required
|
2639
2640
|
# integration_name: "IntegrationName", # required
|
2640
2641
|
# kms_key_id: "String",
|
2641
2642
|
# tag_list: [
|
@@ -3787,7 +3788,8 @@ module Aws::Redshift
|
|
3787
3788
|
req.send_request(options)
|
3788
3789
|
end
|
3789
3790
|
|
3790
|
-
# Deletes a zero-ETL integration with Amazon
|
3791
|
+
# Deletes a zero-ETL integration or S3 event integration with Amazon
|
3792
|
+
# Redshift.
|
3791
3793
|
#
|
3792
3794
|
# @option params [required, String] :integration_arn
|
3793
3795
|
# The unique identifier of the integration to delete.
|
@@ -6164,8 +6166,8 @@ module Aws::Redshift
|
|
6164
6166
|
# @example Request syntax with placeholder values
|
6165
6167
|
#
|
6166
6168
|
# resp = client.describe_inbound_integrations({
|
6167
|
-
# integration_arn: "
|
6168
|
-
# target_arn: "
|
6169
|
+
# integration_arn: "InboundIntegrationArn",
|
6170
|
+
# target_arn: "TargetArn",
|
6169
6171
|
# max_records: 1,
|
6170
6172
|
# marker: "String",
|
6171
6173
|
# })
|
@@ -6192,7 +6194,8 @@ module Aws::Redshift
|
|
6192
6194
|
req.send_request(options)
|
6193
6195
|
end
|
6194
6196
|
|
6195
|
-
# Describes one or more zero-ETL integrations with Amazon
|
6197
|
+
# Describes one or more zero-ETL or S3 event integrations with Amazon
|
6198
|
+
# Redshift.
|
6196
6199
|
#
|
6197
6200
|
# @option params [String] :integration_arn
|
6198
6201
|
# The unique identifier of the integration.
|
@@ -7308,7 +7311,7 @@ module Aws::Redshift
|
|
7308
7311
|
#
|
7309
7312
|
# * Snapshot copy grant
|
7310
7313
|
#
|
7311
|
-
# * Integration (zero-ETL integration)
|
7314
|
+
# * Integration (zero-ETL integration or S3 event integration)
|
7312
7315
|
#
|
7313
7316
|
# <note markdown="1"> To describe the tags associated with an `integration`, don't
|
7314
7317
|
# specify `ResourceType`, instead specify the `ResourceName` of the
|
@@ -10231,7 +10234,8 @@ module Aws::Redshift
|
|
10231
10234
|
req.send_request(options)
|
10232
10235
|
end
|
10233
10236
|
|
10234
|
-
# Modifies a zero-ETL integration with Amazon
|
10237
|
+
# Modifies a zero-ETL integration or S3 event integration with Amazon
|
10238
|
+
# Redshift.
|
10235
10239
|
#
|
10236
10240
|
# @option params [required, String] :integration_arn
|
10237
10241
|
# The unique identifier of the integration to modify.
|
@@ -12731,7 +12735,7 @@ module Aws::Redshift
|
|
12731
12735
|
tracer: tracer
|
12732
12736
|
)
|
12733
12737
|
context[:gem_name] = 'aws-sdk-redshift'
|
12734
|
-
context[:gem_version] = '1.
|
12738
|
+
context[:gem_version] = '1.129.0'
|
12735
12739
|
Seahorse::Client::Request.new(handlers, context)
|
12736
12740
|
end
|
12737
12741
|
|
@@ -328,6 +328,7 @@ module Aws::Redshift
|
|
328
328
|
ImportTablesNotStarted = Shapes::ListShape.new(name: 'ImportTablesNotStarted')
|
329
329
|
InProgressTableRestoreQuotaExceededFault = Shapes::StructureShape.new(name: 'InProgressTableRestoreQuotaExceededFault', error: {"code"=>"InProgressTableRestoreQuotaExceededFault", "httpStatusCode"=>400, "senderFault"=>true})
|
330
330
|
InboundIntegration = Shapes::StructureShape.new(name: 'InboundIntegration')
|
331
|
+
InboundIntegrationArn = Shapes::StringShape.new(name: 'InboundIntegrationArn')
|
331
332
|
InboundIntegrationList = Shapes::ListShape.new(name: 'InboundIntegrationList')
|
332
333
|
InboundIntegrationsMessage = Shapes::StructureShape.new(name: 'InboundIntegrationsMessage')
|
333
334
|
IncompatibleOrderableOptions = Shapes::StructureShape.new(name: 'IncompatibleOrderableOptions', error: {"code"=>"IncompatibleOrderableOptions", "httpStatusCode"=>400, "senderFault"=>true})
|
@@ -576,6 +577,7 @@ module Aws::Redshift
|
|
576
577
|
SnapshotSortingEntity = Shapes::StructureShape.new(name: 'SnapshotSortingEntity')
|
577
578
|
SnapshotSortingEntityList = Shapes::ListShape.new(name: 'SnapshotSortingEntityList')
|
578
579
|
SortByOrder = Shapes::StringShape.new(name: 'SortByOrder')
|
580
|
+
SourceArn = Shapes::StringShape.new(name: 'SourceArn')
|
579
581
|
SourceIdsList = Shapes::ListShape.new(name: 'SourceIdsList')
|
580
582
|
SourceNotFoundFault = Shapes::StructureShape.new(name: 'SourceNotFoundFault', error: {"code"=>"SourceNotFound", "httpStatusCode"=>404, "senderFault"=>true})
|
581
583
|
SourceType = Shapes::StringShape.new(name: 'SourceType')
|
@@ -608,6 +610,7 @@ module Aws::Redshift
|
|
608
610
|
TaggedResource = Shapes::StructureShape.new(name: 'TaggedResource')
|
609
611
|
TaggedResourceList = Shapes::ListShape.new(name: 'TaggedResourceList')
|
610
612
|
TaggedResourceListMessage = Shapes::StructureShape.new(name: 'TaggedResourceListMessage')
|
613
|
+
TargetArn = Shapes::StringShape.new(name: 'TargetArn')
|
611
614
|
TrackList = Shapes::ListShape.new(name: 'TrackList')
|
612
615
|
TrackListMessage = Shapes::StructureShape.new(name: 'TrackListMessage')
|
613
616
|
UnauthorizedOperation = Shapes::StructureShape.new(name: 'UnauthorizedOperation', error: {"code"=>"UnauthorizedOperation", "httpStatusCode"=>400, "senderFault"=>true})
|
@@ -1160,8 +1163,8 @@ module Aws::Redshift
|
|
1160
1163
|
CreateHsmConfigurationResult.add_member(:hsm_configuration, Shapes::ShapeRef.new(shape: HsmConfiguration, location_name: "HsmConfiguration"))
|
1161
1164
|
CreateHsmConfigurationResult.struct_class = Types::CreateHsmConfigurationResult
|
1162
1165
|
|
1163
|
-
CreateIntegrationMessage.add_member(:source_arn, Shapes::ShapeRef.new(shape:
|
1164
|
-
CreateIntegrationMessage.add_member(:target_arn, Shapes::ShapeRef.new(shape:
|
1166
|
+
CreateIntegrationMessage.add_member(:source_arn, Shapes::ShapeRef.new(shape: SourceArn, required: true, location_name: "SourceArn"))
|
1167
|
+
CreateIntegrationMessage.add_member(:target_arn, Shapes::ShapeRef.new(shape: TargetArn, required: true, location_name: "TargetArn"))
|
1165
1168
|
CreateIntegrationMessage.add_member(:integration_name, Shapes::ShapeRef.new(shape: IntegrationName, required: true, location_name: "IntegrationName"))
|
1166
1169
|
CreateIntegrationMessage.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KMSKeyId"))
|
1167
1170
|
CreateIntegrationMessage.add_member(:tag_list, Shapes::ShapeRef.new(shape: TagList, location_name: "TagList"))
|
@@ -1523,8 +1526,8 @@ module Aws::Redshift
|
|
1523
1526
|
DescribeHsmConfigurationsMessage.add_member(:tag_values, Shapes::ShapeRef.new(shape: TagValueList, location_name: "TagValues"))
|
1524
1527
|
DescribeHsmConfigurationsMessage.struct_class = Types::DescribeHsmConfigurationsMessage
|
1525
1528
|
|
1526
|
-
DescribeInboundIntegrationsMessage.add_member(:integration_arn, Shapes::ShapeRef.new(shape:
|
1527
|
-
DescribeInboundIntegrationsMessage.add_member(:target_arn, Shapes::ShapeRef.new(shape:
|
1529
|
+
DescribeInboundIntegrationsMessage.add_member(:integration_arn, Shapes::ShapeRef.new(shape: InboundIntegrationArn, location_name: "IntegrationArn"))
|
1530
|
+
DescribeInboundIntegrationsMessage.add_member(:target_arn, Shapes::ShapeRef.new(shape: TargetArn, location_name: "TargetArn"))
|
1528
1531
|
DescribeInboundIntegrationsMessage.add_member(:max_records, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MaxRecords"))
|
1529
1532
|
DescribeInboundIntegrationsMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
|
1530
1533
|
DescribeInboundIntegrationsMessage.struct_class = Types::DescribeInboundIntegrationsMessage
|
@@ -1918,9 +1921,9 @@ module Aws::Redshift
|
|
1918
1921
|
|
1919
1922
|
InProgressTableRestoreQuotaExceededFault.struct_class = Types::InProgressTableRestoreQuotaExceededFault
|
1920
1923
|
|
1921
|
-
InboundIntegration.add_member(:integration_arn, Shapes::ShapeRef.new(shape:
|
1924
|
+
InboundIntegration.add_member(:integration_arn, Shapes::ShapeRef.new(shape: InboundIntegrationArn, location_name: "IntegrationArn"))
|
1922
1925
|
InboundIntegration.add_member(:source_arn, Shapes::ShapeRef.new(shape: String, location_name: "SourceArn"))
|
1923
|
-
InboundIntegration.add_member(:target_arn, Shapes::ShapeRef.new(shape:
|
1926
|
+
InboundIntegration.add_member(:target_arn, Shapes::ShapeRef.new(shape: TargetArn, location_name: "TargetArn"))
|
1924
1927
|
InboundIntegration.add_member(:status, Shapes::ShapeRef.new(shape: ZeroETLIntegrationStatus, location_name: "Status"))
|
1925
1928
|
InboundIntegration.add_member(:errors, Shapes::ShapeRef.new(shape: IntegrationErrorList, location_name: "Errors"))
|
1926
1929
|
InboundIntegration.add_member(:create_time, Shapes::ShapeRef.new(shape: TStamp, location_name: "CreateTime"))
|
@@ -1938,10 +1941,10 @@ module Aws::Redshift
|
|
1938
1941
|
|
1939
1942
|
InsufficientS3BucketPolicyFault.struct_class = Types::InsufficientS3BucketPolicyFault
|
1940
1943
|
|
1941
|
-
Integration.add_member(:integration_arn, Shapes::ShapeRef.new(shape:
|
1944
|
+
Integration.add_member(:integration_arn, Shapes::ShapeRef.new(shape: IntegrationArn, location_name: "IntegrationArn"))
|
1942
1945
|
Integration.add_member(:integration_name, Shapes::ShapeRef.new(shape: IntegrationName, location_name: "IntegrationName"))
|
1943
|
-
Integration.add_member(:source_arn, Shapes::ShapeRef.new(shape:
|
1944
|
-
Integration.add_member(:target_arn, Shapes::ShapeRef.new(shape:
|
1946
|
+
Integration.add_member(:source_arn, Shapes::ShapeRef.new(shape: SourceArn, location_name: "SourceArn"))
|
1947
|
+
Integration.add_member(:target_arn, Shapes::ShapeRef.new(shape: TargetArn, location_name: "TargetArn"))
|
1945
1948
|
Integration.add_member(:status, Shapes::ShapeRef.new(shape: ZeroETLIntegrationStatus, location_name: "Status"))
|
1946
1949
|
Integration.add_member(:errors, Shapes::ShapeRef.new(shape: IntegrationErrorList, location_name: "Errors"))
|
1947
1950
|
Integration.add_member(:create_time, Shapes::ShapeRef.new(shape: TStamp, location_name: "CreateTime"))
|
@@ -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
|