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 |
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_requestId :: Lens' CancelIngestionResponse (Maybe Text)
- cancelIngestionResponse_arn :: Lens' CancelIngestionResponse (Maybe Text)
- cancelIngestionResponse_ingestionId :: Lens' CancelIngestionResponse (Maybe Text)
- cancelIngestionResponse_status :: Lens' CancelIngestionResponse Int
Creating a Request
data CancelIngestion Source #
See: newCancelIngestion
smart constructor.
CancelIngestion' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> CancelIngestion |
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:
$sel:awsAccountId:CancelIngestion'
, cancelIngestion_awsAccountId
- The Amazon Web Services account ID.
$sel:dataSetId:CancelIngestion'
, cancelIngestion_dataSetId
- The ID of the dataset used in the ingestion.
$sel:ingestionId: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:
$sel:requestId:CancelIngestionResponse'
, cancelIngestionResponse_requestId
- The Amazon Web Services request ID for this operation.
$sel:arn:CancelIngestionResponse'
, cancelIngestionResponse_arn
- The Amazon Resource Name (ARN) for the data ingestion.
$sel:ingestionId:CancelIngestion'
, cancelIngestionResponse_ingestionId
- An ID for the ingestion.
$sel:status:CancelIngestionResponse'
, cancelIngestionResponse_status
- The HTTP status of the request.
Response Lenses
cancelIngestionResponse_requestId :: Lens' CancelIngestionResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
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_status :: Lens' CancelIngestionResponse Int Source #
The HTTP status of the request.