aws_sdk_appintegrations/client/
create_data_integration.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateDataIntegration`](crate::operation::create_data_integration::builders::CreateDataIntegrationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`name(impl Into<String>)`](crate::operation::create_data_integration::builders::CreateDataIntegrationFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_data_integration::builders::CreateDataIntegrationFluentBuilder::set_name):<br>required: **true**<br><p>The name of the DataIntegration.</p><br>
    ///   - [`description(impl Into<String>)`](crate::operation::create_data_integration::builders::CreateDataIntegrationFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::create_data_integration::builders::CreateDataIntegrationFluentBuilder::set_description):<br>required: **false**<br><p>A description of the DataIntegration.</p><br>
    ///   - [`kms_key(impl Into<String>)`](crate::operation::create_data_integration::builders::CreateDataIntegrationFluentBuilder::kms_key) / [`set_kms_key(Option<String>)`](crate::operation::create_data_integration::builders::CreateDataIntegrationFluentBuilder::set_kms_key):<br>required: **true**<br><p>The KMS key ARN for the DataIntegration.</p><br>
    ///   - [`source_uri(impl Into<String>)`](crate::operation::create_data_integration::builders::CreateDataIntegrationFluentBuilder::source_uri) / [`set_source_uri(Option<String>)`](crate::operation::create_data_integration::builders::CreateDataIntegrationFluentBuilder::set_source_uri):<br>required: **false**<br><p>The URI of the data source.</p><br>
    ///   - [`schedule_config(ScheduleConfiguration)`](crate::operation::create_data_integration::builders::CreateDataIntegrationFluentBuilder::schedule_config) / [`set_schedule_config(Option<ScheduleConfiguration>)`](crate::operation::create_data_integration::builders::CreateDataIntegrationFluentBuilder::set_schedule_config):<br>required: **false**<br><p>The name of the data and how often it should be pulled from the source.</p><br>
    ///   - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_data_integration::builders::CreateDataIntegrationFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::create_data_integration::builders::CreateDataIntegrationFluentBuilder::set_tags):<br>required: **false**<br><p>The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.</p><br>
    ///   - [`client_token(impl Into<String>)`](crate::operation::create_data_integration::builders::CreateDataIntegrationFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::create_data_integration::builders::CreateDataIntegrationFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see <a href="https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/">Making retries safe with idempotent APIs</a>.</p><br>
    ///   - [`file_configuration(FileConfiguration)`](crate::operation::create_data_integration::builders::CreateDataIntegrationFluentBuilder::file_configuration) / [`set_file_configuration(Option<FileConfiguration>)`](crate::operation::create_data_integration::builders::CreateDataIntegrationFluentBuilder::set_file_configuration):<br>required: **false**<br><p>The configuration for what files should be pulled from the source.</p><br>
    ///   - [`object_configuration(impl Into<String>, HashMap::<String, Vec::<String>>)`](crate::operation::create_data_integration::builders::CreateDataIntegrationFluentBuilder::object_configuration) / [`set_object_configuration(Option<HashMap::<String, HashMap::<String, Vec::<String>>>>)`](crate::operation::create_data_integration::builders::CreateDataIntegrationFluentBuilder::set_object_configuration):<br>required: **false**<br><p>The configuration for what data should be pulled from the source.</p><br>
    /// - On success, responds with [`CreateDataIntegrationOutput`](crate::operation::create_data_integration::CreateDataIntegrationOutput) with field(s):
    ///   - [`arn(Option<String>)`](crate::operation::create_data_integration::CreateDataIntegrationOutput::arn): <p>The Amazon Resource Name (ARN)</p>
    ///   - [`id(Option<String>)`](crate::operation::create_data_integration::CreateDataIntegrationOutput::id): <p>A unique identifier.</p>
    ///   - [`name(Option<String>)`](crate::operation::create_data_integration::CreateDataIntegrationOutput::name): <p>The name of the DataIntegration.</p>
    ///   - [`description(Option<String>)`](crate::operation::create_data_integration::CreateDataIntegrationOutput::description): <p>A description of the DataIntegration.</p>
    ///   - [`kms_key(Option<String>)`](crate::operation::create_data_integration::CreateDataIntegrationOutput::kms_key): <p>The KMS key ARN for the DataIntegration.</p>
    ///   - [`source_uri(Option<String>)`](crate::operation::create_data_integration::CreateDataIntegrationOutput::source_uri): <p>The URI of the data source.</p>
    ///   - [`schedule_configuration(Option<ScheduleConfiguration>)`](crate::operation::create_data_integration::CreateDataIntegrationOutput::schedule_configuration): <p>The name of the data and how often it should be pulled from the source.</p>
    ///   - [`tags(Option<HashMap::<String, String>>)`](crate::operation::create_data_integration::CreateDataIntegrationOutput::tags): <p>The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.</p>
    ///   - [`client_token(Option<String>)`](crate::operation::create_data_integration::CreateDataIntegrationOutput::client_token): <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see <a href="https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/">Making retries safe with idempotent APIs</a>.</p>
    ///   - [`file_configuration(Option<FileConfiguration>)`](crate::operation::create_data_integration::CreateDataIntegrationOutput::file_configuration): <p>The configuration for what files should be pulled from the source.</p>
    ///   - [`object_configuration(Option<HashMap::<String, HashMap::<String, Vec::<String>>>>)`](crate::operation::create_data_integration::CreateDataIntegrationOutput::object_configuration): <p>The configuration for what data should be pulled from the source.</p>
    /// - On failure, responds with [`SdkError<CreateDataIntegrationError>`](crate::operation::create_data_integration::CreateDataIntegrationError)
    pub fn create_data_integration(&self) -> crate::operation::create_data_integration::builders::CreateDataIntegrationFluentBuilder {
        crate::operation::create_data_integration::builders::CreateDataIntegrationFluentBuilder::new(self.handle.clone())
    }
}