#[non_exhaustive]pub struct StartImportTaskInput {
pub client_request_token: Option<String>,
pub name: Option<String>,
pub import_url: 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.client_request_token: Option<String>Optional. A unique token that you can provide to prevent the same import request from occurring more than once. If you don't provide a token, a token is automatically generated.
Sending more than one StartImportTask request with the same client request token will return information about the original import task with that client request token.
name: Option<String>A descriptive name for this request. You can use this name to filter future requests related to this import task, such as identifying applications and servers that were included in this import task. We recommend that you use a meaningful name for each import task.
import_url: Option<String>The URL for your import file that you've uploaded to Amazon S3.
If you're using the AWS CLI, this URL is structured as follows: s3://BucketName/ImportFileName.CSV
Implementations
sourceimpl StartImportTaskInput
impl StartImportTaskInput
sourcepub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<StartImportTask, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<StartImportTask, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<StartImportTask>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture StartImportTaskInput
sourceimpl StartImportTaskInput
impl StartImportTaskInput
sourcepub fn client_request_token(&self) -> Option<&str>
pub fn client_request_token(&self) -> Option<&str>
Optional. A unique token that you can provide to prevent the same import request from occurring more than once. If you don't provide a token, a token is automatically generated.
Sending more than one StartImportTask request with the same client request token will return information about the original import task with that client request token.
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
A descriptive name for this request. You can use this name to filter future requests related to this import task, such as identifying applications and servers that were included in this import task. We recommend that you use a meaningful name for each import task.
sourcepub fn import_url(&self) -> Option<&str>
pub fn import_url(&self) -> Option<&str>
The URL for your import file that you've uploaded to Amazon S3.
If you're using the AWS CLI, this URL is structured as follows: s3://BucketName/ImportFileName.CSV
Trait Implementations
sourceimpl Clone for StartImportTaskInput
impl Clone for StartImportTaskInput
sourcefn clone(&self) -> StartImportTaskInput
fn clone(&self) -> StartImportTaskInput
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 StartImportTaskInput
impl Debug for StartImportTaskInput
sourceimpl PartialEq<StartImportTaskInput> for StartImportTaskInput
impl PartialEq<StartImportTaskInput> for StartImportTaskInput
sourcefn eq(&self, other: &StartImportTaskInput) -> bool
fn eq(&self, other: &StartImportTaskInput) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &StartImportTaskInput) -> bool
fn ne(&self, other: &StartImportTaskInput) -> bool
This method tests for !=.
impl StructuralPartialEq for StartImportTaskInput
Auto Trait Implementations
impl RefUnwindSafe for StartImportTaskInput
impl Send for StartImportTaskInput
impl Sync for StartImportTaskInput
impl Unpin for StartImportTaskInput
impl UnwindSafe for StartImportTaskInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub 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