aws-sdk-glue 1.291.0 → 1.292.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-glue/client.rb +13 -1
- data/lib/aws-sdk-glue/client_api.rb +6 -0
- data/lib/aws-sdk-glue/types.rb +55 -2
- data/lib/aws-sdk-glue.rb +1 -1
- data/sig/params.rbs +5 -2
- data/sig/types.rbs +5 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ef1f711fff4cb8a04217bf56d76b5d2d13068db3d125f0b523d7c878cf126014
|
|
4
|
+
data.tar.gz: a8dc8fa1ccb5d91da7548780b5b0895541f5c822ffc3d6a8fab732084aac74f5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 62d0bfd8312a2b8db2ddb9aa8e158ad1746a6256318046206d02d9cf5abb94dc5c84f3d92d37f3b734b90656d7c36ec1ee556f63773ec3c7a79db5e6c81b8ee4
|
|
7
|
+
data.tar.gz: 8ffc0822c0dc027a37c95c517de6d0f4ac58dab5208b01fc4791905a0833c41a48c241e64e3f2d1a4d958c1f032047656cb616d5f0e5f4a27168c45978abf460
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.292.0
|
data/lib/aws-sdk-glue/client.rb
CHANGED
|
@@ -5360,8 +5360,11 @@ module Aws::Glue
|
|
|
5360
5360
|
# {
|
|
5361
5361
|
# resource_type: "JAR", # accepts JAR, FILE, ARCHIVE
|
|
5362
5362
|
# uri: "URI",
|
|
5363
|
+
# last_modified: Time.now,
|
|
5363
5364
|
# },
|
|
5364
5365
|
# ],
|
|
5366
|
+
# artifact_location: "URI",
|
|
5367
|
+
# governance_mode: "IAM_ONLY", # accepts IAM_ONLY, LAKE_FORMATION
|
|
5365
5368
|
# },
|
|
5366
5369
|
# })
|
|
5367
5370
|
#
|
|
@@ -13709,6 +13712,9 @@ module Aws::Glue
|
|
|
13709
13712
|
# resp.user_defined_function.resource_uris #=> Array
|
|
13710
13713
|
# resp.user_defined_function.resource_uris[0].resource_type #=> String, one of "JAR", "FILE", "ARCHIVE"
|
|
13711
13714
|
# resp.user_defined_function.resource_uris[0].uri #=> String
|
|
13715
|
+
# resp.user_defined_function.resource_uris[0].last_modified #=> Time
|
|
13716
|
+
# resp.user_defined_function.artifact_location #=> String
|
|
13717
|
+
# resp.user_defined_function.governance_mode #=> String, one of "IAM_ONLY", "LAKE_FORMATION"
|
|
13712
13718
|
# resp.user_defined_function.catalog_id #=> String
|
|
13713
13719
|
#
|
|
13714
13720
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetUserDefinedFunction AWS API Documentation
|
|
@@ -13782,6 +13788,9 @@ module Aws::Glue
|
|
|
13782
13788
|
# resp.user_defined_functions[0].resource_uris #=> Array
|
|
13783
13789
|
# resp.user_defined_functions[0].resource_uris[0].resource_type #=> String, one of "JAR", "FILE", "ARCHIVE"
|
|
13784
13790
|
# resp.user_defined_functions[0].resource_uris[0].uri #=> String
|
|
13791
|
+
# resp.user_defined_functions[0].resource_uris[0].last_modified #=> Time
|
|
13792
|
+
# resp.user_defined_functions[0].artifact_location #=> String
|
|
13793
|
+
# resp.user_defined_functions[0].governance_mode #=> String, one of "IAM_ONLY", "LAKE_FORMATION"
|
|
13785
13794
|
# resp.user_defined_functions[0].catalog_id #=> String
|
|
13786
13795
|
# resp.next_token #=> String
|
|
13787
13796
|
#
|
|
@@ -22098,8 +22107,11 @@ module Aws::Glue
|
|
|
22098
22107
|
# {
|
|
22099
22108
|
# resource_type: "JAR", # accepts JAR, FILE, ARCHIVE
|
|
22100
22109
|
# uri: "URI",
|
|
22110
|
+
# last_modified: Time.now,
|
|
22101
22111
|
# },
|
|
22102
22112
|
# ],
|
|
22113
|
+
# artifact_location: "URI",
|
|
22114
|
+
# governance_mode: "IAM_ONLY", # accepts IAM_ONLY, LAKE_FORMATION
|
|
22103
22115
|
# },
|
|
22104
22116
|
# })
|
|
22105
22117
|
#
|
|
@@ -22182,7 +22194,7 @@ module Aws::Glue
|
|
|
22182
22194
|
tracer: tracer
|
|
22183
22195
|
)
|
|
22184
22196
|
context[:gem_name] = 'aws-sdk-glue'
|
|
22185
|
-
context[:gem_version] = '1.
|
|
22197
|
+
context[:gem_version] = '1.292.0'
|
|
22186
22198
|
Seahorse::Client::Request.new(handlers, context)
|
|
22187
22199
|
end
|
|
22188
22200
|
|
|
@@ -953,6 +953,7 @@ module Aws::Glue
|
|
|
953
953
|
GlueTableAdditionalOptions = Shapes::MapShape.new(name: 'GlueTableAdditionalOptions')
|
|
954
954
|
GlueTables = Shapes::ListShape.new(name: 'GlueTables')
|
|
955
955
|
GlueVersionString = Shapes::StringShape.new(name: 'GlueVersionString')
|
|
956
|
+
GovernanceMode = Shapes::StringShape.new(name: 'GovernanceMode')
|
|
956
957
|
GovernedCatalogSource = Shapes::StructureShape.new(name: 'GovernedCatalogSource')
|
|
957
958
|
GovernedCatalogTarget = Shapes::StructureShape.new(name: 'GovernedCatalogTarget')
|
|
958
959
|
GrokClassifier = Shapes::StructureShape.new(name: 'GrokClassifier')
|
|
@@ -7332,6 +7333,7 @@ module Aws::Glue
|
|
|
7332
7333
|
|
|
7333
7334
|
ResourceUri.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
|
|
7334
7335
|
ResourceUri.add_member(:uri, Shapes::ShapeRef.new(shape: URI, location_name: "Uri"))
|
|
7336
|
+
ResourceUri.add_member(:last_modified, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModified"))
|
|
7335
7337
|
ResourceUri.struct_class = Types::ResourceUri
|
|
7336
7338
|
|
|
7337
7339
|
ResourceUriList.member = Shapes::ShapeRef.new(shape: ResourceUri)
|
|
@@ -8934,6 +8936,8 @@ module Aws::Glue
|
|
|
8934
8936
|
UserDefinedFunction.add_member(:owner_type, Shapes::ShapeRef.new(shape: PrincipalType, location_name: "OwnerType"))
|
|
8935
8937
|
UserDefinedFunction.add_member(:create_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreateTime"))
|
|
8936
8938
|
UserDefinedFunction.add_member(:resource_uris, Shapes::ShapeRef.new(shape: ResourceUriList, location_name: "ResourceUris"))
|
|
8939
|
+
UserDefinedFunction.add_member(:artifact_location, Shapes::ShapeRef.new(shape: URI, location_name: "ArtifactLocation"))
|
|
8940
|
+
UserDefinedFunction.add_member(:governance_mode, Shapes::ShapeRef.new(shape: GovernanceMode, location_name: "GovernanceMode"))
|
|
8937
8941
|
UserDefinedFunction.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
|
|
8938
8942
|
UserDefinedFunction.struct_class = Types::UserDefinedFunction
|
|
8939
8943
|
|
|
@@ -8943,6 +8947,8 @@ module Aws::Glue
|
|
|
8943
8947
|
UserDefinedFunctionInput.add_member(:function_type, Shapes::ShapeRef.new(shape: FunctionType, location_name: "FunctionType"))
|
|
8944
8948
|
UserDefinedFunctionInput.add_member(:owner_type, Shapes::ShapeRef.new(shape: PrincipalType, location_name: "OwnerType"))
|
|
8945
8949
|
UserDefinedFunctionInput.add_member(:resource_uris, Shapes::ShapeRef.new(shape: ResourceUriList, location_name: "ResourceUris"))
|
|
8950
|
+
UserDefinedFunctionInput.add_member(:artifact_location, Shapes::ShapeRef.new(shape: URI, location_name: "ArtifactLocation"))
|
|
8951
|
+
UserDefinedFunctionInput.add_member(:governance_mode, Shapes::ShapeRef.new(shape: GovernanceMode, location_name: "GovernanceMode"))
|
|
8946
8952
|
UserDefinedFunctionInput.struct_class = Types::UserDefinedFunctionInput
|
|
8947
8953
|
|
|
8948
8954
|
UserDefinedFunctionList.member = Shapes::ShapeRef.new(shape: UserDefinedFunction)
|
data/lib/aws-sdk-glue/types.rb
CHANGED
|
@@ -26871,11 +26871,20 @@ module Aws::Glue
|
|
|
26871
26871
|
# The URI for accessing the resource.
|
|
26872
26872
|
# @return [String]
|
|
26873
26873
|
#
|
|
26874
|
+
# @!attribute [rw] last_modified
|
|
26875
|
+
# The time at which the resource was last modified in Amazon S3. Glue
|
|
26876
|
+
# records this value when you create or update a function whose
|
|
26877
|
+
# `GovernanceMode` is `LAKE_FORMATION`. Analytics engines use it to
|
|
26878
|
+
# verify that the resource hasn't changed. This is an output-only
|
|
26879
|
+
# field.
|
|
26880
|
+
# @return [Time]
|
|
26881
|
+
#
|
|
26874
26882
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ResourceUri AWS API Documentation
|
|
26875
26883
|
#
|
|
26876
26884
|
class ResourceUri < Struct.new(
|
|
26877
26885
|
:resource_type,
|
|
26878
|
-
:uri
|
|
26886
|
+
:uri,
|
|
26887
|
+
:last_modified)
|
|
26879
26888
|
SENSITIVE = []
|
|
26880
26889
|
include Aws::Structure
|
|
26881
26890
|
end
|
|
@@ -34785,6 +34794,19 @@ module Aws::Glue
|
|
|
34785
34794
|
# The resource URIs for the function.
|
|
34786
34795
|
# @return [Array<Types::ResourceUri>]
|
|
34787
34796
|
#
|
|
34797
|
+
# @!attribute [rw] artifact_location
|
|
34798
|
+
# The Amazon S3 location that contains the function's artifacts. This
|
|
34799
|
+
# location must be registered with Lake Formation. Glue returns this
|
|
34800
|
+
# field only for functions whose `GovernanceMode` is `LAKE_FORMATION`.
|
|
34801
|
+
# @return [String]
|
|
34802
|
+
#
|
|
34803
|
+
# @!attribute [rw] governance_mode
|
|
34804
|
+
# How access to the function is governed. `IAM_ONLY` means access is
|
|
34805
|
+
# controlled by IAM permissions only. `LAKE_FORMATION` means Lake
|
|
34806
|
+
# Formation permissions (`EXECUTE`, `DESCRIBE`, `ALTER`, and `DROP`)
|
|
34807
|
+
# also control who can run, describe, update, and delete the function.
|
|
34808
|
+
# @return [String]
|
|
34809
|
+
#
|
|
34788
34810
|
# @!attribute [rw] catalog_id
|
|
34789
34811
|
# The ID of the Data Catalog in which the function resides.
|
|
34790
34812
|
# @return [String]
|
|
@@ -34800,6 +34822,8 @@ module Aws::Glue
|
|
|
34800
34822
|
:owner_type,
|
|
34801
34823
|
:create_time,
|
|
34802
34824
|
:resource_uris,
|
|
34825
|
+
:artifact_location,
|
|
34826
|
+
:governance_mode,
|
|
34803
34827
|
:catalog_id)
|
|
34804
34828
|
SENSITIVE = []
|
|
34805
34829
|
include Aws::Structure
|
|
@@ -34831,6 +34855,33 @@ module Aws::Glue
|
|
|
34831
34855
|
# The resource URIs for the function.
|
|
34832
34856
|
# @return [Array<Types::ResourceUri>]
|
|
34833
34857
|
#
|
|
34858
|
+
# @!attribute [rw] artifact_location
|
|
34859
|
+
# The Amazon S3 location that contains the function's artifacts.
|
|
34860
|
+
# Required when `GovernanceMode` is `LAKE_FORMATION`. You must
|
|
34861
|
+
# register the location with Lake Formation, and every resource URI
|
|
34862
|
+
# must be under this location.
|
|
34863
|
+
# @return [String]
|
|
34864
|
+
#
|
|
34865
|
+
# @!attribute [rw] governance_mode
|
|
34866
|
+
# How access to the function is governed. Specify `LAKE_FORMATION` to
|
|
34867
|
+
# manage access to the function with Lake Formation permissions. If
|
|
34868
|
+
# you don't specify a value, the default is `IAM_ONLY`. You can't
|
|
34869
|
+
# change the governance mode after the function is created.
|
|
34870
|
+
#
|
|
34871
|
+
# When `GovernanceMode` is `LAKE_FORMATION`:
|
|
34872
|
+
#
|
|
34873
|
+
# * You must be a data lake administrator or have all permissions on
|
|
34874
|
+
# the Data Catalog with the grant option.
|
|
34875
|
+
#
|
|
34876
|
+
# * You must have the `DATA_LOCATION_ACCESS` permission on the
|
|
34877
|
+
# `ArtifactLocation`, unless you're a data lake administrator.
|
|
34878
|
+
#
|
|
34879
|
+
# * You must specify from 1 to 10 resource URIs, each under the
|
|
34880
|
+
# `ArtifactLocation`.
|
|
34881
|
+
#
|
|
34882
|
+
# * You can't rename the function.
|
|
34883
|
+
# @return [String]
|
|
34884
|
+
#
|
|
34834
34885
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UserDefinedFunctionInput AWS API Documentation
|
|
34835
34886
|
#
|
|
34836
34887
|
class UserDefinedFunctionInput < Struct.new(
|
|
@@ -34839,7 +34890,9 @@ module Aws::Glue
|
|
|
34839
34890
|
:owner_name,
|
|
34840
34891
|
:function_type,
|
|
34841
34892
|
:owner_type,
|
|
34842
|
-
:resource_uris
|
|
34893
|
+
:resource_uris,
|
|
34894
|
+
:artifact_location,
|
|
34895
|
+
:governance_mode)
|
|
34843
34896
|
SENSITIVE = []
|
|
34844
34897
|
include Aws::Structure
|
|
34845
34898
|
end
|
data/lib/aws-sdk-glue.rb
CHANGED
data/sig/params.rbs
CHANGED
|
@@ -1980,9 +1980,12 @@ module Aws
|
|
|
1980
1980
|
resource_uris: Array[
|
|
1981
1981
|
{
|
|
1982
1982
|
resource_type: ("JAR" | "FILE" | "ARCHIVE")?,
|
|
1983
|
-
uri: ::String
|
|
1983
|
+
uri: ::String?,
|
|
1984
|
+
last_modified: ::Time?
|
|
1984
1985
|
}
|
|
1985
|
-
]
|
|
1986
|
+
]?,
|
|
1987
|
+
artifact_location: ::String?,
|
|
1988
|
+
governance_mode: ("IAM_ONLY" | "LAKE_FORMATION")?
|
|
1986
1989
|
}
|
|
1987
1990
|
|
|
1988
1991
|
type transform_filter_criteria = {
|
data/sig/types.rbs
CHANGED
|
@@ -6588,6 +6588,7 @@ module Aws::Glue
|
|
|
6588
6588
|
class ResourceUri
|
|
6589
6589
|
attr_accessor resource_type: ("JAR" | "FILE" | "ARCHIVE")
|
|
6590
6590
|
attr_accessor uri: ::String
|
|
6591
|
+
attr_accessor last_modified: ::Time
|
|
6591
6592
|
SENSITIVE: []
|
|
6592
6593
|
end
|
|
6593
6594
|
|
|
@@ -8599,6 +8600,8 @@ module Aws::Glue
|
|
|
8599
8600
|
attr_accessor owner_type: ("USER" | "ROLE" | "GROUP")
|
|
8600
8601
|
attr_accessor create_time: ::Time
|
|
8601
8602
|
attr_accessor resource_uris: ::Array[Types::ResourceUri]
|
|
8603
|
+
attr_accessor artifact_location: ::String
|
|
8604
|
+
attr_accessor governance_mode: ("IAM_ONLY" | "LAKE_FORMATION")
|
|
8602
8605
|
attr_accessor catalog_id: ::String
|
|
8603
8606
|
SENSITIVE: []
|
|
8604
8607
|
end
|
|
@@ -8610,6 +8613,8 @@ module Aws::Glue
|
|
|
8610
8613
|
attr_accessor function_type: ("REGULAR_FUNCTION" | "AGGREGATE_FUNCTION" | "STORED_PROCEDURE")
|
|
8611
8614
|
attr_accessor owner_type: ("USER" | "ROLE" | "GROUP")
|
|
8612
8615
|
attr_accessor resource_uris: ::Array[Types::ResourceUri]
|
|
8616
|
+
attr_accessor artifact_location: ::String
|
|
8617
|
+
attr_accessor governance_mode: ("IAM_ONLY" | "LAKE_FORMATION")
|
|
8613
8618
|
SENSITIVE: []
|
|
8614
8619
|
end
|
|
8615
8620
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-glue
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.292.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
@@ -18,7 +18,7 @@ dependencies:
|
|
|
18
18
|
version: '3'
|
|
19
19
|
- - ">="
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
|
-
version: 3.
|
|
21
|
+
version: 3.265.0
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -28,7 +28,7 @@ dependencies:
|
|
|
28
28
|
version: '3'
|
|
29
29
|
- - ">="
|
|
30
30
|
- !ruby/object:Gem::Version
|
|
31
|
-
version: 3.
|
|
31
|
+
version: 3.265.0
|
|
32
32
|
- !ruby/object:Gem::Dependency
|
|
33
33
|
name: aws-sigv4
|
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|