| 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.DeleteTrialComponent
Description
Deletes the specified trial component. A trial component must be disassociated from all trials before the trial component can be deleted. To disassociate a trial component from a trial, call the DisassociateTrialComponent API.
Synopsis
- data DeleteTrialComponent = DeleteTrialComponent' {}
- newDeleteTrialComponent :: Text -> DeleteTrialComponent
- deleteTrialComponent_trialComponentName :: Lens' DeleteTrialComponent Text
- data DeleteTrialComponentResponse = DeleteTrialComponentResponse' {}
- newDeleteTrialComponentResponse :: Int -> DeleteTrialComponentResponse
- deleteTrialComponentResponse_trialComponentArn :: Lens' DeleteTrialComponentResponse (Maybe Text)
- deleteTrialComponentResponse_httpStatus :: Lens' DeleteTrialComponentResponse Int
Creating a Request
data DeleteTrialComponent Source #
See: newDeleteTrialComponent smart constructor.
Constructors
| DeleteTrialComponent' | |
Fields
| |
Instances
newDeleteTrialComponent Source #
Arguments
| :: Text | |
| -> DeleteTrialComponent |
Create a value of DeleteTrialComponent 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:
DeleteTrialComponent, deleteTrialComponent_trialComponentName - The name of the component to delete.
Request Lenses
deleteTrialComponent_trialComponentName :: Lens' DeleteTrialComponent Text Source #
The name of the component to delete.
Destructuring the Response
data DeleteTrialComponentResponse Source #
See: newDeleteTrialComponentResponse smart constructor.
Constructors
| DeleteTrialComponentResponse' | |
Fields
| |
Instances
newDeleteTrialComponentResponse Source #
Create a value of DeleteTrialComponentResponse 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:
DeleteTrialComponentResponse, deleteTrialComponentResponse_trialComponentArn - The Amazon Resource Name (ARN) of the component is being deleted.
$sel:httpStatus:DeleteTrialComponentResponse', deleteTrialComponentResponse_httpStatus - The response's http status code.
Response Lenses
deleteTrialComponentResponse_trialComponentArn :: Lens' DeleteTrialComponentResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the component is being deleted.
deleteTrialComponentResponse_httpStatus :: Lens' DeleteTrialComponentResponse Int Source #
The response's http status code.