aws-sdk-glue 1.48.0 → 1.49.1

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: '01793fc432f83d3fb61fa0342161cffd2efb5c67'
4
- data.tar.gz: d8f6f4c01416078c26a09b3dfcf2cfc6948bfce6
3
+ metadata.gz: 689af39f9aab01b6ffaa43023e8c12840ca6f95e
4
+ data.tar.gz: 6e6fc00494b5cd9f3c673176016f1dd61d3bb431
5
5
  SHA512:
6
- metadata.gz: b2316752e0adf44be25e12a2fa8bed2fc8d5c6b0130d81bb794e30e356c79c720f2369a9472e371a6c01c6dd4d6b8dbabda289f6236778ed1f532fc423d58746
7
- data.tar.gz: 85a6b118856ddbc521991b222c75f41312cadef6a25226b9d68831e88cec09048c82b16a867d019ed977704f4d33a8fff89279ff38c0dd3cb2a94e5d5939951a
6
+ metadata.gz: 67e0832e55133df846077feb3bb74a7c0a4331923757c2eacd998d516ea55aeb2f548b35c32ad59371d0639a03b16869c65e0d743571428c33eecf5488ad63e5
7
+ data.tar.gz: 72ec73c7c28d414697ac3a655e2e8676ca1ad12869ae2e701eeba60a92f88a800fc8a52213a8bdfddbf458e3aa8b487a7a6db710a59f313133560722b056113c
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-glue/customizations'
42
42
  # @service
43
43
  module Aws::Glue
44
44
 
45
- GEM_VERSION = '1.48.0'
45
+ GEM_VERSION = '1.49.1'
46
46
 
47
47
  end
@@ -1966,6 +1966,16 @@ module Aws::Glue
1966
1966
  # The maximum number of times to retry a task for this transform after a
1967
1967
  # task run fails.
1968
1968
  #
1969
+ # @option params [Hash<String,String>] :tags
1970
+ # The tags to use with this machine learning transform. You may use tags
1971
+ # to limit access to the machine learning transform. For more
1972
+ # information about tags in AWS Glue, see [AWS Tags in AWS Glue][1] in
1973
+ # the developer guide.
1974
+ #
1975
+ #
1976
+ #
1977
+ # [1]: https://docs.aws.amazon.com/glue/latest/dg/monitor-tags.html
1978
+ #
1969
1979
  # @return [Types::CreateMLTransformResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1970
1980
  #
1971
1981
  # * {Types::CreateMLTransformResponse#transform_id #transform_id} => String
@@ -1999,6 +2009,9 @@ module Aws::Glue
1999
2009
  # number_of_workers: 1,
2000
2010
  # timeout: 1,
2001
2011
  # max_retries: 1,
2012
+ # tags: {
2013
+ # "TagKey" => "TagValue",
2014
+ # },
2002
2015
  # })
2003
2016
  #
2004
2017
  # @example Response structure
@@ -6068,6 +6081,80 @@ module Aws::Glue
6068
6081
  req.send_request(options)
6069
6082
  end
6070
6083
 
6084
+ # Retrieves a sortable, filterable list of existing AWS Glue machine
6085
+ # learning transforms in this AWS account, or the resources with the
6086
+ # specified tag. This operation takes the optional `Tags` field, which
6087
+ # you can use as a filter of the responses so that tagged resources can
6088
+ # be retrieved as a group. If you choose to use tag filtering, only
6089
+ # resources with the tags are retrieved.
6090
+ #
6091
+ # @option params [String] :next_token
6092
+ # A continuation token, if this is a continuation request.
6093
+ #
6094
+ # @option params [Integer] :max_results
6095
+ # The maximum size of a list to return.
6096
+ #
6097
+ # @option params [Types::TransformFilterCriteria] :filter
6098
+ # A `TransformFilterCriteria` used to filter the machine learning
6099
+ # transforms.
6100
+ #
6101
+ # @option params [Types::TransformSortCriteria] :sort
6102
+ # A `TransformSortCriteria` used to sort the machine learning
6103
+ # transforms.
6104
+ #
6105
+ # @option params [Hash<String,String>] :tags
6106
+ # Specifies to return only these tagged resources.
6107
+ #
6108
+ # @return [Types::ListMLTransformsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6109
+ #
6110
+ # * {Types::ListMLTransformsResponse#transform_ids #transform_ids} => Array&lt;String&gt;
6111
+ # * {Types::ListMLTransformsResponse#next_token #next_token} => String
6112
+ #
6113
+ # @example Request syntax with placeholder values
6114
+ #
6115
+ # resp = client.list_ml_transforms({
6116
+ # next_token: "PaginationToken",
6117
+ # max_results: 1,
6118
+ # filter: {
6119
+ # name: "NameString",
6120
+ # transform_type: "FIND_MATCHES", # accepts FIND_MATCHES
6121
+ # status: "NOT_READY", # accepts NOT_READY, READY, DELETING
6122
+ # glue_version: "GlueVersionString",
6123
+ # created_before: Time.now,
6124
+ # created_after: Time.now,
6125
+ # last_modified_before: Time.now,
6126
+ # last_modified_after: Time.now,
6127
+ # schema: [
6128
+ # {
6129
+ # name: "ColumnNameString",
6130
+ # data_type: "ColumnTypeString",
6131
+ # },
6132
+ # ],
6133
+ # },
6134
+ # sort: {
6135
+ # column: "NAME", # required, accepts NAME, TRANSFORM_TYPE, STATUS, CREATED, LAST_MODIFIED
6136
+ # sort_direction: "DESCENDING", # required, accepts DESCENDING, ASCENDING
6137
+ # },
6138
+ # tags: {
6139
+ # "TagKey" => "TagValue",
6140
+ # },
6141
+ # })
6142
+ #
6143
+ # @example Response structure
6144
+ #
6145
+ # resp.transform_ids #=> Array
6146
+ # resp.transform_ids[0] #=> String
6147
+ # resp.next_token #=> String
6148
+ #
6149
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListMLTransforms AWS API Documentation
6150
+ #
6151
+ # @overload list_ml_transforms(params = {})
6152
+ # @param [Hash] params ({})
6153
+ def list_ml_transforms(params = {}, options = {})
6154
+ req = build_request(:list_ml_transforms, params)
6155
+ req.send_request(options)
6156
+ end
6157
+
6071
6158
  # Retrieves the names of all trigger resources in this AWS account, or
6072
6159
  # the resources with the specified tag. This operation allows you to see
6073
6160
  # which resources are available in your account, and their names.
@@ -7938,7 +8025,7 @@ module Aws::Glue
7938
8025
  params: params,
7939
8026
  config: config)
7940
8027
  context[:gem_name] = 'aws-sdk-glue'
7941
- context[:gem_version] = '1.48.0'
8028
+ context[:gem_version] = '1.49.1'
7942
8029
  Seahorse::Client::Request.new(handlers, context)
7943
8030
  end
7944
8031
 
@@ -364,6 +364,8 @@ module Aws::Glue
364
364
  ListDevEndpointsResponse = Shapes::StructureShape.new(name: 'ListDevEndpointsResponse')
365
365
  ListJobsRequest = Shapes::StructureShape.new(name: 'ListJobsRequest')
366
366
  ListJobsResponse = Shapes::StructureShape.new(name: 'ListJobsResponse')
367
+ ListMLTransformsRequest = Shapes::StructureShape.new(name: 'ListMLTransformsRequest')
368
+ ListMLTransformsResponse = Shapes::StructureShape.new(name: 'ListMLTransformsResponse')
367
369
  ListTriggersRequest = Shapes::StructureShape.new(name: 'ListTriggersRequest')
368
370
  ListTriggersResponse = Shapes::StructureShape.new(name: 'ListTriggersResponse')
369
371
  ListWorkflowsRequest = Shapes::StructureShape.new(name: 'ListWorkflowsRequest')
@@ -535,6 +537,7 @@ module Aws::Glue
535
537
  Token = Shapes::StringShape.new(name: 'Token')
536
538
  TotalSegmentsInteger = Shapes::IntegerShape.new(name: 'TotalSegmentsInteger')
537
539
  TransformFilterCriteria = Shapes::StructureShape.new(name: 'TransformFilterCriteria')
540
+ TransformIdList = Shapes::ListShape.new(name: 'TransformIdList')
538
541
  TransformList = Shapes::ListShape.new(name: 'TransformList')
539
542
  TransformParameters = Shapes::StructureShape.new(name: 'TransformParameters')
540
543
  TransformSchema = Shapes::ListShape.new(name: 'TransformSchema')
@@ -1060,6 +1063,7 @@ module Aws::Glue
1060
1063
  CreateMLTransformRequest.add_member(:number_of_workers, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "NumberOfWorkers"))
1061
1064
  CreateMLTransformRequest.add_member(:timeout, Shapes::ShapeRef.new(shape: Timeout, location_name: "Timeout"))
1062
1065
  CreateMLTransformRequest.add_member(:max_retries, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "MaxRetries"))
1066
+ CreateMLTransformRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "Tags"))
1063
1067
  CreateMLTransformRequest.struct_class = Types::CreateMLTransformRequest
1064
1068
 
1065
1069
  CreateMLTransformResponse.add_member(:transform_id, Shapes::ShapeRef.new(shape: HashString, location_name: "TransformId"))
@@ -1930,6 +1934,17 @@ module Aws::Glue
1930
1934
  ListJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: GenericString, location_name: "NextToken"))
1931
1935
  ListJobsResponse.struct_class = Types::ListJobsResponse
1932
1936
 
1937
+ ListMLTransformsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
1938
+ ListMLTransformsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "MaxResults"))
1939
+ ListMLTransformsRequest.add_member(:filter, Shapes::ShapeRef.new(shape: TransformFilterCriteria, location_name: "Filter"))
1940
+ ListMLTransformsRequest.add_member(:sort, Shapes::ShapeRef.new(shape: TransformSortCriteria, location_name: "Sort"))
1941
+ ListMLTransformsRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "Tags"))
1942
+ ListMLTransformsRequest.struct_class = Types::ListMLTransformsRequest
1943
+
1944
+ ListMLTransformsResponse.add_member(:transform_ids, Shapes::ShapeRef.new(shape: TransformIdList, required: true, location_name: "TransformIds"))
1945
+ ListMLTransformsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
1946
+ ListMLTransformsResponse.struct_class = Types::ListMLTransformsResponse
1947
+
1933
1948
  ListTriggersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: GenericString, location_name: "NextToken"))
1934
1949
  ListTriggersRequest.add_member(:dependent_job_name, Shapes::ShapeRef.new(shape: NameString, location_name: "DependentJobName"))
1935
1950
  ListTriggersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "MaxResults"))
@@ -2403,6 +2418,8 @@ module Aws::Glue
2403
2418
  TransformFilterCriteria.add_member(:schema, Shapes::ShapeRef.new(shape: TransformSchema, location_name: "Schema"))
2404
2419
  TransformFilterCriteria.struct_class = Types::TransformFilterCriteria
2405
2420
 
2421
+ TransformIdList.member = Shapes::ShapeRef.new(shape: HashString)
2422
+
2406
2423
  TransformList.member = Shapes::ShapeRef.new(shape: MLTransform)
2407
2424
 
2408
2425
  TransformParameters.add_member(:transform_type, Shapes::ShapeRef.new(shape: TransformType, required: true, location_name: "TransformType"))
@@ -3873,6 +3890,24 @@ module Aws::Glue
3873
3890
  )
3874
3891
  end)
3875
3892
 
3893
+ api.add_operation(:list_ml_transforms, Seahorse::Model::Operation.new.tap do |o|
3894
+ o.name = "ListMLTransforms"
3895
+ o.http_method = "POST"
3896
+ o.http_request_uri = "/"
3897
+ o.input = Shapes::ShapeRef.new(shape: ListMLTransformsRequest)
3898
+ o.output = Shapes::ShapeRef.new(shape: ListMLTransformsResponse)
3899
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
3900
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
3901
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
3902
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
3903
+ o[:pager] = Aws::Pager.new(
3904
+ limit_key: "max_results",
3905
+ tokens: {
3906
+ "next_token" => "next_token"
3907
+ }
3908
+ )
3909
+ end)
3910
+
3876
3911
  api.add_operation(:list_triggers, Seahorse::Model::Operation.new.tap do |o|
3877
3912
  o.name = "ListTriggers"
3878
3913
  o.http_method = "POST"
@@ -2739,6 +2739,9 @@ module Aws::Glue
2739
2739
  # number_of_workers: 1,
2740
2740
  # timeout: 1,
2741
2741
  # max_retries: 1,
2742
+ # tags: {
2743
+ # "TagKey" => "TagValue",
2744
+ # },
2742
2745
  # }
2743
2746
  #
2744
2747
  # @!attribute [rw] name
@@ -2871,6 +2874,17 @@ module Aws::Glue
2871
2874
  # a task run fails.
2872
2875
  # @return [Integer]
2873
2876
  #
2877
+ # @!attribute [rw] tags
2878
+ # The tags to use with this machine learning transform. You may use
2879
+ # tags to limit access to the machine learning transform. For more
2880
+ # information about tags in AWS Glue, see [AWS Tags in AWS Glue][1] in
2881
+ # the developer guide.
2882
+ #
2883
+ #
2884
+ #
2885
+ # [1]: https://docs.aws.amazon.com/glue/latest/dg/monitor-tags.html
2886
+ # @return [Hash<String,String>]
2887
+ #
2874
2888
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateMLTransformRequest AWS API Documentation
2875
2889
  #
2876
2890
  class CreateMLTransformRequest < Struct.new(
@@ -2884,7 +2898,8 @@ module Aws::Glue
2884
2898
  :worker_type,
2885
2899
  :number_of_workers,
2886
2900
  :timeout,
2887
- :max_retries)
2901
+ :max_retries,
2902
+ :tags)
2888
2903
  include Aws::Structure
2889
2904
  end
2890
2905
 
@@ -8191,6 +8206,88 @@ module Aws::Glue
8191
8206
  include Aws::Structure
8192
8207
  end
8193
8208
 
8209
+ # @note When making an API call, you may pass ListMLTransformsRequest
8210
+ # data as a hash:
8211
+ #
8212
+ # {
8213
+ # next_token: "PaginationToken",
8214
+ # max_results: 1,
8215
+ # filter: {
8216
+ # name: "NameString",
8217
+ # transform_type: "FIND_MATCHES", # accepts FIND_MATCHES
8218
+ # status: "NOT_READY", # accepts NOT_READY, READY, DELETING
8219
+ # glue_version: "GlueVersionString",
8220
+ # created_before: Time.now,
8221
+ # created_after: Time.now,
8222
+ # last_modified_before: Time.now,
8223
+ # last_modified_after: Time.now,
8224
+ # schema: [
8225
+ # {
8226
+ # name: "ColumnNameString",
8227
+ # data_type: "ColumnTypeString",
8228
+ # },
8229
+ # ],
8230
+ # },
8231
+ # sort: {
8232
+ # column: "NAME", # required, accepts NAME, TRANSFORM_TYPE, STATUS, CREATED, LAST_MODIFIED
8233
+ # sort_direction: "DESCENDING", # required, accepts DESCENDING, ASCENDING
8234
+ # },
8235
+ # tags: {
8236
+ # "TagKey" => "TagValue",
8237
+ # },
8238
+ # }
8239
+ #
8240
+ # @!attribute [rw] next_token
8241
+ # A continuation token, if this is a continuation request.
8242
+ # @return [String]
8243
+ #
8244
+ # @!attribute [rw] max_results
8245
+ # The maximum size of a list to return.
8246
+ # @return [Integer]
8247
+ #
8248
+ # @!attribute [rw] filter
8249
+ # A `TransformFilterCriteria` used to filter the machine learning
8250
+ # transforms.
8251
+ # @return [Types::TransformFilterCriteria]
8252
+ #
8253
+ # @!attribute [rw] sort
8254
+ # A `TransformSortCriteria` used to sort the machine learning
8255
+ # transforms.
8256
+ # @return [Types::TransformSortCriteria]
8257
+ #
8258
+ # @!attribute [rw] tags
8259
+ # Specifies to return only these tagged resources.
8260
+ # @return [Hash<String,String>]
8261
+ #
8262
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListMLTransformsRequest AWS API Documentation
8263
+ #
8264
+ class ListMLTransformsRequest < Struct.new(
8265
+ :next_token,
8266
+ :max_results,
8267
+ :filter,
8268
+ :sort,
8269
+ :tags)
8270
+ include Aws::Structure
8271
+ end
8272
+
8273
+ # @!attribute [rw] transform_ids
8274
+ # The identifiers of all the machine learning transforms in the
8275
+ # account, or the machine learning transforms with the specified tags.
8276
+ # @return [Array<String>]
8277
+ #
8278
+ # @!attribute [rw] next_token
8279
+ # A continuation token, if the returned list does not contain the last
8280
+ # metric available.
8281
+ # @return [String]
8282
+ #
8283
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListMLTransformsResponse AWS API Documentation
8284
+ #
8285
+ class ListMLTransformsResponse < Struct.new(
8286
+ :transform_ids,
8287
+ :next_token)
8288
+ include Aws::Structure
8289
+ end
8290
+
8194
8291
  # @note When making an API call, you may pass ListTriggersRequest
8195
8292
  # data as a hash:
8196
8293
  #
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.48.0
4
+ version: 1.49.1
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: 2020-02-12 00:00:00.000000000 Z
11
+ date: 2020-03-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core