aws-sdk-lookoutforvision 1.9.0 → 1.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lookoutforvision/client.rb +396 -58
- data/lib/aws-sdk-lookoutforvision/client_api.rb +156 -1
- data/lib/aws-sdk-lookoutforvision/types.rb +685 -73
- data/lib/aws-sdk-lookoutforvision.rb +1 -1
- metadata +4 -4
@@ -91,13 +91,19 @@ module Aws::LookoutforVision
|
|
91
91
|
# @!attribute [rw] client_token
|
92
92
|
# ClientToken is an idempotency token that ensures a call to
|
93
93
|
# `CreateDataset` completes only once. You choose the value to pass.
|
94
|
-
# For example, An issue
|
95
|
-
#
|
96
|
-
#
|
97
|
-
#
|
98
|
-
#
|
99
|
-
#
|
100
|
-
#
|
94
|
+
# For example, An issue might prevent you from getting a response from
|
95
|
+
# `CreateDataset`. In this case, safely retry your call to
|
96
|
+
# `CreateDataset` by using the same `ClientToken` parameter value.
|
97
|
+
#
|
98
|
+
# If you don't supply a value for `ClientToken`, the AWS SDK you are
|
99
|
+
# using inserts a value for you. This prevents retries after a network
|
100
|
+
# error from making multiple dataset creation requests. You'll need
|
101
|
+
# to provide your own value for other use cases.
|
102
|
+
#
|
103
|
+
# An error occurs if the other input parameters are not the same as in
|
104
|
+
# the first request. Using a different value for `ClientToken` is
|
105
|
+
# considered a new call to `CreateDataset`. An idempotency token is
|
106
|
+
# active for 8 hours.
|
101
107
|
#
|
102
108
|
# **A suitable default value is auto-generated.** You should normally
|
103
109
|
# not need to pass this option.
|
@@ -159,13 +165,19 @@ module Aws::LookoutforVision
|
|
159
165
|
# @!attribute [rw] client_token
|
160
166
|
# ClientToken is an idempotency token that ensures a call to
|
161
167
|
# `CreateModel` completes only once. You choose the value to pass. For
|
162
|
-
# example, An issue
|
163
|
-
#
|
164
|
-
#
|
165
|
-
#
|
166
|
-
#
|
167
|
-
#
|
168
|
-
#
|
168
|
+
# example, An issue might prevent you from getting a response from
|
169
|
+
# `CreateModel`. In this case, safely retry your call to `CreateModel`
|
170
|
+
# by using the same `ClientToken` parameter value.
|
171
|
+
#
|
172
|
+
# If you don't supply a value for `ClientToken`, the AWS SDK you are
|
173
|
+
# using inserts a value for you. This prevents retries after a network
|
174
|
+
# error from starting multiple training jobs. You'll need to provide
|
175
|
+
# your own value for other use cases.
|
176
|
+
#
|
177
|
+
# An error occurs if the other input parameters are not the same as in
|
178
|
+
# the first request. Using a different value for `ClientToken` is
|
179
|
+
# considered a new call to `CreateModel`. An idempotency token is
|
180
|
+
# active for 8 hours.
|
169
181
|
#
|
170
182
|
# **A suitable default value is auto-generated.** You should normally
|
171
183
|
# not need to pass this option.
|
@@ -177,11 +189,11 @@ module Aws::LookoutforVision
|
|
177
189
|
# @return [Types::OutputConfig]
|
178
190
|
#
|
179
191
|
# @!attribute [rw] kms_key_id
|
180
|
-
# The identifier for your AWS
|
181
|
-
#
|
182
|
-
#
|
183
|
-
# images are
|
184
|
-
#
|
192
|
+
# The identifier for your AWS KMS key. The key is used to encrypt
|
193
|
+
# training and test images copied into the service for model training.
|
194
|
+
# Your source images are unaffected. If this parameter is not
|
195
|
+
# specified, the copied images are encrypted by a key that AWS owns
|
196
|
+
# and manages.
|
185
197
|
# @return [String]
|
186
198
|
#
|
187
199
|
# @!attribute [rw] tags
|
@@ -229,13 +241,19 @@ module Aws::LookoutforVision
|
|
229
241
|
# @!attribute [rw] client_token
|
230
242
|
# ClientToken is an idempotency token that ensures a call to
|
231
243
|
# `CreateProject` completes only once. You choose the value to pass.
|
232
|
-
# For example, An issue
|
233
|
-
#
|
234
|
-
#
|
235
|
-
#
|
236
|
-
#
|
237
|
-
#
|
238
|
-
#
|
244
|
+
# For example, An issue might prevent you from getting a response from
|
245
|
+
# `CreateProject`. In this case, safely retry your call to
|
246
|
+
# `CreateProject` by using the same `ClientToken` parameter value.
|
247
|
+
#
|
248
|
+
# If you don't supply a value for `ClientToken`, the AWS SDK you are
|
249
|
+
# using inserts a value for you. This prevents retries after a network
|
250
|
+
# error from making multiple project creation requests. You'll need
|
251
|
+
# to provide your own value for other use cases.
|
252
|
+
#
|
253
|
+
# An error occurs if the other input parameters are not the same as in
|
254
|
+
# the first request. Using a different value for `ClientToken` is
|
255
|
+
# considered a new call to `CreateProject`. An idempotency token is
|
256
|
+
# active for 8 hours.
|
239
257
|
#
|
240
258
|
# **A suitable default value is auto-generated.** You should normally
|
241
259
|
# not need to pass this option.
|
@@ -294,6 +312,7 @@ module Aws::LookoutforVision
|
|
294
312
|
# @return [String]
|
295
313
|
#
|
296
314
|
# @!attribute [rw] image_stats
|
315
|
+
# Statistics about the images in a dataset.
|
297
316
|
# @return [Types::DatasetImageStats]
|
298
317
|
#
|
299
318
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/DatasetDescription AWS API Documentation
|
@@ -365,7 +384,8 @@ module Aws::LookoutforVision
|
|
365
384
|
include Aws::Structure
|
366
385
|
end
|
367
386
|
|
368
|
-
#
|
387
|
+
# Summary information for an Amazon Lookout for Vision dataset. For more
|
388
|
+
# information, see DescribeDataset and ProjectDescription.
|
369
389
|
#
|
370
390
|
# @!attribute [rw] dataset_type
|
371
391
|
# The type of the dataset.
|
@@ -446,13 +466,19 @@ module Aws::LookoutforVision
|
|
446
466
|
# @!attribute [rw] client_token
|
447
467
|
# ClientToken is an idempotency token that ensures a call to
|
448
468
|
# `DeleteDataset` completes only once. You choose the value to pass.
|
449
|
-
# For example, An issue
|
450
|
-
#
|
451
|
-
#
|
452
|
-
#
|
453
|
-
#
|
454
|
-
#
|
455
|
-
#
|
469
|
+
# For example, An issue might prevent you from getting a response from
|
470
|
+
# `DeleteDataset`. In this case, safely retry your call to
|
471
|
+
# `DeleteDataset` by using the same `ClientToken` parameter value.
|
472
|
+
#
|
473
|
+
# If you don't supply a value for `ClientToken`, the AWS SDK you are
|
474
|
+
# using inserts a value for you. This prevents retries after a network
|
475
|
+
# error from making multiple deletetion requests. You'll need to
|
476
|
+
# provide your own value for other use cases.
|
477
|
+
#
|
478
|
+
# An error occurs if the other input parameters are not the same as in
|
479
|
+
# the first request. Using a different value for `ClientToken` is
|
480
|
+
# considered a new call to `DeleteDataset`. An idempotency token is
|
481
|
+
# active for 8 hours.
|
456
482
|
#
|
457
483
|
# **A suitable default value is auto-generated.** You should normally
|
458
484
|
# not need to pass this option.
|
@@ -477,7 +503,7 @@ module Aws::LookoutforVision
|
|
477
503
|
#
|
478
504
|
# {
|
479
505
|
# project_name: "ProjectName", # required
|
480
|
-
# model_version: "
|
506
|
+
# model_version: "ModelVersionNoLatest", # required
|
481
507
|
# client_token: "ClientToken",
|
482
508
|
# }
|
483
509
|
#
|
@@ -493,13 +519,19 @@ module Aws::LookoutforVision
|
|
493
519
|
# @!attribute [rw] client_token
|
494
520
|
# ClientToken is an idempotency token that ensures a call to
|
495
521
|
# `DeleteModel` completes only once. You choose the value to pass. For
|
496
|
-
# example,
|
497
|
-
#
|
498
|
-
#
|
499
|
-
#
|
500
|
-
#
|
501
|
-
#
|
502
|
-
#
|
522
|
+
# example, an issue might prevent you from getting a response from
|
523
|
+
# `DeleteModel`. In this case, safely retry your call to `DeleteModel`
|
524
|
+
# by using the same `ClientToken` parameter value.
|
525
|
+
#
|
526
|
+
# If you don't supply a value for ClientToken, the AWS SDK you are
|
527
|
+
# using inserts a value for you. This prevents retries after a network
|
528
|
+
# error from making multiple model deletion requests. You'll need to
|
529
|
+
# provide your own value for other use cases.
|
530
|
+
#
|
531
|
+
# An error occurs if the other input parameters are not the same as in
|
532
|
+
# the first request. Using a different value for `ClientToken` is
|
533
|
+
# considered a new call to `DeleteModel`. An idempotency token is
|
534
|
+
# active for 8 hours.
|
503
535
|
#
|
504
536
|
# **A suitable default value is auto-generated.** You should normally
|
505
537
|
# not need to pass this option.
|
@@ -542,13 +574,19 @@ module Aws::LookoutforVision
|
|
542
574
|
# @!attribute [rw] client_token
|
543
575
|
# ClientToken is an idempotency token that ensures a call to
|
544
576
|
# `DeleteProject` completes only once. You choose the value to pass.
|
545
|
-
# For example, An issue
|
546
|
-
#
|
547
|
-
#
|
548
|
-
#
|
549
|
-
#
|
550
|
-
#
|
551
|
-
#
|
577
|
+
# For example, An issue might prevent you from getting a response from
|
578
|
+
# `DeleteProject`. In this case, safely retry your call to
|
579
|
+
# `DeleteProject` by using the same `ClientToken` parameter value.
|
580
|
+
#
|
581
|
+
# If you don't supply a value for `ClientToken`, the AWS SDK you are
|
582
|
+
# using inserts a value for you. This prevents retries after a network
|
583
|
+
# error from making multiple project deletion requests. You'll need
|
584
|
+
# to provide your own value for other use cases.
|
585
|
+
#
|
586
|
+
# An error occurs if the other input parameters are not the same as in
|
587
|
+
# the first request. Using a different value for `ClientToken` is
|
588
|
+
# considered a new call to `DeleteProject`. An idempotency token is
|
589
|
+
# active for 8 hours.
|
552
590
|
#
|
553
591
|
# **A suitable default value is auto-generated.** You should normally
|
554
592
|
# not need to pass this option.
|
@@ -615,6 +653,44 @@ module Aws::LookoutforVision
|
|
615
653
|
include Aws::Structure
|
616
654
|
end
|
617
655
|
|
656
|
+
# @note When making an API call, you may pass DescribeModelPackagingJobRequest
|
657
|
+
# data as a hash:
|
658
|
+
#
|
659
|
+
# {
|
660
|
+
# project_name: "ProjectName", # required
|
661
|
+
# job_name: "ModelPackagingJobName", # required
|
662
|
+
# }
|
663
|
+
#
|
664
|
+
# @!attribute [rw] project_name
|
665
|
+
# The name of the project that contains the model packaging job that
|
666
|
+
# you want to describe.
|
667
|
+
# @return [String]
|
668
|
+
#
|
669
|
+
# @!attribute [rw] job_name
|
670
|
+
# The job name for the model packaging job.
|
671
|
+
# @return [String]
|
672
|
+
#
|
673
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/DescribeModelPackagingJobRequest AWS API Documentation
|
674
|
+
#
|
675
|
+
class DescribeModelPackagingJobRequest < Struct.new(
|
676
|
+
:project_name,
|
677
|
+
:job_name)
|
678
|
+
SENSITIVE = []
|
679
|
+
include Aws::Structure
|
680
|
+
end
|
681
|
+
|
682
|
+
# @!attribute [rw] model_packaging_description
|
683
|
+
# The description of the model packaging job.
|
684
|
+
# @return [Types::ModelPackagingDescription]
|
685
|
+
#
|
686
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/DescribeModelPackagingJobResponse AWS API Documentation
|
687
|
+
#
|
688
|
+
class DescribeModelPackagingJobResponse < Struct.new(
|
689
|
+
:model_packaging_description)
|
690
|
+
SENSITIVE = []
|
691
|
+
include Aws::Structure
|
692
|
+
end
|
693
|
+
|
618
694
|
# @note When making an API call, you may pass DescribeModelRequest
|
619
695
|
# data as a hash:
|
620
696
|
#
|
@@ -762,6 +838,126 @@ module Aws::LookoutforVision
|
|
762
838
|
include Aws::Structure
|
763
839
|
end
|
764
840
|
|
841
|
+
# Configuration information for the AWS IoT Greengrass component created
|
842
|
+
# in a model packaging job. For more information, see
|
843
|
+
# StartModelPackagingJob.
|
844
|
+
#
|
845
|
+
# <note markdown="1"> You can't specify a component with the same `ComponentName` and
|
846
|
+
# `Componentversion` as an existing component with the same component
|
847
|
+
# name and component version.
|
848
|
+
#
|
849
|
+
# </note>
|
850
|
+
#
|
851
|
+
# @note When making an API call, you may pass GreengrassConfiguration
|
852
|
+
# data as a hash:
|
853
|
+
#
|
854
|
+
# {
|
855
|
+
# compiler_options: "CompilerOptions",
|
856
|
+
# target_device: "jetson_xavier", # accepts jetson_xavier
|
857
|
+
# target_platform: {
|
858
|
+
# os: "LINUX", # required, accepts LINUX
|
859
|
+
# arch: "ARM64", # required, accepts ARM64, X86_64
|
860
|
+
# accelerator: "NVIDIA", # required, accepts NVIDIA
|
861
|
+
# },
|
862
|
+
# s3_output_location: { # required
|
863
|
+
# bucket: "S3BucketName", # required
|
864
|
+
# prefix: "S3KeyPrefix",
|
865
|
+
# },
|
866
|
+
# component_name: "ComponentName", # required
|
867
|
+
# component_version: "ComponentVersion",
|
868
|
+
# component_description: "ComponentDescription",
|
869
|
+
# tags: [
|
870
|
+
# {
|
871
|
+
# key: "TagKey", # required
|
872
|
+
# value: "TagValue", # required
|
873
|
+
# },
|
874
|
+
# ],
|
875
|
+
# }
|
876
|
+
#
|
877
|
+
# @!attribute [rw] compiler_options
|
878
|
+
# Additional compiler options for the Greengrass component. Currently,
|
879
|
+
# only NVIDIA Graphics Processing Units (GPU) are supported. If you
|
880
|
+
# specify `TargetPlatform`, you must specify `CompilerOptions`. If you
|
881
|
+
# specify `TargetDevice`, don't specify `CompilerOptions`.
|
882
|
+
#
|
883
|
+
# For more information, see *Compiler options* in the Amazon Lookout
|
884
|
+
# for Vision Developer Guide.
|
885
|
+
# @return [String]
|
886
|
+
#
|
887
|
+
# @!attribute [rw] target_device
|
888
|
+
# The target device for the model. Currently the only supported value
|
889
|
+
# is `jetson_xavier`. If you specify `TargetDevice`, you can't
|
890
|
+
# specify `TargetPlatform`.
|
891
|
+
# @return [String]
|
892
|
+
#
|
893
|
+
# @!attribute [rw] target_platform
|
894
|
+
# The target platform for the model. If you specify `TargetPlatform`,
|
895
|
+
# you can't specify `TargetDevice`.
|
896
|
+
# @return [Types::TargetPlatform]
|
897
|
+
#
|
898
|
+
# @!attribute [rw] s3_output_location
|
899
|
+
# An S3 location in which Lookout for Vision stores the component
|
900
|
+
# artifacts.
|
901
|
+
# @return [Types::S3Location]
|
902
|
+
#
|
903
|
+
# @!attribute [rw] component_name
|
904
|
+
# A name for the AWS IoT Greengrass component.
|
905
|
+
# @return [String]
|
906
|
+
#
|
907
|
+
# @!attribute [rw] component_version
|
908
|
+
# A Version for the AWS IoT Greengrass component. If you don't
|
909
|
+
# provide a value, a default value of ` Model Version.0.0` is used.
|
910
|
+
# @return [String]
|
911
|
+
#
|
912
|
+
# @!attribute [rw] component_description
|
913
|
+
# A description for the AWS IoT Greengrass component.
|
914
|
+
# @return [String]
|
915
|
+
#
|
916
|
+
# @!attribute [rw] tags
|
917
|
+
# A set of tags (key-value pairs) that you want to attach to the AWS
|
918
|
+
# IoT Greengrass component.
|
919
|
+
# @return [Array<Types::Tag>]
|
920
|
+
#
|
921
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/GreengrassConfiguration AWS API Documentation
|
922
|
+
#
|
923
|
+
class GreengrassConfiguration < Struct.new(
|
924
|
+
:compiler_options,
|
925
|
+
:target_device,
|
926
|
+
:target_platform,
|
927
|
+
:s3_output_location,
|
928
|
+
:component_name,
|
929
|
+
:component_version,
|
930
|
+
:component_description,
|
931
|
+
:tags)
|
932
|
+
SENSITIVE = []
|
933
|
+
include Aws::Structure
|
934
|
+
end
|
935
|
+
|
936
|
+
# Information about the AWS IoT Greengrass component created by a model
|
937
|
+
# packaging job.
|
938
|
+
#
|
939
|
+
# @!attribute [rw] component_version_arn
|
940
|
+
# The Amazon Resource Name (ARN) of the component.
|
941
|
+
# @return [String]
|
942
|
+
#
|
943
|
+
# @!attribute [rw] component_name
|
944
|
+
# The name of the component.
|
945
|
+
# @return [String]
|
946
|
+
#
|
947
|
+
# @!attribute [rw] component_version
|
948
|
+
# The version of the component.
|
949
|
+
# @return [String]
|
950
|
+
#
|
951
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/GreengrassOutputDetails AWS API Documentation
|
952
|
+
#
|
953
|
+
class GreengrassOutputDetails < Struct.new(
|
954
|
+
:component_version_arn,
|
955
|
+
:component_name,
|
956
|
+
:component_version)
|
957
|
+
SENSITIVE = []
|
958
|
+
include Aws::Structure
|
959
|
+
end
|
960
|
+
|
765
961
|
# The source for an image.
|
766
962
|
#
|
767
963
|
# @!attribute [rw] type
|
@@ -931,6 +1127,65 @@ module Aws::LookoutforVision
|
|
931
1127
|
include Aws::Structure
|
932
1128
|
end
|
933
1129
|
|
1130
|
+
# @note When making an API call, you may pass ListModelPackagingJobsRequest
|
1131
|
+
# data as a hash:
|
1132
|
+
#
|
1133
|
+
# {
|
1134
|
+
# project_name: "ProjectName", # required
|
1135
|
+
# next_token: "PaginationToken",
|
1136
|
+
# max_results: 1,
|
1137
|
+
# }
|
1138
|
+
#
|
1139
|
+
# @!attribute [rw] project_name
|
1140
|
+
# The name of the project for which you want to list the model
|
1141
|
+
# packaging jobs.
|
1142
|
+
# @return [String]
|
1143
|
+
#
|
1144
|
+
# @!attribute [rw] next_token
|
1145
|
+
# If the previous response was incomplete (because there is more
|
1146
|
+
# results to retrieve), Amazon Lookout for Vision returns a pagination
|
1147
|
+
# token in the response. You can use this pagination token to retrieve
|
1148
|
+
# the next set of results.
|
1149
|
+
# @return [String]
|
1150
|
+
#
|
1151
|
+
# @!attribute [rw] max_results
|
1152
|
+
# The maximum number of results to return per paginated call. The
|
1153
|
+
# largest value you can specify is 100. If you specify a value greater
|
1154
|
+
# than 100, a ValidationException error occurs. The default value is
|
1155
|
+
# 100.
|
1156
|
+
# @return [Integer]
|
1157
|
+
#
|
1158
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/ListModelPackagingJobsRequest AWS API Documentation
|
1159
|
+
#
|
1160
|
+
class ListModelPackagingJobsRequest < Struct.new(
|
1161
|
+
:project_name,
|
1162
|
+
:next_token,
|
1163
|
+
:max_results)
|
1164
|
+
SENSITIVE = []
|
1165
|
+
include Aws::Structure
|
1166
|
+
end
|
1167
|
+
|
1168
|
+
# @!attribute [rw] model_packaging_jobs
|
1169
|
+
# A list of the model packaging jobs created for the specified Amazon
|
1170
|
+
# Lookout for Vision project.
|
1171
|
+
# @return [Array<Types::ModelPackagingJobMetadata>]
|
1172
|
+
#
|
1173
|
+
# @!attribute [rw] next_token
|
1174
|
+
# If the previous response was incomplete (because there is more
|
1175
|
+
# results to retrieve), Amazon Lookout for Vision returns a pagination
|
1176
|
+
# token in the response. You can use this pagination token to retrieve
|
1177
|
+
# the next set of results.
|
1178
|
+
# @return [String]
|
1179
|
+
#
|
1180
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/ListModelPackagingJobsResponse AWS API Documentation
|
1181
|
+
#
|
1182
|
+
class ListModelPackagingJobsResponse < Struct.new(
|
1183
|
+
:model_packaging_jobs,
|
1184
|
+
:next_token)
|
1185
|
+
SENSITIVE = []
|
1186
|
+
include Aws::Structure
|
1187
|
+
end
|
1188
|
+
|
934
1189
|
# @note When making an API call, you may pass ListModelsRequest
|
935
1190
|
# data as a hash:
|
936
1191
|
#
|
@@ -1189,6 +1444,193 @@ module Aws::LookoutforVision
|
|
1189
1444
|
include Aws::Structure
|
1190
1445
|
end
|
1191
1446
|
|
1447
|
+
# Configuration information for a Amazon Lookout for Vision model
|
1448
|
+
# packaging job. For more information, see StartModelPackagingJob.
|
1449
|
+
#
|
1450
|
+
# @note When making an API call, you may pass ModelPackagingConfiguration
|
1451
|
+
# data as a hash:
|
1452
|
+
#
|
1453
|
+
# {
|
1454
|
+
# greengrass: { # required
|
1455
|
+
# compiler_options: "CompilerOptions",
|
1456
|
+
# target_device: "jetson_xavier", # accepts jetson_xavier
|
1457
|
+
# target_platform: {
|
1458
|
+
# os: "LINUX", # required, accepts LINUX
|
1459
|
+
# arch: "ARM64", # required, accepts ARM64, X86_64
|
1460
|
+
# accelerator: "NVIDIA", # required, accepts NVIDIA
|
1461
|
+
# },
|
1462
|
+
# s3_output_location: { # required
|
1463
|
+
# bucket: "S3BucketName", # required
|
1464
|
+
# prefix: "S3KeyPrefix",
|
1465
|
+
# },
|
1466
|
+
# component_name: "ComponentName", # required
|
1467
|
+
# component_version: "ComponentVersion",
|
1468
|
+
# component_description: "ComponentDescription",
|
1469
|
+
# tags: [
|
1470
|
+
# {
|
1471
|
+
# key: "TagKey", # required
|
1472
|
+
# value: "TagValue", # required
|
1473
|
+
# },
|
1474
|
+
# ],
|
1475
|
+
# },
|
1476
|
+
# }
|
1477
|
+
#
|
1478
|
+
# @!attribute [rw] greengrass
|
1479
|
+
# Configuration information for the AWS IoT Greengrass component in a
|
1480
|
+
# model packaging job.
|
1481
|
+
# @return [Types::GreengrassConfiguration]
|
1482
|
+
#
|
1483
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/ModelPackagingConfiguration AWS API Documentation
|
1484
|
+
#
|
1485
|
+
class ModelPackagingConfiguration < Struct.new(
|
1486
|
+
:greengrass)
|
1487
|
+
SENSITIVE = []
|
1488
|
+
include Aws::Structure
|
1489
|
+
end
|
1490
|
+
|
1491
|
+
# Information about a model packaging job. For more information, see
|
1492
|
+
# DescribeModelPackagingJob.
|
1493
|
+
#
|
1494
|
+
# @!attribute [rw] job_name
|
1495
|
+
# The name of the model packaging job.
|
1496
|
+
# @return [String]
|
1497
|
+
#
|
1498
|
+
# @!attribute [rw] project_name
|
1499
|
+
# The name of the project that's associated with a model that's in
|
1500
|
+
# the model package.
|
1501
|
+
# @return [String]
|
1502
|
+
#
|
1503
|
+
# @!attribute [rw] model_version
|
1504
|
+
# The version of the model used in the model packaging job.
|
1505
|
+
# @return [String]
|
1506
|
+
#
|
1507
|
+
# @!attribute [rw] model_packaging_configuration
|
1508
|
+
# The configuration information used in the model packaging job.
|
1509
|
+
# @return [Types::ModelPackagingConfiguration]
|
1510
|
+
#
|
1511
|
+
# @!attribute [rw] model_packaging_job_description
|
1512
|
+
# The description for the model packaging job.
|
1513
|
+
# @return [String]
|
1514
|
+
#
|
1515
|
+
# @!attribute [rw] model_packaging_method
|
1516
|
+
# The AWS service used to package the job. Currently Lookout for
|
1517
|
+
# Vision can package jobs with AWS IoT Greengrass.
|
1518
|
+
# @return [String]
|
1519
|
+
#
|
1520
|
+
# @!attribute [rw] model_packaging_output_details
|
1521
|
+
# Information about the output of the model packaging job. For more
|
1522
|
+
# information, see DescribeModelPackagingJob.
|
1523
|
+
# @return [Types::ModelPackagingOutputDetails]
|
1524
|
+
#
|
1525
|
+
# @!attribute [rw] status
|
1526
|
+
# The status of the model packaging job.
|
1527
|
+
# @return [String]
|
1528
|
+
#
|
1529
|
+
# @!attribute [rw] status_message
|
1530
|
+
# The status message for the model packaging job.
|
1531
|
+
# @return [String]
|
1532
|
+
#
|
1533
|
+
# @!attribute [rw] creation_timestamp
|
1534
|
+
# The Unix timestamp for the time and date that the model packaging
|
1535
|
+
# job was created.
|
1536
|
+
# @return [Time]
|
1537
|
+
#
|
1538
|
+
# @!attribute [rw] last_updated_timestamp
|
1539
|
+
# The Unix timestamp for the time and date that the model packaging
|
1540
|
+
# job was last updated.
|
1541
|
+
# @return [Time]
|
1542
|
+
#
|
1543
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/ModelPackagingDescription AWS API Documentation
|
1544
|
+
#
|
1545
|
+
class ModelPackagingDescription < Struct.new(
|
1546
|
+
:job_name,
|
1547
|
+
:project_name,
|
1548
|
+
:model_version,
|
1549
|
+
:model_packaging_configuration,
|
1550
|
+
:model_packaging_job_description,
|
1551
|
+
:model_packaging_method,
|
1552
|
+
:model_packaging_output_details,
|
1553
|
+
:status,
|
1554
|
+
:status_message,
|
1555
|
+
:creation_timestamp,
|
1556
|
+
:last_updated_timestamp)
|
1557
|
+
SENSITIVE = []
|
1558
|
+
include Aws::Structure
|
1559
|
+
end
|
1560
|
+
|
1561
|
+
# Metadata for a model packaging job. For more information, see
|
1562
|
+
# ListModelPackagingJobs.
|
1563
|
+
#
|
1564
|
+
# @!attribute [rw] job_name
|
1565
|
+
# The name of the model packaging job.
|
1566
|
+
# @return [String]
|
1567
|
+
#
|
1568
|
+
# @!attribute [rw] project_name
|
1569
|
+
# The project that contains the model that is in the model package.
|
1570
|
+
# @return [String]
|
1571
|
+
#
|
1572
|
+
# @!attribute [rw] model_version
|
1573
|
+
# The version of the model that is in the model package.
|
1574
|
+
# @return [String]
|
1575
|
+
#
|
1576
|
+
# @!attribute [rw] model_packaging_job_description
|
1577
|
+
# The description for the model packaging job.
|
1578
|
+
# @return [String]
|
1579
|
+
#
|
1580
|
+
# @!attribute [rw] model_packaging_method
|
1581
|
+
# The AWS service used to package the job. Currently Lookout for
|
1582
|
+
# Vision can package jobs with AWS IoT Greengrass.
|
1583
|
+
# @return [String]
|
1584
|
+
#
|
1585
|
+
# @!attribute [rw] status
|
1586
|
+
# The status of the model packaging job.
|
1587
|
+
# @return [String]
|
1588
|
+
#
|
1589
|
+
# @!attribute [rw] status_message
|
1590
|
+
# The status message for the model packaging job.
|
1591
|
+
# @return [String]
|
1592
|
+
#
|
1593
|
+
# @!attribute [rw] creation_timestamp
|
1594
|
+
# The Unix timestamp for the time and date that the model packaging
|
1595
|
+
# job was created.
|
1596
|
+
# @return [Time]
|
1597
|
+
#
|
1598
|
+
# @!attribute [rw] last_updated_timestamp
|
1599
|
+
# The Unix timestamp for the time and date that the model packaging
|
1600
|
+
# job was last updated.
|
1601
|
+
# @return [Time]
|
1602
|
+
#
|
1603
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/ModelPackagingJobMetadata AWS API Documentation
|
1604
|
+
#
|
1605
|
+
class ModelPackagingJobMetadata < Struct.new(
|
1606
|
+
:job_name,
|
1607
|
+
:project_name,
|
1608
|
+
:model_version,
|
1609
|
+
:model_packaging_job_description,
|
1610
|
+
:model_packaging_method,
|
1611
|
+
:status,
|
1612
|
+
:status_message,
|
1613
|
+
:creation_timestamp,
|
1614
|
+
:last_updated_timestamp)
|
1615
|
+
SENSITIVE = []
|
1616
|
+
include Aws::Structure
|
1617
|
+
end
|
1618
|
+
|
1619
|
+
# Information about the output from a model packaging job.
|
1620
|
+
#
|
1621
|
+
# @!attribute [rw] greengrass
|
1622
|
+
# Information about the AWS IoT Greengrass component in a model
|
1623
|
+
# packaging job.
|
1624
|
+
# @return [Types::GreengrassOutputDetails]
|
1625
|
+
#
|
1626
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/ModelPackagingOutputDetails AWS API Documentation
|
1627
|
+
#
|
1628
|
+
class ModelPackagingOutputDetails < Struct.new(
|
1629
|
+
:greengrass)
|
1630
|
+
SENSITIVE = []
|
1631
|
+
include Aws::Structure
|
1632
|
+
end
|
1633
|
+
|
1192
1634
|
# Information about the evaluation performance of a trained model.
|
1193
1635
|
#
|
1194
1636
|
# @!attribute [rw] f1_score
|
@@ -1336,7 +1778,8 @@ module Aws::LookoutforVision
|
|
1336
1778
|
include Aws::Structure
|
1337
1779
|
end
|
1338
1780
|
|
1339
|
-
# Information about the location training output
|
1781
|
+
# Information about the location of training output or the output of a
|
1782
|
+
# model packaging job.
|
1340
1783
|
#
|
1341
1784
|
# @note When making an API call, you may pass S3Location
|
1342
1785
|
# data as a hash:
|
@@ -1347,12 +1790,16 @@ module Aws::LookoutforVision
|
|
1347
1790
|
# }
|
1348
1791
|
#
|
1349
1792
|
# @!attribute [rw] bucket
|
1350
|
-
# The S3 bucket that contains the training
|
1793
|
+
# The S3 bucket that contains the training or model packaging job
|
1794
|
+
# output. If you are training a model, the bucket must in your AWS
|
1795
|
+
# account. If you use an S3 bucket for a model packaging job, the S3
|
1796
|
+
# bucket must be in the same AWS Region and AWS account in which you
|
1797
|
+
# use AWS IoT Greengrass.
|
1351
1798
|
# @return [String]
|
1352
1799
|
#
|
1353
1800
|
# @!attribute [rw] prefix
|
1354
1801
|
# The path of the folder, within the S3 bucket, that contains the
|
1355
|
-
#
|
1802
|
+
# output.
|
1356
1803
|
# @return [String]
|
1357
1804
|
#
|
1358
1805
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/S3Location AWS API Documentation
|
@@ -1399,6 +1846,113 @@ module Aws::LookoutforVision
|
|
1399
1846
|
include Aws::Structure
|
1400
1847
|
end
|
1401
1848
|
|
1849
|
+
# @note When making an API call, you may pass StartModelPackagingJobRequest
|
1850
|
+
# data as a hash:
|
1851
|
+
#
|
1852
|
+
# {
|
1853
|
+
# project_name: "ProjectName", # required
|
1854
|
+
# model_version: "ModelVersion", # required
|
1855
|
+
# job_name: "ModelPackagingJobName",
|
1856
|
+
# configuration: { # required
|
1857
|
+
# greengrass: { # required
|
1858
|
+
# compiler_options: "CompilerOptions",
|
1859
|
+
# target_device: "jetson_xavier", # accepts jetson_xavier
|
1860
|
+
# target_platform: {
|
1861
|
+
# os: "LINUX", # required, accepts LINUX
|
1862
|
+
# arch: "ARM64", # required, accepts ARM64, X86_64
|
1863
|
+
# accelerator: "NVIDIA", # required, accepts NVIDIA
|
1864
|
+
# },
|
1865
|
+
# s3_output_location: { # required
|
1866
|
+
# bucket: "S3BucketName", # required
|
1867
|
+
# prefix: "S3KeyPrefix",
|
1868
|
+
# },
|
1869
|
+
# component_name: "ComponentName", # required
|
1870
|
+
# component_version: "ComponentVersion",
|
1871
|
+
# component_description: "ComponentDescription",
|
1872
|
+
# tags: [
|
1873
|
+
# {
|
1874
|
+
# key: "TagKey", # required
|
1875
|
+
# value: "TagValue", # required
|
1876
|
+
# },
|
1877
|
+
# ],
|
1878
|
+
# },
|
1879
|
+
# },
|
1880
|
+
# description: "ModelPackagingJobDescription",
|
1881
|
+
# client_token: "ClientToken",
|
1882
|
+
# }
|
1883
|
+
#
|
1884
|
+
# @!attribute [rw] project_name
|
1885
|
+
# The name of the project which contains the version of the model that
|
1886
|
+
# you want to package.
|
1887
|
+
# @return [String]
|
1888
|
+
#
|
1889
|
+
# @!attribute [rw] model_version
|
1890
|
+
# The version of the model within the project that you want to
|
1891
|
+
# package.
|
1892
|
+
# @return [String]
|
1893
|
+
#
|
1894
|
+
# @!attribute [rw] job_name
|
1895
|
+
# A name for the model packaging job. If you don't supply a value,
|
1896
|
+
# the service creates a job name for you.
|
1897
|
+
# @return [String]
|
1898
|
+
#
|
1899
|
+
# @!attribute [rw] configuration
|
1900
|
+
# The configuration for the model packaging job.
|
1901
|
+
# @return [Types::ModelPackagingConfiguration]
|
1902
|
+
#
|
1903
|
+
# @!attribute [rw] description
|
1904
|
+
# A description for the model packaging job.
|
1905
|
+
# @return [String]
|
1906
|
+
#
|
1907
|
+
# @!attribute [rw] client_token
|
1908
|
+
# ClientToken is an idempotency token that ensures a call to
|
1909
|
+
# `StartModelPackagingJob` completes only once. You choose the value
|
1910
|
+
# to pass. For example, An issue might prevent you from getting a
|
1911
|
+
# response from `StartModelPackagingJob`. In this case, safely retry
|
1912
|
+
# your call to `StartModelPackagingJob` by using the same
|
1913
|
+
# `ClientToken` parameter value.
|
1914
|
+
#
|
1915
|
+
# If you don't supply a value for `ClientToken`, the AWS SDK you are
|
1916
|
+
# using inserts a value for you. This prevents retries after a network
|
1917
|
+
# error from making multiple dataset creation requests. You'll need
|
1918
|
+
# to provide your own value for other use cases.
|
1919
|
+
#
|
1920
|
+
# An error occurs if the other input parameters are not the same as in
|
1921
|
+
# the first request. Using a different value for `ClientToken` is
|
1922
|
+
# considered a new call to `StartModelPackagingJob`. An idempotency
|
1923
|
+
# token is active for 8 hours.
|
1924
|
+
#
|
1925
|
+
# **A suitable default value is auto-generated.** You should normally
|
1926
|
+
# not need to pass this option.
|
1927
|
+
# @return [String]
|
1928
|
+
#
|
1929
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/StartModelPackagingJobRequest AWS API Documentation
|
1930
|
+
#
|
1931
|
+
class StartModelPackagingJobRequest < Struct.new(
|
1932
|
+
:project_name,
|
1933
|
+
:model_version,
|
1934
|
+
:job_name,
|
1935
|
+
:configuration,
|
1936
|
+
:description,
|
1937
|
+
:client_token)
|
1938
|
+
SENSITIVE = []
|
1939
|
+
include Aws::Structure
|
1940
|
+
end
|
1941
|
+
|
1942
|
+
# @!attribute [rw] job_name
|
1943
|
+
# The job name for the model packaging job. If you don't supply a job
|
1944
|
+
# name in the `JobName` input parameter, the service creates a job
|
1945
|
+
# name for you.
|
1946
|
+
# @return [String]
|
1947
|
+
#
|
1948
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/StartModelPackagingJobResponse AWS API Documentation
|
1949
|
+
#
|
1950
|
+
class StartModelPackagingJobResponse < Struct.new(
|
1951
|
+
:job_name)
|
1952
|
+
SENSITIVE = []
|
1953
|
+
include Aws::Structure
|
1954
|
+
end
|
1955
|
+
|
1402
1956
|
# @note When making an API call, you may pass StartModelRequest
|
1403
1957
|
# data as a hash:
|
1404
1958
|
#
|
@@ -1420,22 +1974,27 @@ module Aws::LookoutforVision
|
|
1420
1974
|
#
|
1421
1975
|
# @!attribute [rw] min_inference_units
|
1422
1976
|
# The minimum number of inference units to use. A single inference
|
1423
|
-
# unit represents 1 hour of processing
|
1424
|
-
#
|
1425
|
-
#
|
1426
|
-
# inference units that you use.
|
1977
|
+
# unit represents 1 hour of processing. Use a higher number to
|
1978
|
+
# increase the TPS throughput of your model. You are charged for the
|
1979
|
+
# number of inference units that you use.
|
1427
1980
|
# @return [Integer]
|
1428
1981
|
#
|
1429
1982
|
# @!attribute [rw] client_token
|
1430
1983
|
# ClientToken is an idempotency token that ensures a call to
|
1431
1984
|
# `StartModel` completes only once. You choose the value to pass. For
|
1432
|
-
# example, An issue
|
1433
|
-
#
|
1434
|
-
#
|
1435
|
-
#
|
1436
|
-
#
|
1437
|
-
#
|
1438
|
-
#
|
1985
|
+
# example, An issue might prevent you from getting a response from
|
1986
|
+
# `StartModel`. In this case, safely retry your call to `StartModel`
|
1987
|
+
# by using the same `ClientToken` parameter value.
|
1988
|
+
#
|
1989
|
+
# If you don't supply a value for `ClientToken`, the AWS SDK you are
|
1990
|
+
# using inserts a value for you. This prevents retries after a network
|
1991
|
+
# error from making multiple start requests. You'll need to provide
|
1992
|
+
# your own value for other use cases.
|
1993
|
+
#
|
1994
|
+
# An error occurs if the other input parameters are not the same as in
|
1995
|
+
# the first request. Using a different value for `ClientToken` is
|
1996
|
+
# considered a new call to `StartModel`. An idempotency token is
|
1997
|
+
# active for 8 hours.
|
1439
1998
|
#
|
1440
1999
|
# **A suitable default value is auto-generated.** You should normally
|
1441
2000
|
# not need to pass this option.
|
@@ -1485,9 +2044,15 @@ module Aws::LookoutforVision
|
|
1485
2044
|
# @!attribute [rw] client_token
|
1486
2045
|
# ClientToken is an idempotency token that ensures a call to
|
1487
2046
|
# `StopModel` completes only once. You choose the value to pass. For
|
1488
|
-
# example, An issue
|
1489
|
-
#
|
1490
|
-
#
|
2047
|
+
# example, An issue might prevent you from getting a response from
|
2048
|
+
# `StopModel`. In this case, safely retry your call to `StopModel` by
|
2049
|
+
# using the same `ClientToken` parameter value.
|
2050
|
+
#
|
2051
|
+
# If you don't supply a value for `ClientToken`, the AWS SDK you are
|
2052
|
+
# using inserts a value for you. This prevents retries after a network
|
2053
|
+
# error from making multiple stop requests. You'll need to provide
|
2054
|
+
# your own value for other use cases.
|
2055
|
+
#
|
1491
2056
|
# An error occurs if the other input parameters are not the same as in
|
1492
2057
|
# the first request. Using a different value for `ClientToken` is
|
1493
2058
|
# considered a new call to `StopModel`. An idempotency token is active
|
@@ -1581,6 +2146,46 @@ module Aws::LookoutforVision
|
|
1581
2146
|
#
|
1582
2147
|
class TagResourceResponse < Aws::EmptyStructure; end
|
1583
2148
|
|
2149
|
+
# The platform on which a model runs on an AWS IoT Greengrass core
|
2150
|
+
# device.
|
2151
|
+
#
|
2152
|
+
# @note When making an API call, you may pass TargetPlatform
|
2153
|
+
# data as a hash:
|
2154
|
+
#
|
2155
|
+
# {
|
2156
|
+
# os: "LINUX", # required, accepts LINUX
|
2157
|
+
# arch: "ARM64", # required, accepts ARM64, X86_64
|
2158
|
+
# accelerator: "NVIDIA", # required, accepts NVIDIA
|
2159
|
+
# }
|
2160
|
+
#
|
2161
|
+
# @!attribute [rw] os
|
2162
|
+
# The target operating system for the model. Linux is the only
|
2163
|
+
# operating system that is currently supported.
|
2164
|
+
# @return [String]
|
2165
|
+
#
|
2166
|
+
# @!attribute [rw] arch
|
2167
|
+
# The target architecture for the model. The currently supported
|
2168
|
+
# architectures are X86\_64 (64-bit version of the x86 instruction
|
2169
|
+
# set) and ARM\_64 (ARMv8 64-bit CPU).
|
2170
|
+
# @return [String]
|
2171
|
+
#
|
2172
|
+
# @!attribute [rw] accelerator
|
2173
|
+
# The target accelerator for the model. NVIDIA (Nvidia graphics
|
2174
|
+
# processing unit) is the only accelerator that is currently
|
2175
|
+
# supported. You must also specify the `gpu-code`, `trt-ver`, and
|
2176
|
+
# `cuda-ver` compiler options.
|
2177
|
+
# @return [String]
|
2178
|
+
#
|
2179
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/TargetPlatform AWS API Documentation
|
2180
|
+
#
|
2181
|
+
class TargetPlatform < Struct.new(
|
2182
|
+
:os,
|
2183
|
+
:arch,
|
2184
|
+
:accelerator)
|
2185
|
+
SENSITIVE = []
|
2186
|
+
include Aws::Structure
|
2187
|
+
end
|
2188
|
+
|
1584
2189
|
# Amazon Lookout for Vision is temporarily unable to process the
|
1585
2190
|
# request. Try your call again.
|
1586
2191
|
#
|
@@ -1668,13 +2273,20 @@ module Aws::LookoutforVision
|
|
1668
2273
|
# @!attribute [rw] client_token
|
1669
2274
|
# ClientToken is an idempotency token that ensures a call to
|
1670
2275
|
# `UpdateDatasetEntries` completes only once. You choose the value to
|
1671
|
-
# pass. For example, An issue
|
1672
|
-
#
|
1673
|
-
#
|
1674
|
-
#
|
1675
|
-
#
|
1676
|
-
#
|
1677
|
-
#
|
2276
|
+
# pass. For example, An issue might prevent you from getting a
|
2277
|
+
# response from `UpdateDatasetEntries`. In this case, safely retry
|
2278
|
+
# your call to `UpdateDatasetEntries` by using the same `ClientToken`
|
2279
|
+
# parameter value.
|
2280
|
+
#
|
2281
|
+
# If you don't supply a value for `ClientToken`, the AWS SDK you are
|
2282
|
+
# using inserts a value for you. This prevents retries after a network
|
2283
|
+
# error from making multiple updates with the same dataset entries.
|
2284
|
+
# You'll need to provide your own value for other use cases.
|
2285
|
+
#
|
2286
|
+
# An error occurs if the other input parameters are not the same as in
|
2287
|
+
# the first request. Using a different value for `ClientToken` is
|
2288
|
+
# considered a new call to `UpdateDatasetEntries`. An idempotency
|
2289
|
+
# token is active for 8 hours.
|
1678
2290
|
#
|
1679
2291
|
# **A suitable default value is auto-generated.** You should normally
|
1680
2292
|
# not need to pass this option.
|