aws-sdk-lookoutforvision 1.9.0 → 1.10.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.
@@ -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, such as an network outage, might prevent you
95
- # from getting a response from `CreateDataset`. In this case, safely
96
- # retry your call to `CreateDataset` by using the same `ClientToken`
97
- # parameter value. An error occurs if the other input parameters are
98
- # not the same as in the first request. Using a different value for
99
- # `ClientToken` is considered a new call to `CreateDataset`. An
100
- # idempotency token is active for 8 hours.
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, such as an network outage, might prevent you from
163
- # getting a response from `CreateModel`. In this case, safely retry
164
- # your call to `CreateModel` by using the same `ClientToken` parameter
165
- # value. An error occurs if the other input parameters are not the
166
- # same as in the first request. Using a different value for
167
- # `ClientToken` is considered a new call to `CreateModel`. An
168
- # idempotency token is active for 8 hours.
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 Key Management Service (AWS KMS)
181
- # customer master key (CMK). The key is used to encrypt training and
182
- # test images copied into the service for model training. Your source
183
- # images are unaffected. If this parameter is not specified, the
184
- # copied images are encrypted by a key that AWS owns and manages.
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, such as an network outage, might prevent you
233
- # from getting a response from `CreateProject`. In this case, safely
234
- # retry your call to `CreateProject` by using the same `ClientToken`
235
- # parameter value. An error occurs if the other input parameters are
236
- # not the same as in the first request. Using a different value for
237
- # `ClientToken` is considered a new call to `CreateProject`. An
238
- # idempotency token is active for 8 hours.
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
- # Sumary information for an Amazon Lookout for Vision dataset.
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, such as an network outage, might prevent you
450
- # from getting a response from `DeleteDataset`. In this case, safely
451
- # retry your call to `DeleteDataset` by using the same `ClientToken`
452
- # parameter value. An error occurs if the other input parameters are
453
- # not the same as in the first request. Using a different value for
454
- # `ClientToken` is considered a new call to `DeleteDataset`. An
455
- # idempotency token is active for 8 hours.
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: "ModelVersion", # required
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, An issue, such as an network outage, might prevent you from
497
- # getting a response from `DeleteModel`. In this case, safely retry
498
- # your call to `DeleteModel` by using the same `ClientToken` parameter
499
- # value. An error occurs if the other input parameters are not the
500
- # same as in the first request. Using a different value for
501
- # `ClientToken` is considered a new call to `DeleteModel`. An
502
- # idempotency token is active for 8 hours.
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, such as an network outage, might prevent you
546
- # from getting a response from `DeleteProject`. In this case, safely
547
- # retry your call to `DeleteProject` by using the same `ClientToken`
548
- # parameter value. An error occurs if the other input parameters are
549
- # not the same as in the first request. Using a different value for
550
- # `ClientToken` is considered a new call to `DeleteProject`. An
551
- # idempotency token is active for 8 hours.
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,124 @@ 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", # required
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.
880
+ #
881
+ # For more information, see *Compiler options* in the Amazon Lookout
882
+ # for Vision Developer Guide.
883
+ # @return [String]
884
+ #
885
+ # @!attribute [rw] target_device
886
+ # The target device for the model. Currently the only supported value
887
+ # is `jetson_xavier`. If you specify `TargetDevice`, you can't
888
+ # specify `TargetPlatform`.
889
+ # @return [String]
890
+ #
891
+ # @!attribute [rw] target_platform
892
+ # The target platform for the model. If you specify `TargetPlatform`,
893
+ # you can't specify `TargetDevice`.
894
+ # @return [Types::TargetPlatform]
895
+ #
896
+ # @!attribute [rw] s3_output_location
897
+ # An S3 location in which Lookout for Vision stores the component
898
+ # artifacts.
899
+ # @return [Types::S3Location]
900
+ #
901
+ # @!attribute [rw] component_name
902
+ # A name for the AWS IoT Greengrass component.
903
+ # @return [String]
904
+ #
905
+ # @!attribute [rw] component_version
906
+ # A Version for the AWS IoT Greengrass component. If you don't
907
+ # provide a value, a default value of ` Model Version.0.0` is used.
908
+ # @return [String]
909
+ #
910
+ # @!attribute [rw] component_description
911
+ # A description for the AWS IoT Greengrass component.
912
+ # @return [String]
913
+ #
914
+ # @!attribute [rw] tags
915
+ # A set of tags (key-value pairs) that you want to attach to the AWS
916
+ # IoT Greengrass component.
917
+ # @return [Array<Types::Tag>]
918
+ #
919
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/GreengrassConfiguration AWS API Documentation
920
+ #
921
+ class GreengrassConfiguration < Struct.new(
922
+ :compiler_options,
923
+ :target_device,
924
+ :target_platform,
925
+ :s3_output_location,
926
+ :component_name,
927
+ :component_version,
928
+ :component_description,
929
+ :tags)
930
+ SENSITIVE = []
931
+ include Aws::Structure
932
+ end
933
+
934
+ # Information about the AWS IoT Greengrass component created by a model
935
+ # packaging job.
936
+ #
937
+ # @!attribute [rw] component_version_arn
938
+ # The Amazon Resource Name (ARN) of the component.
939
+ # @return [String]
940
+ #
941
+ # @!attribute [rw] component_name
942
+ # The name of the component.
943
+ # @return [String]
944
+ #
945
+ # @!attribute [rw] component_version
946
+ # The version of the component.
947
+ # @return [String]
948
+ #
949
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/GreengrassOutputDetails AWS API Documentation
950
+ #
951
+ class GreengrassOutputDetails < Struct.new(
952
+ :component_version_arn,
953
+ :component_name,
954
+ :component_version)
955
+ SENSITIVE = []
956
+ include Aws::Structure
957
+ end
958
+
765
959
  # The source for an image.
766
960
  #
767
961
  # @!attribute [rw] type
@@ -931,6 +1125,65 @@ module Aws::LookoutforVision
931
1125
  include Aws::Structure
932
1126
  end
933
1127
 
1128
+ # @note When making an API call, you may pass ListModelPackagingJobsRequest
1129
+ # data as a hash:
1130
+ #
1131
+ # {
1132
+ # project_name: "ProjectName", # required
1133
+ # next_token: "PaginationToken",
1134
+ # max_results: 1,
1135
+ # }
1136
+ #
1137
+ # @!attribute [rw] project_name
1138
+ # The name of the project for which you want to list the model
1139
+ # packaging jobs.
1140
+ # @return [String]
1141
+ #
1142
+ # @!attribute [rw] next_token
1143
+ # If the previous response was incomplete (because there is more
1144
+ # results to retrieve), Amazon Lookout for Vision returns a pagination
1145
+ # token in the response. You can use this pagination token to retrieve
1146
+ # the next set of results.
1147
+ # @return [String]
1148
+ #
1149
+ # @!attribute [rw] max_results
1150
+ # The maximum number of results to return per paginated call. The
1151
+ # largest value you can specify is 100. If you specify a value greater
1152
+ # than 100, a ValidationException error occurs. The default value is
1153
+ # 100.
1154
+ # @return [Integer]
1155
+ #
1156
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/ListModelPackagingJobsRequest AWS API Documentation
1157
+ #
1158
+ class ListModelPackagingJobsRequest < Struct.new(
1159
+ :project_name,
1160
+ :next_token,
1161
+ :max_results)
1162
+ SENSITIVE = []
1163
+ include Aws::Structure
1164
+ end
1165
+
1166
+ # @!attribute [rw] model_packaging_jobs
1167
+ # A list of the model packaging jobs created for the specified Amazon
1168
+ # Lookout for Vision project.
1169
+ # @return [Array<Types::ModelPackagingJobMetadata>]
1170
+ #
1171
+ # @!attribute [rw] next_token
1172
+ # If the previous response was incomplete (because there is more
1173
+ # results to retrieve), Amazon Lookout for Vision returns a pagination
1174
+ # token in the response. You can use this pagination token to retrieve
1175
+ # the next set of results.
1176
+ # @return [String]
1177
+ #
1178
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/ListModelPackagingJobsResponse AWS API Documentation
1179
+ #
1180
+ class ListModelPackagingJobsResponse < Struct.new(
1181
+ :model_packaging_jobs,
1182
+ :next_token)
1183
+ SENSITIVE = []
1184
+ include Aws::Structure
1185
+ end
1186
+
934
1187
  # @note When making an API call, you may pass ListModelsRequest
935
1188
  # data as a hash:
936
1189
  #
@@ -1189,6 +1442,193 @@ module Aws::LookoutforVision
1189
1442
  include Aws::Structure
1190
1443
  end
1191
1444
 
1445
+ # Configuration information for a Amazon Lookout for Vision model
1446
+ # packaging job. For more information, see StartModelPackagingJob.
1447
+ #
1448
+ # @note When making an API call, you may pass ModelPackagingConfiguration
1449
+ # data as a hash:
1450
+ #
1451
+ # {
1452
+ # greengrass: { # required
1453
+ # compiler_options: "CompilerOptions", # required
1454
+ # target_device: "jetson_xavier", # accepts jetson_xavier
1455
+ # target_platform: {
1456
+ # os: "LINUX", # required, accepts LINUX
1457
+ # arch: "ARM64", # required, accepts ARM64, X86_64
1458
+ # accelerator: "NVIDIA", # required, accepts NVIDIA
1459
+ # },
1460
+ # s3_output_location: { # required
1461
+ # bucket: "S3BucketName", # required
1462
+ # prefix: "S3KeyPrefix",
1463
+ # },
1464
+ # component_name: "ComponentName", # required
1465
+ # component_version: "ComponentVersion",
1466
+ # component_description: "ComponentDescription",
1467
+ # tags: [
1468
+ # {
1469
+ # key: "TagKey", # required
1470
+ # value: "TagValue", # required
1471
+ # },
1472
+ # ],
1473
+ # },
1474
+ # }
1475
+ #
1476
+ # @!attribute [rw] greengrass
1477
+ # Configuration information for the AWS IoT Greengrass component in a
1478
+ # model packaging job.
1479
+ # @return [Types::GreengrassConfiguration]
1480
+ #
1481
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/ModelPackagingConfiguration AWS API Documentation
1482
+ #
1483
+ class ModelPackagingConfiguration < Struct.new(
1484
+ :greengrass)
1485
+ SENSITIVE = []
1486
+ include Aws::Structure
1487
+ end
1488
+
1489
+ # Information about a model packaging job. For more information, see
1490
+ # DescribeModelPackagingJob.
1491
+ #
1492
+ # @!attribute [rw] job_name
1493
+ # The name of the model packaging job.
1494
+ # @return [String]
1495
+ #
1496
+ # @!attribute [rw] project_name
1497
+ # The name of the project that's associated with a model that's in
1498
+ # the model package.
1499
+ # @return [String]
1500
+ #
1501
+ # @!attribute [rw] model_version
1502
+ # The version of the model used in the model packaging job.
1503
+ # @return [String]
1504
+ #
1505
+ # @!attribute [rw] model_packaging_configuration
1506
+ # The configuration information used in the model packaging job.
1507
+ # @return [Types::ModelPackagingConfiguration]
1508
+ #
1509
+ # @!attribute [rw] model_packaging_job_description
1510
+ # The description for the model packaging job.
1511
+ # @return [String]
1512
+ #
1513
+ # @!attribute [rw] model_packaging_method
1514
+ # The AWS service used to package the job. Currently Lookout for
1515
+ # Vision can package jobs with AWS IoT Greengrass.
1516
+ # @return [String]
1517
+ #
1518
+ # @!attribute [rw] model_packaging_output_details
1519
+ # Information about the output of the model packaging job. For more
1520
+ # information, see DescribeModelPackagingJob.
1521
+ # @return [Types::ModelPackagingOutputDetails]
1522
+ #
1523
+ # @!attribute [rw] status
1524
+ # The status of the model packaging job.
1525
+ # @return [String]
1526
+ #
1527
+ # @!attribute [rw] status_message
1528
+ # The status message for the model packaging job.
1529
+ # @return [String]
1530
+ #
1531
+ # @!attribute [rw] creation_timestamp
1532
+ # The Unix timestamp for the time and date that the model packaging
1533
+ # job was created.
1534
+ # @return [Time]
1535
+ #
1536
+ # @!attribute [rw] last_updated_timestamp
1537
+ # The Unix timestamp for the time and date that the model packaging
1538
+ # job was last updated.
1539
+ # @return [Time]
1540
+ #
1541
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/ModelPackagingDescription AWS API Documentation
1542
+ #
1543
+ class ModelPackagingDescription < Struct.new(
1544
+ :job_name,
1545
+ :project_name,
1546
+ :model_version,
1547
+ :model_packaging_configuration,
1548
+ :model_packaging_job_description,
1549
+ :model_packaging_method,
1550
+ :model_packaging_output_details,
1551
+ :status,
1552
+ :status_message,
1553
+ :creation_timestamp,
1554
+ :last_updated_timestamp)
1555
+ SENSITIVE = []
1556
+ include Aws::Structure
1557
+ end
1558
+
1559
+ # Metadata for a model packaging job. For more information, see
1560
+ # ListModelPackagingJobs.
1561
+ #
1562
+ # @!attribute [rw] job_name
1563
+ # The name of the model packaging job.
1564
+ # @return [String]
1565
+ #
1566
+ # @!attribute [rw] project_name
1567
+ # The project that contains the model that is in the model package.
1568
+ # @return [String]
1569
+ #
1570
+ # @!attribute [rw] model_version
1571
+ # The version of the model that is in the model package.
1572
+ # @return [String]
1573
+ #
1574
+ # @!attribute [rw] model_packaging_job_description
1575
+ # The description for the model packaging job.
1576
+ # @return [String]
1577
+ #
1578
+ # @!attribute [rw] model_packaging_method
1579
+ # The AWS service used to package the job. Currently Lookout for
1580
+ # Vision can package jobs with AWS IoT Greengrass.
1581
+ # @return [String]
1582
+ #
1583
+ # @!attribute [rw] status
1584
+ # The status of the model packaging job.
1585
+ # @return [String]
1586
+ #
1587
+ # @!attribute [rw] status_message
1588
+ # The status message for the model packaging job.
1589
+ # @return [String]
1590
+ #
1591
+ # @!attribute [rw] creation_timestamp
1592
+ # The Unix timestamp for the time and date that the model packaging
1593
+ # job was created.
1594
+ # @return [Time]
1595
+ #
1596
+ # @!attribute [rw] last_updated_timestamp
1597
+ # The Unix timestamp for the time and date that the model packaging
1598
+ # job was last updated.
1599
+ # @return [Time]
1600
+ #
1601
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/ModelPackagingJobMetadata AWS API Documentation
1602
+ #
1603
+ class ModelPackagingJobMetadata < Struct.new(
1604
+ :job_name,
1605
+ :project_name,
1606
+ :model_version,
1607
+ :model_packaging_job_description,
1608
+ :model_packaging_method,
1609
+ :status,
1610
+ :status_message,
1611
+ :creation_timestamp,
1612
+ :last_updated_timestamp)
1613
+ SENSITIVE = []
1614
+ include Aws::Structure
1615
+ end
1616
+
1617
+ # Information about the output from a model packaging job.
1618
+ #
1619
+ # @!attribute [rw] greengrass
1620
+ # Information about the AWS IoT Greengrass component in a model
1621
+ # packaging job.
1622
+ # @return [Types::GreengrassOutputDetails]
1623
+ #
1624
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/ModelPackagingOutputDetails AWS API Documentation
1625
+ #
1626
+ class ModelPackagingOutputDetails < Struct.new(
1627
+ :greengrass)
1628
+ SENSITIVE = []
1629
+ include Aws::Structure
1630
+ end
1631
+
1192
1632
  # Information about the evaluation performance of a trained model.
1193
1633
  #
1194
1634
  # @!attribute [rw] f1_score
@@ -1336,7 +1776,8 @@ module Aws::LookoutforVision
1336
1776
  include Aws::Structure
1337
1777
  end
1338
1778
 
1339
- # Information about the location training output.
1779
+ # Information about the location of training output or the output of a
1780
+ # model packaging job.
1340
1781
  #
1341
1782
  # @note When making an API call, you may pass S3Location
1342
1783
  # data as a hash:
@@ -1347,12 +1788,16 @@ module Aws::LookoutforVision
1347
1788
  # }
1348
1789
  #
1349
1790
  # @!attribute [rw] bucket
1350
- # The S3 bucket that contains the training output.
1791
+ # The S3 bucket that contains the training or model packaging job
1792
+ # output. If you are training a model, the bucket must in your AWS
1793
+ # account. If you use an S3 bucket for a model packaging job, the S3
1794
+ # bucket must be in the same AWS Region and AWS account in which you
1795
+ # use AWS IoT Greengrass.
1351
1796
  # @return [String]
1352
1797
  #
1353
1798
  # @!attribute [rw] prefix
1354
1799
  # The path of the folder, within the S3 bucket, that contains the
1355
- # training output.
1800
+ # output.
1356
1801
  # @return [String]
1357
1802
  #
1358
1803
  # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/S3Location AWS API Documentation
@@ -1399,6 +1844,113 @@ module Aws::LookoutforVision
1399
1844
  include Aws::Structure
1400
1845
  end
1401
1846
 
1847
+ # @note When making an API call, you may pass StartModelPackagingJobRequest
1848
+ # data as a hash:
1849
+ #
1850
+ # {
1851
+ # project_name: "ProjectName", # required
1852
+ # model_version: "ModelVersion", # required
1853
+ # job_name: "ModelPackagingJobName",
1854
+ # configuration: { # required
1855
+ # greengrass: { # required
1856
+ # compiler_options: "CompilerOptions", # required
1857
+ # target_device: "jetson_xavier", # accepts jetson_xavier
1858
+ # target_platform: {
1859
+ # os: "LINUX", # required, accepts LINUX
1860
+ # arch: "ARM64", # required, accepts ARM64, X86_64
1861
+ # accelerator: "NVIDIA", # required, accepts NVIDIA
1862
+ # },
1863
+ # s3_output_location: { # required
1864
+ # bucket: "S3BucketName", # required
1865
+ # prefix: "S3KeyPrefix",
1866
+ # },
1867
+ # component_name: "ComponentName", # required
1868
+ # component_version: "ComponentVersion",
1869
+ # component_description: "ComponentDescription",
1870
+ # tags: [
1871
+ # {
1872
+ # key: "TagKey", # required
1873
+ # value: "TagValue", # required
1874
+ # },
1875
+ # ],
1876
+ # },
1877
+ # },
1878
+ # description: "ModelPackagingJobDescription",
1879
+ # client_token: "ClientToken",
1880
+ # }
1881
+ #
1882
+ # @!attribute [rw] project_name
1883
+ # The name of the project which contains the version of the model that
1884
+ # you want to package.
1885
+ # @return [String]
1886
+ #
1887
+ # @!attribute [rw] model_version
1888
+ # The version of the model within the project that you want to
1889
+ # package.
1890
+ # @return [String]
1891
+ #
1892
+ # @!attribute [rw] job_name
1893
+ # A name for the model packaging job. If you don't supply a value,
1894
+ # the service creates a job name for you.
1895
+ # @return [String]
1896
+ #
1897
+ # @!attribute [rw] configuration
1898
+ # The configuration for the model packaging job.
1899
+ # @return [Types::ModelPackagingConfiguration]
1900
+ #
1901
+ # @!attribute [rw] description
1902
+ # A description for the model packaging job.
1903
+ # @return [String]
1904
+ #
1905
+ # @!attribute [rw] client_token
1906
+ # ClientToken is an idempotency token that ensures a call to
1907
+ # `StartModelPackagingJob` completes only once. You choose the value
1908
+ # to pass. For example, An issue might prevent you from getting a
1909
+ # response from `StartModelPackagingJob`. In this case, safely retry
1910
+ # your call to `StartModelPackagingJob` by using the same
1911
+ # `ClientToken` parameter value.
1912
+ #
1913
+ # If you don't supply a value for `ClientToken`, the AWS SDK you are
1914
+ # using inserts a value for you. This prevents retries after a network
1915
+ # error from making multiple dataset creation requests. You'll need
1916
+ # to provide your own value for other use cases.
1917
+ #
1918
+ # An error occurs if the other input parameters are not the same as in
1919
+ # the first request. Using a different value for `ClientToken` is
1920
+ # considered a new call to `StartModelPackagingJob`. An idempotency
1921
+ # token is active for 8 hours.
1922
+ #
1923
+ # **A suitable default value is auto-generated.** You should normally
1924
+ # not need to pass this option.
1925
+ # @return [String]
1926
+ #
1927
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/StartModelPackagingJobRequest AWS API Documentation
1928
+ #
1929
+ class StartModelPackagingJobRequest < Struct.new(
1930
+ :project_name,
1931
+ :model_version,
1932
+ :job_name,
1933
+ :configuration,
1934
+ :description,
1935
+ :client_token)
1936
+ SENSITIVE = []
1937
+ include Aws::Structure
1938
+ end
1939
+
1940
+ # @!attribute [rw] job_name
1941
+ # The job name for the model packaging job. If you don't supply a job
1942
+ # name in the `JobName` input parameter, the service creates a job
1943
+ # name for you.
1944
+ # @return [String]
1945
+ #
1946
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/StartModelPackagingJobResponse AWS API Documentation
1947
+ #
1948
+ class StartModelPackagingJobResponse < Struct.new(
1949
+ :job_name)
1950
+ SENSITIVE = []
1951
+ include Aws::Structure
1952
+ end
1953
+
1402
1954
  # @note When making an API call, you may pass StartModelRequest
1403
1955
  # data as a hash:
1404
1956
  #
@@ -1420,22 +1972,27 @@ module Aws::LookoutforVision
1420
1972
  #
1421
1973
  # @!attribute [rw] min_inference_units
1422
1974
  # The minimum number of inference units to use. A single inference
1423
- # unit represents 1 hour of processing and can support up to 5
1424
- # Transaction Pers Second (TPS). Use a higher number to increase the
1425
- # TPS throughput of your model. You are charged for the number of
1426
- # inference units that you use.
1975
+ # unit represents 1 hour of processing. Use a higher number to
1976
+ # increase the TPS throughput of your model. You are charged for the
1977
+ # number of inference units that you use.
1427
1978
  # @return [Integer]
1428
1979
  #
1429
1980
  # @!attribute [rw] client_token
1430
1981
  # ClientToken is an idempotency token that ensures a call to
1431
1982
  # `StartModel` completes only once. You choose the value to pass. For
1432
- # example, An issue, such as an network outage, might prevent you from
1433
- # getting a response from `StartModel`. In this case, safely retry
1434
- # your call to `StartModel` by using the same `ClientToken` parameter
1435
- # value. An error occurs if the other input parameters are not the
1436
- # same as in the first request. Using a different value for
1437
- # `ClientToken` is considered a new call to `StartModel`. An
1438
- # idempotency token is active for 8 hours.
1983
+ # example, An issue might prevent you from getting a response from
1984
+ # `StartModel`. In this case, safely retry your call to `StartModel`
1985
+ # by using the same `ClientToken` parameter value.
1986
+ #
1987
+ # If you don't supply a value for `ClientToken`, the AWS SDK you are
1988
+ # using inserts a value for you. This prevents retries after a network
1989
+ # error from making multiple start requests. You'll need to provide
1990
+ # your own value for other use cases.
1991
+ #
1992
+ # An error occurs if the other input parameters are not the same as in
1993
+ # the first request. Using a different value for `ClientToken` is
1994
+ # considered a new call to `StartModel`. An idempotency token is
1995
+ # active for 8 hours.
1439
1996
  #
1440
1997
  # **A suitable default value is auto-generated.** You should normally
1441
1998
  # not need to pass this option.
@@ -1485,9 +2042,15 @@ module Aws::LookoutforVision
1485
2042
  # @!attribute [rw] client_token
1486
2043
  # ClientToken is an idempotency token that ensures a call to
1487
2044
  # `StopModel` completes only once. You choose the value to pass. For
1488
- # example, An issue, such as an network outage, might prevent you from
1489
- # getting a response from `StopModel`. In this case, safely retry your
1490
- # call to `StopModel` by using the same `ClientToken` parameter value.
2045
+ # example, An issue might prevent you from getting a response from
2046
+ # `StopModel`. In this case, safely retry your call to `StopModel` by
2047
+ # using the same `ClientToken` parameter value.
2048
+ #
2049
+ # If you don't supply a value for `ClientToken`, the AWS SDK you are
2050
+ # using inserts a value for you. This prevents retries after a network
2051
+ # error from making multiple stop requests. You'll need to provide
2052
+ # your own value for other use cases.
2053
+ #
1491
2054
  # An error occurs if the other input parameters are not the same as in
1492
2055
  # the first request. Using a different value for `ClientToken` is
1493
2056
  # considered a new call to `StopModel`. An idempotency token is active
@@ -1581,6 +2144,46 @@ module Aws::LookoutforVision
1581
2144
  #
1582
2145
  class TagResourceResponse < Aws::EmptyStructure; end
1583
2146
 
2147
+ # The platform on which a model runs on an AWS IoT Greengrass core
2148
+ # device.
2149
+ #
2150
+ # @note When making an API call, you may pass TargetPlatform
2151
+ # data as a hash:
2152
+ #
2153
+ # {
2154
+ # os: "LINUX", # required, accepts LINUX
2155
+ # arch: "ARM64", # required, accepts ARM64, X86_64
2156
+ # accelerator: "NVIDIA", # required, accepts NVIDIA
2157
+ # }
2158
+ #
2159
+ # @!attribute [rw] os
2160
+ # The target operating system for the model. Linux is the only
2161
+ # operating system that is currently supported.
2162
+ # @return [String]
2163
+ #
2164
+ # @!attribute [rw] arch
2165
+ # The target architecture for the model. The currently supported
2166
+ # architectures are X86\_64 (64-bit version of the x86 instruction
2167
+ # set) and ARM\_64 (ARMv8 64-bit CPU).
2168
+ # @return [String]
2169
+ #
2170
+ # @!attribute [rw] accelerator
2171
+ # The target accelerator for the model. NVIDIA (Nvidia graphics
2172
+ # processing unit) is the only accelerator that is currently
2173
+ # supported. You must also specify the `gpu-code`, `trt-ver`, and
2174
+ # `cuda-ver` compiler options.
2175
+ # @return [String]
2176
+ #
2177
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/TargetPlatform AWS API Documentation
2178
+ #
2179
+ class TargetPlatform < Struct.new(
2180
+ :os,
2181
+ :arch,
2182
+ :accelerator)
2183
+ SENSITIVE = []
2184
+ include Aws::Structure
2185
+ end
2186
+
1584
2187
  # Amazon Lookout for Vision is temporarily unable to process the
1585
2188
  # request. Try your call again.
1586
2189
  #
@@ -1668,13 +2271,20 @@ module Aws::LookoutforVision
1668
2271
  # @!attribute [rw] client_token
1669
2272
  # ClientToken is an idempotency token that ensures a call to
1670
2273
  # `UpdateDatasetEntries` completes only once. You choose the value to
1671
- # pass. For example, An issue, such as an network outage, might
1672
- # prevent you from getting a response from `UpdateDatasetEntries`. In
1673
- # this case, safely retry your call to `UpdateDatasetEntries` by using
1674
- # the same `ClientToken` parameter value. An error occurs if the other
1675
- # input parameters are not the same as in the first request. Using a
1676
- # different value for `ClientToken` is considered a new call to
1677
- # `UpdateDatasetEntries`. An idempotency token is active for 8 hours.
2274
+ # pass. For example, An issue might prevent you from getting a
2275
+ # response from `UpdateDatasetEntries`. In this case, safely retry
2276
+ # your call to `UpdateDatasetEntries` by using the same `ClientToken`
2277
+ # parameter value.
2278
+ #
2279
+ # If you don't supply a value for `ClientToken`, the AWS SDK you are
2280
+ # using inserts a value for you. This prevents retries after a network
2281
+ # error from making multiple updates with the same dataset entries.
2282
+ # You'll need to provide your own value for other use cases.
2283
+ #
2284
+ # An error occurs if the other input parameters are not the same as in
2285
+ # the first request. Using a different value for `ClientToken` is
2286
+ # considered a new call to `UpdateDatasetEntries`. An idempotency
2287
+ # token is active for 8 hours.
1678
2288
  #
1679
2289
  # **A suitable default value is auto-generated.** You should normally
1680
2290
  # not need to pass this option.