Skip to main content

aws_sdk_mgn/client/
start_import_file_enrichment.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 [`StartImportFileEnrichment`](crate::operation::start_import_file_enrichment::builders::StartImportFileEnrichmentFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`client_token(impl Into<String>)`](crate::operation::start_import_file_enrichment::builders::StartImportFileEnrichmentFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::start_import_file_enrichment::builders::StartImportFileEnrichmentFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p><br>
7    ///   - [`s3_bucket_source(EnrichmentSourceS3Configuration)`](crate::operation::start_import_file_enrichment::builders::StartImportFileEnrichmentFluentBuilder::s3_bucket_source) / [`set_s3_bucket_source(Option<EnrichmentSourceS3Configuration>)`](crate::operation::start_import_file_enrichment::builders::StartImportFileEnrichmentFluentBuilder::set_s3_bucket_source):<br>required: **true**<br><p>The S3 configuration specifying the source location of the import file to be enriched.</p><br>
8    ///   - [`s3_bucket_target(EnrichmentTargetS3Configuration)`](crate::operation::start_import_file_enrichment::builders::StartImportFileEnrichmentFluentBuilder::s3_bucket_target) / [`set_s3_bucket_target(Option<EnrichmentTargetS3Configuration>)`](crate::operation::start_import_file_enrichment::builders::StartImportFileEnrichmentFluentBuilder::set_s3_bucket_target):<br>required: **true**<br><p>The S3 configuration specifying the target location where the enriched import file will be stored.</p><br>
9    ///   - [`ip_assignment_strategy(IpAssignmentStrategy)`](crate::operation::start_import_file_enrichment::builders::StartImportFileEnrichmentFluentBuilder::ip_assignment_strategy) / [`set_ip_assignment_strategy(Option<IpAssignmentStrategy>)`](crate::operation::start_import_file_enrichment::builders::StartImportFileEnrichmentFluentBuilder::set_ip_assignment_strategy):<br>required: **false**<br><p>The IP assignment strategy to use when enriching the import file. Can be STATIC or DYNAMIC.</p><br>
10    /// - On success, responds with [`StartImportFileEnrichmentOutput`](crate::operation::start_import_file_enrichment::StartImportFileEnrichmentOutput) with field(s):
11    ///   - [`job_id(Option<String>)`](crate::operation::start_import_file_enrichment::StartImportFileEnrichmentOutput::job_id): <p>The unique identifier of the import file enrichment job that was started.</p>
12    /// - On failure, responds with [`SdkError<StartImportFileEnrichmentError>`](crate::operation::start_import_file_enrichment::StartImportFileEnrichmentError)
13    pub fn start_import_file_enrichment(&self) -> crate::operation::start_import_file_enrichment::builders::StartImportFileEnrichmentFluentBuilder {
14        crate::operation::start_import_file_enrichment::builders::StartImportFileEnrichmentFluentBuilder::new(self.handle.clone())
15    }
16}