aws_sdk_frauddetector/client/create_batch_import_job.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`CreateBatchImportJob`](crate::operation::create_batch_import_job::builders::CreateBatchImportJobFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`job_id(impl Into<String>)`](crate::operation::create_batch_import_job::builders::CreateBatchImportJobFluentBuilder::job_id) / [`set_job_id(Option<String>)`](crate::operation::create_batch_import_job::builders::CreateBatchImportJobFluentBuilder::set_job_id):<br>required: **true**<br><p>The ID of the batch import job. The ID cannot be of a past job, unless the job exists in <code>CREATE_FAILED</code> state.</p><br>
7 /// - [`input_path(impl Into<String>)`](crate::operation::create_batch_import_job::builders::CreateBatchImportJobFluentBuilder::input_path) / [`set_input_path(Option<String>)`](crate::operation::create_batch_import_job::builders::CreateBatchImportJobFluentBuilder::set_input_path):<br>required: **true**<br><p>The URI that points to the Amazon S3 location of your data file.</p><br>
8 /// - [`output_path(impl Into<String>)`](crate::operation::create_batch_import_job::builders::CreateBatchImportJobFluentBuilder::output_path) / [`set_output_path(Option<String>)`](crate::operation::create_batch_import_job::builders::CreateBatchImportJobFluentBuilder::set_output_path):<br>required: **true**<br><p>The URI that points to the Amazon S3 location for storing your results.</p><br>
9 /// - [`event_type_name(impl Into<String>)`](crate::operation::create_batch_import_job::builders::CreateBatchImportJobFluentBuilder::event_type_name) / [`set_event_type_name(Option<String>)`](crate::operation::create_batch_import_job::builders::CreateBatchImportJobFluentBuilder::set_event_type_name):<br>required: **true**<br><p>The name of the event type.</p><br>
10 /// - [`iam_role_arn(impl Into<String>)`](crate::operation::create_batch_import_job::builders::CreateBatchImportJobFluentBuilder::iam_role_arn) / [`set_iam_role_arn(Option<String>)`](crate::operation::create_batch_import_job::builders::CreateBatchImportJobFluentBuilder::set_iam_role_arn):<br>required: **true**<br><p>The ARN of the IAM role created for Amazon S3 bucket that holds your data file.</p> <p>The IAM role must have read permissions to your input S3 bucket and write permissions to your output S3 bucket. For more information about bucket permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/example-policies-s3.html">User policy examples</a> in the <i>Amazon S3 User Guide</i>.</p><br>
11 /// - [`tags(Tag)`](crate::operation::create_batch_import_job::builders::CreateBatchImportJobFluentBuilder::tags) / [`set_tags(Option<Vec::<Tag>>)`](crate::operation::create_batch_import_job::builders::CreateBatchImportJobFluentBuilder::set_tags):<br>required: **false**<br><p>A collection of key-value pairs associated with this request.</p><br>
12 /// - On success, responds with [`CreateBatchImportJobOutput`](crate::operation::create_batch_import_job::CreateBatchImportJobOutput)
13 /// - On failure, responds with [`SdkError<CreateBatchImportJobError>`](crate::operation::create_batch_import_job::CreateBatchImportJobError)
14 pub fn create_batch_import_job(&self) -> crate::operation::create_batch_import_job::builders::CreateBatchImportJobFluentBuilder {
15 crate::operation::create_batch_import_job::builders::CreateBatchImportJobFluentBuilder::new(self.handle.clone())
16 }
17}