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