DataMigrationService

Trait DataMigrationService 

Source
pub trait DataMigrationService:
    Debug
    + Send
    + Sync {
Show 52 methods // Provided methods fn list_migration_jobs( &self, _req: ListMigrationJobsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListMigrationJobsResponse>>> + Send { ... } fn get_migration_job( &self, _req: GetMigrationJobRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<MigrationJob>>> + Send { ... } fn create_migration_job( &self, _req: CreateMigrationJobRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send { ... } fn update_migration_job( &self, _req: UpdateMigrationJobRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send { ... } fn delete_migration_job( &self, _req: DeleteMigrationJobRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send { ... } fn start_migration_job( &self, _req: StartMigrationJobRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send { ... } fn stop_migration_job( &self, _req: StopMigrationJobRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send { ... } fn resume_migration_job( &self, _req: ResumeMigrationJobRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send { ... } fn promote_migration_job( &self, _req: PromoteMigrationJobRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send { ... } fn verify_migration_job( &self, _req: VerifyMigrationJobRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send { ... } fn restart_migration_job( &self, _req: RestartMigrationJobRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send { ... } fn generate_ssh_script( &self, _req: GenerateSshScriptRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<SshScript>>> + Send { ... } fn generate_tcp_proxy_script( &self, _req: GenerateTcpProxyScriptRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<TcpProxyScript>>> + Send { ... } fn list_connection_profiles( &self, _req: ListConnectionProfilesRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListConnectionProfilesResponse>>> + Send { ... } fn get_connection_profile( &self, _req: GetConnectionProfileRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ConnectionProfile>>> + Send { ... } fn create_connection_profile( &self, _req: CreateConnectionProfileRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send { ... } fn update_connection_profile( &self, _req: UpdateConnectionProfileRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send { ... } fn delete_connection_profile( &self, _req: DeleteConnectionProfileRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send { ... } fn create_private_connection( &self, _req: CreatePrivateConnectionRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send { ... } fn get_private_connection( &self, _req: GetPrivateConnectionRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<PrivateConnection>>> + Send { ... } fn list_private_connections( &self, _req: ListPrivateConnectionsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListPrivateConnectionsResponse>>> + Send { ... } fn delete_private_connection( &self, _req: DeletePrivateConnectionRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send { ... } fn get_conversion_workspace( &self, _req: GetConversionWorkspaceRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ConversionWorkspace>>> + Send { ... } fn list_conversion_workspaces( &self, _req: ListConversionWorkspacesRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListConversionWorkspacesResponse>>> + Send { ... } fn create_conversion_workspace( &self, _req: CreateConversionWorkspaceRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send { ... } fn update_conversion_workspace( &self, _req: UpdateConversionWorkspaceRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send { ... } fn delete_conversion_workspace( &self, _req: DeleteConversionWorkspaceRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send { ... } fn create_mapping_rule( &self, _req: CreateMappingRuleRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<MappingRule>>> + Send { ... } fn delete_mapping_rule( &self, _req: DeleteMappingRuleRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<()>>> + Send { ... } fn list_mapping_rules( &self, _req: ListMappingRulesRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListMappingRulesResponse>>> + Send { ... } fn get_mapping_rule( &self, _req: GetMappingRuleRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<MappingRule>>> + Send { ... } fn seed_conversion_workspace( &self, _req: SeedConversionWorkspaceRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send { ... } fn import_mapping_rules( &self, _req: ImportMappingRulesRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send { ... } fn convert_conversion_workspace( &self, _req: ConvertConversionWorkspaceRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send { ... } fn commit_conversion_workspace( &self, _req: CommitConversionWorkspaceRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send { ... } fn rollback_conversion_workspace( &self, _req: RollbackConversionWorkspaceRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send { ... } fn apply_conversion_workspace( &self, _req: ApplyConversionWorkspaceRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send { ... } fn describe_database_entities( &self, _req: DescribeDatabaseEntitiesRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<DescribeDatabaseEntitiesResponse>>> + Send { ... } fn search_background_jobs( &self, _req: SearchBackgroundJobsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<SearchBackgroundJobsResponse>>> + Send { ... } fn describe_conversion_workspace_revisions( &self, _req: DescribeConversionWorkspaceRevisionsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<DescribeConversionWorkspaceRevisionsResponse>>> + Send { ... } fn fetch_static_ips( &self, _req: FetchStaticIpsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<FetchStaticIpsResponse>>> + Send { ... } fn list_locations( &self, _req: ListLocationsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListLocationsResponse>>> + Send { ... } fn get_location( &self, _req: GetLocationRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Location>>> + Send { ... } fn set_iam_policy( &self, _req: SetIamPolicyRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Policy>>> + Send { ... } fn get_iam_policy( &self, _req: GetIamPolicyRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Policy>>> + Send { ... } fn test_iam_permissions( &self, _req: TestIamPermissionsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<TestIamPermissionsResponse>>> + Send { ... } fn list_operations( &self, _req: ListOperationsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListOperationsResponse>>> + Send { ... } fn get_operation( &self, _req: GetOperationRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send { ... } fn delete_operation( &self, _req: DeleteOperationRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<()>>> + Send { ... } fn cancel_operation( &self, _req: CancelOperationRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<()>>> + Send { ... } fn get_polling_error_policy( &self, _options: &RequestOptions, ) -> Arc<dyn PollingErrorPolicy> { ... } fn get_polling_backoff_policy( &self, _options: &RequestOptions, ) -> Arc<dyn PollingBackoffPolicy> { ... }
}
Expand description

Defines the trait used to implement super::client::DataMigrationService.

Application developers may need to implement this trait to mock client::DataMigrationService. In other use-cases, application developers only use client::DataMigrationService and need not be concerned with this trait or its implementations.

Services gain new RPCs routinely. Consequently, this trait gains new methods too. To avoid breaking applications the trait provides a default implementation of each method. Most of these implementations just return an error.

Provided Methods§

Source

fn list_migration_jobs( &self, _req: ListMigrationJobsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListMigrationJobsResponse>>> + Send

Source

fn get_migration_job( &self, _req: GetMigrationJobRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<MigrationJob>>> + Send

Source

fn create_migration_job( &self, _req: CreateMigrationJobRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send

Source

fn update_migration_job( &self, _req: UpdateMigrationJobRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send

Source

fn delete_migration_job( &self, _req: DeleteMigrationJobRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send

Source

fn start_migration_job( &self, _req: StartMigrationJobRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send

Source

fn stop_migration_job( &self, _req: StopMigrationJobRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send

Source

fn resume_migration_job( &self, _req: ResumeMigrationJobRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send

Source

fn promote_migration_job( &self, _req: PromoteMigrationJobRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send

Source

fn verify_migration_job( &self, _req: VerifyMigrationJobRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send

Source

fn restart_migration_job( &self, _req: RestartMigrationJobRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send

Source

fn generate_ssh_script( &self, _req: GenerateSshScriptRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<SshScript>>> + Send

Source

fn generate_tcp_proxy_script( &self, _req: GenerateTcpProxyScriptRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<TcpProxyScript>>> + Send

Source

fn list_connection_profiles( &self, _req: ListConnectionProfilesRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListConnectionProfilesResponse>>> + Send

Source

fn get_connection_profile( &self, _req: GetConnectionProfileRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ConnectionProfile>>> + Send

Source

fn create_connection_profile( &self, _req: CreateConnectionProfileRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send

Source

fn update_connection_profile( &self, _req: UpdateConnectionProfileRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send

Source

fn delete_connection_profile( &self, _req: DeleteConnectionProfileRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send

Source

fn create_private_connection( &self, _req: CreatePrivateConnectionRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send

Source

fn get_private_connection( &self, _req: GetPrivateConnectionRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<PrivateConnection>>> + Send

Source

fn list_private_connections( &self, _req: ListPrivateConnectionsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListPrivateConnectionsResponse>>> + Send

Source

fn delete_private_connection( &self, _req: DeletePrivateConnectionRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send

Source

fn get_conversion_workspace( &self, _req: GetConversionWorkspaceRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ConversionWorkspace>>> + Send

Source

fn list_conversion_workspaces( &self, _req: ListConversionWorkspacesRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListConversionWorkspacesResponse>>> + Send

Source

fn create_conversion_workspace( &self, _req: CreateConversionWorkspaceRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send

Source

fn update_conversion_workspace( &self, _req: UpdateConversionWorkspaceRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send

Source

fn delete_conversion_workspace( &self, _req: DeleteConversionWorkspaceRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send

Source

fn create_mapping_rule( &self, _req: CreateMappingRuleRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<MappingRule>>> + Send

Source

fn delete_mapping_rule( &self, _req: DeleteMappingRuleRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<()>>> + Send

Source

fn list_mapping_rules( &self, _req: ListMappingRulesRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListMappingRulesResponse>>> + Send

Source

fn get_mapping_rule( &self, _req: GetMappingRuleRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<MappingRule>>> + Send

Source

fn seed_conversion_workspace( &self, _req: SeedConversionWorkspaceRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send

Source

fn import_mapping_rules( &self, _req: ImportMappingRulesRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send

Source

fn convert_conversion_workspace( &self, _req: ConvertConversionWorkspaceRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send

Source

fn commit_conversion_workspace( &self, _req: CommitConversionWorkspaceRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send

Source

fn rollback_conversion_workspace( &self, _req: RollbackConversionWorkspaceRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send

Source

fn apply_conversion_workspace( &self, _req: ApplyConversionWorkspaceRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send

Source

fn describe_database_entities( &self, _req: DescribeDatabaseEntitiesRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<DescribeDatabaseEntitiesResponse>>> + Send

Source

fn search_background_jobs( &self, _req: SearchBackgroundJobsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<SearchBackgroundJobsResponse>>> + Send

Source

fn describe_conversion_workspace_revisions( &self, _req: DescribeConversionWorkspaceRevisionsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<DescribeConversionWorkspaceRevisionsResponse>>> + Send

Source

fn fetch_static_ips( &self, _req: FetchStaticIpsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<FetchStaticIpsResponse>>> + Send

Source

fn list_locations( &self, _req: ListLocationsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListLocationsResponse>>> + Send

Source

fn get_location( &self, _req: GetLocationRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Location>>> + Send

Source

fn set_iam_policy( &self, _req: SetIamPolicyRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Policy>>> + Send

Source

fn get_iam_policy( &self, _req: GetIamPolicyRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Policy>>> + Send

Source

fn test_iam_permissions( &self, _req: TestIamPermissionsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<TestIamPermissionsResponse>>> + Send

Source

fn list_operations( &self, _req: ListOperationsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListOperationsResponse>>> + Send

Source

fn get_operation( &self, _req: GetOperationRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Operation>>> + Send

Source

fn delete_operation( &self, _req: DeleteOperationRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<()>>> + Send

Source

fn cancel_operation( &self, _req: CancelOperationRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<()>>> + Send

Source

fn get_polling_error_policy( &self, _options: &RequestOptions, ) -> Arc<dyn PollingErrorPolicy>

Returns the polling error policy.

When mocking, this method is typically irrelevant. Do not try to verify it is called by your mocks.

Source

fn get_polling_backoff_policy( &self, _options: &RequestOptions, ) -> Arc<dyn PollingBackoffPolicy>

Returns the polling backoff policy.

When mocking, this method is typically irrelevant. Do not try to verify it is called by your mocks.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§