| 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.DeleteDataSource
Description
Deletes a DataSource object.
Synopsis
- data DeleteDataSource = DeleteDataSource' {}
- newDeleteDataSource :: Text -> Text -> DeleteDataSource
- deleteDataSource_apiId :: Lens' DeleteDataSource Text
- deleteDataSource_name :: Lens' DeleteDataSource Text
- data DeleteDataSourceResponse = DeleteDataSourceResponse' {
- httpStatus :: Int
- newDeleteDataSourceResponse :: Int -> DeleteDataSourceResponse
- deleteDataSourceResponse_httpStatus :: Lens' DeleteDataSourceResponse Int
Creating a Request
data DeleteDataSource Source #
See: newDeleteDataSource smart constructor.
Constructors
| DeleteDataSource' | |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> DeleteDataSource |
Create a value of DeleteDataSource 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:
DeleteDataSource, deleteDataSource_apiId - The API ID.
DeleteDataSource, deleteDataSource_name - The name of the data source.
Request Lenses
deleteDataSource_apiId :: Lens' DeleteDataSource Text Source #
The API ID.
deleteDataSource_name :: Lens' DeleteDataSource Text Source #
The name of the data source.
Destructuring the Response
data DeleteDataSourceResponse Source #
See: newDeleteDataSourceResponse smart constructor.
Constructors
| DeleteDataSourceResponse' | |
Fields
| |
Instances
newDeleteDataSourceResponse Source #
Create a value of DeleteDataSourceResponse 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:DeleteDataSourceResponse', deleteDataSourceResponse_httpStatus - The response's http status code.
Response Lenses
deleteDataSourceResponse_httpStatus :: Lens' DeleteDataSourceResponse Int Source #
The response's http status code.