aws-sdk-opensearch 1.138.0

AWS SDK for Amazon OpenSearch Service
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetMigration`](crate::operation::get_migration::builders::GetMigrationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`migration_id(impl Into<String>)`](crate::operation::get_migration::builders::GetMigrationFluentBuilder::migration_id) / [`set_migration_id(Option<String>)`](crate::operation::get_migration::builders::GetMigrationFluentBuilder::set_migration_id):<br>required: **true**<br><p>The unique identifier of the migration job to retrieve.</p><br>
    /// - On success, responds with [`GetMigrationOutput`](crate::operation::get_migration::GetMigrationOutput) with field(s):
    ///   - [`migration_id(Option<String>)`](crate::operation::get_migration::GetMigrationOutput::migration_id): <p>The unique identifier of the migration job.</p>
    ///   - [`status(Option<String>)`](crate::operation::get_migration::GetMigrationOutput::status): <p>The current status of the migration job. Valid values are <code>PENDING</code>, <code>IN_PROGRESS</code>, <code>SUCCEEDED</code>, and <code>FAILED</code>.</p>
    ///   - [`application_id(Option<String>)`](crate::operation::get_migration::GetMigrationOutput::application_id): <p>The unique identifier of the OpenSearch application associated with the migration.</p>
    ///   - [`source(Option<MigrationSource>)`](crate::operation::get_migration::GetMigrationOutput::source): <p>The source configuration for the migration, including the data source ARN.</p>
    ///   - [`exported_count(i32)`](crate::operation::get_migration::GetMigrationOutput::exported_count): <p>The number of saved objects exported from the source data source.</p>
    ///   - [`imported_count(i32)`](crate::operation::get_migration::GetMigrationOutput::imported_count): <p>The number of saved objects successfully imported into the target workspace.</p>
    ///   - [`error(Option<MigrationError>)`](crate::operation::get_migration::GetMigrationOutput::error): <p>Error details if the migration failed or completed with errors.</p>
    ///   - [`created_at(Option<DateTime>)`](crate::operation::get_migration::GetMigrationOutput::created_at): <p>The date and time when the migration job was created.</p>
    ///   - [`updated_at(Option<DateTime>)`](crate::operation::get_migration::GetMigrationOutput::updated_at): <p>The date and time when the migration job was last updated.</p>
    /// - On failure, responds with [`SdkError<GetMigrationError>`](crate::operation::get_migration::GetMigrationError)
    pub fn get_migration(&self) -> crate::operation::get_migration::builders::GetMigrationFluentBuilder {
        crate::operation::get_migration::builders::GetMigrationFluentBuilder::new(self.handle.clone())
    }
}