| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.AppSync.DeleteType
Description
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.
Constructors
| DeleteType' | |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> DeleteType |
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:
DeleteType, deleteType_apiId - The API ID.
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.
Constructors
| DeleteTypeResponse' | |
Fields
| |
Instances
newDeleteTypeResponse Source #
Arguments
| :: Int | |
| -> DeleteTypeResponse |
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.