aws-sdk-glue 1.13.0 → 1.14.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
  SHA1:
3
- metadata.gz: 5fbb33d7adbf124035137cbfbfe2a0428d148ed7
4
- data.tar.gz: d2b2a77d32386832019e4fc50f20f844a1b5ccfa
3
+ metadata.gz: ff9673e61915aac70bc3ce5a339c22744f835b36
4
+ data.tar.gz: 0ba2e251526d9715bfaa4875deccb010a8e4ef82
5
5
  SHA512:
6
- metadata.gz: d108e5b8bc8155522c7fc7ad8c817fdb990cbf5e7e88322badaba1045f2c8580e6bc02cd59e29c4ed2c926fe520747452ecd5d4059fc0e8a4b09b45dca81e647
7
- data.tar.gz: a35e226da4341114a352fe6a8d9208dfc980e08644f3b7a00cada9a1efd1e28b53e0f030a0a27d89f64422fa7b9dd3764f2d61b653a8c83814b51e8fffe93785
6
+ metadata.gz: 56e516aeb587117ee5a7ab5bf3418f495ff946a0ba97af08e10ec2406affc7148ff42f9ac06cc4f6d11ee24d259dfcbf046f6e4fedcd7bd8c67df404ad2ccf4b
7
+ data.tar.gz: b8a729af4f52304d924b3bb21bca2a446f0d9db4d49f87671a579d9919145b837ea2e97336e7882e0e36abbedf4af4824efa4d02082fa092c033cee141341a26
data/lib/aws-sdk-glue.rb CHANGED
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-glue/customizations'
42
42
  # @service
43
43
  module Aws::Glue
44
44
 
45
- GEM_VERSION = '1.13.0'
45
+ GEM_VERSION = '1.14.0'
46
46
 
47
47
  end
@@ -420,8 +420,7 @@ module Aws::Glue
420
420
  # lowercase.
421
421
  #
422
422
  # @option params [required, Array<String>] :version_ids
423
- # A list of the IDs of versions to be deleted. A `VersionId` is a string
424
- # representation of an integer. Each version is incremented by 1.
423
+ # A list of the IDs of versions to be deleted.
425
424
  #
426
425
  # @return [Types::BatchDeleteTableVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
427
426
  #
@@ -708,12 +707,16 @@ module Aws::Glue
708
707
  #
709
708
  # @option params [String] :configuration
710
709
  # Crawler configuration information. This versioned JSON string allows
711
- # users to specify aspects of a crawler's behavior. For more
712
- # information, see [Configuring a Crawler][1].
710
+ # users to specify aspects of a Crawler's behavior.
713
711
  #
712
+ # You can use this field to force partitions to inherit metadata such as
713
+ # classification, input format, output format, serde information, and
714
+ # schema from their parent table, rather than detect this information
715
+ # separately for each partition. Use the following JSON string to
716
+ # specify that behavior:
714
717
  #
715
- #
716
- # [1]: http://docs.aws.amazon.com/glue/latest/dg/crawler-configuration.html
718
+ # Example: `'\{ "Version": 1.0, "CrawlerOutput": \{ "Partitions": \{
719
+ # "AddOrUpdateBehavior": "InheritFromTable" \} \} \}'`
717
720
  #
718
721
  # @option params [String] :crawler_security_configuration
719
722
  # The name of the SecurityConfiguration structure to be used by this
@@ -1649,28 +1652,6 @@ module Aws::Glue
1649
1652
  req.send_request(options)
1650
1653
  end
1651
1654
 
1652
- # Deletes a specified policy.
1653
- #
1654
- # @option params [String] :policy_hash_condition
1655
- # The hash value returned when this policy was set.
1656
- #
1657
- # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1658
- #
1659
- # @example Request syntax with placeholder values
1660
- #
1661
- # resp = client.delete_resource_policy({
1662
- # policy_hash_condition: "HashString",
1663
- # })
1664
- #
1665
- # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteResourcePolicy AWS API Documentation
1666
- #
1667
- # @overload delete_resource_policy(params = {})
1668
- # @param [Hash] params ({})
1669
- def delete_resource_policy(params = {}, options = {})
1670
- req = build_request(:delete_resource_policy, params)
1671
- req.send_request(options)
1672
- end
1673
-
1674
1655
  # Deletes a specified security configuration.
1675
1656
  #
1676
1657
  # @option params [required, String] :name
@@ -1753,8 +1734,7 @@ module Aws::Glue
1753
1734
  # lowercase.
1754
1735
  #
1755
1736
  # @option params [required, String] :version_id
1756
- # The ID of the table version to be deleted. A `VersionID` is a string
1757
- # representation of an integer. Each version is incremented by 1.
1737
+ # The ID of the table version to be deleted.
1758
1738
  #
1759
1739
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1760
1740
  #
@@ -2853,96 +2833,6 @@ module Aws::Glue
2853
2833
  # @option params [String] :expression
2854
2834
  # An expression filtering the partitions to be returned.
2855
2835
  #
2856
- # The expression uses SQL syntax similar to the SQL `WHERE` filter
2857
- # clause. The SQL statement parser [JSQLParser][1] parses the
2858
- # expression.
2859
- #
2860
- # *Operators*\: The following are the operators that you can use in the
2861
- # `Expression` API call:
2862
- #
2863
- # =
2864
- #
2865
- # : Checks if the values of the two operands are equal or not; if yes,
2866
- # then the condition becomes true.
2867
- #
2868
- # Example: Assume 'variable a' holds 10 and 'variable b' holds 20.
2869
- #
2870
- # (a = b) is not true.
2871
- #
2872
- # &lt; &gt;
2873
- #
2874
- # : Checks if the values of two operands are equal or not; if the values
2875
- # are not equal, then the condition becomes true.
2876
- #
2877
- # Example: (a &lt; &gt; b) is true.
2878
- #
2879
- # &gt;
2880
- #
2881
- # : Checks if the value of the left operand is greater than the value of
2882
- # the right operand; if yes, then the condition becomes true.
2883
- #
2884
- # Example: (a &gt; b) is not true.
2885
- #
2886
- # &lt;
2887
- #
2888
- # : Checks if the value of the left operand is less than the value of
2889
- # the right operand; if yes, then the condition becomes true.
2890
- #
2891
- # Example: (a &lt; b) is true.
2892
- #
2893
- # &gt;=
2894
- #
2895
- # : Checks if the value of the left operand is greater than or equal to
2896
- # the value of the right operand; if yes, then the condition becomes
2897
- # true.
2898
- #
2899
- # Example: (a &gt;= b) is not true.
2900
- #
2901
- # &lt;=
2902
- #
2903
- # : Checks if the value of the left operand is less than or equal to the
2904
- # value of the right operand; if yes, then the condition becomes true.
2905
- #
2906
- # Example: (a &lt;= b) is true.
2907
- #
2908
- # AND, OR, IN, BETWEEN, LIKE, NOT, IS NULL
2909
- #
2910
- # : Logical operators.
2911
- #
2912
- # *Supported Partition Key Types*\: The following are the the supported
2913
- # partition keys.
2914
- #
2915
- # * `string`
2916
- #
2917
- # * `date`
2918
- #
2919
- # * `timestamp`
2920
- #
2921
- # * `int`
2922
- #
2923
- # * `bigint`
2924
- #
2925
- # * `long`
2926
- #
2927
- # * `tinyint`
2928
- #
2929
- # * `smallint`
2930
- #
2931
- # * `decimal`
2932
- #
2933
- # If an invalid type is encountered, a ` PredicateConstructionException
2934
- # ` is thrown.
2935
- #
2936
- # The following list shows the valid operators on each type. When you
2937
- # define a crawler, the `partitionKey` type is created as a `STRING`, to
2938
- # be compatible with the catalog partitions.
2939
- #
2940
- # *Sample API Call*\:
2941
- #
2942
- #
2943
- #
2944
- # [1]: http://jsqlparser.sourceforge.net/home.php
2945
- #
2946
2836
  # @option params [String] :next_token
2947
2837
  # A continuation token, if this is not the first call to retrieve these
2948
2838
  # partitions.
@@ -3108,31 +2998,6 @@ module Aws::Glue
3108
2998
  req.send_request(options)
3109
2999
  end
3110
3000
 
3111
- # Retrieves a specified resource policy.
3112
- #
3113
- # @return [Types::GetResourcePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3114
- #
3115
- # * {Types::GetResourcePolicyResponse#policy_in_json #policy_in_json} => String
3116
- # * {Types::GetResourcePolicyResponse#policy_hash #policy_hash} => String
3117
- # * {Types::GetResourcePolicyResponse#create_time #create_time} => Time
3118
- # * {Types::GetResourcePolicyResponse#update_time #update_time} => Time
3119
- #
3120
- # @example Response structure
3121
- #
3122
- # resp.policy_in_json #=> String
3123
- # resp.policy_hash #=> String
3124
- # resp.create_time #=> Time
3125
- # resp.update_time #=> Time
3126
- #
3127
- # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetResourcePolicy AWS API Documentation
3128
- #
3129
- # @overload get_resource_policy(params = {})
3130
- # @param [Hash] params ({})
3131
- def get_resource_policy(params = {}, options = {})
3132
- req = build_request(:get_resource_policy, params)
3133
- req.send_request(options)
3134
- end
3135
-
3136
3001
  # Retrieves a specified security configuration.
3137
3002
  #
3138
3003
  # @option params [required, String] :name
@@ -3312,8 +3177,7 @@ module Aws::Glue
3312
3177
  # lowercase.
3313
3178
  #
3314
3179
  # @option params [String] :version_id
3315
- # The ID value of the table version to be retrieved. A `VersionID` is a
3316
- # string representation of an integer. Each version is incremented by 1.
3180
+ # The ID value of the table version to be retrieved.
3317
3181
  #
3318
3182
  # @return [Types::GetTableVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3319
3183
  #
@@ -3841,49 +3705,6 @@ module Aws::Glue
3841
3705
  req.send_request(options)
3842
3706
  end
3843
3707
 
3844
- # Sets the Data Catalog resource policy for access control.
3845
- #
3846
- # @option params [required, String] :policy_in_json
3847
- # Contains the policy document to set, in JSON format.
3848
- #
3849
- # @option params [String] :policy_hash_condition
3850
- # This is the hash value returned when the previous policy was set using
3851
- # PutResourcePolicy. Its purpose is to prevent concurrent modifications
3852
- # of a policy. Do not use this parameter if no previous policy has been
3853
- # set.
3854
- #
3855
- # @option params [String] :policy_exists_condition
3856
- # If a value of `MUST_EXIST` is used here, the call will fail unless a
3857
- # policy has already been set. If a value of `NOT_Exist` is used, the
3858
- # call will fail if a policy has already been set. If a value of `NONE`
3859
- # or a null value is used, the call will not depend on the existence of
3860
- # a policy.
3861
- #
3862
- # @return [Types::PutResourcePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3863
- #
3864
- # * {Types::PutResourcePolicyResponse#policy_hash #policy_hash} => String
3865
- #
3866
- # @example Request syntax with placeholder values
3867
- #
3868
- # resp = client.put_resource_policy({
3869
- # policy_in_json: "PolicyJsonString", # required
3870
- # policy_hash_condition: "HashString",
3871
- # policy_exists_condition: "MUST_EXIST", # accepts MUST_EXIST, NOT_EXIST, NONE
3872
- # })
3873
- #
3874
- # @example Response structure
3875
- #
3876
- # resp.policy_hash #=> String
3877
- #
3878
- # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutResourcePolicy AWS API Documentation
3879
- #
3880
- # @overload put_resource_policy(params = {})
3881
- # @param [Hash] params ({})
3882
- def put_resource_policy(params = {}, options = {})
3883
- req = build_request(:put_resource_policy, params)
3884
- req.send_request(options)
3885
- end
3886
-
3887
3708
  # Resets a bookmark entry.
3888
3709
  #
3889
3710
  # @option params [required, String] :job_name
@@ -4289,12 +4110,16 @@ module Aws::Glue
4289
4110
  #
4290
4111
  # @option params [String] :configuration
4291
4112
  # Crawler configuration information. This versioned JSON string allows
4292
- # users to specify aspects of a crawler's behavior. For more
4293
- # information, see [Configuring a Crawler][1].
4294
- #
4113
+ # users to specify aspects of a Crawler's behavior.
4295
4114
  #
4115
+ # You can use this field to force partitions to inherit metadata such as
4116
+ # classification, input format, output format, serde information, and
4117
+ # schema from their parent table, rather than detect this information
4118
+ # separately for each partition. Use the following JSON string to
4119
+ # specify that behavior:
4296
4120
  #
4297
- # [1]: http://docs.aws.amazon.com/glue/latest/dg/crawler-configuration.html
4121
+ # Example: `'\{ "Version": 1.0, "CrawlerOutput": \{ "Partitions": \{
4122
+ # "AddOrUpdateBehavior": "InheritFromTable" \} \} \}'`
4298
4123
  #
4299
4124
  # @option params [String] :crawler_security_configuration
4300
4125
  # The name of the SecurityConfiguration structure to be used by this
@@ -4845,7 +4670,7 @@ module Aws::Glue
4845
4670
  params: params,
4846
4671
  config: config)
4847
4672
  context[:gem_name] = 'aws-sdk-glue'
4848
- context[:gem_version] = '1.13.0'
4673
+ context[:gem_version] = '1.14.0'
4849
4674
  Seahorse::Client::Request.new(handlers, context)
4850
4675
  end
4851
4676
 
@@ -71,7 +71,6 @@ module Aws::Glue
71
71
  ConcurrentModificationException = Shapes::StructureShape.new(name: 'ConcurrentModificationException')
72
72
  ConcurrentRunsExceededException = Shapes::StructureShape.new(name: 'ConcurrentRunsExceededException')
73
73
  Condition = Shapes::StructureShape.new(name: 'Condition')
74
- ConditionCheckFailureException = Shapes::StructureShape.new(name: 'ConditionCheckFailureException')
75
74
  ConditionList = Shapes::ListShape.new(name: 'ConditionList')
76
75
  Connection = Shapes::StructureShape.new(name: 'Connection')
77
76
  ConnectionInput = Shapes::StructureShape.new(name: 'ConnectionInput')
@@ -145,8 +144,6 @@ module Aws::Glue
145
144
  DeleteJobResponse = Shapes::StructureShape.new(name: 'DeleteJobResponse')
146
145
  DeletePartitionRequest = Shapes::StructureShape.new(name: 'DeletePartitionRequest')
147
146
  DeletePartitionResponse = Shapes::StructureShape.new(name: 'DeletePartitionResponse')
148
- DeleteResourcePolicyRequest = Shapes::StructureShape.new(name: 'DeleteResourcePolicyRequest')
149
- DeleteResourcePolicyResponse = Shapes::StructureShape.new(name: 'DeleteResourcePolicyResponse')
150
147
  DeleteSecurityConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteSecurityConfigurationRequest')
151
148
  DeleteSecurityConfigurationResponse = Shapes::StructureShape.new(name: 'DeleteSecurityConfigurationResponse')
152
149
  DeleteTableRequest = Shapes::StructureShape.new(name: 'DeleteTableRequest')
@@ -172,7 +169,6 @@ module Aws::Glue
172
169
  ErrorString = Shapes::StringShape.new(name: 'ErrorString')
173
170
  ExecutionProperty = Shapes::StructureShape.new(name: 'ExecutionProperty')
174
171
  ExecutionTime = Shapes::IntegerShape.new(name: 'ExecutionTime')
175
- ExistCondition = Shapes::StringShape.new(name: 'ExistCondition')
176
172
  FieldType = Shapes::StringShape.new(name: 'FieldType')
177
173
  FilterString = Shapes::StringShape.new(name: 'FilterString')
178
174
  FormatString = Shapes::StringShape.new(name: 'FormatString')
@@ -221,8 +217,6 @@ module Aws::Glue
221
217
  GetPartitionsResponse = Shapes::StructureShape.new(name: 'GetPartitionsResponse')
222
218
  GetPlanRequest = Shapes::StructureShape.new(name: 'GetPlanRequest')
223
219
  GetPlanResponse = Shapes::StructureShape.new(name: 'GetPlanResponse')
224
- GetResourcePolicyRequest = Shapes::StructureShape.new(name: 'GetResourcePolicyRequest')
225
- GetResourcePolicyResponse = Shapes::StructureShape.new(name: 'GetResourcePolicyResponse')
226
220
  GetSecurityConfigurationRequest = Shapes::StructureShape.new(name: 'GetSecurityConfigurationRequest')
227
221
  GetSecurityConfigurationResponse = Shapes::StructureShape.new(name: 'GetSecurityConfigurationResponse')
228
222
  GetSecurityConfigurationsRequest = Shapes::StructureShape.new(name: 'GetSecurityConfigurationsRequest')
@@ -247,7 +241,6 @@ module Aws::Glue
247
241
  GlueEncryptionException = Shapes::StructureShape.new(name: 'GlueEncryptionException')
248
242
  GrokClassifier = Shapes::StructureShape.new(name: 'GrokClassifier')
249
243
  GrokPattern = Shapes::StringShape.new(name: 'GrokPattern')
250
- HashString = Shapes::StringShape.new(name: 'HashString')
251
244
  IdString = Shapes::StringShape.new(name: 'IdString')
252
245
  IdempotentParameterMismatchException = Shapes::StructureShape.new(name: 'IdempotentParameterMismatchException')
253
246
  ImportCatalogToGlueRequest = Shapes::StructureShape.new(name: 'ImportCatalogToGlueRequest')
@@ -316,7 +309,6 @@ module Aws::Glue
316
309
  Path = Shapes::StringShape.new(name: 'Path')
317
310
  PathList = Shapes::ListShape.new(name: 'PathList')
318
311
  PhysicalConnectionRequirements = Shapes::StructureShape.new(name: 'PhysicalConnectionRequirements')
319
- PolicyJsonString = Shapes::StringShape.new(name: 'PolicyJsonString')
320
312
  Predecessor = Shapes::StructureShape.new(name: 'Predecessor')
321
313
  PredecessorList = Shapes::ListShape.new(name: 'PredecessorList')
322
314
  Predicate = Shapes::StructureShape.new(name: 'Predicate')
@@ -325,8 +317,6 @@ module Aws::Glue
325
317
  PublicKeysList = Shapes::ListShape.new(name: 'PublicKeysList')
326
318
  PutDataCatalogEncryptionSettingsRequest = Shapes::StructureShape.new(name: 'PutDataCatalogEncryptionSettingsRequest')
327
319
  PutDataCatalogEncryptionSettingsResponse = Shapes::StructureShape.new(name: 'PutDataCatalogEncryptionSettingsResponse')
328
- PutResourcePolicyRequest = Shapes::StructureShape.new(name: 'PutResourcePolicyRequest')
329
- PutResourcePolicyResponse = Shapes::StructureShape.new(name: 'PutResourcePolicyResponse')
330
320
  PythonScript = Shapes::StringShape.new(name: 'PythonScript')
331
321
  ResetJobBookmarkRequest = Shapes::StructureShape.new(name: 'ResetJobBookmarkRequest')
332
322
  ResetJobBookmarkResponse = Shapes::StructureShape.new(name: 'ResetJobBookmarkResponse')
@@ -867,11 +857,6 @@ module Aws::Glue
867
857
 
868
858
  DeletePartitionResponse.struct_class = Types::DeletePartitionResponse
869
859
 
870
- DeleteResourcePolicyRequest.add_member(:policy_hash_condition, Shapes::ShapeRef.new(shape: HashString, location_name: "PolicyHashCondition"))
871
- DeleteResourcePolicyRequest.struct_class = Types::DeleteResourcePolicyRequest
872
-
873
- DeleteResourcePolicyResponse.struct_class = Types::DeleteResourcePolicyResponse
874
-
875
860
  DeleteSecurityConfigurationRequest.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
876
861
  DeleteSecurityConfigurationRequest.struct_class = Types::DeleteSecurityConfigurationRequest
877
862
 
@@ -1134,14 +1119,6 @@ module Aws::Glue
1134
1119
  GetPlanResponse.add_member(:scala_code, Shapes::ShapeRef.new(shape: ScalaCode, location_name: "ScalaCode"))
1135
1120
  GetPlanResponse.struct_class = Types::GetPlanResponse
1136
1121
 
1137
- GetResourcePolicyRequest.struct_class = Types::GetResourcePolicyRequest
1138
-
1139
- GetResourcePolicyResponse.add_member(:policy_in_json, Shapes::ShapeRef.new(shape: PolicyJsonString, location_name: "PolicyInJson"))
1140
- GetResourcePolicyResponse.add_member(:policy_hash, Shapes::ShapeRef.new(shape: HashString, location_name: "PolicyHash"))
1141
- GetResourcePolicyResponse.add_member(:create_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreateTime"))
1142
- GetResourcePolicyResponse.add_member(:update_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdateTime"))
1143
- GetResourcePolicyResponse.struct_class = Types::GetResourcePolicyResponse
1144
-
1145
1122
  GetSecurityConfigurationRequest.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
1146
1123
  GetSecurityConfigurationRequest.struct_class = Types::GetSecurityConfigurationRequest
1147
1124
 
@@ -1426,14 +1403,6 @@ module Aws::Glue
1426
1403
 
1427
1404
  PutDataCatalogEncryptionSettingsResponse.struct_class = Types::PutDataCatalogEncryptionSettingsResponse
1428
1405
 
1429
- PutResourcePolicyRequest.add_member(:policy_in_json, Shapes::ShapeRef.new(shape: PolicyJsonString, required: true, location_name: "PolicyInJson"))
1430
- PutResourcePolicyRequest.add_member(:policy_hash_condition, Shapes::ShapeRef.new(shape: HashString, location_name: "PolicyHashCondition"))
1431
- PutResourcePolicyRequest.add_member(:policy_exists_condition, Shapes::ShapeRef.new(shape: ExistCondition, location_name: "PolicyExistsCondition"))
1432
- PutResourcePolicyRequest.struct_class = Types::PutResourcePolicyRequest
1433
-
1434
- PutResourcePolicyResponse.add_member(:policy_hash, Shapes::ShapeRef.new(shape: HashString, location_name: "PolicyHash"))
1435
- PutResourcePolicyResponse.struct_class = Types::PutResourcePolicyResponse
1436
-
1437
1406
  ResetJobBookmarkRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, required: true, location_name: "JobName"))
1438
1407
  ResetJobBookmarkRequest.struct_class = Types::ResetJobBookmarkRequest
1439
1408
 
@@ -2096,19 +2065,6 @@ module Aws::Glue
2096
2065
  o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
2097
2066
  end)
2098
2067
 
2099
- api.add_operation(:delete_resource_policy, Seahorse::Model::Operation.new.tap do |o|
2100
- o.name = "DeleteResourcePolicy"
2101
- o.http_method = "POST"
2102
- o.http_request_uri = "/"
2103
- o.input = Shapes::ShapeRef.new(shape: DeleteResourcePolicyRequest)
2104
- o.output = Shapes::ShapeRef.new(shape: DeleteResourcePolicyResponse)
2105
- o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
2106
- o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2107
- o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
2108
- o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
2109
- o.errors << Shapes::ShapeRef.new(shape: ConditionCheckFailureException)
2110
- end)
2111
-
2112
2068
  api.add_operation(:delete_security_configuration, Seahorse::Model::Operation.new.tap do |o|
2113
2069
  o.name = "DeleteSecurityConfiguration"
2114
2070
  o.http_method = "POST"
@@ -2461,18 +2417,6 @@ module Aws::Glue
2461
2417
  o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
2462
2418
  end)
2463
2419
 
2464
- api.add_operation(:get_resource_policy, Seahorse::Model::Operation.new.tap do |o|
2465
- o.name = "GetResourcePolicy"
2466
- o.http_method = "POST"
2467
- o.http_request_uri = "/"
2468
- o.input = Shapes::ShapeRef.new(shape: GetResourcePolicyRequest)
2469
- o.output = Shapes::ShapeRef.new(shape: GetResourcePolicyResponse)
2470
- o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
2471
- o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2472
- o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
2473
- o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
2474
- end)
2475
-
2476
2420
  api.add_operation(:get_security_configuration, Seahorse::Model::Operation.new.tap do |o|
2477
2421
  o.name = "GetSecurityConfiguration"
2478
2422
  o.http_method = "POST"
@@ -2644,19 +2588,6 @@ module Aws::Glue
2644
2588
  o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
2645
2589
  end)
2646
2590
 
2647
- api.add_operation(:put_resource_policy, Seahorse::Model::Operation.new.tap do |o|
2648
- o.name = "PutResourcePolicy"
2649
- o.http_method = "POST"
2650
- o.http_request_uri = "/"
2651
- o.input = Shapes::ShapeRef.new(shape: PutResourcePolicyRequest)
2652
- o.output = Shapes::ShapeRef.new(shape: PutResourcePolicyResponse)
2653
- o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
2654
- o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2655
- o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
2656
- o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
2657
- o.errors << Shapes::ShapeRef.new(shape: ConditionCheckFailureException)
2658
- end)
2659
-
2660
2591
  api.add_operation(:reset_job_bookmark, Seahorse::Model::Operation.new.tap do |o|
2661
2592
  o.name = "ResetJobBookmark"
2662
2593
  o.http_method = "POST"
@@ -342,9 +342,7 @@ module Aws::Glue
342
342
  # @return [String]
343
343
  #
344
344
  # @!attribute [rw] version_ids
345
- # A list of the IDs of versions to be deleted. A `VersionId` is a
346
- # string representation of an integer. Each version is incremented by
347
- # 1.
345
+ # A list of the IDs of versions to be deleted.
348
346
  # @return [Array<String>]
349
347
  #
350
348
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchDeleteTableVersionRequest AWS API Documentation
@@ -1029,12 +1027,16 @@ module Aws::Glue
1029
1027
  #
1030
1028
  # @!attribute [rw] configuration
1031
1029
  # Crawler configuration information. This versioned JSON string allows
1032
- # users to specify aspects of a crawler's behavior. For more
1033
- # information, see [Configuring a Crawler][1].
1030
+ # users to specify aspects of a Crawler's behavior.
1034
1031
  #
1032
+ # You can use this field to force partitions to inherit metadata such
1033
+ # as classification, input format, output format, serde information,
1034
+ # and schema from their parent table, rather than detect this
1035
+ # information separately for each partition. Use the following JSON
1036
+ # string to specify that behavior:
1035
1037
  #
1036
- #
1037
- # [1]: http://docs.aws.amazon.com/glue/latest/dg/crawler-configuration.html
1038
+ # Example: `'\{ "Version": 1.0, "CrawlerOutput": \{ "Partitions": \{
1039
+ # "AddOrUpdateBehavior": "InheritFromTable" \} \} \}'`
1038
1040
  # @return [String]
1039
1041
  #
1040
1042
  # @!attribute [rw] crawler_security_configuration
@@ -1337,12 +1339,16 @@ module Aws::Glue
1337
1339
  #
1338
1340
  # @!attribute [rw] configuration
1339
1341
  # Crawler configuration information. This versioned JSON string allows
1340
- # users to specify aspects of a crawler's behavior. For more
1341
- # information, see [Configuring a Crawler][1].
1342
- #
1342
+ # users to specify aspects of a Crawler's behavior.
1343
1343
  #
1344
+ # You can use this field to force partitions to inherit metadata such
1345
+ # as classification, input format, output format, serde information,
1346
+ # and schema from their parent table, rather than detect this
1347
+ # information separately for each partition. Use the following JSON
1348
+ # string to specify that behavior:
1344
1349
  #
1345
- # [1]: http://docs.aws.amazon.com/glue/latest/dg/crawler-configuration.html
1350
+ # Example: `'\{ "Version": 1.0, "CrawlerOutput": \{ "Partitions": \{
1351
+ # "AddOrUpdateBehavior": "InheritFromTable" \} \} \}'`
1346
1352
  # @return [String]
1347
1353
  #
1348
1354
  # @!attribute [rw] crawler_security_configuration
@@ -2588,28 +2594,6 @@ module Aws::Glue
2588
2594
  #
2589
2595
  class DeletePartitionResponse < Aws::EmptyStructure; end
2590
2596
 
2591
- # @note When making an API call, you may pass DeleteResourcePolicyRequest
2592
- # data as a hash:
2593
- #
2594
- # {
2595
- # policy_hash_condition: "HashString",
2596
- # }
2597
- #
2598
- # @!attribute [rw] policy_hash_condition
2599
- # The hash value returned when this policy was set.
2600
- # @return [String]
2601
- #
2602
- # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteResourcePolicyRequest AWS API Documentation
2603
- #
2604
- class DeleteResourcePolicyRequest < Struct.new(
2605
- :policy_hash_condition)
2606
- include Aws::Structure
2607
- end
2608
-
2609
- # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteResourcePolicyResponse AWS API Documentation
2610
- #
2611
- class DeleteResourcePolicyResponse < Aws::EmptyStructure; end
2612
-
2613
2597
  # @note When making an API call, you may pass DeleteSecurityConfigurationRequest
2614
2598
  # data as a hash:
2615
2599
  #
@@ -2695,8 +2679,7 @@ module Aws::Glue
2695
2679
  # @return [String]
2696
2680
  #
2697
2681
  # @!attribute [rw] version_id
2698
- # The ID of the table version to be deleted. A `VersionID` is a string
2699
- # representation of an integer. Each version is incremented by 1.
2682
+ # The ID of the table version to be deleted.
2700
2683
  # @return [String]
2701
2684
  #
2702
2685
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteTableVersionRequest AWS API Documentation
@@ -3925,98 +3908,6 @@ module Aws::Glue
3925
3908
  #
3926
3909
  # @!attribute [rw] expression
3927
3910
  # An expression filtering the partitions to be returned.
3928
- #
3929
- # The expression uses SQL syntax similar to the SQL `WHERE` filter
3930
- # clause. The SQL statement parser [JSQLParser][1] parses the
3931
- # expression.
3932
- #
3933
- # *Operators*\: The following are the operators that you can use in
3934
- # the `Expression` API call:
3935
- #
3936
- # =
3937
- #
3938
- # : Checks if the values of the two operands are equal or not; if yes,
3939
- # then the condition becomes true.
3940
- #
3941
- # Example: Assume 'variable a' holds 10 and 'variable b' holds
3942
- # 20.
3943
- #
3944
- # (a = b) is not true.
3945
- #
3946
- # &lt; &gt;
3947
- #
3948
- # : Checks if the values of two operands are equal or not; if the
3949
- # values are not equal, then the condition becomes true.
3950
- #
3951
- # Example: (a &lt; &gt; b) is true.
3952
- #
3953
- # &gt;
3954
- #
3955
- # : Checks if the value of the left operand is greater than the value
3956
- # of the right operand; if yes, then the condition becomes true.
3957
- #
3958
- # Example: (a &gt; b) is not true.
3959
- #
3960
- # &lt;
3961
- #
3962
- # : Checks if the value of the left operand is less than the value of
3963
- # the right operand; if yes, then the condition becomes true.
3964
- #
3965
- # Example: (a &lt; b) is true.
3966
- #
3967
- # &gt;=
3968
- #
3969
- # : Checks if the value of the left operand is greater than or equal
3970
- # to the value of the right operand; if yes, then the condition
3971
- # becomes true.
3972
- #
3973
- # Example: (a &gt;= b) is not true.
3974
- #
3975
- # &lt;=
3976
- #
3977
- # : Checks if the value of the left operand is less than or equal to
3978
- # the value of the right operand; if yes, then the condition becomes
3979
- # true.
3980
- #
3981
- # Example: (a &lt;= b) is true.
3982
- #
3983
- # AND, OR, IN, BETWEEN, LIKE, NOT, IS NULL
3984
- #
3985
- # : Logical operators.
3986
- #
3987
- # *Supported Partition Key Types*\: The following are the the
3988
- # supported partition keys.
3989
- #
3990
- # * `string`
3991
- #
3992
- # * `date`
3993
- #
3994
- # * `timestamp`
3995
- #
3996
- # * `int`
3997
- #
3998
- # * `bigint`
3999
- #
4000
- # * `long`
4001
- #
4002
- # * `tinyint`
4003
- #
4004
- # * `smallint`
4005
- #
4006
- # * `decimal`
4007
- #
4008
- # If an invalid type is encountered, a `
4009
- # PredicateConstructionException ` is thrown.
4010
- #
4011
- # The following list shows the valid operators on each type. When you
4012
- # define a crawler, the `partitionKey` type is created as a `STRING`,
4013
- # to be compatible with the catalog partitions.
4014
- #
4015
- # *Sample API Call*\:
4016
- #
4017
- #
4018
- #
4019
- # [1]: http://jsqlparser.sourceforge.net/home.php
4020
3911
  # @return [String]
4021
3912
  #
4022
3913
  # @!attribute [rw] next_token
@@ -4159,38 +4050,6 @@ module Aws::Glue
4159
4050
  include Aws::Structure
4160
4051
  end
4161
4052
 
4162
- # @api private
4163
- #
4164
- # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetResourcePolicyRequest AWS API Documentation
4165
- #
4166
- class GetResourcePolicyRequest < Aws::EmptyStructure; end
4167
-
4168
- # @!attribute [rw] policy_in_json
4169
- # Contains the requested policy document, in JSON format.
4170
- # @return [String]
4171
- #
4172
- # @!attribute [rw] policy_hash
4173
- # Contains the hash value associated with this policy.
4174
- # @return [String]
4175
- #
4176
- # @!attribute [rw] create_time
4177
- # The date and time at which the policy was created.
4178
- # @return [Time]
4179
- #
4180
- # @!attribute [rw] update_time
4181
- # The date and time at which the policy was last updated.
4182
- # @return [Time]
4183
- #
4184
- # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetResourcePolicyResponse AWS API Documentation
4185
- #
4186
- class GetResourcePolicyResponse < Struct.new(
4187
- :policy_in_json,
4188
- :policy_hash,
4189
- :create_time,
4190
- :update_time)
4191
- include Aws::Structure
4192
- end
4193
-
4194
4053
  # @note When making an API call, you may pass GetSecurityConfigurationRequest
4195
4054
  # data as a hash:
4196
4055
  #
@@ -4331,9 +4190,7 @@ module Aws::Glue
4331
4190
  # @return [String]
4332
4191
  #
4333
4192
  # @!attribute [rw] version_id
4334
- # The ID value of the table version to be retrieved. A `VersionID` is
4335
- # a string representation of an integer. Each version is incremented
4336
- # by 1.
4193
+ # The ID value of the table version to be retrieved.
4337
4194
  # @return [String]
4338
4195
  #
4339
4196
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTableVersionRequest AWS API Documentation
@@ -5756,55 +5613,6 @@ module Aws::Glue
5756
5613
  #
5757
5614
  class PutDataCatalogEncryptionSettingsResponse < Aws::EmptyStructure; end
5758
5615
 
5759
- # @note When making an API call, you may pass PutResourcePolicyRequest
5760
- # data as a hash:
5761
- #
5762
- # {
5763
- # policy_in_json: "PolicyJsonString", # required
5764
- # policy_hash_condition: "HashString",
5765
- # policy_exists_condition: "MUST_EXIST", # accepts MUST_EXIST, NOT_EXIST, NONE
5766
- # }
5767
- #
5768
- # @!attribute [rw] policy_in_json
5769
- # Contains the policy document to set, in JSON format.
5770
- # @return [String]
5771
- #
5772
- # @!attribute [rw] policy_hash_condition
5773
- # This is the hash value returned when the previous policy was set
5774
- # using PutResourcePolicy. Its purpose is to prevent concurrent
5775
- # modifications of a policy. Do not use this parameter if no previous
5776
- # policy has been set.
5777
- # @return [String]
5778
- #
5779
- # @!attribute [rw] policy_exists_condition
5780
- # If a value of `MUST_EXIST` is used here, the call will fail unless a
5781
- # policy has already been set. If a value of `NOT_Exist` is used, the
5782
- # call will fail if a policy has already been set. If a value of
5783
- # `NONE` or a null value is used, the call will not depend on the
5784
- # existence of a policy.
5785
- # @return [String]
5786
- #
5787
- # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutResourcePolicyRequest AWS API Documentation
5788
- #
5789
- class PutResourcePolicyRequest < Struct.new(
5790
- :policy_in_json,
5791
- :policy_hash_condition,
5792
- :policy_exists_condition)
5793
- include Aws::Structure
5794
- end
5795
-
5796
- # @!attribute [rw] policy_hash
5797
- # A hash of the policy that has just been set. This must be included
5798
- # in a subsequent call that overwrites or updates this policy.
5799
- # @return [String]
5800
- #
5801
- # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutResourcePolicyResponse AWS API Documentation
5802
- #
5803
- class PutResourcePolicyResponse < Struct.new(
5804
- :policy_hash)
5805
- include Aws::Structure
5806
- end
5807
-
5808
5616
  # @note When making an API call, you may pass ResetJobBookmarkRequest
5809
5617
  # data as a hash:
5810
5618
  #
@@ -6712,9 +6520,7 @@ module Aws::Glue
6712
6520
  # @return [Types::Table]
6713
6521
  #
6714
6522
  # @!attribute [rw] version_id
6715
- # The ID value that identifies this table version. A `VersionId` is a
6716
- # string representation of an integer. Each version is incremented by
6717
- # 1.
6523
+ # The ID value that identifies this table version.
6718
6524
  # @return [String]
6719
6525
  #
6720
6526
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/TableVersion AWS API Documentation
@@ -6732,8 +6538,7 @@ module Aws::Glue
6732
6538
  # @return [String]
6733
6539
  #
6734
6540
  # @!attribute [rw] version_id
6735
- # The ID value of the version in question. A `VersionID` is a string
6736
- # representation of an integer. Each version is incremented by 1.
6541
+ # The ID value of the version in question.
6737
6542
  # @return [String]
6738
6543
  #
6739
6544
  # @!attribute [rw] error_detail
@@ -7059,12 +6864,16 @@ module Aws::Glue
7059
6864
  #
7060
6865
  # @!attribute [rw] configuration
7061
6866
  # Crawler configuration information. This versioned JSON string allows
7062
- # users to specify aspects of a crawler's behavior. For more
7063
- # information, see [Configuring a Crawler][1].
7064
- #
6867
+ # users to specify aspects of a Crawler's behavior.
7065
6868
  #
6869
+ # You can use this field to force partitions to inherit metadata such
6870
+ # as classification, input format, output format, serde information,
6871
+ # and schema from their parent table, rather than detect this
6872
+ # information separately for each partition. Use the following JSON
6873
+ # string to specify that behavior:
7066
6874
  #
7067
- # [1]: http://docs.aws.amazon.com/glue/latest/dg/crawler-configuration.html
6875
+ # Example: `'\{ "Version": 1.0, "CrawlerOutput": \{ "Partitions": \{
6876
+ # "AddOrUpdateBehavior": "InheritFromTable" \} \} \}'`
7068
6877
  # @return [String]
7069
6878
  #
7070
6879
  # @!attribute [rw] crawler_security_configuration
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-glue
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.13.0
4
+ version: 1.14.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: 2018-08-28 00:00:00.000000000 Z
11
+ date: 2018-08-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core