aws-sdk-lookoutforvision 1.16.0 → 1.18.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: bdebeabc78919f184d949a7da75c25dd7c06fe6a33c0d7be57925218bceb3d01
4
- data.tar.gz: 6691af3d7122199c1f341e9f37fa8569c5dbe1c5fb0523af8e30d35e28345b0c
3
+ metadata.gz: ff647589d07dc68105504a3bcde99e17e219c2386616d69c5b23bfaa8e21e985
4
+ data.tar.gz: 46337793ee32b8d632f883088dc25c15e3cbf1740515e20eb84a493b8c7d7ca0
5
5
  SHA512:
6
- metadata.gz: f1b5a344a90ef50fade4a9386659ed7d31942ba60c840a117ca9fd81ce87f33fb8d3a4d0f8388f5d7cca17c647002824581acaa56e6eee8fc50a42a856bf1ccd
7
- data.tar.gz: d014f245503da8775b4f60012cf48d3f855970b3910fd2259f4f3e9cd8bfcaa7aaaccd94e20e2e57cd9415a8ab55d64fd1a2d2a72a72b9f2fb0512b96e63047c
6
+ metadata.gz: 194f85d5fb4bd40034234bc1cfc29822a2286b5f3a804e7e647e948343a9819f400ee58b741e7fefdedb9dec0e4d3ad0e533b29a0eeef15119719b562d9c26a6
7
+ data.tar.gz: 19b8525aee2ee2f5b012619e400a6eddd406e2ebf100544b7e2f0515d3091c855b7363d6b67e339dbf82632fc6a733abf2434bd43127560c088c20559176f47e
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.18.0 (2022-12-12)
5
+ ------------------
6
+
7
+ * Feature - This documentation update adds kms:GenerateDataKey as a required permission to StartModelPackagingJob.
8
+
9
+ 1.17.0 (2022-10-25)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.16.0 (2022-07-28)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.16.0
1
+ 1.18.0
@@ -30,7 +30,7 @@ require 'aws-sdk-core/plugins/http_checksum.rb'
30
30
  require 'aws-sdk-core/plugins/checksum_algorithm.rb'
31
31
  require 'aws-sdk-core/plugins/defaults_mode.rb'
32
32
  require 'aws-sdk-core/plugins/recursion_detection.rb'
33
- require 'aws-sdk-core/plugins/signature_v4.rb'
33
+ require 'aws-sdk-core/plugins/sign.rb'
34
34
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
35
35
 
36
36
  Aws::Plugins::GlobalConfiguration.add_identifier(:lookoutforvision)
@@ -79,8 +79,9 @@ module Aws::LookoutforVision
79
79
  add_plugin(Aws::Plugins::ChecksumAlgorithm)
80
80
  add_plugin(Aws::Plugins::DefaultsMode)
81
81
  add_plugin(Aws::Plugins::RecursionDetection)
82
- add_plugin(Aws::Plugins::SignatureV4)
82
+ add_plugin(Aws::Plugins::Sign)
83
83
  add_plugin(Aws::Plugins::Protocols::RestJson)
84
+ add_plugin(Aws::LookoutforVision::Plugins::Endpoints)
84
85
 
85
86
  # @overload initialize(options)
86
87
  # @param [Hash] options
@@ -287,6 +288,19 @@ module Aws::LookoutforVision
287
288
  # ** Please note ** When response stubbing is enabled, no HTTP
288
289
  # requests are made, and retries are disabled.
289
290
  #
291
+ # @option options [Aws::TokenProvider] :token_provider
292
+ # A Bearer Token Provider. This can be an instance of any one of the
293
+ # following classes:
294
+ #
295
+ # * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
296
+ # tokens.
297
+ #
298
+ # * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
299
+ # access token generated from `aws login`.
300
+ #
301
+ # When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
302
+ # will be used to search for tokens configured for your profile in shared configuration files.
303
+ #
290
304
  # @option options [Boolean] :use_dualstack_endpoint
291
305
  # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
292
306
  # will be used if available.
@@ -300,6 +314,9 @@ module Aws::LookoutforVision
300
314
  # When `true`, request parameters are validated before
301
315
  # sending the request.
302
316
  #
317
+ # @option options [Aws::LookoutforVision::EndpointProvider] :endpoint_provider
318
+ # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::LookoutforVision::EndpointParameters`
319
+ #
303
320
  # @option options [URI::HTTP,String] :http_proxy A proxy to send
304
321
  # requests through. Formatted like 'http://proxy.com:123'.
305
322
  #
@@ -1470,6 +1487,8 @@ module Aws::LookoutforVision
1470
1487
  #
1471
1488
  # * `s3:GetBucketLocation`
1472
1489
  #
1490
+ # * `kms:GenerateDataKey`
1491
+ #
1473
1492
  # * `greengrass:CreateComponentVersion`
1474
1493
  #
1475
1494
  # * `greengrass:DescribeComponent`
@@ -1796,7 +1815,7 @@ module Aws::LookoutforVision
1796
1815
  params: params,
1797
1816
  config: config)
1798
1817
  context[:gem_name] = 'aws-sdk-lookoutforvision'
1799
- context[:gem_version] = '1.16.0'
1818
+ context[:gem_version] = '1.18.0'
1800
1819
  Seahorse::Client::Request.new(handlers, context)
1801
1820
  end
1802
1821
 
@@ -0,0 +1,69 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::LookoutforVision
11
+ # Endpoint parameters used to influence endpoints per request.
12
+ #
13
+ # @!attribute region
14
+ # The AWS region used to dispatch the request.
15
+ #
16
+ # @return [String]
17
+ #
18
+ # @!attribute use_dual_stack
19
+ # When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
20
+ #
21
+ # @return [Boolean]
22
+ #
23
+ # @!attribute use_fips
24
+ # When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
25
+ #
26
+ # @return [Boolean]
27
+ #
28
+ # @!attribute endpoint
29
+ # Override the endpoint used to send this request
30
+ #
31
+ # @return [String]
32
+ #
33
+ EndpointParameters = Struct.new(
34
+ :region,
35
+ :use_dual_stack,
36
+ :use_fips,
37
+ :endpoint,
38
+ ) do
39
+ include Aws::Structure
40
+
41
+ # @api private
42
+ class << self
43
+ PARAM_MAP = {
44
+ 'Region' => :region,
45
+ 'UseDualStack' => :use_dual_stack,
46
+ 'UseFIPS' => :use_fips,
47
+ 'Endpoint' => :endpoint,
48
+ }.freeze
49
+ end
50
+
51
+ def initialize(options = {})
52
+ self[:region] = options[:region]
53
+ if self[:region].nil?
54
+ raise ArgumentError, "Missing required EndpointParameter: :region"
55
+ end
56
+ self[:use_dual_stack] = options[:use_dual_stack]
57
+ self[:use_dual_stack] = false if self[:use_dual_stack].nil?
58
+ if self[:use_dual_stack].nil?
59
+ raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
60
+ end
61
+ self[:use_fips] = options[:use_fips]
62
+ self[:use_fips] = false if self[:use_fips].nil?
63
+ if self[:use_fips].nil?
64
+ raise ArgumentError, "Missing required EndpointParameter: :use_fips"
65
+ end
66
+ self[:endpoint] = options[:endpoint]
67
+ end
68
+ end
69
+ end
@@ -0,0 +1,110 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::LookoutforVision
11
+ class EndpointProvider
12
+ def initialize(rule_set = nil)
13
+ @@rule_set ||= begin
14
+ endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
+ Aws::Endpoints::RuleSet.new(
16
+ version: endpoint_rules['version'],
17
+ service_id: endpoint_rules['serviceId'],
18
+ parameters: endpoint_rules['parameters'],
19
+ rules: endpoint_rules['rules']
20
+ )
21
+ end
22
+ @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
+ end
24
+
25
+ def resolve_endpoint(parameters)
26
+ @provider.resolve_endpoint(parameters)
27
+ end
28
+
29
+ # @api private
30
+ RULES = <<-JSON
31
+ eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
+ bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOnRydWUsImRvY3VtZW50
33
+ YXRpb24iOiJUaGUgQVdTIHJlZ2lvbiB1c2VkIHRvIGRpc3BhdGNoIHRoZSBy
34
+ ZXF1ZXN0LiIsInR5cGUiOiJTdHJpbmcifSwiVXNlRHVhbFN0YWNrIjp7ImJ1
35
+ aWx0SW4iOiJBV1M6OlVzZUR1YWxTdGFjayIsInJlcXVpcmVkIjp0cnVlLCJk
36
+ ZWZhdWx0IjpmYWxzZSwiZG9jdW1lbnRhdGlvbiI6IldoZW4gdHJ1ZSwgdXNl
37
+ IHRoZSBkdWFsLXN0YWNrIGVuZHBvaW50LiBJZiB0aGUgY29uZmlndXJlZCBl
38
+ bmRwb2ludCBkb2VzIG5vdCBzdXBwb3J0IGR1YWwtc3RhY2ssIGRpc3BhdGNo
39
+ aW5nIHRoZSByZXF1ZXN0IE1BWSByZXR1cm4gYW4gZXJyb3IuIiwidHlwZSI6
40
+ IkJvb2xlYW4ifSwiVXNlRklQUyI6eyJidWlsdEluIjoiQVdTOjpVc2VGSVBT
41
+ IiwicmVxdWlyZWQiOnRydWUsImRlZmF1bHQiOmZhbHNlLCJkb2N1bWVudGF0
42
+ aW9uIjoiV2hlbiB0cnVlLCBzZW5kIHRoaXMgcmVxdWVzdCB0byB0aGUgRklQ
43
+ Uy1jb21wbGlhbnQgcmVnaW9uYWwgZW5kcG9pbnQuIElmIHRoZSBjb25maWd1
44
+ cmVkIGVuZHBvaW50IGRvZXMgbm90IGhhdmUgYSBGSVBTIGNvb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
94
+ eXBlIjoidHJlZSIsInJ1bGVzIjpbeyJjb25kaXRpb25zIjpbeyJmbiI6ImJv
95
+ b2xlYW5FcXVhbHMiLCJhcmd2IjpbdHJ1ZSx7ImZuIjoiZ2V0QXR0ciIsImFy
96
+ Z3YiOlt7InJlZiI6IlBhcnRpdGlvblJlc3VsdCJ9LCJzdXBwb3J0c0R1YWxT
97
+ dGFjayJdfV19XSwidHlwZSI6InRyZWUiLCJydWxlcyI6W3siY29uZGl0aW9u
98
+ cyI6W10sImVuZHBvaW50Ijp7InVybCI6Imh0dHBzOi8vbG9va291dHZpc2lv
99
+ bi57UmVnaW9ufS57UGFydGl0aW9uUmVzdWx0I2R1YWxTdGFja0Ruc1N1ZmZp
100
+ eH0iLCJwcm9wZXJ0aWVzIjp7fSwiaGVhZGVycyI6e319LCJ0eXBlIjoiZW5k
101
+ cG9pbnQifV19LHsiY29uZGl0aW9ucyI6W10sImVycm9yIjoiRHVhbFN0YWNr
102
+ IGlzIGVuYWJsZWQgYnV0IHRoaXMgcGFydGl0aW9uIGRvZXMgbm90IHN1cHBv
103
+ cnQgRHVhbFN0YWNrIiwidHlwZSI6ImVycm9yIn1dfSx7ImNvbmRpdGlvbnMi
104
+ OltdLCJlbmRwb2ludCI6eyJ1cmwiOiJodHRwczovL2xvb2tvdXR2aXNpb24u
105
+ e1JlZ2lvbn0ue1BhcnRpdGlvblJlc3VsdCNkbnNTdWZmaXh9IiwicHJvcGVy
106
+ dGllcyI6e30sImhlYWRlcnMiOnt9fSwidHlwZSI6ImVuZHBvaW50In1dfV19
107
+
108
+ JSON
109
+ end
110
+ end
@@ -0,0 +1,323 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+
11
+ module Aws::LookoutforVision
12
+ module Endpoints
13
+
14
+ class CreateDataset
15
+ def self.build(context)
16
+ unless context.config.regional_endpoint
17
+ endpoint = context.config.endpoint.to_s
18
+ end
19
+ Aws::LookoutforVision::EndpointParameters.new(
20
+ region: context.config.region,
21
+ use_dual_stack: context.config.use_dualstack_endpoint,
22
+ use_fips: context.config.use_fips_endpoint,
23
+ endpoint: endpoint,
24
+ )
25
+ end
26
+ end
27
+
28
+ class CreateModel
29
+ def self.build(context)
30
+ unless context.config.regional_endpoint
31
+ endpoint = context.config.endpoint.to_s
32
+ end
33
+ Aws::LookoutforVision::EndpointParameters.new(
34
+ region: context.config.region,
35
+ use_dual_stack: context.config.use_dualstack_endpoint,
36
+ use_fips: context.config.use_fips_endpoint,
37
+ endpoint: endpoint,
38
+ )
39
+ end
40
+ end
41
+
42
+ class CreateProject
43
+ def self.build(context)
44
+ unless context.config.regional_endpoint
45
+ endpoint = context.config.endpoint.to_s
46
+ end
47
+ Aws::LookoutforVision::EndpointParameters.new(
48
+ region: context.config.region,
49
+ use_dual_stack: context.config.use_dualstack_endpoint,
50
+ use_fips: context.config.use_fips_endpoint,
51
+ endpoint: endpoint,
52
+ )
53
+ end
54
+ end
55
+
56
+ class DeleteDataset
57
+ def self.build(context)
58
+ unless context.config.regional_endpoint
59
+ endpoint = context.config.endpoint.to_s
60
+ end
61
+ Aws::LookoutforVision::EndpointParameters.new(
62
+ region: context.config.region,
63
+ use_dual_stack: context.config.use_dualstack_endpoint,
64
+ use_fips: context.config.use_fips_endpoint,
65
+ endpoint: endpoint,
66
+ )
67
+ end
68
+ end
69
+
70
+ class DeleteModel
71
+ def self.build(context)
72
+ unless context.config.regional_endpoint
73
+ endpoint = context.config.endpoint.to_s
74
+ end
75
+ Aws::LookoutforVision::EndpointParameters.new(
76
+ region: context.config.region,
77
+ use_dual_stack: context.config.use_dualstack_endpoint,
78
+ use_fips: context.config.use_fips_endpoint,
79
+ endpoint: endpoint,
80
+ )
81
+ end
82
+ end
83
+
84
+ class DeleteProject
85
+ def self.build(context)
86
+ unless context.config.regional_endpoint
87
+ endpoint = context.config.endpoint.to_s
88
+ end
89
+ Aws::LookoutforVision::EndpointParameters.new(
90
+ region: context.config.region,
91
+ use_dual_stack: context.config.use_dualstack_endpoint,
92
+ use_fips: context.config.use_fips_endpoint,
93
+ endpoint: endpoint,
94
+ )
95
+ end
96
+ end
97
+
98
+ class DescribeDataset
99
+ def self.build(context)
100
+ unless context.config.regional_endpoint
101
+ endpoint = context.config.endpoint.to_s
102
+ end
103
+ Aws::LookoutforVision::EndpointParameters.new(
104
+ region: context.config.region,
105
+ use_dual_stack: context.config.use_dualstack_endpoint,
106
+ use_fips: context.config.use_fips_endpoint,
107
+ endpoint: endpoint,
108
+ )
109
+ end
110
+ end
111
+
112
+ class DescribeModel
113
+ def self.build(context)
114
+ unless context.config.regional_endpoint
115
+ endpoint = context.config.endpoint.to_s
116
+ end
117
+ Aws::LookoutforVision::EndpointParameters.new(
118
+ region: context.config.region,
119
+ use_dual_stack: context.config.use_dualstack_endpoint,
120
+ use_fips: context.config.use_fips_endpoint,
121
+ endpoint: endpoint,
122
+ )
123
+ end
124
+ end
125
+
126
+ class DescribeModelPackagingJob
127
+ def self.build(context)
128
+ unless context.config.regional_endpoint
129
+ endpoint = context.config.endpoint.to_s
130
+ end
131
+ Aws::LookoutforVision::EndpointParameters.new(
132
+ region: context.config.region,
133
+ use_dual_stack: context.config.use_dualstack_endpoint,
134
+ use_fips: context.config.use_fips_endpoint,
135
+ endpoint: endpoint,
136
+ )
137
+ end
138
+ end
139
+
140
+ class DescribeProject
141
+ def self.build(context)
142
+ unless context.config.regional_endpoint
143
+ endpoint = context.config.endpoint.to_s
144
+ end
145
+ Aws::LookoutforVision::EndpointParameters.new(
146
+ region: context.config.region,
147
+ use_dual_stack: context.config.use_dualstack_endpoint,
148
+ use_fips: context.config.use_fips_endpoint,
149
+ endpoint: endpoint,
150
+ )
151
+ end
152
+ end
153
+
154
+ class DetectAnomalies
155
+ def self.build(context)
156
+ unless context.config.regional_endpoint
157
+ endpoint = context.config.endpoint.to_s
158
+ end
159
+ Aws::LookoutforVision::EndpointParameters.new(
160
+ region: context.config.region,
161
+ use_dual_stack: context.config.use_dualstack_endpoint,
162
+ use_fips: context.config.use_fips_endpoint,
163
+ endpoint: endpoint,
164
+ )
165
+ end
166
+ end
167
+
168
+ class ListDatasetEntries
169
+ def self.build(context)
170
+ unless context.config.regional_endpoint
171
+ endpoint = context.config.endpoint.to_s
172
+ end
173
+ Aws::LookoutforVision::EndpointParameters.new(
174
+ region: context.config.region,
175
+ use_dual_stack: context.config.use_dualstack_endpoint,
176
+ use_fips: context.config.use_fips_endpoint,
177
+ endpoint: endpoint,
178
+ )
179
+ end
180
+ end
181
+
182
+ class ListModelPackagingJobs
183
+ def self.build(context)
184
+ unless context.config.regional_endpoint
185
+ endpoint = context.config.endpoint.to_s
186
+ end
187
+ Aws::LookoutforVision::EndpointParameters.new(
188
+ region: context.config.region,
189
+ use_dual_stack: context.config.use_dualstack_endpoint,
190
+ use_fips: context.config.use_fips_endpoint,
191
+ endpoint: endpoint,
192
+ )
193
+ end
194
+ end
195
+
196
+ class ListModels
197
+ def self.build(context)
198
+ unless context.config.regional_endpoint
199
+ endpoint = context.config.endpoint.to_s
200
+ end
201
+ Aws::LookoutforVision::EndpointParameters.new(
202
+ region: context.config.region,
203
+ use_dual_stack: context.config.use_dualstack_endpoint,
204
+ use_fips: context.config.use_fips_endpoint,
205
+ endpoint: endpoint,
206
+ )
207
+ end
208
+ end
209
+
210
+ class ListProjects
211
+ def self.build(context)
212
+ unless context.config.regional_endpoint
213
+ endpoint = context.config.endpoint.to_s
214
+ end
215
+ Aws::LookoutforVision::EndpointParameters.new(
216
+ region: context.config.region,
217
+ use_dual_stack: context.config.use_dualstack_endpoint,
218
+ use_fips: context.config.use_fips_endpoint,
219
+ endpoint: endpoint,
220
+ )
221
+ end
222
+ end
223
+
224
+ class ListTagsForResource
225
+ def self.build(context)
226
+ unless context.config.regional_endpoint
227
+ endpoint = context.config.endpoint.to_s
228
+ end
229
+ Aws::LookoutforVision::EndpointParameters.new(
230
+ region: context.config.region,
231
+ use_dual_stack: context.config.use_dualstack_endpoint,
232
+ use_fips: context.config.use_fips_endpoint,
233
+ endpoint: endpoint,
234
+ )
235
+ end
236
+ end
237
+
238
+ class StartModel
239
+ def self.build(context)
240
+ unless context.config.regional_endpoint
241
+ endpoint = context.config.endpoint.to_s
242
+ end
243
+ Aws::LookoutforVision::EndpointParameters.new(
244
+ region: context.config.region,
245
+ use_dual_stack: context.config.use_dualstack_endpoint,
246
+ use_fips: context.config.use_fips_endpoint,
247
+ endpoint: endpoint,
248
+ )
249
+ end
250
+ end
251
+
252
+ class StartModelPackagingJob
253
+ def self.build(context)
254
+ unless context.config.regional_endpoint
255
+ endpoint = context.config.endpoint.to_s
256
+ end
257
+ Aws::LookoutforVision::EndpointParameters.new(
258
+ region: context.config.region,
259
+ use_dual_stack: context.config.use_dualstack_endpoint,
260
+ use_fips: context.config.use_fips_endpoint,
261
+ endpoint: endpoint,
262
+ )
263
+ end
264
+ end
265
+
266
+ class StopModel
267
+ def self.build(context)
268
+ unless context.config.regional_endpoint
269
+ endpoint = context.config.endpoint.to_s
270
+ end
271
+ Aws::LookoutforVision::EndpointParameters.new(
272
+ region: context.config.region,
273
+ use_dual_stack: context.config.use_dualstack_endpoint,
274
+ use_fips: context.config.use_fips_endpoint,
275
+ endpoint: endpoint,
276
+ )
277
+ end
278
+ end
279
+
280
+ class TagResource
281
+ def self.build(context)
282
+ unless context.config.regional_endpoint
283
+ endpoint = context.config.endpoint.to_s
284
+ end
285
+ Aws::LookoutforVision::EndpointParameters.new(
286
+ region: context.config.region,
287
+ use_dual_stack: context.config.use_dualstack_endpoint,
288
+ use_fips: context.config.use_fips_endpoint,
289
+ endpoint: endpoint,
290
+ )
291
+ end
292
+ end
293
+
294
+ class UntagResource
295
+ def self.build(context)
296
+ unless context.config.regional_endpoint
297
+ endpoint = context.config.endpoint.to_s
298
+ end
299
+ Aws::LookoutforVision::EndpointParameters.new(
300
+ region: context.config.region,
301
+ use_dual_stack: context.config.use_dualstack_endpoint,
302
+ use_fips: context.config.use_fips_endpoint,
303
+ endpoint: endpoint,
304
+ )
305
+ end
306
+ end
307
+
308
+ class UpdateDatasetEntries
309
+ def self.build(context)
310
+ unless context.config.regional_endpoint
311
+ endpoint = context.config.endpoint.to_s
312
+ end
313
+ Aws::LookoutforVision::EndpointParameters.new(
314
+ region: context.config.region,
315
+ use_dual_stack: context.config.use_dualstack_endpoint,
316
+ use_fips: context.config.use_fips_endpoint,
317
+ endpoint: endpoint,
318
+ )
319
+ end
320
+ end
321
+
322
+ end
323
+ end
@@ -0,0 +1,112 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+
11
+ module Aws::LookoutforVision
12
+ module Plugins
13
+ class Endpoints < Seahorse::Client::Plugin
14
+ option(
15
+ :endpoint_provider,
16
+ doc_type: 'Aws::LookoutforVision::EndpointProvider',
17
+ docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
+ 'object that responds to `#resolve_endpoint(parameters)` '\
19
+ 'where `parameters` is a Struct similar to '\
20
+ '`Aws::LookoutforVision::EndpointParameters`'
21
+ ) do |cfg|
22
+ Aws::LookoutforVision::EndpointProvider.new
23
+ end
24
+
25
+ # @api private
26
+ class Handler < Seahorse::Client::Handler
27
+ def call(context)
28
+ # If endpoint was discovered, do not resolve or apply the endpoint.
29
+ unless context[:discovered_endpoint]
30
+ params = parameters_for_operation(context)
31
+ endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
+
33
+ context.http_request.endpoint = endpoint.url
34
+ apply_endpoint_headers(context, endpoint.headers)
35
+ end
36
+
37
+ context[:endpoint_params] = params
38
+ context[:auth_scheme] =
39
+ Aws::Endpoints.resolve_auth_scheme(context, endpoint)
40
+
41
+ @handler.call(context)
42
+ end
43
+
44
+ private
45
+
46
+ def apply_endpoint_headers(context, headers)
47
+ headers.each do |key, values|
48
+ value = values
49
+ .compact
50
+ .map { |s| Seahorse::Util.escape_header_list_string(s.to_s) }
51
+ .join(',')
52
+
53
+ context.http_request.headers[key] = value
54
+ end
55
+ end
56
+
57
+ def parameters_for_operation(context)
58
+ case context.operation_name
59
+ when :create_dataset
60
+ Aws::LookoutforVision::Endpoints::CreateDataset.build(context)
61
+ when :create_model
62
+ Aws::LookoutforVision::Endpoints::CreateModel.build(context)
63
+ when :create_project
64
+ Aws::LookoutforVision::Endpoints::CreateProject.build(context)
65
+ when :delete_dataset
66
+ Aws::LookoutforVision::Endpoints::DeleteDataset.build(context)
67
+ when :delete_model
68
+ Aws::LookoutforVision::Endpoints::DeleteModel.build(context)
69
+ when :delete_project
70
+ Aws::LookoutforVision::Endpoints::DeleteProject.build(context)
71
+ when :describe_dataset
72
+ Aws::LookoutforVision::Endpoints::DescribeDataset.build(context)
73
+ when :describe_model
74
+ Aws::LookoutforVision::Endpoints::DescribeModel.build(context)
75
+ when :describe_model_packaging_job
76
+ Aws::LookoutforVision::Endpoints::DescribeModelPackagingJob.build(context)
77
+ when :describe_project
78
+ Aws::LookoutforVision::Endpoints::DescribeProject.build(context)
79
+ when :detect_anomalies
80
+ Aws::LookoutforVision::Endpoints::DetectAnomalies.build(context)
81
+ when :list_dataset_entries
82
+ Aws::LookoutforVision::Endpoints::ListDatasetEntries.build(context)
83
+ when :list_model_packaging_jobs
84
+ Aws::LookoutforVision::Endpoints::ListModelPackagingJobs.build(context)
85
+ when :list_models
86
+ Aws::LookoutforVision::Endpoints::ListModels.build(context)
87
+ when :list_projects
88
+ Aws::LookoutforVision::Endpoints::ListProjects.build(context)
89
+ when :list_tags_for_resource
90
+ Aws::LookoutforVision::Endpoints::ListTagsForResource.build(context)
91
+ when :start_model
92
+ Aws::LookoutforVision::Endpoints::StartModel.build(context)
93
+ when :start_model_packaging_job
94
+ Aws::LookoutforVision::Endpoints::StartModelPackagingJob.build(context)
95
+ when :stop_model
96
+ Aws::LookoutforVision::Endpoints::StopModel.build(context)
97
+ when :tag_resource
98
+ Aws::LookoutforVision::Endpoints::TagResource.build(context)
99
+ when :untag_resource
100
+ Aws::LookoutforVision::Endpoints::UntagResource.build(context)
101
+ when :update_dataset_entries
102
+ Aws::LookoutforVision::Endpoints::UpdateDatasetEntries.build(context)
103
+ end
104
+ end
105
+ end
106
+
107
+ def add_handlers(handlers, _config)
108
+ handlers.add(Handler, step: :build, priority: 75)
109
+ end
110
+ end
111
+ end
112
+ end
@@ -69,24 +69,6 @@ module Aws::LookoutforVision
69
69
  include Aws::Structure
70
70
  end
71
71
 
72
- # @note When making an API call, you may pass CreateDatasetRequest
73
- # data as a hash:
74
- #
75
- # {
76
- # project_name: "ProjectName", # required
77
- # dataset_type: "DatasetType", # required
78
- # dataset_source: {
79
- # ground_truth_manifest: {
80
- # s3_object: {
81
- # bucket: "S3BucketName", # required
82
- # key: "S3ObjectKey", # required
83
- # version_id: "S3ObjectVersion",
84
- # },
85
- # },
86
- # },
87
- # client_token: "ClientToken",
88
- # }
89
- #
90
72
  # @!attribute [rw] project_name
91
73
  # The name of the project in which you want to create a dataset.
92
74
  # @return [String]
@@ -155,28 +137,6 @@ module Aws::LookoutforVision
155
137
  include Aws::Structure
156
138
  end
157
139
 
158
- # @note When making an API call, you may pass CreateModelRequest
159
- # data as a hash:
160
- #
161
- # {
162
- # project_name: "ProjectName", # required
163
- # description: "ModelDescriptionMessage",
164
- # client_token: "ClientToken",
165
- # output_config: { # required
166
- # s3_location: { # required
167
- # bucket: "S3BucketName", # required
168
- # prefix: "S3KeyPrefix",
169
- # },
170
- # },
171
- # kms_key_id: "KmsKeyId",
172
- # tags: [
173
- # {
174
- # key: "TagKey", # required
175
- # value: "TagValue", # required
176
- # },
177
- # ],
178
- # }
179
- #
180
140
  # @!attribute [rw] project_name
181
141
  # The name of the project in which you want to create a model version.
182
142
  # @return [String]
@@ -249,14 +209,6 @@ module Aws::LookoutforVision
249
209
  include Aws::Structure
250
210
  end
251
211
 
252
- # @note When making an API call, you may pass CreateProjectRequest
253
- # data as a hash:
254
- #
255
- # {
256
- # project_name: "ProjectName", # required
257
- # client_token: "ClientToken",
258
- # }
259
- #
260
212
  # @!attribute [rw] project_name
261
213
  # The name for the project.
262
214
  # @return [String]
@@ -355,17 +307,6 @@ module Aws::LookoutforVision
355
307
  # Location information about a manifest file. You can use a manifest
356
308
  # file to create a dataset.
357
309
  #
358
- # @note When making an API call, you may pass DatasetGroundTruthManifest
359
- # data as a hash:
360
- #
361
- # {
362
- # s3_object: {
363
- # bucket: "S3BucketName", # required
364
- # key: "S3ObjectKey", # required
365
- # version_id: "S3ObjectVersion",
366
- # },
367
- # }
368
- #
369
310
  # @!attribute [rw] s3_object
370
311
  # The S3 bucket location for the manifest file.
371
312
  # @return [Types::InputS3Object]
@@ -441,19 +382,6 @@ module Aws::LookoutforVision
441
382
  # Information about the location of a manifest file that Amazon Lookout
442
383
  # for Vision uses to to create a dataset.
443
384
  #
444
- # @note When making an API call, you may pass DatasetSource
445
- # data as a hash:
446
- #
447
- # {
448
- # ground_truth_manifest: {
449
- # s3_object: {
450
- # bucket: "S3BucketName", # required
451
- # key: "S3ObjectKey", # required
452
- # version_id: "S3ObjectVersion",
453
- # },
454
- # },
455
- # }
456
- #
457
385
  # @!attribute [rw] ground_truth_manifest
458
386
  # Location information for the manifest file.
459
387
  # @return [Types::DatasetGroundTruthManifest]
@@ -466,15 +394,6 @@ module Aws::LookoutforVision
466
394
  include Aws::Structure
467
395
  end
468
396
 
469
- # @note When making an API call, you may pass DeleteDatasetRequest
470
- # data as a hash:
471
- #
472
- # {
473
- # project_name: "ProjectName", # required
474
- # dataset_type: "DatasetType", # required
475
- # client_token: "ClientToken",
476
- # }
477
- #
478
397
  # @!attribute [rw] project_name
479
398
  # The name of the project that contains the dataset that you want to
480
399
  # delete.
@@ -521,15 +440,6 @@ module Aws::LookoutforVision
521
440
  #
522
441
  class DeleteDatasetResponse < Aws::EmptyStructure; end
523
442
 
524
- # @note When making an API call, you may pass DeleteModelRequest
525
- # data as a hash:
526
- #
527
- # {
528
- # project_name: "ProjectName", # required
529
- # model_version: "ModelVersionNoLatest", # required
530
- # client_token: "ClientToken",
531
- # }
532
- #
533
443
  # @!attribute [rw] project_name
534
444
  # The name of the project that contains the model that you want to
535
445
  # delete.
@@ -582,14 +492,6 @@ module Aws::LookoutforVision
582
492
  include Aws::Structure
583
493
  end
584
494
 
585
- # @note When making an API call, you may pass DeleteProjectRequest
586
- # data as a hash:
587
- #
588
- # {
589
- # project_name: "ProjectName", # required
590
- # client_token: "ClientToken",
591
- # }
592
- #
593
495
  # @!attribute [rw] project_name
594
496
  # The name of the project to delete.
595
497
  # @return [String]
@@ -636,14 +538,6 @@ module Aws::LookoutforVision
636
538
  include Aws::Structure
637
539
  end
638
540
 
639
- # @note When making an API call, you may pass DescribeDatasetRequest
640
- # data as a hash:
641
- #
642
- # {
643
- # project_name: "ProjectName", # required
644
- # dataset_type: "DatasetType", # required
645
- # }
646
- #
647
541
  # @!attribute [rw] project_name
648
542
  # The name of the project that contains the dataset that you want to
649
543
  # describe.
@@ -676,14 +570,6 @@ module Aws::LookoutforVision
676
570
  include Aws::Structure
677
571
  end
678
572
 
679
- # @note When making an API call, you may pass DescribeModelPackagingJobRequest
680
- # data as a hash:
681
- #
682
- # {
683
- # project_name: "ProjectName", # required
684
- # job_name: "ModelPackagingJobName", # required
685
- # }
686
- #
687
573
  # @!attribute [rw] project_name
688
574
  # The name of the project that contains the model packaging job that
689
575
  # you want to describe.
@@ -714,14 +600,6 @@ module Aws::LookoutforVision
714
600
  include Aws::Structure
715
601
  end
716
602
 
717
- # @note When making an API call, you may pass DescribeModelRequest
718
- # data as a hash:
719
- #
720
- # {
721
- # project_name: "ProjectName", # required
722
- # model_version: "ModelVersion", # required
723
- # }
724
- #
725
603
  # @!attribute [rw] project_name
726
604
  # The project that contains the version of a model that you want to
727
605
  # describe.
@@ -752,13 +630,6 @@ module Aws::LookoutforVision
752
630
  include Aws::Structure
753
631
  end
754
632
 
755
- # @note When making an API call, you may pass DescribeProjectRequest
756
- # data as a hash:
757
- #
758
- # {
759
- # project_name: "ProjectName", # required
760
- # }
761
- #
762
633
  # @!attribute [rw] project_name
763
634
  # The name of the project that you want to describe.
764
635
  # @return [String]
@@ -783,16 +654,6 @@ module Aws::LookoutforVision
783
654
  include Aws::Structure
784
655
  end
785
656
 
786
- # @note When making an API call, you may pass DetectAnomaliesRequest
787
- # data as a hash:
788
- #
789
- # {
790
- # project_name: "ProjectName", # required
791
- # model_version: "ModelVersion", # required
792
- # body: "data", # required
793
- # content_type: "ContentType", # required
794
- # }
795
- #
796
657
  # @!attribute [rw] project_name
797
658
  # The name of the project that contains the model version that you
798
659
  # want to use.
@@ -908,32 +769,6 @@ module Aws::LookoutforVision
908
769
  #
909
770
  # </note>
910
771
  #
911
- # @note When making an API call, you may pass GreengrassConfiguration
912
- # data as a hash:
913
- #
914
- # {
915
- # compiler_options: "CompilerOptions",
916
- # target_device: "jetson_xavier", # accepts jetson_xavier
917
- # target_platform: {
918
- # os: "LINUX", # required, accepts LINUX
919
- # arch: "ARM64", # required, accepts ARM64, X86_64
920
- # accelerator: "NVIDIA", # accepts NVIDIA
921
- # },
922
- # s3_output_location: { # required
923
- # bucket: "S3BucketName", # required
924
- # prefix: "S3KeyPrefix",
925
- # },
926
- # component_name: "ComponentName", # required
927
- # component_version: "ComponentVersion",
928
- # component_description: "ComponentDescription",
929
- # tags: [
930
- # {
931
- # key: "TagKey", # required
932
- # value: "TagValue", # required
933
- # },
934
- # ],
935
- # }
936
- #
937
772
  # @!attribute [rw] compiler_options
938
773
  # Additional compiler options for the Greengrass component. Currently,
939
774
  # only NVIDIA Graphics Processing Units (GPU) and CPU accelerators are
@@ -1034,15 +869,6 @@ module Aws::LookoutforVision
1034
869
 
1035
870
  # Amazon S3 Location information for an input manifest file.
1036
871
  #
1037
- # @note When making an API call, you may pass InputS3Object
1038
- # data as a hash:
1039
- #
1040
- # {
1041
- # bucket: "S3BucketName", # required
1042
- # key: "S3ObjectKey", # required
1043
- # version_id: "S3ObjectVersion",
1044
- # }
1045
- #
1046
872
  # @!attribute [rw] bucket
1047
873
  # The Amazon S3 bucket that contains the manifest.
1048
874
  # @return [String]
@@ -1084,21 +910,6 @@ module Aws::LookoutforVision
1084
910
  include Aws::Structure
1085
911
  end
1086
912
 
1087
- # @note When making an API call, you may pass ListDatasetEntriesRequest
1088
- # data as a hash:
1089
- #
1090
- # {
1091
- # project_name: "ProjectName", # required
1092
- # dataset_type: "DatasetType", # required
1093
- # labeled: false,
1094
- # anomaly_class: "AnomalyClassFilter",
1095
- # before_creation_date: Time.now,
1096
- # after_creation_date: Time.now,
1097
- # next_token: "PaginationToken",
1098
- # max_results: 1,
1099
- # source_ref_contains: "QueryString",
1100
- # }
1101
- #
1102
913
  # @!attribute [rw] project_name
1103
914
  # The name of the project that contains the dataset that you want to
1104
915
  # list.
@@ -1187,15 +998,6 @@ module Aws::LookoutforVision
1187
998
  include Aws::Structure
1188
999
  end
1189
1000
 
1190
- # @note When making an API call, you may pass ListModelPackagingJobsRequest
1191
- # data as a hash:
1192
- #
1193
- # {
1194
- # project_name: "ProjectName", # required
1195
- # next_token: "PaginationToken",
1196
- # max_results: 1,
1197
- # }
1198
- #
1199
1001
  # @!attribute [rw] project_name
1200
1002
  # The name of the project for which you want to list the model
1201
1003
  # packaging jobs.
@@ -1246,15 +1048,6 @@ module Aws::LookoutforVision
1246
1048
  include Aws::Structure
1247
1049
  end
1248
1050
 
1249
- # @note When making an API call, you may pass ListModelsRequest
1250
- # data as a hash:
1251
- #
1252
- # {
1253
- # project_name: "ProjectName", # required
1254
- # next_token: "PaginationToken",
1255
- # max_results: 1,
1256
- # }
1257
- #
1258
1051
  # @!attribute [rw] project_name
1259
1052
  # The name of the project that contains the model versions that you
1260
1053
  # want to list.
@@ -1303,14 +1096,6 @@ module Aws::LookoutforVision
1303
1096
  include Aws::Structure
1304
1097
  end
1305
1098
 
1306
- # @note When making an API call, you may pass ListProjectsRequest
1307
- # data as a hash:
1308
- #
1309
- # {
1310
- # next_token: "PaginationToken",
1311
- # max_results: 1,
1312
- # }
1313
- #
1314
1099
  # @!attribute [rw] next_token
1315
1100
  # If the previous response was incomplete (because there is more data
1316
1101
  # to retrieve), Amazon Lookout for Vision returns a pagination token
@@ -1353,13 +1138,6 @@ module Aws::LookoutforVision
1353
1138
  include Aws::Structure
1354
1139
  end
1355
1140
 
1356
- # @note When making an API call, you may pass ListTagsForResourceRequest
1357
- # data as a hash:
1358
- #
1359
- # {
1360
- # resource_arn: "TagArn", # required
1361
- # }
1362
- #
1363
1141
  # @!attribute [rw] resource_arn
1364
1142
  # The Amazon Resource Name (ARN) of the model for which you want to
1365
1143
  # list tags.
@@ -1519,34 +1297,6 @@ module Aws::LookoutforVision
1519
1297
  # Configuration information for a Amazon Lookout for Vision model
1520
1298
  # packaging job. For more information, see StartModelPackagingJob.
1521
1299
  #
1522
- # @note When making an API call, you may pass ModelPackagingConfiguration
1523
- # data as a hash:
1524
- #
1525
- # {
1526
- # greengrass: { # required
1527
- # compiler_options: "CompilerOptions",
1528
- # target_device: "jetson_xavier", # accepts jetson_xavier
1529
- # target_platform: {
1530
- # os: "LINUX", # required, accepts LINUX
1531
- # arch: "ARM64", # required, accepts ARM64, X86_64
1532
- # accelerator: "NVIDIA", # accepts NVIDIA
1533
- # },
1534
- # s3_output_location: { # required
1535
- # bucket: "S3BucketName", # required
1536
- # prefix: "S3KeyPrefix",
1537
- # },
1538
- # component_name: "ComponentName", # required
1539
- # component_version: "ComponentVersion",
1540
- # component_description: "ComponentDescription",
1541
- # tags: [
1542
- # {
1543
- # key: "TagKey", # required
1544
- # value: "TagValue", # required
1545
- # },
1546
- # ],
1547
- # },
1548
- # }
1549
- #
1550
1300
  # @!attribute [rw] greengrass
1551
1301
  # Configuration information for the AWS IoT Greengrass component in a
1552
1302
  # model packaging job.
@@ -1730,16 +1480,6 @@ module Aws::LookoutforVision
1730
1480
  # The S3 location where Amazon Lookout for Vision saves model training
1731
1481
  # files.
1732
1482
  #
1733
- # @note When making an API call, you may pass OutputConfig
1734
- # data as a hash:
1735
- #
1736
- # {
1737
- # s3_location: { # required
1738
- # bucket: "S3BucketName", # required
1739
- # prefix: "S3KeyPrefix",
1740
- # },
1741
- # }
1742
- #
1743
1483
  # @!attribute [rw] s3_location
1744
1484
  # The S3 location for the output.
1745
1485
  # @return [Types::S3Location]
@@ -1876,14 +1616,6 @@ module Aws::LookoutforVision
1876
1616
  # Information about the location of training output or the output of a
1877
1617
  # model packaging job.
1878
1618
  #
1879
- # @note When making an API call, you may pass S3Location
1880
- # data as a hash:
1881
- #
1882
- # {
1883
- # bucket: "S3BucketName", # required
1884
- # prefix: "S3KeyPrefix",
1885
- # }
1886
- #
1887
1619
  # @!attribute [rw] bucket
1888
1620
  # The S3 bucket that contains the training or model packaging job
1889
1621
  # output. If you are training a model, the bucket must in your AWS
@@ -1941,41 +1673,6 @@ module Aws::LookoutforVision
1941
1673
  include Aws::Structure
1942
1674
  end
1943
1675
 
1944
- # @note When making an API call, you may pass StartModelPackagingJobRequest
1945
- # data as a hash:
1946
- #
1947
- # {
1948
- # project_name: "ProjectName", # required
1949
- # model_version: "ModelVersion", # required
1950
- # job_name: "ModelPackagingJobName",
1951
- # configuration: { # required
1952
- # greengrass: { # required
1953
- # compiler_options: "CompilerOptions",
1954
- # target_device: "jetson_xavier", # accepts jetson_xavier
1955
- # target_platform: {
1956
- # os: "LINUX", # required, accepts LINUX
1957
- # arch: "ARM64", # required, accepts ARM64, X86_64
1958
- # accelerator: "NVIDIA", # accepts NVIDIA
1959
- # },
1960
- # s3_output_location: { # required
1961
- # bucket: "S3BucketName", # required
1962
- # prefix: "S3KeyPrefix",
1963
- # },
1964
- # component_name: "ComponentName", # required
1965
- # component_version: "ComponentVersion",
1966
- # component_description: "ComponentDescription",
1967
- # tags: [
1968
- # {
1969
- # key: "TagKey", # required
1970
- # value: "TagValue", # required
1971
- # },
1972
- # ],
1973
- # },
1974
- # },
1975
- # description: "ModelPackagingJobDescription",
1976
- # client_token: "ClientToken",
1977
- # }
1978
- #
1979
1676
  # @!attribute [rw] project_name
1980
1677
  # The name of the project which contains the version of the model that
1981
1678
  # you want to package.
@@ -2048,17 +1745,6 @@ module Aws::LookoutforVision
2048
1745
  include Aws::Structure
2049
1746
  end
2050
1747
 
2051
- # @note When making an API call, you may pass StartModelRequest
2052
- # data as a hash:
2053
- #
2054
- # {
2055
- # project_name: "ProjectName", # required
2056
- # model_version: "ModelVersion", # required
2057
- # min_inference_units: 1, # required
2058
- # client_token: "ClientToken",
2059
- # max_inference_units: 1,
2060
- # }
2061
- #
2062
1748
  # @!attribute [rw] project_name
2063
1749
  # The name of the project that contains the model that you want to
2064
1750
  # start.
@@ -2126,15 +1812,6 @@ module Aws::LookoutforVision
2126
1812
  include Aws::Structure
2127
1813
  end
2128
1814
 
2129
- # @note When making an API call, you may pass StopModelRequest
2130
- # data as a hash:
2131
- #
2132
- # {
2133
- # project_name: "ProjectName", # required
2134
- # model_version: "ModelVersion", # required
2135
- # client_token: "ClientToken",
2136
- # }
2137
- #
2138
1815
  # @!attribute [rw] project_name
2139
1816
  # The name of the project that contains the model that you want to
2140
1817
  # stop.
@@ -2190,14 +1867,6 @@ module Aws::LookoutforVision
2190
1867
  # A key and value pair that is attached to the specified Amazon Lookout
2191
1868
  # for Vision model.
2192
1869
  #
2193
- # @note When making an API call, you may pass Tag
2194
- # data as a hash:
2195
- #
2196
- # {
2197
- # key: "TagKey", # required
2198
- # value: "TagValue", # required
2199
- # }
2200
- #
2201
1870
  # @!attribute [rw] key
2202
1871
  # The key of the tag that is attached to the specified model.
2203
1872
  # @return [String]
@@ -2215,19 +1884,6 @@ module Aws::LookoutforVision
2215
1884
  include Aws::Structure
2216
1885
  end
2217
1886
 
2218
- # @note When making an API call, you may pass TagResourceRequest
2219
- # data as a hash:
2220
- #
2221
- # {
2222
- # resource_arn: "TagArn", # required
2223
- # tags: [ # required
2224
- # {
2225
- # key: "TagKey", # required
2226
- # value: "TagValue", # required
2227
- # },
2228
- # ],
2229
- # }
2230
- #
2231
1887
  # @!attribute [rw] resource_arn
2232
1888
  # The Amazon Resource Name (ARN) of the model to assign the tags.
2233
1889
  # @return [String]
@@ -2252,15 +1908,6 @@ module Aws::LookoutforVision
2252
1908
  # The platform on which a model runs on an AWS IoT Greengrass core
2253
1909
  # device.
2254
1910
  #
2255
- # @note When making an API call, you may pass TargetPlatform
2256
- # data as a hash:
2257
- #
2258
- # {
2259
- # os: "LINUX", # required, accepts LINUX
2260
- # arch: "ARM64", # required, accepts ARM64, X86_64
2261
- # accelerator: "NVIDIA", # accepts NVIDIA
2262
- # }
2263
- #
2264
1911
  # @!attribute [rw] os
2265
1912
  # The target operating system for the model. Linux is the only
2266
1913
  # operating system that is currently supported.
@@ -2328,14 +1975,6 @@ module Aws::LookoutforVision
2328
1975
  include Aws::Structure
2329
1976
  end
2330
1977
 
2331
- # @note When making an API call, you may pass UntagResourceRequest
2332
- # data as a hash:
2333
- #
2334
- # {
2335
- # resource_arn: "TagArn", # required
2336
- # tag_keys: ["TagKey"], # required
2337
- # }
2338
- #
2339
1978
  # @!attribute [rw] resource_arn
2340
1979
  # The Amazon Resource Name (ARN) of the model from which you want to
2341
1980
  # remove tags.
@@ -2358,16 +1997,6 @@ module Aws::LookoutforVision
2358
1997
  #
2359
1998
  class UntagResourceResponse < Aws::EmptyStructure; end
2360
1999
 
2361
- # @note When making an API call, you may pass UpdateDatasetEntriesRequest
2362
- # data as a hash:
2363
- #
2364
- # {
2365
- # project_name: "ProjectName", # required
2366
- # dataset_type: "DatasetType", # required
2367
- # changes: "data", # required
2368
- # client_token: "ClientToken",
2369
- # }
2370
- #
2371
2000
  # @!attribute [rw] project_name
2372
2001
  # The name of the project that contains the dataset that you want to
2373
2002
  # update.
@@ -13,9 +13,13 @@ require 'aws-sigv4'
13
13
 
14
14
  require_relative 'aws-sdk-lookoutforvision/types'
15
15
  require_relative 'aws-sdk-lookoutforvision/client_api'
16
+ require_relative 'aws-sdk-lookoutforvision/plugins/endpoints.rb'
16
17
  require_relative 'aws-sdk-lookoutforvision/client'
17
18
  require_relative 'aws-sdk-lookoutforvision/errors'
18
19
  require_relative 'aws-sdk-lookoutforvision/resource'
20
+ require_relative 'aws-sdk-lookoutforvision/endpoint_parameters'
21
+ require_relative 'aws-sdk-lookoutforvision/endpoint_provider'
22
+ require_relative 'aws-sdk-lookoutforvision/endpoints'
19
23
  require_relative 'aws-sdk-lookoutforvision/customizations'
20
24
 
21
25
  # This module provides support for Amazon Lookout for Vision. This module is available in the
@@ -48,6 +52,6 @@ require_relative 'aws-sdk-lookoutforvision/customizations'
48
52
  # @!group service
49
53
  module Aws::LookoutforVision
50
54
 
51
- GEM_VERSION = '1.16.0'
55
+ GEM_VERSION = '1.18.0'
52
56
 
53
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-lookoutforvision
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.16.0
4
+ version: 1.18.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: 2022-07-28 00:00:00.000000000 Z
11
+ date: 2022-12-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.127.0
22
+ version: 3.165.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.127.0
32
+ version: 3.165.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -59,7 +59,11 @@ files:
59
59
  - lib/aws-sdk-lookoutforvision/client.rb
60
60
  - lib/aws-sdk-lookoutforvision/client_api.rb
61
61
  - lib/aws-sdk-lookoutforvision/customizations.rb
62
+ - lib/aws-sdk-lookoutforvision/endpoint_parameters.rb
63
+ - lib/aws-sdk-lookoutforvision/endpoint_provider.rb
64
+ - lib/aws-sdk-lookoutforvision/endpoints.rb
62
65
  - lib/aws-sdk-lookoutforvision/errors.rb
66
+ - lib/aws-sdk-lookoutforvision/plugins/endpoints.rb
63
67
  - lib/aws-sdk-lookoutforvision/resource.rb
64
68
  - lib/aws-sdk-lookoutforvision/types.rb
65
69
  homepage: https://github.com/aws/aws-sdk-ruby