[][src]Struct rusoto_sms::ServerMigrationServiceClient

pub struct ServerMigrationServiceClient { /* fields omitted */ }

A client for the SMS API.

Methods

impl ServerMigrationServiceClient[src]

pub fn new(region: Region) -> ServerMigrationServiceClient[src]

Creates a client backed by the default tokio event loop.

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

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, 
[src]

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

Trait Implementations

impl Clone for ServerMigrationServiceClient[src]

impl ServerMigrationService for ServerMigrationServiceClient[src]

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

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

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

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).

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

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

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
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Deletes existing launch configuration for an application.

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
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Deletes existing replication configuration for an application.

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

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.

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

Deletes all servers from your server catalog.

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

Disassociates the specified connector from AWS SMS.

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

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

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.

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

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.

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

Retrieve information about an application.

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
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Retrieves the application launch configuration associated with an application.

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
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Retrieves an application replication configuration associatd with an application.

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

Describes the connectors registered with the AWS SMS.

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

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

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

Describes the replication runs for the specified replication job.

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

Describes the servers in your server catalog.

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

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

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.

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

Launches an application stack.

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

Returns a list of summaries for all applications.

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
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Creates a launch configuration for an application.

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
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Creates or updates a replication configuration for an application.

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

Starts replicating an application.

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
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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.

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

Stops replicating an application.

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

Terminates the stack for an application.

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

Updates an application.

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

Updates the specified settings for the specified replication job.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.