| 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.QuickSight.DeleteDataSource
Description
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_arn :: Lens' DeleteDataSourceResponse (Maybe Text)
- deleteDataSourceResponse_dataSourceId :: Lens' DeleteDataSourceResponse (Maybe Text)
- deleteDataSourceResponse_requestId :: Lens' DeleteDataSourceResponse (Maybe Text)
- deleteDataSourceResponse_status :: Lens' DeleteDataSourceResponse Int
Creating a Request
data DeleteDataSource Source #
See: newDeleteDataSource smart constructor.
Constructors
| DeleteDataSource' | |
Fields
| |
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_awsAccountId - The Amazon Web Services account ID.
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.
Constructors
| DeleteDataSourceResponse' | |
Fields
| |
Instances
newDeleteDataSourceResponse Source #
Arguments
| :: Int | |
| -> DeleteDataSourceResponse |
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:
DeleteDataSourceResponse, deleteDataSourceResponse_arn - The Amazon Resource Name (ARN) of the data source that you deleted.
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:requestId:DeleteDataSourceResponse', deleteDataSourceResponse_requestId - The Amazon Web Services request ID for this operation.
DeleteDataSourceResponse, deleteDataSourceResponse_status - The HTTP status of the request.
Response Lenses
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_requestId :: Lens' DeleteDataSourceResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
deleteDataSourceResponse_status :: Lens' DeleteDataSourceResponse Int Source #
The HTTP status of the request.