#[non_exhaustive]pub struct StartImportFileTaskInput {
pub name: Option<String>,
pub s3_bucket: Option<String>,
pub s3key: Option<String>,
pub data_source_type: Option<DataSourceType>,
pub group_id: Option<Vec<Group>>,
pub s3bucket_for_report_data: Option<String>,
}Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: Option<String>A descriptive name for the request.
s3_bucket: Option<String> The S3 bucket where the import file is located. The bucket name is required to begin with migrationhub-strategy-.
s3key: Option<String>The Amazon S3 key name of the import file.
data_source_type: Option<DataSourceType>Specifies the source that the servers are coming from. By default, Strategy Recommendations assumes that the servers specified in the import file are available in AWS Application Discovery Service.
group_id: Option<Vec<Group>>Groups the resources in the import file together with a unique name. This ID can be as filter in ListApplicationComponents and ListServers.
s3bucket_for_report_data: Option<String>The S3 bucket where Strategy Recommendations uploads import results. The bucket name is required to begin with migrationhub-strategy-.
Implementations
sourceimpl StartImportFileTaskInput
impl StartImportFileTaskInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<StartImportFileTask, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<StartImportFileTask, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<StartImportFileTask>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture StartImportFileTaskInput
sourceimpl StartImportFileTaskInput
impl StartImportFileTaskInput
sourcepub fn s3_bucket(&self) -> Option<&str>
pub fn s3_bucket(&self) -> Option<&str>
The S3 bucket where the import file is located. The bucket name is required to begin with migrationhub-strategy-.
sourcepub fn data_source_type(&self) -> Option<&DataSourceType>
pub fn data_source_type(&self) -> Option<&DataSourceType>
Specifies the source that the servers are coming from. By default, Strategy Recommendations assumes that the servers specified in the import file are available in AWS Application Discovery Service.
sourcepub fn group_id(&self) -> Option<&[Group]>
pub fn group_id(&self) -> Option<&[Group]>
Groups the resources in the import file together with a unique name. This ID can be as filter in ListApplicationComponents and ListServers.
sourcepub fn s3bucket_for_report_data(&self) -> Option<&str>
pub fn s3bucket_for_report_data(&self) -> Option<&str>
The S3 bucket where Strategy Recommendations uploads import results. The bucket name is required to begin with migrationhub-strategy-.
Trait Implementations
sourceimpl Clone for StartImportFileTaskInput
impl Clone for StartImportFileTaskInput
sourcefn clone(&self) -> StartImportFileTaskInput
fn clone(&self) -> StartImportFileTaskInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for StartImportFileTaskInput
impl Debug for StartImportFileTaskInput
sourceimpl PartialEq<StartImportFileTaskInput> for StartImportFileTaskInput
impl PartialEq<StartImportFileTaskInput> for StartImportFileTaskInput
sourcefn eq(&self, other: &StartImportFileTaskInput) -> bool
fn eq(&self, other: &StartImportFileTaskInput) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &StartImportFileTaskInput) -> bool
fn ne(&self, other: &StartImportFileTaskInput) -> bool
This method tests for !=.
impl StructuralPartialEq for StartImportFileTaskInput
Auto Trait Implementations
impl RefUnwindSafe for StartImportFileTaskInput
impl Send for StartImportFileTaskInput
impl Sync for StartImportFileTaskInput
impl Unpin for StartImportFileTaskInput
impl UnwindSafe for StartImportFileTaskInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more