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 resource definition.
Synopsis
- data DeleteResourceDefinition = DeleteResourceDefinition' {}
- newDeleteResourceDefinition :: Text -> DeleteResourceDefinition
- deleteResourceDefinition_resourceDefinitionId :: Lens' DeleteResourceDefinition Text
- data DeleteResourceDefinitionResponse = DeleteResourceDefinitionResponse' {
- httpStatus :: Int
- newDeleteResourceDefinitionResponse :: Int -> DeleteResourceDefinitionResponse
- deleteResourceDefinitionResponse_httpStatus :: Lens' DeleteResourceDefinitionResponse Int
Creating a Request
data DeleteResourceDefinition Source #
See: newDeleteResourceDefinition
smart constructor.
DeleteResourceDefinition' | |
|
Instances
newDeleteResourceDefinition Source #
Create a value of DeleteResourceDefinition
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:resourceDefinitionId:DeleteResourceDefinition'
, deleteResourceDefinition_resourceDefinitionId
- The ID of the resource definition.
Request Lenses
deleteResourceDefinition_resourceDefinitionId :: Lens' DeleteResourceDefinition Text Source #
The ID of the resource definition.
Destructuring the Response
data DeleteResourceDefinitionResponse Source #
See: newDeleteResourceDefinitionResponse
smart constructor.
DeleteResourceDefinitionResponse' | |
|
Instances
Eq DeleteResourceDefinitionResponse Source # | |
Read DeleteResourceDefinitionResponse Source # | |
Show DeleteResourceDefinitionResponse Source # | |
Generic DeleteResourceDefinitionResponse Source # | |
NFData DeleteResourceDefinitionResponse Source # | |
Defined in Amazonka.Greengrass.DeleteResourceDefinition rnf :: DeleteResourceDefinitionResponse -> () # | |
type Rep DeleteResourceDefinitionResponse Source # | |
Defined in Amazonka.Greengrass.DeleteResourceDefinition type Rep DeleteResourceDefinitionResponse = D1 ('MetaData "DeleteResourceDefinitionResponse" "Amazonka.Greengrass.DeleteResourceDefinition" "libZSservicesZSamazonka-greengrassZSamazonka-greengrass" 'False) (C1 ('MetaCons "DeleteResourceDefinitionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDeleteResourceDefinitionResponse Source #
Create a value of DeleteResourceDefinitionResponse
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:DeleteResourceDefinitionResponse'
, deleteResourceDefinitionResponse_httpStatus
- The response's http status code.
Response Lenses
deleteResourceDefinitionResponse_httpStatus :: Lens' DeleteResourceDefinitionResponse Int Source #
The response's http status code.