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 |
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.
AssociateTrialComponent' | |
|
Instances
newAssociateTrialComponent Source #
:: Text | |
-> Text | |
-> AssociateTrialComponent |
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:
$sel:trialComponentName:AssociateTrialComponent'
, associateTrialComponent_trialComponentName
- The name of the component to associated with the trial.
$sel:trialName: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.
AssociateTrialComponentResponse' | |
|
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:
$sel:trialArn:AssociateTrialComponentResponse'
, associateTrialComponentResponse_trialArn
- The Amazon Resource Name (ARN) of the trial.
$sel:trialComponentArn:AssociateTrialComponentResponse'
, associateTrialComponentResponse_trialComponentArn
- The 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 ARN of the trial component.
associateTrialComponentResponse_httpStatus :: Lens' AssociateTrialComponentResponse Int Source #
The response's http status code.