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 experiment template.
Synopsis
- data DeleteExperimentTemplate = DeleteExperimentTemplate' {}
- newDeleteExperimentTemplate :: Text -> DeleteExperimentTemplate
- deleteExperimentTemplate_id :: Lens' DeleteExperimentTemplate Text
- data DeleteExperimentTemplateResponse = DeleteExperimentTemplateResponse' {}
- newDeleteExperimentTemplateResponse :: Int -> DeleteExperimentTemplateResponse
- deleteExperimentTemplateResponse_experimentTemplate :: Lens' DeleteExperimentTemplateResponse (Maybe ExperimentTemplate)
- deleteExperimentTemplateResponse_httpStatus :: Lens' DeleteExperimentTemplateResponse Int
Creating a Request
data DeleteExperimentTemplate Source #
See: newDeleteExperimentTemplate
smart constructor.
Instances
newDeleteExperimentTemplate Source #
Create a value of DeleteExperimentTemplate
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:id:DeleteExperimentTemplate'
, deleteExperimentTemplate_id
- The ID of the experiment template.
Request Lenses
deleteExperimentTemplate_id :: Lens' DeleteExperimentTemplate Text Source #
The ID of the experiment template.
Destructuring the Response
data DeleteExperimentTemplateResponse Source #
See: newDeleteExperimentTemplateResponse
smart constructor.
DeleteExperimentTemplateResponse' | |
|
Instances
Eq DeleteExperimentTemplateResponse Source # | |
Read DeleteExperimentTemplateResponse Source # | |
Show DeleteExperimentTemplateResponse Source # | |
Defined in Amazonka.FIS.DeleteExperimentTemplate | |
Generic DeleteExperimentTemplateResponse Source # | |
NFData DeleteExperimentTemplateResponse Source # | |
Defined in Amazonka.FIS.DeleteExperimentTemplate rnf :: DeleteExperimentTemplateResponse -> () # | |
type Rep DeleteExperimentTemplateResponse Source # | |
Defined in Amazonka.FIS.DeleteExperimentTemplate type Rep DeleteExperimentTemplateResponse = D1 ('MetaData "DeleteExperimentTemplateResponse" "Amazonka.FIS.DeleteExperimentTemplate" "libZSservicesZSamazonka-fisZSamazonka-fis" 'False) (C1 ('MetaCons "DeleteExperimentTemplateResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "experimentTemplate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ExperimentTemplate)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDeleteExperimentTemplateResponse Source #
Create a value of DeleteExperimentTemplateResponse
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:experimentTemplate:DeleteExperimentTemplateResponse'
, deleteExperimentTemplateResponse_experimentTemplate
- Information about the experiment template.
$sel:httpStatus:DeleteExperimentTemplateResponse'
, deleteExperimentTemplateResponse_httpStatus
- The response's http status code.
Response Lenses
deleteExperimentTemplateResponse_experimentTemplate :: Lens' DeleteExperimentTemplateResponse (Maybe ExperimentTemplate) Source #
Information about the experiment template.
deleteExperimentTemplateResponse_httpStatus :: Lens' DeleteExperimentTemplateResponse Int Source #
The response's http status code.