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 |
Creates and starts a new SPICE ingestion on a dataset
Any ingestions operating on tagged datasets inherit the same tags automatically for use in access control. For an example, see How do I create an IAM policy to control access to Amazon EC2 resources using tags? in the Amazon Web Services Knowledge Center. Tags are visible on the tagged dataset, but not on the ingestion resource.
Synopsis
- data CreateIngestion = CreateIngestion' {}
- newCreateIngestion :: Text -> Text -> Text -> CreateIngestion
- createIngestion_ingestionType :: Lens' CreateIngestion (Maybe IngestionType)
- createIngestion_dataSetId :: Lens' CreateIngestion Text
- createIngestion_ingestionId :: Lens' CreateIngestion Text
- createIngestion_awsAccountId :: Lens' CreateIngestion Text
- data CreateIngestionResponse = CreateIngestionResponse' {
- requestId :: Maybe Text
- arn :: Maybe Text
- ingestionId :: Maybe Text
- ingestionStatus :: Maybe IngestionStatus
- status :: Int
- newCreateIngestionResponse :: Int -> CreateIngestionResponse
- createIngestionResponse_requestId :: Lens' CreateIngestionResponse (Maybe Text)
- createIngestionResponse_arn :: Lens' CreateIngestionResponse (Maybe Text)
- createIngestionResponse_ingestionId :: Lens' CreateIngestionResponse (Maybe Text)
- createIngestionResponse_ingestionStatus :: Lens' CreateIngestionResponse (Maybe IngestionStatus)
- createIngestionResponse_status :: Lens' CreateIngestionResponse Int
Creating a Request
data CreateIngestion Source #
See: newCreateIngestion
smart constructor.
CreateIngestion' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> CreateIngestion |
Create a value of CreateIngestion
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:ingestionType:CreateIngestion'
, createIngestion_ingestionType
- The type of ingestion that you want to create.
$sel:dataSetId:CreateIngestion'
, createIngestion_dataSetId
- The ID of the dataset used in the ingestion.
$sel:ingestionId:CreateIngestion'
, createIngestion_ingestionId
- An ID for the ingestion.
$sel:awsAccountId:CreateIngestion'
, createIngestion_awsAccountId
- The Amazon Web Services account ID.
Request Lenses
createIngestion_ingestionType :: Lens' CreateIngestion (Maybe IngestionType) Source #
The type of ingestion that you want to create.
createIngestion_dataSetId :: Lens' CreateIngestion Text Source #
The ID of the dataset used in the ingestion.
createIngestion_ingestionId :: Lens' CreateIngestion Text Source #
An ID for the ingestion.
createIngestion_awsAccountId :: Lens' CreateIngestion Text Source #
The Amazon Web Services account ID.
Destructuring the Response
data CreateIngestionResponse Source #
See: newCreateIngestionResponse
smart constructor.
CreateIngestionResponse' | |
|
Instances
newCreateIngestionResponse Source #
Create a value of CreateIngestionResponse
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:CreateIngestionResponse'
, createIngestionResponse_requestId
- The Amazon Web Services request ID for this operation.
$sel:arn:CreateIngestionResponse'
, createIngestionResponse_arn
- The Amazon Resource Name (ARN) for the data ingestion.
$sel:ingestionId:CreateIngestion'
, createIngestionResponse_ingestionId
- An ID for the ingestion.
$sel:ingestionStatus:CreateIngestionResponse'
, createIngestionResponse_ingestionStatus
- The ingestion status.
$sel:status:CreateIngestionResponse'
, createIngestionResponse_status
- The HTTP status of the request.
Response Lenses
createIngestionResponse_requestId :: Lens' CreateIngestionResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
createIngestionResponse_arn :: Lens' CreateIngestionResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) for the data ingestion.
createIngestionResponse_ingestionId :: Lens' CreateIngestionResponse (Maybe Text) Source #
An ID for the ingestion.
createIngestionResponse_ingestionStatus :: Lens' CreateIngestionResponse (Maybe IngestionStatus) Source #
The ingestion status.
createIngestionResponse_status :: Lens' CreateIngestionResponse Int Source #
The HTTP status of the request.