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 Type
object.
Synopsis
- data DeleteType = DeleteType' {}
- newDeleteType :: Text -> Text -> DeleteType
- deleteType_apiId :: Lens' DeleteType Text
- deleteType_typeName :: Lens' DeleteType Text
- data DeleteTypeResponse = DeleteTypeResponse' {
- httpStatus :: Int
- newDeleteTypeResponse :: Int -> DeleteTypeResponse
- deleteTypeResponse_httpStatus :: Lens' DeleteTypeResponse Int
Creating a Request
data DeleteType Source #
See: newDeleteType
smart constructor.
Instances
Create a value of DeleteType
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:apiId:DeleteType'
, deleteType_apiId
- The API ID.
$sel:typeName:DeleteType'
, deleteType_typeName
- The type name.
Request Lenses
deleteType_apiId :: Lens' DeleteType Text Source #
The API ID.
deleteType_typeName :: Lens' DeleteType Text Source #
The type name.
Destructuring the Response
data DeleteTypeResponse Source #
See: newDeleteTypeResponse
smart constructor.
DeleteTypeResponse' | |
|
Instances
newDeleteTypeResponse Source #
Create a value of DeleteTypeResponse
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:DeleteTypeResponse'
, deleteTypeResponse_httpStatus
- The response's http status code.
Response Lenses
deleteTypeResponse_httpStatus :: Lens' DeleteTypeResponse Int Source #
The response's http status code.