aws-sdk-lakeformation 1.45.0 → 1.47.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1f5dafd91cfef83eaa99962917462baa4f52e24669956dd3b112487a06aed0a2
4
- data.tar.gz: 2e13e4cfdb94ad88d10d97d3f1ed8cd3cf48bb919ab57623f3ae5abdab423b8d
3
+ metadata.gz: 813e2edc1b405e43c61273bb4fcc9d66a5e0154ffb65d112350e1ed036aecb09
4
+ data.tar.gz: 31286fa5e62a1926c283904dc5baf8d4869f92c3df7e432c4ffbb7f032231357
5
5
  SHA512:
6
- metadata.gz: 935eff20df4af8a05f6573c8ad5011eb9281b5d48d5987860388eaac09754b47fb266eb7b2b9960178756085492be63b02144fa6834beffaf3b5eae369213d99
7
- data.tar.gz: 57f0d8b310402af28a3dc39a22ea04a0e005b53dbd91b053886feb7fef8f5c4ce3cde0210cd2dddb0e032f46f954ae73035b1ff2c45f6e8e7d709c69d5699b05
6
+ metadata.gz: b2e03e9a03bb68738d2bcdff02940d9c7b5497fca60153eba18cf8767f972d79450b0730273481c7359638e33cc5b7a972d35c3797414ee4308e314f12c0a3b9
7
+ data.tar.gz: e28c26510c4d5ef86de0610467c8aa562c6246503cf1817f2e9de7368c62080ddec4a284fad181725b0ddf3e5ee49030ba9f92007f0f30fc43b079e57b04d57b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.47.0 (2024-01-26)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.46.0 (2023-12-22)
10
+ ------------------
11
+
12
+ * Feature - This release adds additional configurations on GetTemporaryGlueTableCredentials for Query Session Context.
13
+
4
14
  1.45.0 (2023-11-28)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.45.0
1
+ 1.47.0
@@ -956,7 +956,7 @@ module Aws::LakeFormation
956
956
  #
957
957
  # @option params [Types::ExternalFilteringConfiguration] :external_filtering
958
958
  # A list of the account IDs of Amazon Web Services accounts of
959
- # third-party applications that are allowed to to access data managed by
959
+ # third-party applications that are allowed to access data managed by
960
960
  # Lake Formation.
961
961
  #
962
962
  # @return [Types::CreateLakeFormationIdentityCenterConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -2033,12 +2033,22 @@ module Aws::LakeFormation
2033
2033
  # A list of supported permission types for the table. Valid values are
2034
2034
  # `COLUMN_PERMISSION` and `CELL_FILTER_PERMISSION`.
2035
2035
  #
2036
+ # @option params [String] :s3_path
2037
+ # The Amazon S3 path for the table.
2038
+ #
2039
+ # @option params [Types::QuerySessionContext] :query_session_context
2040
+ # A structure used as a protocol between query engines and Lake
2041
+ # Formation or Glue. Contains both a Lake Formation generated
2042
+ # authorization identifier and information from the request's
2043
+ # authorization context.
2044
+ #
2036
2045
  # @return [Types::GetTemporaryGlueTableCredentialsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2037
2046
  #
2038
2047
  # * {Types::GetTemporaryGlueTableCredentialsResponse#access_key_id #access_key_id} => String
2039
2048
  # * {Types::GetTemporaryGlueTableCredentialsResponse#secret_access_key #secret_access_key} => String
2040
2049
  # * {Types::GetTemporaryGlueTableCredentialsResponse#session_token #session_token} => String
2041
2050
  # * {Types::GetTemporaryGlueTableCredentialsResponse#expiration #expiration} => Time
2051
+ # * {Types::GetTemporaryGlueTableCredentialsResponse#vended_s3_path #vended_s3_path} => Array<String>
2042
2052
  #
2043
2053
  # @example Request syntax with placeholder values
2044
2054
  #
@@ -2050,6 +2060,16 @@ module Aws::LakeFormation
2050
2060
  # additional_audit_context: "AuditContextString",
2051
2061
  # },
2052
2062
  # supported_permission_types: ["COLUMN_PERMISSION"], # accepts COLUMN_PERMISSION, CELL_FILTER_PERMISSION, NESTED_PERMISSION, NESTED_CELL_PERMISSION
2063
+ # s3_path: "PathString",
2064
+ # query_session_context: {
2065
+ # query_id: "HashString",
2066
+ # query_start_time: Time.now,
2067
+ # cluster_id: "NullableString",
2068
+ # query_authorization_id: "HashString",
2069
+ # additional_context: {
2070
+ # "ContextKey" => "ContextValue",
2071
+ # },
2072
+ # },
2053
2073
  # })
2054
2074
  #
2055
2075
  # @example Response structure
@@ -2058,6 +2078,8 @@ module Aws::LakeFormation
2058
2078
  # resp.secret_access_key #=> String
2059
2079
  # resp.session_token #=> String
2060
2080
  # resp.expiration #=> Time
2081
+ # resp.vended_s3_path #=> Array
2082
+ # resp.vended_s3_path[0] #=> String
2061
2083
  #
2062
2084
  # @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetTemporaryGlueTableCredentials AWS API Documentation
2063
2085
  #
@@ -3686,7 +3708,7 @@ module Aws::LakeFormation
3686
3708
  params: params,
3687
3709
  config: config)
3688
3710
  context[:gem_name] = 'aws-sdk-lakeformation'
3689
- context[:gem_version] = '1.45.0'
3711
+ context[:gem_version] = '1.47.0'
3690
3712
  Seahorse::Client::Request.new(handlers, context)
3691
3713
  end
3692
3714
 
@@ -18,6 +18,7 @@ module Aws::LakeFormation
18
18
  AddLFTagsToResourceRequest = Shapes::StructureShape.new(name: 'AddLFTagsToResourceRequest')
19
19
  AddLFTagsToResourceResponse = Shapes::StructureShape.new(name: 'AddLFTagsToResourceResponse')
20
20
  AddObjectInput = Shapes::StructureShape.new(name: 'AddObjectInput')
21
+ AdditionalContextMap = Shapes::MapShape.new(name: 'AdditionalContextMap')
21
22
  AllRowsWildcard = Shapes::StructureShape.new(name: 'AllRowsWildcard')
22
23
  AlreadyExistsException = Shapes::StructureShape.new(name: 'AlreadyExistsException')
23
24
  ApplicationArn = Shapes::StringShape.new(name: 'ApplicationArn')
@@ -48,6 +49,8 @@ module Aws::LakeFormation
48
49
  CommitTransactionResponse = Shapes::StructureShape.new(name: 'CommitTransactionResponse')
49
50
  ComparisonOperator = Shapes::StringShape.new(name: 'ComparisonOperator')
50
51
  ConcurrentModificationException = Shapes::StructureShape.new(name: 'ConcurrentModificationException')
52
+ ContextKey = Shapes::StringShape.new(name: 'ContextKey')
53
+ ContextValue = Shapes::StringShape.new(name: 'ContextValue')
51
54
  CreateDataCellsFilterRequest = Shapes::StructureShape.new(name: 'CreateDataCellsFilterRequest')
52
55
  CreateDataCellsFilterResponse = Shapes::StructureShape.new(name: 'CreateDataCellsFilterResponse')
53
56
  CreateLFTagRequest = Shapes::StructureShape.new(name: 'CreateLFTagRequest')
@@ -137,6 +140,7 @@ module Aws::LakeFormation
137
140
  GlueEncryptionException = Shapes::StructureShape.new(name: 'GlueEncryptionException')
138
141
  GrantPermissionsRequest = Shapes::StructureShape.new(name: 'GrantPermissionsRequest')
139
142
  GrantPermissionsResponse = Shapes::StructureShape.new(name: 'GrantPermissionsResponse')
143
+ HashString = Shapes::StringShape.new(name: 'HashString')
140
144
  IAMRoleArn = Shapes::StringShape.new(name: 'IAMRoleArn')
141
145
  IAMSAMLProviderArn = Shapes::StringShape.new(name: 'IAMSAMLProviderArn')
142
146
  Identifier = Shapes::StringShape.new(name: 'Identifier')
@@ -174,6 +178,7 @@ module Aws::LakeFormation
174
178
  MessageString = Shapes::StringShape.new(name: 'MessageString')
175
179
  NameString = Shapes::StringShape.new(name: 'NameString')
176
180
  NullableBoolean = Shapes::BooleanShape.new(name: 'NullableBoolean')
181
+ NullableString = Shapes::StringShape.new(name: 'NullableString')
177
182
  NumberOfBytes = Shapes::IntegerShape.new(name: 'NumberOfBytes')
178
183
  NumberOfItems = Shapes::IntegerShape.new(name: 'NumberOfItems')
179
184
  NumberOfMilliseconds = Shapes::IntegerShape.new(name: 'NumberOfMilliseconds')
@@ -188,6 +193,8 @@ module Aws::LakeFormation
188
193
  PartitionValueString = Shapes::StringShape.new(name: 'PartitionValueString')
189
194
  PartitionValuesList = Shapes::ListShape.new(name: 'PartitionValuesList')
190
195
  PartitionedTableObjectsList = Shapes::ListShape.new(name: 'PartitionedTableObjectsList')
196
+ PathString = Shapes::StringShape.new(name: 'PathString')
197
+ PathStringList = Shapes::ListShape.new(name: 'PathStringList')
191
198
  Permission = Shapes::StringShape.new(name: 'Permission')
192
199
  PermissionList = Shapes::ListShape.new(name: 'PermissionList')
193
200
  PermissionType = Shapes::StringShape.new(name: 'PermissionType')
@@ -205,6 +212,7 @@ module Aws::LakeFormation
205
212
  QueryParameterMap = Shapes::MapShape.new(name: 'QueryParameterMap')
206
213
  QueryPlanningContext = Shapes::StructureShape.new(name: 'QueryPlanningContext')
207
214
  QueryPlanningContextDatabaseNameString = Shapes::StringShape.new(name: 'QueryPlanningContextDatabaseNameString')
215
+ QuerySessionContext = Shapes::StructureShape.new(name: 'QuerySessionContext')
208
216
  QueryStateString = Shapes::StringShape.new(name: 'QueryStateString')
209
217
  RAMResourceShareArn = Shapes::StringShape.new(name: 'RAMResourceShareArn')
210
218
  RegisterResourceRequest = Shapes::StructureShape.new(name: 'RegisterResourceRequest')
@@ -318,6 +326,9 @@ module Aws::LakeFormation
318
326
  AddObjectInput.add_member(:partition_values, Shapes::ShapeRef.new(shape: PartitionValuesList, location_name: "PartitionValues"))
319
327
  AddObjectInput.struct_class = Types::AddObjectInput
320
328
 
329
+ AdditionalContextMap.key = Shapes::ShapeRef.new(shape: ContextKey)
330
+ AdditionalContextMap.value = Shapes::ShapeRef.new(shape: ContextValue)
331
+
321
332
  AllRowsWildcard.struct_class = Types::AllRowsWildcard
322
333
 
323
334
  AlreadyExistsException.add_member(:message, Shapes::ShapeRef.new(shape: MessageString, location_name: "Message"))
@@ -660,12 +671,15 @@ module Aws::LakeFormation
660
671
  GetTemporaryGlueTableCredentialsRequest.add_member(:duration_seconds, Shapes::ShapeRef.new(shape: CredentialTimeoutDurationSecondInteger, location_name: "DurationSeconds"))
661
672
  GetTemporaryGlueTableCredentialsRequest.add_member(:audit_context, Shapes::ShapeRef.new(shape: AuditContext, location_name: "AuditContext"))
662
673
  GetTemporaryGlueTableCredentialsRequest.add_member(:supported_permission_types, Shapes::ShapeRef.new(shape: PermissionTypeList, location_name: "SupportedPermissionTypes"))
674
+ GetTemporaryGlueTableCredentialsRequest.add_member(:s3_path, Shapes::ShapeRef.new(shape: PathString, location_name: "S3Path"))
675
+ GetTemporaryGlueTableCredentialsRequest.add_member(:query_session_context, Shapes::ShapeRef.new(shape: QuerySessionContext, location_name: "QuerySessionContext"))
663
676
  GetTemporaryGlueTableCredentialsRequest.struct_class = Types::GetTemporaryGlueTableCredentialsRequest
664
677
 
665
678
  GetTemporaryGlueTableCredentialsResponse.add_member(:access_key_id, Shapes::ShapeRef.new(shape: AccessKeyIdString, location_name: "AccessKeyId"))
666
679
  GetTemporaryGlueTableCredentialsResponse.add_member(:secret_access_key, Shapes::ShapeRef.new(shape: SecretAccessKeyString, location_name: "SecretAccessKey"))
667
680
  GetTemporaryGlueTableCredentialsResponse.add_member(:session_token, Shapes::ShapeRef.new(shape: SessionTokenString, location_name: "SessionToken"))
668
681
  GetTemporaryGlueTableCredentialsResponse.add_member(:expiration, Shapes::ShapeRef.new(shape: ExpirationTimestamp, location_name: "Expiration"))
682
+ GetTemporaryGlueTableCredentialsResponse.add_member(:vended_s3_path, Shapes::ShapeRef.new(shape: PathStringList, location_name: "VendedS3Path"))
669
683
  GetTemporaryGlueTableCredentialsResponse.struct_class = Types::GetTemporaryGlueTableCredentialsResponse
670
684
 
671
685
  GetWorkUnitResultsRequest.add_member(:query_id, Shapes::ShapeRef.new(shape: GetWorkUnitResultsRequestQueryIdString, required: true, location_name: "QueryId"))
@@ -831,6 +845,8 @@ module Aws::LakeFormation
831
845
 
832
846
  PartitionedTableObjectsList.member = Shapes::ShapeRef.new(shape: PartitionObjects)
833
847
 
848
+ PathStringList.member = Shapes::ShapeRef.new(shape: PathString)
849
+
834
850
  PermissionList.member = Shapes::ShapeRef.new(shape: Permission)
835
851
 
836
852
  PermissionTypeList.member = Shapes::ShapeRef.new(shape: PermissionType)
@@ -877,6 +893,13 @@ module Aws::LakeFormation
877
893
  QueryPlanningContext.add_member(:transaction_id, Shapes::ShapeRef.new(shape: TransactionIdString, location_name: "TransactionId"))
878
894
  QueryPlanningContext.struct_class = Types::QueryPlanningContext
879
895
 
896
+ QuerySessionContext.add_member(:query_id, Shapes::ShapeRef.new(shape: HashString, location_name: "QueryId"))
897
+ QuerySessionContext.add_member(:query_start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "QueryStartTime"))
898
+ QuerySessionContext.add_member(:cluster_id, Shapes::ShapeRef.new(shape: NullableString, location_name: "ClusterId"))
899
+ QuerySessionContext.add_member(:query_authorization_id, Shapes::ShapeRef.new(shape: HashString, location_name: "QueryAuthorizationId"))
900
+ QuerySessionContext.add_member(:additional_context, Shapes::ShapeRef.new(shape: AdditionalContextMap, location_name: "AdditionalContext"))
901
+ QuerySessionContext.struct_class = Types::QuerySessionContext
902
+
880
903
  RegisterResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArnString, required: true, location_name: "ResourceArn"))
881
904
  RegisterResourceRequest.add_member(:use_service_linked_role, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "UseServiceLinkedRole"))
882
905
  RegisterResourceRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, location_name: "RoleArn"))
@@ -14,6 +14,7 @@ module Aws::LakeFormation
14
14
  option(
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::LakeFormation::EndpointProvider',
17
+ rbs_type: 'untyped',
17
18
  docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
19
  'object that responds to `#resolve_endpoint(parameters)` '\
19
20
  'where `parameters` is a Struct similar to '\
@@ -479,8 +479,8 @@ module Aws::LakeFormation
479
479
  #
480
480
  # @!attribute [rw] external_filtering
481
481
  # A list of the account IDs of Amazon Web Services accounts of
482
- # third-party applications that are allowed to to access data managed
483
- # by Lake Formation.
482
+ # third-party applications that are allowed to access data managed by
483
+ # Lake Formation.
484
484
  # @return [Types::ExternalFilteringConfiguration]
485
485
  #
486
486
  # @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/CreateLakeFormationIdentityCenterConfigurationRequest AWS API Documentation
@@ -1689,6 +1689,17 @@ module Aws::LakeFormation
1689
1689
  # `COLUMN_PERMISSION` and `CELL_FILTER_PERMISSION`.
1690
1690
  # @return [Array<String>]
1691
1691
  #
1692
+ # @!attribute [rw] s3_path
1693
+ # The Amazon S3 path for the table.
1694
+ # @return [String]
1695
+ #
1696
+ # @!attribute [rw] query_session_context
1697
+ # A structure used as a protocol between query engines and Lake
1698
+ # Formation or Glue. Contains both a Lake Formation generated
1699
+ # authorization identifier and information from the request's
1700
+ # authorization context.
1701
+ # @return [Types::QuerySessionContext]
1702
+ #
1692
1703
  # @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetTemporaryGlueTableCredentialsRequest AWS API Documentation
1693
1704
  #
1694
1705
  class GetTemporaryGlueTableCredentialsRequest < Struct.new(
@@ -1696,7 +1707,9 @@ module Aws::LakeFormation
1696
1707
  :permissions,
1697
1708
  :duration_seconds,
1698
1709
  :audit_context,
1699
- :supported_permission_types)
1710
+ :supported_permission_types,
1711
+ :s3_path,
1712
+ :query_session_context)
1700
1713
  SENSITIVE = []
1701
1714
  include Aws::Structure
1702
1715
  end
@@ -1717,13 +1730,18 @@ module Aws::LakeFormation
1717
1730
  # The date and time when the temporary credentials expire.
1718
1731
  # @return [Time]
1719
1732
  #
1733
+ # @!attribute [rw] vended_s3_path
1734
+ # The Amazon S3 path for the temporary credentials.
1735
+ # @return [Array<String>]
1736
+ #
1720
1737
  # @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetTemporaryGlueTableCredentialsResponse AWS API Documentation
1721
1738
  #
1722
1739
  class GetTemporaryGlueTableCredentialsResponse < Struct.new(
1723
1740
  :access_key_id,
1724
1741
  :secret_access_key,
1725
1742
  :session_token,
1726
- :expiration)
1743
+ :expiration,
1744
+ :vended_s3_path)
1727
1745
  SENSITIVE = []
1728
1746
  include Aws::Structure
1729
1747
  end
@@ -2663,6 +2681,44 @@ module Aws::LakeFormation
2663
2681
  include Aws::Structure
2664
2682
  end
2665
2683
 
2684
+ # A structure used as a protocol between query engines and Lake
2685
+ # Formation or Glue. Contains both a Lake Formation generated
2686
+ # authorization identifier and information from the request's
2687
+ # authorization context.
2688
+ #
2689
+ # @!attribute [rw] query_id
2690
+ # A unique identifier generated by the query engine for the query.
2691
+ # @return [String]
2692
+ #
2693
+ # @!attribute [rw] query_start_time
2694
+ # A timestamp provided by the query engine for when the query started.
2695
+ # @return [Time]
2696
+ #
2697
+ # @!attribute [rw] cluster_id
2698
+ # An identifier string for the consumer cluster.
2699
+ # @return [String]
2700
+ #
2701
+ # @!attribute [rw] query_authorization_id
2702
+ # A cryptographically generated query identifier generated by Glue or
2703
+ # Lake Formation.
2704
+ # @return [String]
2705
+ #
2706
+ # @!attribute [rw] additional_context
2707
+ # An opaque string-string map passed by the query engine.
2708
+ # @return [Hash<String,String>]
2709
+ #
2710
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/QuerySessionContext AWS API Documentation
2711
+ #
2712
+ class QuerySessionContext < Struct.new(
2713
+ :query_id,
2714
+ :query_start_time,
2715
+ :cluster_id,
2716
+ :query_authorization_id,
2717
+ :additional_context)
2718
+ SENSITIVE = []
2719
+ include Aws::Structure
2720
+ end
2721
+
2666
2722
  # @!attribute [rw] resource_arn
2667
2723
  # The Amazon Resource Name (ARN) of the resource that you want to
2668
2724
  # register.
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-lakeformation/customizations'
52
52
  # @!group service
53
53
  module Aws::LakeFormation
54
54
 
55
- GEM_VERSION = '1.45.0'
55
+ GEM_VERSION = '1.47.0'
56
56
 
57
57
  end