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 a fleet provisioning template.
Requires permission to access the DeleteProvisioningTemplate action.
Synopsis
- data DeleteProvisioningTemplate = DeleteProvisioningTemplate' {
- templateName :: Text
- newDeleteProvisioningTemplate :: Text -> DeleteProvisioningTemplate
- deleteProvisioningTemplate_templateName :: Lens' DeleteProvisioningTemplate Text
- data DeleteProvisioningTemplateResponse = DeleteProvisioningTemplateResponse' {
- httpStatus :: Int
- newDeleteProvisioningTemplateResponse :: Int -> DeleteProvisioningTemplateResponse
- deleteProvisioningTemplateResponse_httpStatus :: Lens' DeleteProvisioningTemplateResponse Int
Creating a Request
data DeleteProvisioningTemplate Source #
See: newDeleteProvisioningTemplate
smart constructor.
DeleteProvisioningTemplate' | |
|
Instances
newDeleteProvisioningTemplate Source #
Create a value of DeleteProvisioningTemplate
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:templateName:DeleteProvisioningTemplate'
, deleteProvisioningTemplate_templateName
- The name of the fleet provision template to delete.
Request Lenses
deleteProvisioningTemplate_templateName :: Lens' DeleteProvisioningTemplate Text Source #
The name of the fleet provision template to delete.
Destructuring the Response
data DeleteProvisioningTemplateResponse Source #
See: newDeleteProvisioningTemplateResponse
smart constructor.
DeleteProvisioningTemplateResponse' | |
|
Instances
Eq DeleteProvisioningTemplateResponse Source # | |
Read DeleteProvisioningTemplateResponse Source # | |
Show DeleteProvisioningTemplateResponse Source # | |
Generic DeleteProvisioningTemplateResponse Source # | |
NFData DeleteProvisioningTemplateResponse Source # | |
Defined in Amazonka.IoT.DeleteProvisioningTemplate rnf :: DeleteProvisioningTemplateResponse -> () # | |
type Rep DeleteProvisioningTemplateResponse Source # | |
Defined in Amazonka.IoT.DeleteProvisioningTemplate type Rep DeleteProvisioningTemplateResponse = D1 ('MetaData "DeleteProvisioningTemplateResponse" "Amazonka.IoT.DeleteProvisioningTemplate" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "DeleteProvisioningTemplateResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDeleteProvisioningTemplateResponse Source #
Create a value of DeleteProvisioningTemplateResponse
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:httpStatus:DeleteProvisioningTemplateResponse'
, deleteProvisioningTemplateResponse_httpStatus
- The response's http status code.
Response Lenses
deleteProvisioningTemplateResponse_httpStatus :: Lens' DeleteProvisioningTemplateResponse Int Source #
The response's http status code.