Interface SmsClient
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
builder()
method.
Product update
We recommend Amazon Web Services Application Migration Service (Amazon Web Services MGN) as the primary migration service for lift-and-shift migrations. If Amazon Web Services MGN is unavailable in a specific Amazon Web Services Region, you can use the Server Migration Service APIs through March 2023.
Server Migration Service (Server Migration Service) makes it easier and faster for you to migrate your on-premises workloads to Amazon Web Services. To learn more about Server Migration Service, see the following resources:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Value for looking up the service's metadata from theServiceMetadataProvider
.static final String
-
Method Summary
Modifier and TypeMethodDescriptionstatic SmsClientBuilder
builder()
Create a builder that can be used to configure and create aSmsClient
.static SmsClient
create()
Create aSmsClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.default CreateAppResponse
createApp
(Consumer<CreateAppRequest.Builder> createAppRequest) Creates an application.default CreateAppResponse
createApp
(CreateAppRequest createAppRequest) Creates an application.default CreateReplicationJobResponse
createReplicationJob
(Consumer<CreateReplicationJobRequest.Builder> createReplicationJobRequest) Creates a replication job.default CreateReplicationJobResponse
createReplicationJob
(CreateReplicationJobRequest createReplicationJobRequest) Creates a replication job.default DeleteAppResponse
deleteApp
(Consumer<DeleteAppRequest.Builder> deleteAppRequest) Deletes the specified application.default DeleteAppResponse
deleteApp
(DeleteAppRequest deleteAppRequest) Deletes the specified application.deleteAppLaunchConfiguration
(Consumer<DeleteAppLaunchConfigurationRequest.Builder> deleteAppLaunchConfigurationRequest) Deletes the launch configuration for the specified application.deleteAppLaunchConfiguration
(DeleteAppLaunchConfigurationRequest deleteAppLaunchConfigurationRequest) Deletes the launch configuration for the specified application.deleteAppReplicationConfiguration
(Consumer<DeleteAppReplicationConfigurationRequest.Builder> deleteAppReplicationConfigurationRequest) Deletes the replication configuration for the specified application.deleteAppReplicationConfiguration
(DeleteAppReplicationConfigurationRequest deleteAppReplicationConfigurationRequest) Deletes the replication configuration for the specified application.deleteAppValidationConfiguration
(Consumer<DeleteAppValidationConfigurationRequest.Builder> deleteAppValidationConfigurationRequest) Deletes the validation configuration for the specified application.deleteAppValidationConfiguration
(DeleteAppValidationConfigurationRequest deleteAppValidationConfigurationRequest) Deletes the validation configuration for the specified application.default DeleteReplicationJobResponse
deleteReplicationJob
(Consumer<DeleteReplicationJobRequest.Builder> deleteReplicationJobRequest) Deletes the specified replication job.default DeleteReplicationJobResponse
deleteReplicationJob
(DeleteReplicationJobRequest deleteReplicationJobRequest) Deletes the specified replication job.default DeleteServerCatalogResponse
Deletes all servers from your server catalog.default DeleteServerCatalogResponse
deleteServerCatalog
(Consumer<DeleteServerCatalogRequest.Builder> deleteServerCatalogRequest) Deletes all servers from your server catalog.default DeleteServerCatalogResponse
deleteServerCatalog
(DeleteServerCatalogRequest deleteServerCatalogRequest) Deletes all servers from your server catalog.default DisassociateConnectorResponse
disassociateConnector
(Consumer<DisassociateConnectorRequest.Builder> disassociateConnectorRequest) Disassociates the specified connector from Server Migration Service.default DisassociateConnectorResponse
disassociateConnector
(DisassociateConnectorRequest disassociateConnectorRequest) Disassociates the specified connector from Server Migration Service.default GenerateChangeSetResponse
generateChangeSet
(Consumer<GenerateChangeSetRequest.Builder> generateChangeSetRequest) 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.default GenerateChangeSetResponse
generateChangeSet
(GenerateChangeSetRequest generateChangeSetRequest) 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.default GenerateTemplateResponse
generateTemplate
(Consumer<GenerateTemplateRequest.Builder> generateTemplateRequest) Generates an CloudFormation template based on the current launch configuration and writes it to an Amazon S3 object in the customer’s Amazon S3 bucket.default GenerateTemplateResponse
generateTemplate
(GenerateTemplateRequest generateTemplateRequest) Generates an CloudFormation template based on the current launch configuration and writes it to an Amazon S3 object in the customer’s Amazon S3 bucket.default GetAppResponse
getApp()
Retrieve information about the specified application.default GetAppResponse
getApp
(Consumer<GetAppRequest.Builder> getAppRequest) Retrieve information about the specified application.default GetAppResponse
getApp
(GetAppRequest getAppRequest) Retrieve information about the specified application.Retrieves the application launch configuration associated with the specified application.getAppLaunchConfiguration
(Consumer<GetAppLaunchConfigurationRequest.Builder> getAppLaunchConfigurationRequest) Retrieves the application launch configuration associated with the specified application.getAppLaunchConfiguration
(GetAppLaunchConfigurationRequest getAppLaunchConfigurationRequest) Retrieves the application launch configuration associated with the specified application.Retrieves the application replication configuration associated with the specified application.getAppReplicationConfiguration
(Consumer<GetAppReplicationConfigurationRequest.Builder> getAppReplicationConfigurationRequest) Retrieves the application replication configuration associated with the specified application.getAppReplicationConfiguration
(GetAppReplicationConfigurationRequest getAppReplicationConfigurationRequest) Retrieves the application replication configuration associated with the specified application.getAppValidationConfiguration
(Consumer<GetAppValidationConfigurationRequest.Builder> getAppValidationConfigurationRequest) Retrieves information about a configuration for validating an application.getAppValidationConfiguration
(GetAppValidationConfigurationRequest getAppValidationConfigurationRequest) Retrieves information about a configuration for validating an application.default GetAppValidationOutputResponse
getAppValidationOutput
(Consumer<GetAppValidationOutputRequest.Builder> getAppValidationOutputRequest) Retrieves output from validating an application.default GetAppValidationOutputResponse
getAppValidationOutput
(GetAppValidationOutputRequest getAppValidationOutputRequest) Retrieves output from validating an application.default GetConnectorsResponse
Describes the connectors registered with the Server Migration Service.default GetConnectorsResponse
getConnectors
(Consumer<GetConnectorsRequest.Builder> getConnectorsRequest) Describes the connectors registered with the Server Migration Service.default GetConnectorsResponse
getConnectors
(GetConnectorsRequest getConnectorsRequest) Describes the connectors registered with the Server Migration Service.default GetConnectorsIterable
This is a variant ofgetConnectors(software.amazon.awssdk.services.sms.model.GetConnectorsRequest)
operation.default GetConnectorsIterable
getConnectorsPaginator
(Consumer<GetConnectorsRequest.Builder> getConnectorsRequest) This is a variant ofgetConnectors(software.amazon.awssdk.services.sms.model.GetConnectorsRequest)
operation.default GetConnectorsIterable
getConnectorsPaginator
(GetConnectorsRequest getConnectorsRequest) This is a variant ofgetConnectors(software.amazon.awssdk.services.sms.model.GetConnectorsRequest)
operation.default GetReplicationJobsResponse
Describes the specified replication job or all of your replication jobs.default GetReplicationJobsResponse
getReplicationJobs
(Consumer<GetReplicationJobsRequest.Builder> getReplicationJobsRequest) Describes the specified replication job or all of your replication jobs.default GetReplicationJobsResponse
getReplicationJobs
(GetReplicationJobsRequest getReplicationJobsRequest) Describes the specified replication job or all of your replication jobs.default GetReplicationJobsIterable
This is a variant ofgetReplicationJobs(software.amazon.awssdk.services.sms.model.GetReplicationJobsRequest)
operation.default GetReplicationJobsIterable
getReplicationJobsPaginator
(Consumer<GetReplicationJobsRequest.Builder> getReplicationJobsRequest) This is a variant ofgetReplicationJobs(software.amazon.awssdk.services.sms.model.GetReplicationJobsRequest)
operation.default GetReplicationJobsIterable
getReplicationJobsPaginator
(GetReplicationJobsRequest getReplicationJobsRequest) This is a variant ofgetReplicationJobs(software.amazon.awssdk.services.sms.model.GetReplicationJobsRequest)
operation.default GetReplicationRunsResponse
getReplicationRuns
(Consumer<GetReplicationRunsRequest.Builder> getReplicationRunsRequest) Describes the replication runs for the specified replication job.default GetReplicationRunsResponse
getReplicationRuns
(GetReplicationRunsRequest getReplicationRunsRequest) Describes the replication runs for the specified replication job.default GetReplicationRunsIterable
getReplicationRunsPaginator
(Consumer<GetReplicationRunsRequest.Builder> getReplicationRunsRequest) This is a variant ofgetReplicationRuns(software.amazon.awssdk.services.sms.model.GetReplicationRunsRequest)
operation.default GetReplicationRunsIterable
getReplicationRunsPaginator
(GetReplicationRunsRequest getReplicationRunsRequest) This is a variant ofgetReplicationRuns(software.amazon.awssdk.services.sms.model.GetReplicationRunsRequest)
operation.default GetServersResponse
Describes the servers in your server catalog.default GetServersResponse
getServers
(Consumer<GetServersRequest.Builder> getServersRequest) Describes the servers in your server catalog.default GetServersResponse
getServers
(GetServersRequest getServersRequest) Describes the servers in your server catalog.default GetServersIterable
This is a variant ofgetServers(software.amazon.awssdk.services.sms.model.GetServersRequest)
operation.default GetServersIterable
getServersPaginator
(Consumer<GetServersRequest.Builder> getServersRequest) This is a variant ofgetServers(software.amazon.awssdk.services.sms.model.GetServersRequest)
operation.default GetServersIterable
getServersPaginator
(GetServersRequest getServersRequest) This is a variant ofgetServers(software.amazon.awssdk.services.sms.model.GetServersRequest)
operation.default ImportAppCatalogResponse
importAppCatalog
(Consumer<ImportAppCatalogRequest.Builder> importAppCatalogRequest) Allows application import from Migration Hub.default ImportAppCatalogResponse
importAppCatalog
(ImportAppCatalogRequest importAppCatalogRequest) Allows application import from Migration Hub.default ImportServerCatalogResponse
Gathers a complete list of on-premises servers.default ImportServerCatalogResponse
importServerCatalog
(Consumer<ImportServerCatalogRequest.Builder> importServerCatalogRequest) Gathers a complete list of on-premises servers.default ImportServerCatalogResponse
importServerCatalog
(ImportServerCatalogRequest importServerCatalogRequest) Gathers a complete list of on-premises servers.default LaunchAppResponse
launchApp
(Consumer<LaunchAppRequest.Builder> launchAppRequest) Launches the specified application as a stack in CloudFormation.default LaunchAppResponse
launchApp
(LaunchAppRequest launchAppRequest) Launches the specified application as a stack in CloudFormation.default ListAppsResponse
listApps()
Retrieves summaries for all applications.default ListAppsResponse
listApps
(Consumer<ListAppsRequest.Builder> listAppsRequest) Retrieves summaries for all applications.default ListAppsResponse
listApps
(ListAppsRequest listAppsRequest) Retrieves summaries for all applications.notifyAppValidationOutput
(Consumer<NotifyAppValidationOutputRequest.Builder> notifyAppValidationOutputRequest) Provides information to Server Migration Service about whether application validation is successful.notifyAppValidationOutput
(NotifyAppValidationOutputRequest notifyAppValidationOutputRequest) Provides information to Server Migration Service about whether application validation is successful.putAppLaunchConfiguration
(Consumer<PutAppLaunchConfigurationRequest.Builder> putAppLaunchConfigurationRequest) Creates or updates the launch configuration for the specified application.putAppLaunchConfiguration
(PutAppLaunchConfigurationRequest putAppLaunchConfigurationRequest) Creates or updates the launch configuration for the specified application.putAppReplicationConfiguration
(Consumer<PutAppReplicationConfigurationRequest.Builder> putAppReplicationConfigurationRequest) Creates or updates the replication configuration for the specified application.putAppReplicationConfiguration
(PutAppReplicationConfigurationRequest putAppReplicationConfigurationRequest) Creates or updates the replication configuration for the specified application.putAppValidationConfiguration
(Consumer<PutAppValidationConfigurationRequest.Builder> putAppValidationConfigurationRequest) Creates or updates a validation configuration for the specified application.putAppValidationConfiguration
(PutAppValidationConfigurationRequest putAppValidationConfigurationRequest) Creates or updates a validation configuration for the specified application.default SmsServiceClientConfiguration
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadata
default StartAppReplicationResponse
startAppReplication
(Consumer<StartAppReplicationRequest.Builder> startAppReplicationRequest) Starts replicating the specified application by creating replication jobs for each server in the application.default StartAppReplicationResponse
startAppReplication
(StartAppReplicationRequest startAppReplicationRequest) Starts replicating the specified application by creating replication jobs for each server in the application.startOnDemandAppReplication
(Consumer<StartOnDemandAppReplicationRequest.Builder> startOnDemandAppReplicationRequest) Starts an on-demand replication run for the specified application.startOnDemandAppReplication
(StartOnDemandAppReplicationRequest startOnDemandAppReplicationRequest) Starts an on-demand replication run for the specified application.startOnDemandReplicationRun
(Consumer<StartOnDemandReplicationRunRequest.Builder> startOnDemandReplicationRunRequest) Starts an on-demand replication run for the specified replication job.startOnDemandReplicationRun
(StartOnDemandReplicationRunRequest startOnDemandReplicationRunRequest) Starts an on-demand replication run for the specified replication job.default StopAppReplicationResponse
stopAppReplication
(Consumer<StopAppReplicationRequest.Builder> stopAppReplicationRequest) Stops replicating the specified application by deleting the replication job for each server in the application.default StopAppReplicationResponse
stopAppReplication
(StopAppReplicationRequest stopAppReplicationRequest) Stops replicating the specified application by deleting the replication job for each server in the application.default TerminateAppResponse
terminateApp
(Consumer<TerminateAppRequest.Builder> terminateAppRequest) Terminates the stack for the specified application.default TerminateAppResponse
terminateApp
(TerminateAppRequest terminateAppRequest) Terminates the stack for the specified application.default UpdateAppResponse
updateApp
(Consumer<UpdateAppRequest.Builder> updateAppRequest) Updates the specified application.default UpdateAppResponse
updateApp
(UpdateAppRequest updateAppRequest) Updates the specified application.default UpdateReplicationJobResponse
updateReplicationJob
(Consumer<UpdateReplicationJobRequest.Builder> updateReplicationJobRequest) Updates the specified settings for the specified replication job.default UpdateReplicationJobResponse
updateReplicationJob
(UpdateReplicationJobRequest updateReplicationJobRequest) Updates the specified settings for the specified replication job.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider
.- See Also:
-
-
Method Details
-
createApp
default CreateAppResponse createApp(CreateAppRequest createAppRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException Creates an application. An application consists of one or more server groups. Each server group contain one or more servers.
- Parameters:
createAppRequest
-- Returns:
- Result of the CreateApp operation returned by the service.
- See Also:
-
createApp
default CreateAppResponse createApp(Consumer<CreateAppRequest.Builder> createAppRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException Creates an application. An application consists of one or more server groups. Each server group contain one or more servers.
This is a convenience which creates an instance of the
CreateAppRequest.Builder
avoiding the need to create one manually viaCreateAppRequest.builder()
- Parameters:
createAppRequest
- AConsumer
that will call methods onCreateAppRequest.Builder
to create a request.- Returns:
- Result of the CreateApp operation returned by the service.
- See Also:
-
createReplicationJob
default CreateReplicationJobResponse createReplicationJob(CreateReplicationJobRequest createReplicationJobRequest) throws InvalidParameterException, MissingRequiredParameterException, UnauthorizedOperationException, OperationNotPermittedException, ServerCannotBeReplicatedException, ReplicationJobAlreadyExistsException, NoConnectorsAvailableException, InternalErrorException, TemporarilyUnavailableException, AwsServiceException, SdkClientException, SmsException Creates a replication job. The replication job schedules periodic replication runs to replicate your server to Amazon Web Services. Each replication run creates an Amazon Machine Image (AMI).
- Parameters:
createReplicationJobRequest
-- Returns:
- Result of the CreateReplicationJob operation returned by the service.
- See Also:
-
createReplicationJob
default CreateReplicationJobResponse createReplicationJob(Consumer<CreateReplicationJobRequest.Builder> createReplicationJobRequest) throws InvalidParameterException, MissingRequiredParameterException, UnauthorizedOperationException, OperationNotPermittedException, ServerCannotBeReplicatedException, ReplicationJobAlreadyExistsException, NoConnectorsAvailableException, InternalErrorException, TemporarilyUnavailableException, AwsServiceException, SdkClientException, SmsException Creates a replication job. The replication job schedules periodic replication runs to replicate your server to Amazon Web Services. Each replication run creates an Amazon Machine Image (AMI).
This is a convenience which creates an instance of the
CreateReplicationJobRequest.Builder
avoiding the need to create one manually viaCreateReplicationJobRequest.builder()
- Parameters:
createReplicationJobRequest
- AConsumer
that will call methods onCreateReplicationJobRequest.Builder
to create a request.- Returns:
- Result of the CreateReplicationJob operation returned by the service.
- See Also:
-
deleteApp
default DeleteAppResponse deleteApp(DeleteAppRequest deleteAppRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException Deletes the specified application. Optionally deletes the launched stack associated with the application and all Server Migration Service replication jobs for servers in the application.
- Parameters:
deleteAppRequest
-- Returns:
- Result of the DeleteApp operation returned by the service.
- See Also:
-
deleteApp
default DeleteAppResponse deleteApp(Consumer<DeleteAppRequest.Builder> deleteAppRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException Deletes the specified application. Optionally deletes the launched stack associated with the application and all Server Migration Service replication jobs for servers in the application.
This is a convenience which creates an instance of the
DeleteAppRequest.Builder
avoiding the need to create one manually viaDeleteAppRequest.builder()
- Parameters:
deleteAppRequest
- AConsumer
that will call methods onDeleteAppRequest.Builder
to create a request.- Returns:
- Result of the DeleteApp operation returned by the service.
- See Also:
-
deleteAppLaunchConfiguration
default DeleteAppLaunchConfigurationResponse deleteAppLaunchConfiguration(DeleteAppLaunchConfigurationRequest deleteAppLaunchConfigurationRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException Deletes the launch configuration for the specified application.
- Parameters:
deleteAppLaunchConfigurationRequest
-- Returns:
- Result of the DeleteAppLaunchConfiguration operation returned by the service.
- See Also:
-
deleteAppLaunchConfiguration
default DeleteAppLaunchConfigurationResponse deleteAppLaunchConfiguration(Consumer<DeleteAppLaunchConfigurationRequest.Builder> deleteAppLaunchConfigurationRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException Deletes the launch configuration for the specified application.
This is a convenience which creates an instance of the
DeleteAppLaunchConfigurationRequest.Builder
avoiding the need to create one manually viaDeleteAppLaunchConfigurationRequest.builder()
- Parameters:
deleteAppLaunchConfigurationRequest
- AConsumer
that will call methods onDeleteAppLaunchConfigurationRequest.Builder
to create a request.- Returns:
- Result of the DeleteAppLaunchConfiguration operation returned by the service.
- See Also:
-
deleteAppReplicationConfiguration
default DeleteAppReplicationConfigurationResponse deleteAppReplicationConfiguration(DeleteAppReplicationConfigurationRequest deleteAppReplicationConfigurationRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException Deletes the replication configuration for the specified application.
- Parameters:
deleteAppReplicationConfigurationRequest
-- Returns:
- Result of the DeleteAppReplicationConfiguration operation returned by the service.
- See Also:
-
deleteAppReplicationConfiguration
default DeleteAppReplicationConfigurationResponse deleteAppReplicationConfiguration(Consumer<DeleteAppReplicationConfigurationRequest.Builder> deleteAppReplicationConfigurationRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException Deletes the replication configuration for the specified application.
This is a convenience which creates an instance of the
DeleteAppReplicationConfigurationRequest.Builder
avoiding the need to create one manually viaDeleteAppReplicationConfigurationRequest.builder()
- Parameters:
deleteAppReplicationConfigurationRequest
- AConsumer
that will call methods onDeleteAppReplicationConfigurationRequest.Builder
to create a request.- Returns:
- Result of the DeleteAppReplicationConfiguration operation returned by the service.
- See Also:
-
deleteAppValidationConfiguration
default DeleteAppValidationConfigurationResponse deleteAppValidationConfiguration(DeleteAppValidationConfigurationRequest deleteAppValidationConfigurationRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException Deletes the validation configuration for the specified application.
- Parameters:
deleteAppValidationConfigurationRequest
-- Returns:
- Result of the DeleteAppValidationConfiguration operation returned by the service.
- See Also:
-
deleteAppValidationConfiguration
default DeleteAppValidationConfigurationResponse deleteAppValidationConfiguration(Consumer<DeleteAppValidationConfigurationRequest.Builder> deleteAppValidationConfigurationRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException Deletes the validation configuration for the specified application.
This is a convenience which creates an instance of the
DeleteAppValidationConfigurationRequest.Builder
avoiding the need to create one manually viaDeleteAppValidationConfigurationRequest.builder()
- Parameters:
deleteAppValidationConfigurationRequest
- AConsumer
that will call methods onDeleteAppValidationConfigurationRequest.Builder
to create a request.- Returns:
- Result of the DeleteAppValidationConfiguration operation returned by the service.
- See Also:
-
deleteReplicationJob
default DeleteReplicationJobResponse deleteReplicationJob(DeleteReplicationJobRequest deleteReplicationJobRequest) throws InvalidParameterException, MissingRequiredParameterException, UnauthorizedOperationException, OperationNotPermittedException, ReplicationJobNotFoundException, AwsServiceException, SdkClientException, SmsException Deletes the specified replication job.
After you delete a replication job, there are no further replication runs. Amazon Web Services deletes the contents of the Amazon S3 bucket used to store Server Migration Service artifacts. The AMIs created by the replication runs are not deleted.
- Parameters:
deleteReplicationJobRequest
-- Returns:
- Result of the DeleteReplicationJob operation returned by the service.
- See Also:
-
deleteReplicationJob
default DeleteReplicationJobResponse deleteReplicationJob(Consumer<DeleteReplicationJobRequest.Builder> deleteReplicationJobRequest) throws InvalidParameterException, MissingRequiredParameterException, UnauthorizedOperationException, OperationNotPermittedException, ReplicationJobNotFoundException, AwsServiceException, SdkClientException, SmsException Deletes the specified replication job.
After you delete a replication job, there are no further replication runs. Amazon Web Services deletes the contents of the Amazon S3 bucket used to store Server Migration Service artifacts. The AMIs created by the replication runs are not deleted.
This is a convenience which creates an instance of the
DeleteReplicationJobRequest.Builder
avoiding the need to create one manually viaDeleteReplicationJobRequest.builder()
- Parameters:
deleteReplicationJobRequest
- AConsumer
that will call methods onDeleteReplicationJobRequest.Builder
to create a request.- Returns:
- Result of the DeleteReplicationJob operation returned by the service.
- See Also:
-
deleteServerCatalog
default DeleteServerCatalogResponse deleteServerCatalog(DeleteServerCatalogRequest deleteServerCatalogRequest) throws UnauthorizedOperationException, OperationNotPermittedException, InvalidParameterException, MissingRequiredParameterException, AwsServiceException, SdkClientException, SmsException Deletes all servers from your server catalog.
- Parameters:
deleteServerCatalogRequest
-- Returns:
- Result of the DeleteServerCatalog operation returned by the service.
- See Also:
-
deleteServerCatalog
default DeleteServerCatalogResponse deleteServerCatalog(Consumer<DeleteServerCatalogRequest.Builder> deleteServerCatalogRequest) throws UnauthorizedOperationException, OperationNotPermittedException, InvalidParameterException, MissingRequiredParameterException, AwsServiceException, SdkClientException, SmsException Deletes all servers from your server catalog.
This is a convenience which creates an instance of the
DeleteServerCatalogRequest.Builder
avoiding the need to create one manually viaDeleteServerCatalogRequest.builder()
- Parameters:
deleteServerCatalogRequest
- AConsumer
that will call methods onDeleteServerCatalogRequest.Builder
to create a request.- Returns:
- Result of the DeleteServerCatalog operation returned by the service.
- See Also:
-
deleteServerCatalog
default DeleteServerCatalogResponse deleteServerCatalog() throws UnauthorizedOperationException, OperationNotPermittedException, InvalidParameterException, MissingRequiredParameterException, AwsServiceException, SdkClientException, SmsExceptionDeletes all servers from your server catalog.
- Returns:
- Result of the DeleteServerCatalog operation returned by the service.
- See Also:
-
disassociateConnector
default DisassociateConnectorResponse disassociateConnector(DisassociateConnectorRequest disassociateConnectorRequest) throws MissingRequiredParameterException, UnauthorizedOperationException, OperationNotPermittedException, InvalidParameterException, AwsServiceException, SdkClientException, SmsException Disassociates the specified connector from Server Migration Service.
After you disassociate a connector, it is no longer available to support replication jobs.
- Parameters:
disassociateConnectorRequest
-- Returns:
- Result of the DisassociateConnector operation returned by the service.
- See Also:
-
disassociateConnector
default DisassociateConnectorResponse disassociateConnector(Consumer<DisassociateConnectorRequest.Builder> disassociateConnectorRequest) throws MissingRequiredParameterException, UnauthorizedOperationException, OperationNotPermittedException, InvalidParameterException, AwsServiceException, SdkClientException, SmsException Disassociates the specified connector from Server Migration Service.
After you disassociate a connector, it is no longer available to support replication jobs.
This is a convenience which creates an instance of the
DisassociateConnectorRequest.Builder
avoiding the need to create one manually viaDisassociateConnectorRequest.builder()
- Parameters:
disassociateConnectorRequest
- AConsumer
that will call methods onDisassociateConnectorRequest.Builder
to create a request.- Returns:
- Result of the DisassociateConnector operation returned by the service.
- See Also:
-
generateChangeSet
default GenerateChangeSetResponse generateChangeSet(GenerateChangeSetRequest generateChangeSetRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException 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.
- Parameters:
generateChangeSetRequest
-- Returns:
- Result of the GenerateChangeSet operation returned by the service.
- See Also:
-
generateChangeSet
default GenerateChangeSetResponse generateChangeSet(Consumer<GenerateChangeSetRequest.Builder> generateChangeSetRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException 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.
This is a convenience which creates an instance of the
GenerateChangeSetRequest.Builder
avoiding the need to create one manually viaGenerateChangeSetRequest.builder()
- Parameters:
generateChangeSetRequest
- AConsumer
that will call methods onGenerateChangeSetRequest.Builder
to create a request.- Returns:
- Result of the GenerateChangeSet operation returned by the service.
- See Also:
-
generateTemplate
default GenerateTemplateResponse generateTemplate(GenerateTemplateRequest generateTemplateRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException Generates an CloudFormation template based on the current launch configuration and writes it to an Amazon S3 object in the customer’s Amazon S3 bucket.
- Parameters:
generateTemplateRequest
-- Returns:
- Result of the GenerateTemplate operation returned by the service.
- See Also:
-
generateTemplate
default GenerateTemplateResponse generateTemplate(Consumer<GenerateTemplateRequest.Builder> generateTemplateRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException Generates an CloudFormation template based on the current launch configuration and writes it to an Amazon S3 object in the customer’s Amazon S3 bucket.
This is a convenience which creates an instance of the
GenerateTemplateRequest.Builder
avoiding the need to create one manually viaGenerateTemplateRequest.builder()
- Parameters:
generateTemplateRequest
- AConsumer
that will call methods onGenerateTemplateRequest.Builder
to create a request.- Returns:
- Result of the GenerateTemplate operation returned by the service.
- See Also:
-
getApp
default GetAppResponse getApp(GetAppRequest getAppRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException Retrieve information about the specified application.
- Parameters:
getAppRequest
-- Returns:
- Result of the GetApp operation returned by the service.
- See Also:
-
getApp
default GetAppResponse getApp(Consumer<GetAppRequest.Builder> getAppRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException Retrieve information about the specified application.
This is a convenience which creates an instance of the
GetAppRequest.Builder
avoiding the need to create one manually viaGetAppRequest.builder()
- Parameters:
getAppRequest
- AConsumer
that will call methods onGetAppRequest.Builder
to create a request.- Returns:
- Result of the GetApp operation returned by the service.
- See Also:
-
getApp
default GetAppResponse getApp() throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsExceptionRetrieve information about the specified application.
- Returns:
- Result of the GetApp operation returned by the service.
- See Also:
-
getAppLaunchConfiguration
default GetAppLaunchConfigurationResponse getAppLaunchConfiguration(GetAppLaunchConfigurationRequest getAppLaunchConfigurationRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException Retrieves the application launch configuration associated with the specified application.
- Parameters:
getAppLaunchConfigurationRequest
-- Returns:
- Result of the GetAppLaunchConfiguration operation returned by the service.
- See Also:
-
getAppLaunchConfiguration
default GetAppLaunchConfigurationResponse getAppLaunchConfiguration(Consumer<GetAppLaunchConfigurationRequest.Builder> getAppLaunchConfigurationRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException Retrieves the application launch configuration associated with the specified application.
This is a convenience which creates an instance of the
GetAppLaunchConfigurationRequest.Builder
avoiding the need to create one manually viaGetAppLaunchConfigurationRequest.builder()
- Parameters:
getAppLaunchConfigurationRequest
- AConsumer
that will call methods onGetAppLaunchConfigurationRequest.Builder
to create a request.- Returns:
- Result of the GetAppLaunchConfiguration operation returned by the service.
- See Also:
-
getAppLaunchConfiguration
default GetAppLaunchConfigurationResponse getAppLaunchConfiguration() throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsExceptionRetrieves the application launch configuration associated with the specified application.
- Returns:
- Result of the GetAppLaunchConfiguration operation returned by the service.
- See Also:
-
getAppReplicationConfiguration
default GetAppReplicationConfigurationResponse getAppReplicationConfiguration(GetAppReplicationConfigurationRequest getAppReplicationConfigurationRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException Retrieves the application replication configuration associated with the specified application.
- Parameters:
getAppReplicationConfigurationRequest
-- Returns:
- Result of the GetAppReplicationConfiguration operation returned by the service.
- See Also:
-
getAppReplicationConfiguration
default GetAppReplicationConfigurationResponse getAppReplicationConfiguration(Consumer<GetAppReplicationConfigurationRequest.Builder> getAppReplicationConfigurationRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException Retrieves the application replication configuration associated with the specified application.
This is a convenience which creates an instance of the
GetAppReplicationConfigurationRequest.Builder
avoiding the need to create one manually viaGetAppReplicationConfigurationRequest.builder()
- Parameters:
getAppReplicationConfigurationRequest
- AConsumer
that will call methods onGetAppReplicationConfigurationRequest.Builder
to create a request.- Returns:
- Result of the GetAppReplicationConfiguration operation returned by the service.
- See Also:
-
getAppReplicationConfiguration
default GetAppReplicationConfigurationResponse getAppReplicationConfiguration() throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsExceptionRetrieves the application replication configuration associated with the specified application.
- Returns:
- Result of the GetAppReplicationConfiguration operation returned by the service.
- See Also:
-
getAppValidationConfiguration
default GetAppValidationConfigurationResponse getAppValidationConfiguration(GetAppValidationConfigurationRequest getAppValidationConfigurationRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException Retrieves information about a configuration for validating an application.
- Parameters:
getAppValidationConfigurationRequest
-- Returns:
- Result of the GetAppValidationConfiguration operation returned by the service.
- See Also:
-
getAppValidationConfiguration
default GetAppValidationConfigurationResponse getAppValidationConfiguration(Consumer<GetAppValidationConfigurationRequest.Builder> getAppValidationConfigurationRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException Retrieves information about a configuration for validating an application.
This is a convenience which creates an instance of the
GetAppValidationConfigurationRequest.Builder
avoiding the need to create one manually viaGetAppValidationConfigurationRequest.builder()
- Parameters:
getAppValidationConfigurationRequest
- AConsumer
that will call methods onGetAppValidationConfigurationRequest.Builder
to create a request.- Returns:
- Result of the GetAppValidationConfiguration operation returned by the service.
- See Also:
-
getAppValidationOutput
default GetAppValidationOutputResponse getAppValidationOutput(GetAppValidationOutputRequest getAppValidationOutputRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException Retrieves output from validating an application.
- Parameters:
getAppValidationOutputRequest
-- Returns:
- Result of the GetAppValidationOutput operation returned by the service.
- See Also:
-
getAppValidationOutput
default GetAppValidationOutputResponse getAppValidationOutput(Consumer<GetAppValidationOutputRequest.Builder> getAppValidationOutputRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException Retrieves output from validating an application.
This is a convenience which creates an instance of the
GetAppValidationOutputRequest.Builder
avoiding the need to create one manually viaGetAppValidationOutputRequest.builder()
- Parameters:
getAppValidationOutputRequest
- AConsumer
that will call methods onGetAppValidationOutputRequest.Builder
to create a request.- Returns:
- Result of the GetAppValidationOutput operation returned by the service.
- See Also:
-
getConnectors
default GetConnectorsResponse getConnectors(GetConnectorsRequest getConnectorsRequest) throws UnauthorizedOperationException, AwsServiceException, SdkClientException, SmsException Describes the connectors registered with the Server Migration Service.
- Parameters:
getConnectorsRequest
-- Returns:
- Result of the GetConnectors operation returned by the service.
- See Also:
-
getConnectors
default GetConnectorsResponse getConnectors(Consumer<GetConnectorsRequest.Builder> getConnectorsRequest) throws UnauthorizedOperationException, AwsServiceException, SdkClientException, SmsException Describes the connectors registered with the Server Migration Service.
This is a convenience which creates an instance of the
GetConnectorsRequest.Builder
avoiding the need to create one manually viaGetConnectorsRequest.builder()
- Parameters:
getConnectorsRequest
- AConsumer
that will call methods onGetConnectorsRequest.Builder
to create a request.- Returns:
- Result of the GetConnectors operation returned by the service.
- See Also:
-
getConnectors
default GetConnectorsResponse getConnectors() throws UnauthorizedOperationException, AwsServiceException, SdkClientException, SmsExceptionDescribes the connectors registered with the Server Migration Service.
- Returns:
- Result of the GetConnectors operation returned by the service.
- See Also:
-
getConnectorsPaginator
default GetConnectorsIterable getConnectorsPaginator() throws UnauthorizedOperationException, AwsServiceException, SdkClientException, SmsExceptionThis is a variant of
getConnectors(software.amazon.awssdk.services.sms.model.GetConnectorsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.sms.paginators.GetConnectorsIterable responses = client.getConnectorsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.sms.paginators.GetConnectorsIterable responses = client.getConnectorsPaginator(request); for (software.amazon.awssdk.services.sms.model.GetConnectorsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.sms.paginators.GetConnectorsIterable responses = client.getConnectorsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getConnectors(software.amazon.awssdk.services.sms.model.GetConnectorsRequest)
operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getConnectorsPaginator
default GetConnectorsIterable getConnectorsPaginator(GetConnectorsRequest getConnectorsRequest) throws UnauthorizedOperationException, AwsServiceException, SdkClientException, SmsException This is a variant of
getConnectors(software.amazon.awssdk.services.sms.model.GetConnectorsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.sms.paginators.GetConnectorsIterable responses = client.getConnectorsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.sms.paginators.GetConnectorsIterable responses = client.getConnectorsPaginator(request); for (software.amazon.awssdk.services.sms.model.GetConnectorsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.sms.paginators.GetConnectorsIterable responses = client.getConnectorsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getConnectors(software.amazon.awssdk.services.sms.model.GetConnectorsRequest)
operation.- Parameters:
getConnectorsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getConnectorsPaginator
default GetConnectorsIterable getConnectorsPaginator(Consumer<GetConnectorsRequest.Builder> getConnectorsRequest) throws UnauthorizedOperationException, AwsServiceException, SdkClientException, SmsException This is a variant of
getConnectors(software.amazon.awssdk.services.sms.model.GetConnectorsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.sms.paginators.GetConnectorsIterable responses = client.getConnectorsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.sms.paginators.GetConnectorsIterable responses = client.getConnectorsPaginator(request); for (software.amazon.awssdk.services.sms.model.GetConnectorsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.sms.paginators.GetConnectorsIterable responses = client.getConnectorsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getConnectors(software.amazon.awssdk.services.sms.model.GetConnectorsRequest)
operation.
This is a convenience which creates an instance of the
GetConnectorsRequest.Builder
avoiding the need to create one manually viaGetConnectorsRequest.builder()
- Parameters:
getConnectorsRequest
- AConsumer
that will call methods onGetConnectorsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getReplicationJobs
default GetReplicationJobsResponse getReplicationJobs(GetReplicationJobsRequest getReplicationJobsRequest) throws InvalidParameterException, MissingRequiredParameterException, UnauthorizedOperationException, AwsServiceException, SdkClientException, SmsException Describes the specified replication job or all of your replication jobs.
- Parameters:
getReplicationJobsRequest
-- Returns:
- Result of the GetReplicationJobs operation returned by the service.
- See Also:
-
getReplicationJobs
default GetReplicationJobsResponse getReplicationJobs(Consumer<GetReplicationJobsRequest.Builder> getReplicationJobsRequest) throws InvalidParameterException, MissingRequiredParameterException, UnauthorizedOperationException, AwsServiceException, SdkClientException, SmsException Describes the specified replication job or all of your replication jobs.
This is a convenience which creates an instance of the
GetReplicationJobsRequest.Builder
avoiding the need to create one manually viaGetReplicationJobsRequest.builder()
- Parameters:
getReplicationJobsRequest
- AConsumer
that will call methods onGetReplicationJobsRequest.Builder
to create a request.- Returns:
- Result of the GetReplicationJobs operation returned by the service.
- See Also:
-
getReplicationJobs
default GetReplicationJobsResponse getReplicationJobs() throws InvalidParameterException, MissingRequiredParameterException, UnauthorizedOperationException, AwsServiceException, SdkClientException, SmsExceptionDescribes the specified replication job or all of your replication jobs.
- Returns:
- Result of the GetReplicationJobs operation returned by the service.
- See Also:
-
getReplicationJobsPaginator
default GetReplicationJobsIterable getReplicationJobsPaginator() throws InvalidParameterException, MissingRequiredParameterException, UnauthorizedOperationException, AwsServiceException, SdkClientException, SmsExceptionThis is a variant of
getReplicationJobs(software.amazon.awssdk.services.sms.model.GetReplicationJobsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.sms.paginators.GetReplicationJobsIterable responses = client.getReplicationJobsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.sms.paginators.GetReplicationJobsIterable responses = client .getReplicationJobsPaginator(request); for (software.amazon.awssdk.services.sms.model.GetReplicationJobsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.sms.paginators.GetReplicationJobsIterable responses = client.getReplicationJobsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getReplicationJobs(software.amazon.awssdk.services.sms.model.GetReplicationJobsRequest)
operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getReplicationJobsPaginator
default GetReplicationJobsIterable getReplicationJobsPaginator(GetReplicationJobsRequest getReplicationJobsRequest) throws InvalidParameterException, MissingRequiredParameterException, UnauthorizedOperationException, AwsServiceException, SdkClientException, SmsException This is a variant of
getReplicationJobs(software.amazon.awssdk.services.sms.model.GetReplicationJobsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.sms.paginators.GetReplicationJobsIterable responses = client.getReplicationJobsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.sms.paginators.GetReplicationJobsIterable responses = client .getReplicationJobsPaginator(request); for (software.amazon.awssdk.services.sms.model.GetReplicationJobsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.sms.paginators.GetReplicationJobsIterable responses = client.getReplicationJobsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getReplicationJobs(software.amazon.awssdk.services.sms.model.GetReplicationJobsRequest)
operation.- Parameters:
getReplicationJobsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getReplicationJobsPaginator
default GetReplicationJobsIterable getReplicationJobsPaginator(Consumer<GetReplicationJobsRequest.Builder> getReplicationJobsRequest) throws InvalidParameterException, MissingRequiredParameterException, UnauthorizedOperationException, AwsServiceException, SdkClientException, SmsException This is a variant of
getReplicationJobs(software.amazon.awssdk.services.sms.model.GetReplicationJobsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.sms.paginators.GetReplicationJobsIterable responses = client.getReplicationJobsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.sms.paginators.GetReplicationJobsIterable responses = client .getReplicationJobsPaginator(request); for (software.amazon.awssdk.services.sms.model.GetReplicationJobsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.sms.paginators.GetReplicationJobsIterable responses = client.getReplicationJobsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getReplicationJobs(software.amazon.awssdk.services.sms.model.GetReplicationJobsRequest)
operation.
This is a convenience which creates an instance of the
GetReplicationJobsRequest.Builder
avoiding the need to create one manually viaGetReplicationJobsRequest.builder()
- Parameters:
getReplicationJobsRequest
- AConsumer
that will call methods onGetReplicationJobsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getReplicationRuns
default GetReplicationRunsResponse getReplicationRuns(GetReplicationRunsRequest getReplicationRunsRequest) throws InvalidParameterException, MissingRequiredParameterException, UnauthorizedOperationException, AwsServiceException, SdkClientException, SmsException Describes the replication runs for the specified replication job.
- Parameters:
getReplicationRunsRequest
-- Returns:
- Result of the GetReplicationRuns operation returned by the service.
- See Also:
-
getReplicationRuns
default GetReplicationRunsResponse getReplicationRuns(Consumer<GetReplicationRunsRequest.Builder> getReplicationRunsRequest) throws InvalidParameterException, MissingRequiredParameterException, UnauthorizedOperationException, AwsServiceException, SdkClientException, SmsException Describes the replication runs for the specified replication job.
This is a convenience which creates an instance of the
GetReplicationRunsRequest.Builder
avoiding the need to create one manually viaGetReplicationRunsRequest.builder()
- Parameters:
getReplicationRunsRequest
- AConsumer
that will call methods onGetReplicationRunsRequest.Builder
to create a request.- Returns:
- Result of the GetReplicationRuns operation returned by the service.
- See Also:
-
getReplicationRunsPaginator
default GetReplicationRunsIterable getReplicationRunsPaginator(GetReplicationRunsRequest getReplicationRunsRequest) throws InvalidParameterException, MissingRequiredParameterException, UnauthorizedOperationException, AwsServiceException, SdkClientException, SmsException This is a variant of
getReplicationRuns(software.amazon.awssdk.services.sms.model.GetReplicationRunsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.sms.paginators.GetReplicationRunsIterable responses = client.getReplicationRunsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.sms.paginators.GetReplicationRunsIterable responses = client .getReplicationRunsPaginator(request); for (software.amazon.awssdk.services.sms.model.GetReplicationRunsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.sms.paginators.GetReplicationRunsIterable responses = client.getReplicationRunsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getReplicationRuns(software.amazon.awssdk.services.sms.model.GetReplicationRunsRequest)
operation.- Parameters:
getReplicationRunsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getReplicationRunsPaginator
default GetReplicationRunsIterable getReplicationRunsPaginator(Consumer<GetReplicationRunsRequest.Builder> getReplicationRunsRequest) throws InvalidParameterException, MissingRequiredParameterException, UnauthorizedOperationException, AwsServiceException, SdkClientException, SmsException This is a variant of
getReplicationRuns(software.amazon.awssdk.services.sms.model.GetReplicationRunsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.sms.paginators.GetReplicationRunsIterable responses = client.getReplicationRunsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.sms.paginators.GetReplicationRunsIterable responses = client .getReplicationRunsPaginator(request); for (software.amazon.awssdk.services.sms.model.GetReplicationRunsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.sms.paginators.GetReplicationRunsIterable responses = client.getReplicationRunsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getReplicationRuns(software.amazon.awssdk.services.sms.model.GetReplicationRunsRequest)
operation.
This is a convenience which creates an instance of the
GetReplicationRunsRequest.Builder
avoiding the need to create one manually viaGetReplicationRunsRequest.builder()
- Parameters:
getReplicationRunsRequest
- AConsumer
that will call methods onGetReplicationRunsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getServers
default GetServersResponse getServers(GetServersRequest getServersRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, AwsServiceException, SdkClientException, SmsException Describes the servers in your server catalog.
Before you can describe your servers, you must import them using ImportServerCatalog.
- Parameters:
getServersRequest
-- Returns:
- Result of the GetServers operation returned by the service.
- See Also:
-
getServers
default GetServersResponse getServers(Consumer<GetServersRequest.Builder> getServersRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, AwsServiceException, SdkClientException, SmsException Describes the servers in your server catalog.
Before you can describe your servers, you must import them using ImportServerCatalog.
This is a convenience which creates an instance of the
GetServersRequest.Builder
avoiding the need to create one manually viaGetServersRequest.builder()
- Parameters:
getServersRequest
- AConsumer
that will call methods onGetServersRequest.Builder
to create a request.- Returns:
- Result of the GetServers operation returned by the service.
- See Also:
-
getServers
default GetServersResponse getServers() throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, AwsServiceException, SdkClientException, SmsExceptionDescribes the servers in your server catalog.
Before you can describe your servers, you must import them using ImportServerCatalog.
- Returns:
- Result of the GetServers operation returned by the service.
- See Also:
-
getServersPaginator
default GetServersIterable getServersPaginator() throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, AwsServiceException, SdkClientException, SmsExceptionThis is a variant of
getServers(software.amazon.awssdk.services.sms.model.GetServersRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.sms.paginators.GetServersIterable responses = client.getServersPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.sms.paginators.GetServersIterable responses = client.getServersPaginator(request); for (software.amazon.awssdk.services.sms.model.GetServersResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.sms.paginators.GetServersIterable responses = client.getServersPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getServers(software.amazon.awssdk.services.sms.model.GetServersRequest)
operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getServersPaginator
default GetServersIterable getServersPaginator(GetServersRequest getServersRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, AwsServiceException, SdkClientException, SmsException This is a variant of
getServers(software.amazon.awssdk.services.sms.model.GetServersRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.sms.paginators.GetServersIterable responses = client.getServersPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.sms.paginators.GetServersIterable responses = client.getServersPaginator(request); for (software.amazon.awssdk.services.sms.model.GetServersResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.sms.paginators.GetServersIterable responses = client.getServersPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getServers(software.amazon.awssdk.services.sms.model.GetServersRequest)
operation.- Parameters:
getServersRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getServersPaginator
default GetServersIterable getServersPaginator(Consumer<GetServersRequest.Builder> getServersRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, AwsServiceException, SdkClientException, SmsException This is a variant of
getServers(software.amazon.awssdk.services.sms.model.GetServersRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.sms.paginators.GetServersIterable responses = client.getServersPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.sms.paginators.GetServersIterable responses = client.getServersPaginator(request); for (software.amazon.awssdk.services.sms.model.GetServersResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.sms.paginators.GetServersIterable responses = client.getServersPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getServers(software.amazon.awssdk.services.sms.model.GetServersRequest)
operation.
This is a convenience which creates an instance of the
GetServersRequest.Builder
avoiding the need to create one manually viaGetServersRequest.builder()
- Parameters:
getServersRequest
- AConsumer
that will call methods onGetServersRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
importAppCatalog
default ImportAppCatalogResponse importAppCatalog(ImportAppCatalogRequest importAppCatalogRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException Allows application import from Migration Hub.
- Parameters:
importAppCatalogRequest
-- Returns:
- Result of the ImportAppCatalog operation returned by the service.
- See Also:
-
importAppCatalog
default ImportAppCatalogResponse importAppCatalog(Consumer<ImportAppCatalogRequest.Builder> importAppCatalogRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException Allows application import from Migration Hub.
This is a convenience which creates an instance of the
ImportAppCatalogRequest.Builder
avoiding the need to create one manually viaImportAppCatalogRequest.builder()
- Parameters:
importAppCatalogRequest
- AConsumer
that will call methods onImportAppCatalogRequest.Builder
to create a request.- Returns:
- Result of the ImportAppCatalog operation returned by the service.
- See Also:
-
importServerCatalog
default ImportServerCatalogResponse importServerCatalog(ImportServerCatalogRequest importServerCatalogRequest) throws UnauthorizedOperationException, OperationNotPermittedException, InvalidParameterException, MissingRequiredParameterException, NoConnectorsAvailableException, AwsServiceException, SdkClientException, SmsException Gathers a complete list of on-premises servers. Connectors must be installed and monitoring all servers to import.
This call returns immediately, but might take additional time to retrieve all the servers.
- Parameters:
importServerCatalogRequest
-- Returns:
- Result of the ImportServerCatalog operation returned by the service.
- See Also:
-
importServerCatalog
default ImportServerCatalogResponse importServerCatalog(Consumer<ImportServerCatalogRequest.Builder> importServerCatalogRequest) throws UnauthorizedOperationException, OperationNotPermittedException, InvalidParameterException, MissingRequiredParameterException, NoConnectorsAvailableException, AwsServiceException, SdkClientException, SmsException Gathers a complete list of on-premises servers. Connectors must be installed and monitoring all servers to import.
This call returns immediately, but might take additional time to retrieve all the servers.
This is a convenience which creates an instance of the
ImportServerCatalogRequest.Builder
avoiding the need to create one manually viaImportServerCatalogRequest.builder()
- Parameters:
importServerCatalogRequest
- AConsumer
that will call methods onImportServerCatalogRequest.Builder
to create a request.- Returns:
- Result of the ImportServerCatalog operation returned by the service.
- See Also:
-
importServerCatalog
default ImportServerCatalogResponse importServerCatalog() throws UnauthorizedOperationException, OperationNotPermittedException, InvalidParameterException, MissingRequiredParameterException, NoConnectorsAvailableException, AwsServiceException, SdkClientException, SmsExceptionGathers a complete list of on-premises servers. Connectors must be installed and monitoring all servers to import.
This call returns immediately, but might take additional time to retrieve all the servers.
- Returns:
- Result of the ImportServerCatalog operation returned by the service.
- See Also:
-
launchApp
default LaunchAppResponse launchApp(LaunchAppRequest launchAppRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException Launches the specified application as a stack in CloudFormation.
- Parameters:
launchAppRequest
-- Returns:
- Result of the LaunchApp operation returned by the service.
- See Also:
-
launchApp
default LaunchAppResponse launchApp(Consumer<LaunchAppRequest.Builder> launchAppRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException Launches the specified application as a stack in CloudFormation.
This is a convenience which creates an instance of the
LaunchAppRequest.Builder
avoiding the need to create one manually viaLaunchAppRequest.builder()
- Parameters:
launchAppRequest
- AConsumer
that will call methods onLaunchAppRequest.Builder
to create a request.- Returns:
- Result of the LaunchApp operation returned by the service.
- See Also:
-
listApps
default ListAppsResponse listApps(ListAppsRequest listAppsRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException Retrieves summaries for all applications.
- Parameters:
listAppsRequest
-- Returns:
- Result of the ListApps operation returned by the service.
- See Also:
-
listApps
default ListAppsResponse listApps(Consumer<ListAppsRequest.Builder> listAppsRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException Retrieves summaries for all applications.
This is a convenience which creates an instance of the
ListAppsRequest.Builder
avoiding the need to create one manually viaListAppsRequest.builder()
- Parameters:
listAppsRequest
- AConsumer
that will call methods onListAppsRequest.Builder
to create a request.- Returns:
- Result of the ListApps operation returned by the service.
- See Also:
-
listApps
default ListAppsResponse listApps() throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsExceptionRetrieves summaries for all applications.
- Returns:
- Result of the ListApps operation returned by the service.
- See Also:
-
notifyAppValidationOutput
default NotifyAppValidationOutputResponse notifyAppValidationOutput(NotifyAppValidationOutputRequest notifyAppValidationOutputRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException Provides information to Server Migration Service about whether application validation is successful.
- Parameters:
notifyAppValidationOutputRequest
-- Returns:
- Result of the NotifyAppValidationOutput operation returned by the service.
- See Also:
-
notifyAppValidationOutput
default NotifyAppValidationOutputResponse notifyAppValidationOutput(Consumer<NotifyAppValidationOutputRequest.Builder> notifyAppValidationOutputRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException Provides information to Server Migration Service about whether application validation is successful.
This is a convenience which creates an instance of the
NotifyAppValidationOutputRequest.Builder
avoiding the need to create one manually viaNotifyAppValidationOutputRequest.builder()
- Parameters:
notifyAppValidationOutputRequest
- AConsumer
that will call methods onNotifyAppValidationOutputRequest.Builder
to create a request.- Returns:
- Result of the NotifyAppValidationOutput operation returned by the service.
- See Also:
-
putAppLaunchConfiguration
default PutAppLaunchConfigurationResponse putAppLaunchConfiguration(PutAppLaunchConfigurationRequest putAppLaunchConfigurationRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException Creates or updates the launch configuration for the specified application.
- Parameters:
putAppLaunchConfigurationRequest
-- Returns:
- Result of the PutAppLaunchConfiguration operation returned by the service.
- See Also:
-
putAppLaunchConfiguration
default PutAppLaunchConfigurationResponse putAppLaunchConfiguration(Consumer<PutAppLaunchConfigurationRequest.Builder> putAppLaunchConfigurationRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException Creates or updates the launch configuration for the specified application.
This is a convenience which creates an instance of the
PutAppLaunchConfigurationRequest.Builder
avoiding the need to create one manually viaPutAppLaunchConfigurationRequest.builder()
- Parameters:
putAppLaunchConfigurationRequest
- AConsumer
that will call methods onPutAppLaunchConfigurationRequest.Builder
to create a request.- Returns:
- Result of the PutAppLaunchConfiguration operation returned by the service.
- See Also:
-
putAppReplicationConfiguration
default PutAppReplicationConfigurationResponse putAppReplicationConfiguration(PutAppReplicationConfigurationRequest putAppReplicationConfigurationRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException Creates or updates the replication configuration for the specified application.
- Parameters:
putAppReplicationConfigurationRequest
-- Returns:
- Result of the PutAppReplicationConfiguration operation returned by the service.
- See Also:
-
putAppReplicationConfiguration
default PutAppReplicationConfigurationResponse putAppReplicationConfiguration(Consumer<PutAppReplicationConfigurationRequest.Builder> putAppReplicationConfigurationRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException Creates or updates the replication configuration for the specified application.
This is a convenience which creates an instance of the
PutAppReplicationConfigurationRequest.Builder
avoiding the need to create one manually viaPutAppReplicationConfigurationRequest.builder()
- Parameters:
putAppReplicationConfigurationRequest
- AConsumer
that will call methods onPutAppReplicationConfigurationRequest.Builder
to create a request.- Returns:
- Result of the PutAppReplicationConfiguration operation returned by the service.
- See Also:
-
putAppValidationConfiguration
default PutAppValidationConfigurationResponse putAppValidationConfiguration(PutAppValidationConfigurationRequest putAppValidationConfigurationRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException Creates or updates a validation configuration for the specified application.
- Parameters:
putAppValidationConfigurationRequest
-- Returns:
- Result of the PutAppValidationConfiguration operation returned by the service.
- See Also:
-
putAppValidationConfiguration
default PutAppValidationConfigurationResponse putAppValidationConfiguration(Consumer<PutAppValidationConfigurationRequest.Builder> putAppValidationConfigurationRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException Creates or updates a validation configuration for the specified application.
This is a convenience which creates an instance of the
PutAppValidationConfigurationRequest.Builder
avoiding the need to create one manually viaPutAppValidationConfigurationRequest.builder()
- Parameters:
putAppValidationConfigurationRequest
- AConsumer
that will call methods onPutAppValidationConfigurationRequest.Builder
to create a request.- Returns:
- Result of the PutAppValidationConfiguration operation returned by the service.
- See Also:
-
startAppReplication
default StartAppReplicationResponse startAppReplication(StartAppReplicationRequest startAppReplicationRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException Starts replicating the specified application by creating replication jobs for each server in the application.
- Parameters:
startAppReplicationRequest
-- Returns:
- Result of the StartAppReplication operation returned by the service.
- See Also:
-
startAppReplication
default StartAppReplicationResponse startAppReplication(Consumer<StartAppReplicationRequest.Builder> startAppReplicationRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException Starts replicating the specified application by creating replication jobs for each server in the application.
This is a convenience which creates an instance of the
StartAppReplicationRequest.Builder
avoiding the need to create one manually viaStartAppReplicationRequest.builder()
- Parameters:
startAppReplicationRequest
- AConsumer
that will call methods onStartAppReplicationRequest.Builder
to create a request.- Returns:
- Result of the StartAppReplication operation returned by the service.
- See Also:
-
startOnDemandAppReplication
default StartOnDemandAppReplicationResponse startOnDemandAppReplication(StartOnDemandAppReplicationRequest startOnDemandAppReplicationRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException Starts an on-demand replication run for the specified application.
- Parameters:
startOnDemandAppReplicationRequest
-- Returns:
- Result of the StartOnDemandAppReplication operation returned by the service.
- See Also:
-
startOnDemandAppReplication
default StartOnDemandAppReplicationResponse startOnDemandAppReplication(Consumer<StartOnDemandAppReplicationRequest.Builder> startOnDemandAppReplicationRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException Starts an on-demand replication run for the specified application.
This is a convenience which creates an instance of the
StartOnDemandAppReplicationRequest.Builder
avoiding the need to create one manually viaStartOnDemandAppReplicationRequest.builder()
- Parameters:
startOnDemandAppReplicationRequest
- AConsumer
that will call methods onStartOnDemandAppReplicationRequest.Builder
to create a request.- Returns:
- Result of the StartOnDemandAppReplication operation returned by the service.
- See Also:
-
startOnDemandReplicationRun
default StartOnDemandReplicationRunResponse startOnDemandReplicationRun(StartOnDemandReplicationRunRequest startOnDemandReplicationRunRequest) throws InvalidParameterException, MissingRequiredParameterException, UnauthorizedOperationException, OperationNotPermittedException, ReplicationRunLimitExceededException, DryRunOperationException, AwsServiceException, SdkClientException, SmsException 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 that you can request in a 24-hour period.
- Parameters:
startOnDemandReplicationRunRequest
-- Returns:
- Result of the StartOnDemandReplicationRun operation returned by the service.
- See Also:
-
startOnDemandReplicationRun
default StartOnDemandReplicationRunResponse startOnDemandReplicationRun(Consumer<StartOnDemandReplicationRunRequest.Builder> startOnDemandReplicationRunRequest) throws InvalidParameterException, MissingRequiredParameterException, UnauthorizedOperationException, OperationNotPermittedException, ReplicationRunLimitExceededException, DryRunOperationException, AwsServiceException, SdkClientException, SmsException 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 that you can request in a 24-hour period.
This is a convenience which creates an instance of the
StartOnDemandReplicationRunRequest.Builder
avoiding the need to create one manually viaStartOnDemandReplicationRunRequest.builder()
- Parameters:
startOnDemandReplicationRunRequest
- AConsumer
that will call methods onStartOnDemandReplicationRunRequest.Builder
to create a request.- Returns:
- Result of the StartOnDemandReplicationRun operation returned by the service.
- See Also:
-
stopAppReplication
default StopAppReplicationResponse stopAppReplication(StopAppReplicationRequest stopAppReplicationRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException Stops replicating the specified application by deleting the replication job for each server in the application.
- Parameters:
stopAppReplicationRequest
-- Returns:
- Result of the StopAppReplication operation returned by the service.
- See Also:
-
stopAppReplication
default StopAppReplicationResponse stopAppReplication(Consumer<StopAppReplicationRequest.Builder> stopAppReplicationRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException Stops replicating the specified application by deleting the replication job for each server in the application.
This is a convenience which creates an instance of the
StopAppReplicationRequest.Builder
avoiding the need to create one manually viaStopAppReplicationRequest.builder()
- Parameters:
stopAppReplicationRequest
- AConsumer
that will call methods onStopAppReplicationRequest.Builder
to create a request.- Returns:
- Result of the StopAppReplication operation returned by the service.
- See Also:
-
terminateApp
default TerminateAppResponse terminateApp(TerminateAppRequest terminateAppRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException Terminates the stack for the specified application.
- Parameters:
terminateAppRequest
-- Returns:
- Result of the TerminateApp operation returned by the service.
- See Also:
-
terminateApp
default TerminateAppResponse terminateApp(Consumer<TerminateAppRequest.Builder> terminateAppRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException Terminates the stack for the specified application.
This is a convenience which creates an instance of the
TerminateAppRequest.Builder
avoiding the need to create one manually viaTerminateAppRequest.builder()
- Parameters:
terminateAppRequest
- AConsumer
that will call methods onTerminateAppRequest.Builder
to create a request.- Returns:
- Result of the TerminateApp operation returned by the service.
- See Also:
-
updateApp
default UpdateAppResponse updateApp(UpdateAppRequest updateAppRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException Updates the specified application.
- Parameters:
updateAppRequest
-- Returns:
- Result of the UpdateApp operation returned by the service.
- See Also:
-
updateApp
default UpdateAppResponse updateApp(Consumer<UpdateAppRequest.Builder> updateAppRequest) throws UnauthorizedOperationException, InvalidParameterException, MissingRequiredParameterException, InternalErrorException, OperationNotPermittedException, AwsServiceException, SdkClientException, SmsException Updates the specified application.
This is a convenience which creates an instance of the
UpdateAppRequest.Builder
avoiding the need to create one manually viaUpdateAppRequest.builder()
- Parameters:
updateAppRequest
- AConsumer
that will call methods onUpdateAppRequest.Builder
to create a request.- Returns:
- Result of the UpdateApp operation returned by the service.
- See Also:
-
updateReplicationJob
default UpdateReplicationJobResponse updateReplicationJob(UpdateReplicationJobRequest updateReplicationJobRequest) throws InvalidParameterException, MissingRequiredParameterException, OperationNotPermittedException, UnauthorizedOperationException, ServerCannotBeReplicatedException, ReplicationJobNotFoundException, InternalErrorException, TemporarilyUnavailableException, AwsServiceException, SdkClientException, SmsException Updates the specified settings for the specified replication job.
- Parameters:
updateReplicationJobRequest
-- Returns:
- Result of the UpdateReplicationJob operation returned by the service.
- See Also:
-
updateReplicationJob
default UpdateReplicationJobResponse updateReplicationJob(Consumer<UpdateReplicationJobRequest.Builder> updateReplicationJobRequest) throws InvalidParameterException, MissingRequiredParameterException, OperationNotPermittedException, UnauthorizedOperationException, ServerCannotBeReplicatedException, ReplicationJobNotFoundException, InternalErrorException, TemporarilyUnavailableException, AwsServiceException, SdkClientException, SmsException Updates the specified settings for the specified replication job.
This is a convenience which creates an instance of the
UpdateReplicationJobRequest.Builder
avoiding the need to create one manually viaUpdateReplicationJobRequest.builder()
- Parameters:
updateReplicationJobRequest
- AConsumer
that will call methods onUpdateReplicationJobRequest.Builder
to create a request.- Returns:
- Result of the UpdateReplicationJob operation returned by the service.
- See Also:
-
create
Create aSmsClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aSmsClient
. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClient
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
- Returns:
- SdkServiceClientConfiguration
-