Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
Instances
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:
$sel:trialName: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.
DeleteTrialResponse' | |
|
Instances
newDeleteTrialResponse Source #
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:
$sel:trialArn: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.