| 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.DisassociateTrialComponent
Description
Disassociates a trial component from a trial. This doesn't effect other trials the component is associated with. Before you can delete a component, you must disassociate the component from all trials it is associated with. To associate a trial component with a trial, call the AssociateTrialComponent API.
To get a list of the trials a component is associated with, use the
 Search API. Specify ExperimentTrialComponent for the Resource
 parameter. The list appears in the response under
 Results.TrialComponent.Parents.
Synopsis
- data DisassociateTrialComponent = DisassociateTrialComponent' {}
 - newDisassociateTrialComponent :: Text -> Text -> DisassociateTrialComponent
 - disassociateTrialComponent_trialComponentName :: Lens' DisassociateTrialComponent Text
 - disassociateTrialComponent_trialName :: Lens' DisassociateTrialComponent Text
 - data DisassociateTrialComponentResponse = DisassociateTrialComponentResponse' {
- trialArn :: Maybe Text
 - trialComponentArn :: Maybe Text
 - httpStatus :: Int
 
 - newDisassociateTrialComponentResponse :: Int -> DisassociateTrialComponentResponse
 - disassociateTrialComponentResponse_trialArn :: Lens' DisassociateTrialComponentResponse (Maybe Text)
 - disassociateTrialComponentResponse_trialComponentArn :: Lens' DisassociateTrialComponentResponse (Maybe Text)
 - disassociateTrialComponentResponse_httpStatus :: Lens' DisassociateTrialComponentResponse Int
 
Creating a Request
data DisassociateTrialComponent Source #
See: newDisassociateTrialComponent smart constructor.
Constructors
| DisassociateTrialComponent' | |
Fields 
  | |
Instances
newDisassociateTrialComponent Source #
Arguments
| :: Text | |
| -> Text | |
| -> DisassociateTrialComponent | 
Create a value of DisassociateTrialComponent 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:
DisassociateTrialComponent, disassociateTrialComponent_trialComponentName - The name of the component to disassociate from the trial.
DisassociateTrialComponent, disassociateTrialComponent_trialName - The name of the trial to disassociate from.
Request Lenses
disassociateTrialComponent_trialComponentName :: Lens' DisassociateTrialComponent Text Source #
The name of the component to disassociate from the trial.
disassociateTrialComponent_trialName :: Lens' DisassociateTrialComponent Text Source #
The name of the trial to disassociate from.
Destructuring the Response
data DisassociateTrialComponentResponse Source #
See: newDisassociateTrialComponentResponse smart constructor.
Constructors
| DisassociateTrialComponentResponse' | |
Fields 
  | |
Instances
newDisassociateTrialComponentResponse Source #
Arguments
| :: Int | |
| -> DisassociateTrialComponentResponse | 
Create a value of DisassociateTrialComponentResponse 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:
DisassociateTrialComponentResponse, disassociateTrialComponentResponse_trialArn - The Amazon Resource Name (ARN) of the trial.
DisassociateTrialComponentResponse, disassociateTrialComponentResponse_trialComponentArn - The Amazon Resource Name (ARN) of the trial component.
$sel:httpStatus:DisassociateTrialComponentResponse', disassociateTrialComponentResponse_httpStatus - The response's http status code.
Response Lenses
disassociateTrialComponentResponse_trialArn :: Lens' DisassociateTrialComponentResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the trial.
disassociateTrialComponentResponse_trialComponentArn :: Lens' DisassociateTrialComponentResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the trial component.
disassociateTrialComponentResponse_httpStatus :: Lens' DisassociateTrialComponentResponse Int Source #
The response's http status code.