| Copyright | (c) 2013-2023 Brendan Hay | 
|---|---|
| License | Mozilla Public License, v. 2.0. | 
| Maintainer | Brendan Hay | 
| Stability | auto-generated | 
| Portability | non-portable (GHC extensions) | 
| Safe Haskell | Safe-Inferred | 
| Language | Haskell2010 | 
Amazonka.SageMaker.DeleteTrial
Description
Deletes the specified trial. All trial components that make up the trial must be deleted first. Use the DescribeTrialComponent API to get the list of trial components.
Synopsis
- data DeleteTrial = DeleteTrial' {}
 - newDeleteTrial :: Text -> DeleteTrial
 - deleteTrial_trialName :: Lens' DeleteTrial Text
 - data DeleteTrialResponse = DeleteTrialResponse' {
- trialArn :: Maybe Text
 - httpStatus :: Int
 
 - newDeleteTrialResponse :: Int -> DeleteTrialResponse
 - deleteTrialResponse_trialArn :: Lens' DeleteTrialResponse (Maybe Text)
 - deleteTrialResponse_httpStatus :: Lens' DeleteTrialResponse Int
 
Creating a Request
data DeleteTrial Source #
See: newDeleteTrial smart constructor.
Constructors
| DeleteTrial' | |
Instances
Arguments
| :: Text | |
| -> DeleteTrial | 
Create a value of DeleteTrial with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
DeleteTrial, deleteTrial_trialName - The name of the trial to delete.
Request Lenses
deleteTrial_trialName :: Lens' DeleteTrial Text Source #
The name of the trial to delete.
Destructuring the Response
data DeleteTrialResponse Source #
See: newDeleteTrialResponse smart constructor.
Constructors
| DeleteTrialResponse' | |
Fields 
  | |
Instances
newDeleteTrialResponse Source #
Arguments
| :: Int | |
| -> DeleteTrialResponse | 
Create a value of DeleteTrialResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
DeleteTrialResponse, deleteTrialResponse_trialArn - The Amazon Resource Name (ARN) of the trial that is being deleted.
$sel:httpStatus:DeleteTrialResponse', deleteTrialResponse_httpStatus - The response's http status code.
Response Lenses
deleteTrialResponse_trialArn :: Lens' DeleteTrialResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the trial that is being deleted.
deleteTrialResponse_httpStatus :: Lens' DeleteTrialResponse Int Source #
The response's http status code.