Smaws_Client_ECR.StartImageScanStarts a basic image vulnerability scan.
A basic image scan can only be started once per 24 hours on an individual image. This limit includes if an image was scanned on initial push. You can start up to 100,000 basic scans per 24 hours. This limit includes both scans on initial push and scans initiated by the StartImageScan API. For more information, see Basic scanning in the Amazon Elastic Container Registry User Guide.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `ImageArchivedException of Types.image_archived_exception
| `ImageNotFoundException of Types.image_not_found_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `RepositoryNotFoundException of Types.repository_not_found_exception
| `ServerException of Types.server_exception
| `UnsupportedImageTypeException of Types.unsupported_image_type_exception
| `ValidationException of Types.validation_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.start_image_scan_request ->
(Types.start_image_scan_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `ImageArchivedException of Types.image_archived_exception
| `ImageNotFoundException of Types.image_not_found_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `RepositoryNotFoundException of Types.repository_not_found_exception
| `ServerException of Types.server_exception
| `UnsupportedImageTypeException of Types.unsupported_image_type_exception
| `ValidationException of Types.validation_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.start_image_scan_request ->
(Types.start_image_scan_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `ImageArchivedException of Types.image_archived_exception
| `ImageNotFoundException of Types.image_not_found_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `RepositoryNotFoundException of Types.repository_not_found_exception
| `ServerException of Types.server_exception
| `UnsupportedImageTypeException of Types.unsupported_image_type_exception
| `ValidationException of Types.validation_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result