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 a batch import job.
Synopsis
- data CreateBatchImportJob = CreateBatchImportJob' {
- tags :: Maybe [Tag]
- jobId :: Text
- inputPath :: Text
- outputPath :: Text
- eventTypeName :: Text
- iamRoleArn :: Text
- newCreateBatchImportJob :: Text -> Text -> Text -> Text -> Text -> CreateBatchImportJob
- createBatchImportJob_tags :: Lens' CreateBatchImportJob (Maybe [Tag])
- createBatchImportJob_jobId :: Lens' CreateBatchImportJob Text
- createBatchImportJob_inputPath :: Lens' CreateBatchImportJob Text
- createBatchImportJob_outputPath :: Lens' CreateBatchImportJob Text
- createBatchImportJob_eventTypeName :: Lens' CreateBatchImportJob Text
- createBatchImportJob_iamRoleArn :: Lens' CreateBatchImportJob Text
- data CreateBatchImportJobResponse = CreateBatchImportJobResponse' {
- httpStatus :: Int
- newCreateBatchImportJobResponse :: Int -> CreateBatchImportJobResponse
- createBatchImportJobResponse_httpStatus :: Lens' CreateBatchImportJobResponse Int
Creating a Request
data CreateBatchImportJob Source #
See: newCreateBatchImportJob
smart constructor.
CreateBatchImportJob' | |
|
Instances
newCreateBatchImportJob Source #
Create a value of CreateBatchImportJob
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:tags:CreateBatchImportJob'
, createBatchImportJob_tags
- A collection of key-value pairs associated with this request.
$sel:jobId:CreateBatchImportJob'
, createBatchImportJob_jobId
- The ID of the batch import job. The ID cannot be of a past job, unless
the job exists in CREATE_FAILED
state.
$sel:inputPath:CreateBatchImportJob'
, createBatchImportJob_inputPath
- The URI that points to the Amazon S3 location of your data file.
$sel:outputPath:CreateBatchImportJob'
, createBatchImportJob_outputPath
- The URI that points to the Amazon S3 location for storing your results.
$sel:eventTypeName:CreateBatchImportJob'
, createBatchImportJob_eventTypeName
- The name of the event type.
$sel:iamRoleArn:CreateBatchImportJob'
, createBatchImportJob_iamRoleArn
- The ARN of the IAM role created for Amazon S3 bucket that holds your
data file. The IAM role must have read and write permissions to both
input and output S3 buckets.
Request Lenses
createBatchImportJob_tags :: Lens' CreateBatchImportJob (Maybe [Tag]) Source #
A collection of key-value pairs associated with this request.
createBatchImportJob_jobId :: Lens' CreateBatchImportJob Text Source #
The ID of the batch import job. The ID cannot be of a past job, unless
the job exists in CREATE_FAILED
state.
createBatchImportJob_inputPath :: Lens' CreateBatchImportJob Text Source #
The URI that points to the Amazon S3 location of your data file.
createBatchImportJob_outputPath :: Lens' CreateBatchImportJob Text Source #
The URI that points to the Amazon S3 location for storing your results.
createBatchImportJob_eventTypeName :: Lens' CreateBatchImportJob Text Source #
The name of the event type.
createBatchImportJob_iamRoleArn :: Lens' CreateBatchImportJob Text Source #
The ARN of the IAM role created for Amazon S3 bucket that holds your data file. The IAM role must have read and write permissions to both input and output S3 buckets.
Destructuring the Response
data CreateBatchImportJobResponse Source #
See: newCreateBatchImportJobResponse
smart constructor.
CreateBatchImportJobResponse' | |
|
Instances
newCreateBatchImportJobResponse Source #
Create a value of CreateBatchImportJobResponse
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:httpStatus:CreateBatchImportJobResponse'
, createBatchImportJobResponse_httpStatus
- The response's http status code.
Response Lenses
createBatchImportJobResponse_httpStatus :: Lens' CreateBatchImportJobResponse Int Source #
The response's http status code.