Module Smaws_Client_Rekognition.DeleteDataset

This operation applies only to Amazon Rekognition Custom Labels.

Deletes an existing Amazon Rekognition Custom Labels dataset. Deleting a dataset might take while. Use DescribeDataset to check the current status. The dataset is still deleting if the value of Status is DELETE_IN_PROGRESS. If you try to access the dataset after it is deleted, you get a ResourceNotFoundException exception.

You can't delete a dataset while it is creating (Status = CREATE_IN_PROGRESS) or if the dataset is updating (Status = UPDATE_IN_PROGRESS).

This operation requires permissions to perform the rekognition:DeleteDataset action.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `InternalServerError of Types.internal_server_error | `InvalidParameterException of Types.invalid_parameter_exception | `LimitExceededException of Types.limit_exceeded_exception | `ProvisionedThroughputExceededException of Types.provisioned_throughput_exceeded_exception | `ResourceInUseException of Types.resource_in_use_exception | `ResourceNotFoundException of Types.resource_not_found_exception | `ThrottlingException of Types.throttling_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.delete_dataset_request -> (Types.delete_dataset_response, [> Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `InternalServerError of Types.internal_server_error | `InvalidParameterException of Types.invalid_parameter_exception | `LimitExceededException of Types.limit_exceeded_exception | `ProvisionedThroughputExceededException of Types.provisioned_throughput_exceeded_exception | `ResourceInUseException of Types.resource_in_use_exception | `ResourceNotFoundException of Types.resource_not_found_exception | `ThrottlingException of Types.throttling_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.delete_dataset_request -> (Types.delete_dataset_response Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `InternalServerError of Types.internal_server_error | `InvalidParameterException of Types.invalid_parameter_exception | `LimitExceededException of Types.limit_exceeded_exception | `ProvisionedThroughputExceededException of Types.provisioned_throughput_exceeded_exception | `ResourceInUseException of Types.resource_in_use_exception | `ResourceNotFoundException of Types.resource_not_found_exception | `ThrottlingException of Types.throttling_exception ] * Smaws_Lib.Response.metadata) Stdlib.result