| Copyright | (c) 2013-2018 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 |
| Language | Haskell2010 |
Network.AWS.IoT.DeprecateThingType
Description
Deprecates a thing type. You can not associate new things with deprecated thing type.
Synopsis
- deprecateThingType :: Text -> DeprecateThingType
- data DeprecateThingType
- depUndoDeprecate :: Lens' DeprecateThingType (Maybe Bool)
- depThingTypeName :: Lens' DeprecateThingType Text
- deprecateThingTypeResponse :: Int -> DeprecateThingTypeResponse
- data DeprecateThingTypeResponse
- deprsResponseStatus :: Lens' DeprecateThingTypeResponse Int
Creating a Request
Arguments
| :: Text | |
| -> DeprecateThingType |
Creates a value of DeprecateThingType with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
depUndoDeprecate- Whether to undeprecate a deprecated thing type. If true , the thing type will not be deprecated anymore and you can associate it with things.depThingTypeName- The name of the thing type to deprecate.
data DeprecateThingType Source #
The input for the DeprecateThingType operation.
See: deprecateThingType smart constructor.
Instances
Request Lenses
depUndoDeprecate :: Lens' DeprecateThingType (Maybe Bool) Source #
Whether to undeprecate a deprecated thing type. If true , the thing type will not be deprecated anymore and you can associate it with things.
depThingTypeName :: Lens' DeprecateThingType Text Source #
The name of the thing type to deprecate.
Destructuring the Response
deprecateThingTypeResponse Source #
Arguments
| :: Int | |
| -> DeprecateThingTypeResponse |
Creates a value of DeprecateThingTypeResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
deprsResponseStatus- -- | The response status code.
data DeprecateThingTypeResponse Source #
The output for the DeprecateThingType operation.
See: deprecateThingTypeResponse smart constructor.
Instances
Response Lenses
deprsResponseStatus :: Lens' DeprecateThingTypeResponse Int Source #
- - | The response status code.