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 |
Deletes a Type
object.
Synopsis
Creating a Request
:: Text | |
-> Text | |
-> DeleteType |
Creates a value of DeleteType
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dtApiId
- The API ID.dtTypeName
- The type name.
data DeleteType Source #
See: deleteType
smart constructor.
Instances
Request Lenses
dtTypeName :: Lens' DeleteType Text Source #
The type name.
Destructuring the Response
Creates a value of DeleteTypeResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dtrsResponseStatus
- -- | The response status code.
data DeleteTypeResponse Source #
See: deleteTypeResponse
smart constructor.
Instances
Response Lenses
dtrsResponseStatus :: Lens' DeleteTypeResponse Int Source #
- - | The response status code.