ServerMigrationServiceClient

Struct ServerMigrationServiceClient 

Source
pub struct ServerMigrationServiceClient { /* private fields */ }
Expand description

A client for the SMS API.

Implementations§

Source§

impl ServerMigrationServiceClient

Source

pub fn new(region: Region) -> ServerMigrationServiceClient

Creates a client backed by the default tokio event loop.

The client will use the default credentials provider and tls client.

Source

pub fn new_with<P, D>( request_dispatcher: D, credentials_provider: P, region: Region, ) -> ServerMigrationServiceClient
where P: ProvideAwsCredentials + Send + Sync + 'static, D: DispatchSignedRequest + Send + Sync + 'static,

Source

pub fn new_with_client( client: Client, region: Region, ) -> ServerMigrationServiceClient

Trait Implementations§

Source§

impl Clone for ServerMigrationServiceClient

Source§

fn clone(&self) -> ServerMigrationServiceClient

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl ServerMigrationService for ServerMigrationServiceClient

Source§

fn create_app<'life0, 'async_trait>( &'life0 self, input: CreateAppRequest, ) -> Pin<Box<dyn Future<Output = Result<CreateAppResponse, RusotoError<CreateAppError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Creates an application. An application consists of one or more server groups. Each server group contain one or more servers.

Source§

fn create_replication_job<'life0, 'async_trait>( &'life0 self, input: CreateReplicationJobRequest, ) -> Pin<Box<dyn Future<Output = Result<CreateReplicationJobResponse, RusotoError<CreateReplicationJobError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Creates a replication job. The replication job schedules periodic replication runs to replicate your server to AWS. Each replication run creates an Amazon Machine Image (AMI).

Source§

fn delete_app<'life0, 'async_trait>( &'life0 self, input: DeleteAppRequest, ) -> Pin<Box<dyn Future<Output = Result<DeleteAppResponse, RusotoError<DeleteAppError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Deletes an existing application. Optionally deletes the launched stack associated with the application and all AWS SMS replication jobs for servers in the application.

Source§

fn delete_app_launch_configuration<'life0, 'async_trait>( &'life0 self, input: DeleteAppLaunchConfigurationRequest, ) -> Pin<Box<dyn Future<Output = Result<DeleteAppLaunchConfigurationResponse, RusotoError<DeleteAppLaunchConfigurationError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Deletes existing launch configuration for an application.

Source§

fn delete_app_replication_configuration<'life0, 'async_trait>( &'life0 self, input: DeleteAppReplicationConfigurationRequest, ) -> Pin<Box<dyn Future<Output = Result<DeleteAppReplicationConfigurationResponse, RusotoError<DeleteAppReplicationConfigurationError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Deletes existing replication configuration for an application.

Source§

fn delete_replication_job<'life0, 'async_trait>( &'life0 self, input: DeleteReplicationJobRequest, ) -> Pin<Box<dyn Future<Output = Result<DeleteReplicationJobResponse, RusotoError<DeleteReplicationJobError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Deletes the specified replication job.

After you delete a replication job, there are no further replication runs. AWS deletes the contents of the Amazon S3 bucket used to store AWS SMS artifacts. The AMIs created by the replication runs are not deleted.

Source§

fn delete_server_catalog<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<DeleteServerCatalogResponse, RusotoError<DeleteServerCatalogError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Deletes all servers from your server catalog.

Source§

fn disassociate_connector<'life0, 'async_trait>( &'life0 self, input: DisassociateConnectorRequest, ) -> Pin<Box<dyn Future<Output = Result<DisassociateConnectorResponse, RusotoError<DisassociateConnectorError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Disassociates the specified connector from AWS SMS.

After you disassociate a connector, it is no longer available to support replication jobs.

Source§

fn generate_change_set<'life0, 'async_trait>( &'life0 self, input: GenerateChangeSetRequest, ) -> Pin<Box<dyn Future<Output = Result<GenerateChangeSetResponse, RusotoError<GenerateChangeSetError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Generates a target change set for a currently launched stack and writes it to an Amazon S3 object in the customer’s Amazon S3 bucket.

Source§

fn generate_template<'life0, 'async_trait>( &'life0 self, input: GenerateTemplateRequest, ) -> Pin<Box<dyn Future<Output = Result<GenerateTemplateResponse, RusotoError<GenerateTemplateError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Generates an Amazon CloudFormation template based on the current launch configuration and writes it to an Amazon S3 object in the customer’s Amazon S3 bucket.

Source§

fn get_app<'life0, 'async_trait>( &'life0 self, input: GetAppRequest, ) -> Pin<Box<dyn Future<Output = Result<GetAppResponse, RusotoError<GetAppError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Retrieve information about an application.

Source§

fn get_app_launch_configuration<'life0, 'async_trait>( &'life0 self, input: GetAppLaunchConfigurationRequest, ) -> Pin<Box<dyn Future<Output = Result<GetAppLaunchConfigurationResponse, RusotoError<GetAppLaunchConfigurationError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Retrieves the application launch configuration associated with an application.

Source§

fn get_app_replication_configuration<'life0, 'async_trait>( &'life0 self, input: GetAppReplicationConfigurationRequest, ) -> Pin<Box<dyn Future<Output = Result<GetAppReplicationConfigurationResponse, RusotoError<GetAppReplicationConfigurationError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Retrieves an application replication configuration associatd with an application.

Source§

fn get_connectors<'life0, 'async_trait>( &'life0 self, input: GetConnectorsRequest, ) -> Pin<Box<dyn Future<Output = Result<GetConnectorsResponse, RusotoError<GetConnectorsError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Describes the connectors registered with the AWS SMS.

Source§

fn get_replication_jobs<'life0, 'async_trait>( &'life0 self, input: GetReplicationJobsRequest, ) -> Pin<Box<dyn Future<Output = Result<GetReplicationJobsResponse, RusotoError<GetReplicationJobsError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Describes the specified replication job or all of your replication jobs.

Source§

fn get_replication_runs<'life0, 'async_trait>( &'life0 self, input: GetReplicationRunsRequest, ) -> Pin<Box<dyn Future<Output = Result<GetReplicationRunsResponse, RusotoError<GetReplicationRunsError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Describes the replication runs for the specified replication job.

Source§

fn get_servers<'life0, 'async_trait>( &'life0 self, input: GetServersRequest, ) -> Pin<Box<dyn Future<Output = Result<GetServersResponse, RusotoError<GetServersError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Describes the servers in your server catalog.

Before you can describe your servers, you must import them using ImportServerCatalog.

Source§

fn import_server_catalog<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<ImportServerCatalogResponse, RusotoError<ImportServerCatalogError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Gathers a complete list of on-premises servers. Connectors must be installed and monitoring all servers that you want to import.

This call returns immediately, but might take additional time to retrieve all the servers.

Source§

fn launch_app<'life0, 'async_trait>( &'life0 self, input: LaunchAppRequest, ) -> Pin<Box<dyn Future<Output = Result<LaunchAppResponse, RusotoError<LaunchAppError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Launches an application stack.

Source§

fn list_apps<'life0, 'async_trait>( &'life0 self, input: ListAppsRequest, ) -> Pin<Box<dyn Future<Output = Result<ListAppsResponse, RusotoError<ListAppsError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Returns a list of summaries for all applications.

Source§

fn put_app_launch_configuration<'life0, 'async_trait>( &'life0 self, input: PutAppLaunchConfigurationRequest, ) -> Pin<Box<dyn Future<Output = Result<PutAppLaunchConfigurationResponse, RusotoError<PutAppLaunchConfigurationError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Creates a launch configuration for an application.

Source§

fn put_app_replication_configuration<'life0, 'async_trait>( &'life0 self, input: PutAppReplicationConfigurationRequest, ) -> Pin<Box<dyn Future<Output = Result<PutAppReplicationConfigurationResponse, RusotoError<PutAppReplicationConfigurationError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Creates or updates a replication configuration for an application.

Source§

fn start_app_replication<'life0, 'async_trait>( &'life0 self, input: StartAppReplicationRequest, ) -> Pin<Box<dyn Future<Output = Result<StartAppReplicationResponse, RusotoError<StartAppReplicationError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Starts replicating an application.

Source§

fn start_on_demand_replication_run<'life0, 'async_trait>( &'life0 self, input: StartOnDemandReplicationRunRequest, ) -> Pin<Box<dyn Future<Output = Result<StartOnDemandReplicationRunResponse, RusotoError<StartOnDemandReplicationRunError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Starts an on-demand replication run for the specified replication job. This replication run starts immediately. This replication run is in addition to the ones already scheduled.

There is a limit on the number of on-demand replications runs you can request in a 24-hour period.

Source§

fn stop_app_replication<'life0, 'async_trait>( &'life0 self, input: StopAppReplicationRequest, ) -> Pin<Box<dyn Future<Output = Result<StopAppReplicationResponse, RusotoError<StopAppReplicationError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Stops replicating an application.

Source§

fn terminate_app<'life0, 'async_trait>( &'life0 self, input: TerminateAppRequest, ) -> Pin<Box<dyn Future<Output = Result<TerminateAppResponse, RusotoError<TerminateAppError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Terminates the stack for an application.

Source§

fn update_app<'life0, 'async_trait>( &'life0 self, input: UpdateAppRequest, ) -> Pin<Box<dyn Future<Output = Result<UpdateAppResponse, RusotoError<UpdateAppError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Updates an application.

Source§

fn update_replication_job<'life0, 'async_trait>( &'life0 self, input: UpdateReplicationJobRequest, ) -> Pin<Box<dyn Future<Output = Result<UpdateReplicationJobResponse, RusotoError<UpdateReplicationJobError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Updates the specified settings for the specified replication job.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

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
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more