| 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.AssociateTrialComponent
Description
Associates a trial component with a trial. A trial component can be associated with multiple trials. To disassociate a trial component from a trial, call the DisassociateTrialComponent API.
Synopsis
- data AssociateTrialComponent = AssociateTrialComponent' {}
 - newAssociateTrialComponent :: Text -> Text -> AssociateTrialComponent
 - associateTrialComponent_trialComponentName :: Lens' AssociateTrialComponent Text
 - associateTrialComponent_trialName :: Lens' AssociateTrialComponent Text
 - data AssociateTrialComponentResponse = AssociateTrialComponentResponse' {
- trialArn :: Maybe Text
 - trialComponentArn :: Maybe Text
 - httpStatus :: Int
 
 - newAssociateTrialComponentResponse :: Int -> AssociateTrialComponentResponse
 - associateTrialComponentResponse_trialArn :: Lens' AssociateTrialComponentResponse (Maybe Text)
 - associateTrialComponentResponse_trialComponentArn :: Lens' AssociateTrialComponentResponse (Maybe Text)
 - associateTrialComponentResponse_httpStatus :: Lens' AssociateTrialComponentResponse Int
 
Creating a Request
data AssociateTrialComponent Source #
See: newAssociateTrialComponent smart constructor.
Constructors
| AssociateTrialComponent' | |
Fields 
  | |
Instances
newAssociateTrialComponent Source #
Create a value of AssociateTrialComponent 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:
AssociateTrialComponent, associateTrialComponent_trialComponentName - The name of the component to associated with the trial.
AssociateTrialComponent, associateTrialComponent_trialName - The name of the trial to associate with.
Request Lenses
associateTrialComponent_trialComponentName :: Lens' AssociateTrialComponent Text Source #
The name of the component to associated with the trial.
associateTrialComponent_trialName :: Lens' AssociateTrialComponent Text Source #
The name of the trial to associate with.
Destructuring the Response
data AssociateTrialComponentResponse Source #
See: newAssociateTrialComponentResponse smart constructor.
Constructors
| AssociateTrialComponentResponse' | |
Fields 
  | |
Instances
newAssociateTrialComponentResponse Source #
Create a value of AssociateTrialComponentResponse 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:
AssociateTrialComponentResponse, associateTrialComponentResponse_trialArn - The Amazon Resource Name (ARN) of the trial.
AssociateTrialComponentResponse, associateTrialComponentResponse_trialComponentArn - The Amazon Resource Name (ARN) of the trial component.
$sel:httpStatus:AssociateTrialComponentResponse', associateTrialComponentResponse_httpStatus - The response's http status code.
Response Lenses
associateTrialComponentResponse_trialArn :: Lens' AssociateTrialComponentResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the trial.
associateTrialComponentResponse_trialComponentArn :: Lens' AssociateTrialComponentResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the trial component.
associateTrialComponentResponse_httpStatus :: Lens' AssociateTrialComponentResponse Int Source #
The response's http status code.