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 the data source permanently. This operation breaks all the datasets that reference the deleted data source.
Synopsis
- data DeleteDataSource = DeleteDataSource' {
- awsAccountId :: Text
- dataSourceId :: Text
- newDeleteDataSource :: Text -> Text -> DeleteDataSource
- deleteDataSource_awsAccountId :: Lens' DeleteDataSource Text
- deleteDataSource_dataSourceId :: Lens' DeleteDataSource Text
- data DeleteDataSourceResponse = DeleteDataSourceResponse' {}
- newDeleteDataSourceResponse :: Int -> DeleteDataSourceResponse
- deleteDataSourceResponse_requestId :: Lens' DeleteDataSourceResponse (Maybe Text)
- deleteDataSourceResponse_arn :: Lens' DeleteDataSourceResponse (Maybe Text)
- deleteDataSourceResponse_dataSourceId :: Lens' DeleteDataSourceResponse (Maybe Text)
- deleteDataSourceResponse_status :: Lens' DeleteDataSourceResponse Int
Creating a Request
data DeleteDataSource Source #
See: newDeleteDataSource
smart constructor.
DeleteDataSource' | |
|
Instances
:: 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:
$sel:awsAccountId:DeleteDataSource'
, deleteDataSource_awsAccountId
- The Amazon Web Services account ID.
$sel:dataSourceId:DeleteDataSource'
, deleteDataSource_dataSourceId
- The ID of the data source. This ID is unique per Amazon Web Services
Region for each Amazon Web Services account.
Request Lenses
deleteDataSource_awsAccountId :: Lens' DeleteDataSource Text Source #
The Amazon Web Services account ID.
deleteDataSource_dataSourceId :: Lens' DeleteDataSource Text Source #
The ID of the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
Destructuring the Response
data DeleteDataSourceResponse Source #
See: newDeleteDataSourceResponse
smart constructor.
DeleteDataSourceResponse' | |
|
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:requestId:DeleteDataSourceResponse'
, deleteDataSourceResponse_requestId
- The Amazon Web Services request ID for this operation.
$sel:arn:DeleteDataSourceResponse'
, deleteDataSourceResponse_arn
- The Amazon Resource Name (ARN) of the data source that you deleted.
$sel:dataSourceId:DeleteDataSource'
, deleteDataSourceResponse_dataSourceId
- The ID of the data source. This ID is unique per Amazon Web Services
Region for each Amazon Web Services account.
$sel:status:DeleteDataSourceResponse'
, deleteDataSourceResponse_status
- The HTTP status of the request.
Response Lenses
deleteDataSourceResponse_requestId :: Lens' DeleteDataSourceResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
deleteDataSourceResponse_arn :: Lens' DeleteDataSourceResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the data source that you deleted.
deleteDataSourceResponse_dataSourceId :: Lens' DeleteDataSourceResponse (Maybe Text) Source #
The ID of the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
deleteDataSourceResponse_status :: Lens' DeleteDataSourceResponse Int Source #
The HTTP status of the request.