aws-sdk-redshift 1.130.0 → 1.131.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bc5740c8db3d09017086b70fab3d9580068c522ef0a4613597a49d17824b87c3
4
- data.tar.gz: d3b355b41e6d233658b3919fb942af1a0234f8de943b24267a82004c597267a4
3
+ metadata.gz: 59e3d0274823bf9c18dad4152262c08b06a4b6bbb793e35fc17305e062f2f039
4
+ data.tar.gz: 99e2d4e6fc424d2723ece078f1fc9be5a66b051feac1f6cf77e1b492bf45de2b
5
5
  SHA512:
6
- metadata.gz: 9ec190ab32fb17adbcf14c1c7c836d5aaa875d44bde87b22b41c6b604d26fac8d7da1fa93afeeb19a5b81e250e74cfe5e1bb8276b5803c619072fed83acdf9b2
7
- data.tar.gz: 1c5f4502e2bf284b2077550cd3e7fee2079c6f5cb0874e7bc891e4a29514f9a0f817d930637ff9d5d23dd677f8c1310ac3ac6eac2d96651b7ea8b64bfe460d9a
6
+ metadata.gz: 999bd2cfeff487d625f709193dcf3126d92c4b5b8bc1168883a77b54c5022605c728e49cd37dfb7179f6400ea2e3c547e08d3b4cb77a5f21b2bc9e5120f083a9
7
+ data.tar.gz: fcba266db67c2152e67e46efad9979dcbaf3d97656c9d824c96bbeedeb06fc975d90e466641f759d7fb6662fd4b3d137b5105600fac9dce347a56df76dd39b11
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.131.0 (2024-11-14)
5
+ ------------------
6
+
7
+ * Feature - Adds support for Amazon Redshift S3AccessGrants
8
+
4
9
  1.130.0 (2024-11-06)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.130.0
1
+ 1.131.0
@@ -2738,6 +2738,13 @@ module Aws::Redshift
2738
2738
  # },
2739
2739
  # },
2740
2740
  # ],
2741
+ # s3_access_grants: [
2742
+ # {
2743
+ # read_write_access: {
2744
+ # authorization: "Enabled", # required, accepts Enabled, Disabled
2745
+ # },
2746
+ # },
2747
+ # ],
2741
2748
  # },
2742
2749
  # ],
2743
2750
  # })
@@ -2759,6 +2766,8 @@ module Aws::Redshift
2759
2766
  # resp.redshift_idc_application.service_integrations #=> Array
2760
2767
  # resp.redshift_idc_application.service_integrations[0].lake_formation #=> Array
2761
2768
  # resp.redshift_idc_application.service_integrations[0].lake_formation[0].lake_formation_query.authorization #=> String, one of "Enabled", "Disabled"
2769
+ # resp.redshift_idc_application.service_integrations[0].s3_access_grants #=> Array
2770
+ # resp.redshift_idc_application.service_integrations[0].s3_access_grants[0].read_write_access.authorization #=> String, one of "Enabled", "Disabled"
2762
2771
  #
2763
2772
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateRedshiftIdcApplication AWS API Documentation
2764
2773
  #
@@ -6602,6 +6611,8 @@ module Aws::Redshift
6602
6611
  # resp.redshift_idc_applications[0].service_integrations #=> Array
6603
6612
  # resp.redshift_idc_applications[0].service_integrations[0].lake_formation #=> Array
6604
6613
  # resp.redshift_idc_applications[0].service_integrations[0].lake_formation[0].lake_formation_query.authorization #=> String, one of "Enabled", "Disabled"
6614
+ # resp.redshift_idc_applications[0].service_integrations[0].s3_access_grants #=> Array
6615
+ # resp.redshift_idc_applications[0].service_integrations[0].s3_access_grants[0].read_write_access.authorization #=> String, one of "Enabled", "Disabled"
6605
6616
  # resp.marker #=> String
6606
6617
  #
6607
6618
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeRedshiftIdcApplications AWS API Documentation
@@ -10349,6 +10360,13 @@ module Aws::Redshift
10349
10360
  # },
10350
10361
  # },
10351
10362
  # ],
10363
+ # s3_access_grants: [
10364
+ # {
10365
+ # read_write_access: {
10366
+ # authorization: "Enabled", # required, accepts Enabled, Disabled
10367
+ # },
10368
+ # },
10369
+ # ],
10352
10370
  # },
10353
10371
  # ],
10354
10372
  # })
@@ -10370,6 +10388,8 @@ module Aws::Redshift
10370
10388
  # resp.redshift_idc_application.service_integrations #=> Array
10371
10389
  # resp.redshift_idc_application.service_integrations[0].lake_formation #=> Array
10372
10390
  # resp.redshift_idc_application.service_integrations[0].lake_formation[0].lake_formation_query.authorization #=> String, one of "Enabled", "Disabled"
10391
+ # resp.redshift_idc_application.service_integrations[0].s3_access_grants #=> Array
10392
+ # resp.redshift_idc_application.service_integrations[0].s3_access_grants[0].read_write_access.authorization #=> String, one of "Enabled", "Disabled"
10373
10393
  #
10374
10394
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyRedshiftIdcApplication AWS API Documentation
10375
10395
  #
@@ -12735,7 +12755,7 @@ module Aws::Redshift
12735
12755
  tracer: tracer
12736
12756
  )
12737
12757
  context[:gem_name] = 'aws-sdk-redshift'
12738
- context[:gem_version] = '1.130.0'
12758
+ context[:gem_version] = '1.131.0'
12739
12759
  Seahorse::Client::Request.new(handlers, context)
12740
12760
  end
12741
12761
 
@@ -464,6 +464,7 @@ module Aws::Redshift
464
464
  PurchaseReservedNodeOfferingResult = Shapes::StructureShape.new(name: 'PurchaseReservedNodeOfferingResult')
465
465
  PutResourcePolicyMessage = Shapes::StructureShape.new(name: 'PutResourcePolicyMessage')
466
466
  PutResourcePolicyResult = Shapes::StructureShape.new(name: 'PutResourcePolicyResult')
467
+ ReadWriteAccess = Shapes::StructureShape.new(name: 'ReadWriteAccess')
467
468
  RebootClusterMessage = Shapes::StructureShape.new(name: 'RebootClusterMessage')
468
469
  RebootClusterResult = Shapes::StructureShape.new(name: 'RebootClusterResult')
469
470
  Recommendation = Shapes::StructureShape.new(name: 'Recommendation')
@@ -526,6 +527,8 @@ module Aws::Redshift
526
527
  RevokeSnapshotAccessResult = Shapes::StructureShape.new(name: 'RevokeSnapshotAccessResult')
527
528
  RotateEncryptionKeyMessage = Shapes::StructureShape.new(name: 'RotateEncryptionKeyMessage')
528
529
  RotateEncryptionKeyResult = Shapes::StructureShape.new(name: 'RotateEncryptionKeyResult')
530
+ S3AccessGrantsScopeUnion = Shapes::UnionShape.new(name: 'S3AccessGrantsScopeUnion')
531
+ S3AccessGrantsServiceIntegrations = Shapes::ListShape.new(name: 'S3AccessGrantsServiceIntegrations')
529
532
  S3KeyPrefixValue = Shapes::StringShape.new(name: 'S3KeyPrefixValue')
530
533
  SNSInvalidTopicFault = Shapes::StructureShape.new(name: 'SNSInvalidTopicFault', error: {"code"=>"SNSInvalidTopic", "httpStatusCode"=>400, "senderFault"=>true})
531
534
  SNSNoAuthorizationFault = Shapes::StructureShape.new(name: 'SNSNoAuthorizationFault', error: {"code"=>"SNSNoAuthorization", "httpStatusCode"=>400, "senderFault"=>true})
@@ -2371,6 +2374,9 @@ module Aws::Redshift
2371
2374
  PutResourcePolicyResult.add_member(:resource_policy, Shapes::ShapeRef.new(shape: ResourcePolicy, location_name: "ResourcePolicy"))
2372
2375
  PutResourcePolicyResult.struct_class = Types::PutResourcePolicyResult
2373
2376
 
2377
+ ReadWriteAccess.add_member(:authorization, Shapes::ShapeRef.new(shape: ServiceAuthorization, required: true, location_name: "Authorization"))
2378
+ ReadWriteAccess.struct_class = Types::ReadWriteAccess
2379
+
2374
2380
  RebootClusterMessage.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ClusterIdentifier"))
2375
2381
  RebootClusterMessage.struct_class = Types::RebootClusterMessage
2376
2382
 
@@ -2662,6 +2668,14 @@ module Aws::Redshift
2662
2668
  RotateEncryptionKeyResult.add_member(:cluster, Shapes::ShapeRef.new(shape: Cluster, location_name: "Cluster"))
2663
2669
  RotateEncryptionKeyResult.struct_class = Types::RotateEncryptionKeyResult
2664
2670
 
2671
+ S3AccessGrantsScopeUnion.add_member(:read_write_access, Shapes::ShapeRef.new(shape: ReadWriteAccess, location_name: "ReadWriteAccess"))
2672
+ S3AccessGrantsScopeUnion.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
2673
+ S3AccessGrantsScopeUnion.add_member_subclass(:read_write_access, Types::S3AccessGrantsScopeUnion::ReadWriteAccess)
2674
+ S3AccessGrantsScopeUnion.add_member_subclass(:unknown, Types::S3AccessGrantsScopeUnion::Unknown)
2675
+ S3AccessGrantsScopeUnion.struct_class = Types::S3AccessGrantsScopeUnion
2676
+
2677
+ S3AccessGrantsServiceIntegrations.member = Shapes::ShapeRef.new(shape: S3AccessGrantsScopeUnion)
2678
+
2665
2679
  SNSInvalidTopicFault.struct_class = Types::SNSInvalidTopicFault
2666
2680
 
2667
2681
  SNSNoAuthorizationFault.struct_class = Types::SNSNoAuthorizationFault
@@ -2719,8 +2733,10 @@ module Aws::Redshift
2719
2733
  ServiceIntegrationList.member = Shapes::ShapeRef.new(shape: ServiceIntegrationsUnion)
2720
2734
 
2721
2735
  ServiceIntegrationsUnion.add_member(:lake_formation, Shapes::ShapeRef.new(shape: LakeFormationServiceIntegrations, location_name: "LakeFormation"))
2736
+ ServiceIntegrationsUnion.add_member(:s3_access_grants, Shapes::ShapeRef.new(shape: S3AccessGrantsServiceIntegrations, location_name: "S3AccessGrants"))
2722
2737
  ServiceIntegrationsUnion.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
2723
2738
  ServiceIntegrationsUnion.add_member_subclass(:lake_formation, Types::ServiceIntegrationsUnion::LakeFormation)
2739
+ ServiceIntegrationsUnion.add_member_subclass(:s3_access_grants, Types::ServiceIntegrationsUnion::S3AccessGrants)
2724
2740
  ServiceIntegrationsUnion.add_member_subclass(:unknown, Types::ServiceIntegrationsUnion::Unknown)
2725
2741
  ServiceIntegrationsUnion.struct_class = Types::ServiceIntegrationsUnion
2726
2742
 
@@ -9543,6 +9543,20 @@ module Aws::Redshift
9543
9543
  include Aws::Structure
9544
9544
  end
9545
9545
 
9546
+ # The S3 Access Grants scope.
9547
+ #
9548
+ # @!attribute [rw] authorization
9549
+ # Determines whether the read/write scope is enabled or disabled.
9550
+ # @return [String]
9551
+ #
9552
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ReadWriteAccess AWS API Documentation
9553
+ #
9554
+ class ReadWriteAccess < Struct.new(
9555
+ :authorization)
9556
+ SENSITIVE = []
9557
+ include Aws::Structure
9558
+ end
9559
+
9546
9560
  # @!attribute [rw] cluster_identifier
9547
9561
  # The cluster identifier.
9548
9562
  # @return [String]
@@ -11098,6 +11112,29 @@ module Aws::Redshift
11098
11112
  include Aws::Structure
11099
11113
  end
11100
11114
 
11115
+ # A list of scopes set up for S3 Access Grants integration.
11116
+ #
11117
+ # @note S3AccessGrantsScopeUnion is a union - when making an API calls you must set exactly one of the members.
11118
+ #
11119
+ # @note S3AccessGrantsScopeUnion is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of S3AccessGrantsScopeUnion corresponding to the set member.
11120
+ #
11121
+ # @!attribute [rw] read_write_access
11122
+ # The S3 Access Grants scope.
11123
+ # @return [Types::ReadWriteAccess]
11124
+ #
11125
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/S3AccessGrantsScopeUnion AWS API Documentation
11126
+ #
11127
+ class S3AccessGrantsScopeUnion < Struct.new(
11128
+ :read_write_access,
11129
+ :unknown)
11130
+ SENSITIVE = []
11131
+ include Aws::Structure
11132
+ include Aws::Structure::Union
11133
+
11134
+ class ReadWriteAccess < S3AccessGrantsScopeUnion; end
11135
+ class Unknown < S3AccessGrantsScopeUnion; end
11136
+ end
11137
+
11101
11138
  # Amazon SNS has responded that there is a problem with the specified
11102
11139
  # Amazon SNS topic.
11103
11140
  #
@@ -11335,16 +11372,22 @@ module Aws::Redshift
11335
11372
  # A list of scopes set up for Lake Formation integration.
11336
11373
  # @return [Array<Types::LakeFormationScopeUnion>]
11337
11374
  #
11375
+ # @!attribute [rw] s3_access_grants
11376
+ # A list of scopes set up for S3 Access Grants integration.
11377
+ # @return [Array<Types::S3AccessGrantsScopeUnion>]
11378
+ #
11338
11379
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ServiceIntegrationsUnion AWS API Documentation
11339
11380
  #
11340
11381
  class ServiceIntegrationsUnion < Struct.new(
11341
11382
  :lake_formation,
11383
+ :s3_access_grants,
11342
11384
  :unknown)
11343
11385
  SENSITIVE = []
11344
11386
  include Aws::Structure
11345
11387
  include Aws::Structure::Union
11346
11388
 
11347
11389
  class LakeFormation < ServiceIntegrationsUnion; end
11390
+ class S3AccessGrants < ServiceIntegrationsUnion; end
11348
11391
  class Unknown < ServiceIntegrationsUnion; end
11349
11392
  end
11350
11393
 
@@ -55,7 +55,7 @@ module Aws::Redshift
55
55
  autoload :EndpointProvider, 'aws-sdk-redshift/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-redshift/endpoints'
57
57
 
58
- GEM_VERSION = '1.130.0'
58
+ GEM_VERSION = '1.131.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -536,6 +536,13 @@ module Aws
536
536
  authorization: ("Enabled" | "Disabled")
537
537
  }?
538
538
  },
539
+ ]?,
540
+ s3_access_grants: Array[
541
+ {
542
+ read_write_access: {
543
+ authorization: ("Enabled" | "Disabled")
544
+ }?
545
+ },
539
546
  ]?
540
547
  },
541
548
  ]
@@ -1903,6 +1910,13 @@ module Aws
1903
1910
  authorization: ("Enabled" | "Disabled")
1904
1911
  }?
1905
1912
  },
1913
+ ]?,
1914
+ s3_access_grants: Array[
1915
+ {
1916
+ read_write_access: {
1917
+ authorization: ("Enabled" | "Disabled")
1918
+ }?
1919
+ },
1906
1920
  ]?
1907
1921
  },
1908
1922
  ]
data/sig/types.rbs CHANGED
@@ -2227,6 +2227,11 @@ module Aws::Redshift
2227
2227
  SENSITIVE: []
2228
2228
  end
2229
2229
 
2230
+ class ReadWriteAccess
2231
+ attr_accessor authorization: ("Enabled" | "Disabled")
2232
+ SENSITIVE: []
2233
+ end
2234
+
2230
2235
  class RebootClusterMessage
2231
2236
  attr_accessor cluster_identifier: ::String
2232
2237
  SENSITIVE: []
@@ -2577,6 +2582,17 @@ module Aws::Redshift
2577
2582
  SENSITIVE: []
2578
2583
  end
2579
2584
 
2585
+ class S3AccessGrantsScopeUnion
2586
+ attr_accessor read_write_access: Types::ReadWriteAccess
2587
+ attr_accessor unknown: untyped
2588
+ SENSITIVE: []
2589
+
2590
+ class ReadWriteAccess < S3AccessGrantsScopeUnion
2591
+ end
2592
+ class Unknown < S3AccessGrantsScopeUnion
2593
+ end
2594
+ end
2595
+
2580
2596
  class SNSInvalidTopicFault < Aws::EmptyStructure
2581
2597
  end
2582
2598
 
@@ -2641,11 +2657,14 @@ module Aws::Redshift
2641
2657
 
2642
2658
  class ServiceIntegrationsUnion
2643
2659
  attr_accessor lake_formation: ::Array[Types::LakeFormationScopeUnion]
2660
+ attr_accessor s3_access_grants: ::Array[Types::S3AccessGrantsScopeUnion]
2644
2661
  attr_accessor unknown: untyped
2645
2662
  SENSITIVE: []
2646
2663
 
2647
2664
  class LakeFormation < ServiceIntegrationsUnion
2648
2665
  end
2666
+ class S3AccessGrants < ServiceIntegrationsUnion
2667
+ end
2649
2668
  class Unknown < ServiceIntegrationsUnion
2650
2669
  end
2651
2670
  end
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.130.0
4
+ version: 1.131.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: 2024-11-06 00:00:00.000000000 Z
11
+ date: 2024-11-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core