aws-sdk-lookoutforvision 1.17.0 → 1.19.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lookoutforvision/client.rb +3 -1
- data/lib/aws-sdk-lookoutforvision/endpoint_parameters.rb +3 -0
- data/lib/aws-sdk-lookoutforvision/endpoint_provider.rb +35 -96
- data/lib/aws-sdk-lookoutforvision/types.rb +0 -371
- data/lib/aws-sdk-lookoutforvision.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6532865c2d99d83b743bc063831e83fbca74b46db5c19135579d52bc3019c3e8
|
4
|
+
data.tar.gz: 2c262e21dc23863c9824db0ef513ffb72c36b28450756e4068e3b0f614ae85e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee11ff3ccdbd39e868649496016c195710d707241490995ca1bc157ecc9c306dc1071ec1f10ec4a64e3a7125b2a0b66533a972dc70d296e93df9062e205865d1
|
7
|
+
data.tar.gz: 53a3cff09c2ea07ac9a3d2eb91a5c3f30f8029d68607704f9267c4b63632f7f0ebca37309cfa5dc6d760b12e1bbba81dc68bc358151824bb78137abb874dd7ba
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,18 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.19.0 (2023-01-18)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
* Issue - Replace runtime endpoint resolution approach with generated ruby code.
|
10
|
+
|
11
|
+
1.18.0 (2022-12-12)
|
12
|
+
------------------
|
13
|
+
|
14
|
+
* Feature - This documentation update adds kms:GenerateDataKey as a required permission to StartModelPackagingJob.
|
15
|
+
|
4
16
|
1.17.0 (2022-10-25)
|
5
17
|
------------------
|
6
18
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.19.0
|
@@ -1487,6 +1487,8 @@ module Aws::LookoutforVision
|
|
1487
1487
|
#
|
1488
1488
|
# * `s3:GetBucketLocation`
|
1489
1489
|
#
|
1490
|
+
# * `kms:GenerateDataKey`
|
1491
|
+
#
|
1490
1492
|
# * `greengrass:CreateComponentVersion`
|
1491
1493
|
#
|
1492
1494
|
# * `greengrass:DescribeComponent`
|
@@ -1813,7 +1815,7 @@ module Aws::LookoutforVision
|
|
1813
1815
|
params: params,
|
1814
1816
|
config: config)
|
1815
1817
|
context[:gem_name] = 'aws-sdk-lookoutforvision'
|
1816
|
-
context[:gem_version] = '1.
|
1818
|
+
context[:gem_version] = '1.19.0'
|
1817
1819
|
Seahorse::Client::Request.new(handlers, context)
|
1818
1820
|
end
|
1819
1821
|
|
@@ -50,6 +50,9 @@ module Aws::LookoutforVision
|
|
50
50
|
|
51
51
|
def initialize(options = {})
|
52
52
|
self[:region] = options[:region]
|
53
|
+
if self[:region].nil?
|
54
|
+
raise ArgumentError, "Missing required EndpointParameter: :region"
|
55
|
+
end
|
53
56
|
self[:use_dual_stack] = options[:use_dual_stack]
|
54
57
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
55
58
|
if self[:use_dual_stack].nil?
|
@@ -9,104 +9,43 @@
|
|
9
9
|
|
10
10
|
module Aws::LookoutforVision
|
11
11
|
class EndpointProvider
|
12
|
-
def
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
12
|
+
def resolve_endpoint(parameters)
|
13
|
+
region = parameters.region
|
14
|
+
use_dual_stack = parameters.use_dual_stack
|
15
|
+
use_fips = parameters.use_fips
|
16
|
+
endpoint = parameters.endpoint
|
17
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
18
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
19
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
+
end
|
22
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
+
end
|
25
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
+
end
|
27
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
29
|
+
return Aws::Endpoints::Endpoint.new(url: "https://lookoutvision-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
+
end
|
31
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
+
end
|
33
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
35
|
+
return Aws::Endpoints::Endpoint.new(url: "https://lookoutvision-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
36
|
+
end
|
37
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
38
|
+
end
|
39
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
41
|
+
return Aws::Endpoints::Endpoint.new(url: "https://lookoutvision.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
42
|
+
end
|
43
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
44
|
+
end
|
45
|
+
return Aws::Endpoints::Endpoint.new(url: "https://lookoutvision.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
21
46
|
end
|
22
|
-
|
23
|
-
end
|
47
|
+
raise ArgumentError, 'No endpoint could be resolved'
|
24
48
|
|
25
|
-
def resolve_endpoint(parameters)
|
26
|
-
@provider.resolve_endpoint(parameters)
|
27
49
|
end
|
28
|
-
|
29
|
-
# @api private
|
30
|
-
RULES = <<-JSON
|
31
|
-
eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
|
32
|
-
bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
|
33
|
-
dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
|
34
|
-
cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
|
35
|
-
dWlsdEluIjoiQVdTOjpVc2VEdWFsU3RhY2siLCJyZXF1aXJlZCI6dHJ1ZSwi
|
36
|
-
ZGVmYXVsdCI6ZmFsc2UsImRvY3VtZW50YXRpb24iOiJXaGVuIHRydWUsIHVz
|
37
|
-
ZSB0aGUgZHVhbC1zdGFjayBlbmRwb2ludC4gSWYgdGhlIGNvbmZpZ3VyZWQg
|
38
|
-
ZW5kcG9pbnQgZG9lcyBub3Qgc3VwcG9ydCBkdWFsLXN0YWNrLCBkaXNwYXRj
|
39
|
-
aGluZyB0aGUgcmVxdWVzdCBNQVkgcmV0dXJuIGFuIGVycm9yLiIsInR5cGUi
|
40
|
-
OiJCb29sZWFuIn0sIlVzZUZJUFMiOnsiYnVpbHRJbiI6IkFXUzo6VXNl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9XX0seyJjb25kaXRpb25zIjpbXSwi
|
103
|
-
ZXJyb3IiOiJEdWFsU3RhY2sgaXMgZW5hYmxlZCBidXQgdGhpcyBwYXJ0aXRp
|
104
|
-
b24gZG9lcyBub3Qgc3VwcG9ydCBEdWFsU3RhY2siLCJ0eXBlIjoiZXJyb3Ii
|
105
|
-
fV19LHsiY29uZGl0aW9ucyI6W10sImVuZHBvaW50Ijp7InVybCI6Imh0dHBz
|
106
|
-
Oi8vbG9va291dHZpc2lvbi57UmVnaW9ufS57UGFydGl0aW9uUmVzdWx0I2Ru
|
107
|
-
c1N1ZmZpeH0iLCJwcm9wZXJ0aWVzIjp7fSwiaGVhZGVycyI6e319LCJ0eXBl
|
108
|
-
IjoiZW5kcG9pbnQifV19XX0=
|
109
|
-
|
110
|
-
JSON
|
111
50
|
end
|
112
51
|
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.
|
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.
|
4
|
+
version: 1.19.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:
|
11
|
+
date: 2023-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|