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 |
Cancels an ongoing ingestion of data into SPICE.
Synopsis
- data CancelIngestion = CancelIngestion' {
- awsAccountId :: Text
- dataSetId :: Text
- ingestionId :: Text
- newCancelIngestion :: Text -> Text -> Text -> CancelIngestion
- cancelIngestion_awsAccountId :: Lens' CancelIngestion Text
- cancelIngestion_dataSetId :: Lens' CancelIngestion Text
- cancelIngestion_ingestionId :: Lens' CancelIngestion Text
- data CancelIngestionResponse = CancelIngestionResponse' {}
- newCancelIngestionResponse :: Int -> CancelIngestionResponse
- cancelIngestionResponse_arn :: Lens' CancelIngestionResponse (Maybe Text)
- cancelIngestionResponse_ingestionId :: Lens' CancelIngestionResponse (Maybe Text)
- cancelIngestionResponse_requestId :: Lens' CancelIngestionResponse (Maybe Text)
- cancelIngestionResponse_status :: Lens' CancelIngestionResponse Int
Creating a Request
data CancelIngestion Source #
See: newCancelIngestion
smart constructor.
CancelIngestion' | |
|
Instances
Create a value of CancelIngestion
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:
CancelIngestion
, cancelIngestion_awsAccountId
- The Amazon Web Services account ID.
CancelIngestion
, cancelIngestion_dataSetId
- The ID of the dataset used in the ingestion.
CancelIngestion
, cancelIngestion_ingestionId
- An ID for the ingestion.
Request Lenses
cancelIngestion_awsAccountId :: Lens' CancelIngestion Text Source #
The Amazon Web Services account ID.
cancelIngestion_dataSetId :: Lens' CancelIngestion Text Source #
The ID of the dataset used in the ingestion.
cancelIngestion_ingestionId :: Lens' CancelIngestion Text Source #
An ID for the ingestion.
Destructuring the Response
data CancelIngestionResponse Source #
See: newCancelIngestionResponse
smart constructor.
Instances
newCancelIngestionResponse Source #
Create a value of CancelIngestionResponse
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:
CancelIngestionResponse
, cancelIngestionResponse_arn
- The Amazon Resource Name (ARN) for the data ingestion.
CancelIngestion
, cancelIngestionResponse_ingestionId
- An ID for the ingestion.
$sel:requestId:CancelIngestionResponse'
, cancelIngestionResponse_requestId
- The Amazon Web Services request ID for this operation.
CancelIngestionResponse
, cancelIngestionResponse_status
- The HTTP status of the request.
Response Lenses
cancelIngestionResponse_arn :: Lens' CancelIngestionResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) for the data ingestion.
cancelIngestionResponse_ingestionId :: Lens' CancelIngestionResponse (Maybe Text) Source #
An ID for the ingestion.
cancelIngestionResponse_requestId :: Lens' CancelIngestionResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
cancelIngestionResponse_status :: Lens' CancelIngestionResponse Int Source #
The HTTP status of the request.