pub struct ServerMigrationServiceClient { /* private fields */ }Expand description
A client for the SMS API.
Implementations§
Source§impl ServerMigrationServiceClient
impl ServerMigrationServiceClient
Sourcepub fn new(region: Region) -> ServerMigrationServiceClient
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.
pub fn new_with<P, D>(
request_dispatcher: D,
credentials_provider: P,
region: Region,
) -> ServerMigrationServiceClientwhere
P: ProvideAwsCredentials + Send + Sync + 'static,
D: DispatchSignedRequest + Send + Sync + 'static,
pub fn new_with_client( client: Client, region: Region, ) -> ServerMigrationServiceClient
Trait Implementations§
Source§impl Clone for ServerMigrationServiceClient
impl Clone for ServerMigrationServiceClient
Source§fn clone(&self) -> ServerMigrationServiceClient
fn clone(&self) -> ServerMigrationServiceClient
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl ServerMigrationService for ServerMigrationServiceClient
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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.