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 |
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.
DisassociateTrialComponent' | |
|
Instances
newDisassociateTrialComponent Source #
:: 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:
$sel:trialComponentName:DisassociateTrialComponent'
, disassociateTrialComponent_trialComponentName
- The name of the component to disassociate from the trial.
$sel:trialName: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.
DisassociateTrialComponentResponse' | |
|
Instances
newDisassociateTrialComponentResponse Source #
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:
$sel:trialArn:DisassociateTrialComponentResponse'
, disassociateTrialComponentResponse_trialArn
- The Amazon Resource Name (ARN) of the trial.
$sel:trialComponentArn:DisassociateTrialComponentResponse'
, disassociateTrialComponentResponse_trialComponentArn
- The 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 ARN of the trial component.
disassociateTrialComponentResponse_httpStatus :: Lens' DisassociateTrialComponentResponse Int Source #
The response's http status code.