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 |
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.
DeleteTrialComponent' | |
|
Instances
newDeleteTrialComponent Source #
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:
$sel:trialComponentName: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.
DeleteTrialComponentResponse' | |
|
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:
$sel:trialComponentArn: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.