@Generated(value="software.amazon.awssdk:codegen") public interface SmsAsyncClient extends SdkClient
builder()
method.
AWS Server Migration Service (AWS SMS) makes it easier and faster for you to migrate your on-premises workloads to AWS. To learn more about AWS SMS, see the following resources:
Modifier and Type | Field and Description |
---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider . |
static String |
SERVICE_NAME |
Modifier and Type | Method and Description |
---|---|
static SmsAsyncClientBuilder |
builder()
Create a builder that can be used to configure and create a
SmsAsyncClient . |
static SmsAsyncClient |
create()
Create a
SmsAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider . |
default CompletableFuture<CreateAppResponse> |
createApp(Consumer<CreateAppRequest.Builder> createAppRequest)
Creates an application.
|
default CompletableFuture<CreateAppResponse> |
createApp(CreateAppRequest createAppRequest)
Creates an application.
|
default CompletableFuture<CreateReplicationJobResponse> |
createReplicationJob(Consumer<CreateReplicationJobRequest.Builder> createReplicationJobRequest)
Creates a replication job.
|
default CompletableFuture<CreateReplicationJobResponse> |
createReplicationJob(CreateReplicationJobRequest createReplicationJobRequest)
Creates a replication job.
|
default CompletableFuture<DeleteAppResponse> |
deleteApp(Consumer<DeleteAppRequest.Builder> deleteAppRequest)
Deletes the specified application.
|
default CompletableFuture<DeleteAppResponse> |
deleteApp(DeleteAppRequest deleteAppRequest)
Deletes the specified application.
|
default CompletableFuture<DeleteAppLaunchConfigurationResponse> |
deleteAppLaunchConfiguration(Consumer<DeleteAppLaunchConfigurationRequest.Builder> deleteAppLaunchConfigurationRequest)
Deletes the launch configuration for the specified application.
|
default CompletableFuture<DeleteAppLaunchConfigurationResponse> |
deleteAppLaunchConfiguration(DeleteAppLaunchConfigurationRequest deleteAppLaunchConfigurationRequest)
Deletes the launch configuration for the specified application.
|
default CompletableFuture<DeleteAppReplicationConfigurationResponse> |
deleteAppReplicationConfiguration(Consumer<DeleteAppReplicationConfigurationRequest.Builder> deleteAppReplicationConfigurationRequest)
Deletes the replication configuration for the specified application.
|
default CompletableFuture<DeleteAppReplicationConfigurationResponse> |
deleteAppReplicationConfiguration(DeleteAppReplicationConfigurationRequest deleteAppReplicationConfigurationRequest)
Deletes the replication configuration for the specified application.
|
default CompletableFuture<DeleteAppValidationConfigurationResponse> |
deleteAppValidationConfiguration(Consumer<DeleteAppValidationConfigurationRequest.Builder> deleteAppValidationConfigurationRequest)
Deletes the validation configuration for the specified application.
|
default CompletableFuture<DeleteAppValidationConfigurationResponse> |
deleteAppValidationConfiguration(DeleteAppValidationConfigurationRequest deleteAppValidationConfigurationRequest)
Deletes the validation configuration for the specified application.
|
default CompletableFuture<DeleteReplicationJobResponse> |
deleteReplicationJob(Consumer<DeleteReplicationJobRequest.Builder> deleteReplicationJobRequest)
Deletes the specified replication job.
|
default CompletableFuture<DeleteReplicationJobResponse> |
deleteReplicationJob(DeleteReplicationJobRequest deleteReplicationJobRequest)
Deletes the specified replication job.
|
default CompletableFuture<DeleteServerCatalogResponse> |
deleteServerCatalog()
Deletes all servers from your server catalog.
|
default CompletableFuture<DeleteServerCatalogResponse> |
deleteServerCatalog(Consumer<DeleteServerCatalogRequest.Builder> deleteServerCatalogRequest)
Deletes all servers from your server catalog.
|
default CompletableFuture<DeleteServerCatalogResponse> |
deleteServerCatalog(DeleteServerCatalogRequest deleteServerCatalogRequest)
Deletes all servers from your server catalog.
|
default CompletableFuture<DisassociateConnectorResponse> |
disassociateConnector(Consumer<DisassociateConnectorRequest.Builder> disassociateConnectorRequest)
Disassociates the specified connector from AWS SMS.
|
default CompletableFuture<DisassociateConnectorResponse> |
disassociateConnector(DisassociateConnectorRequest disassociateConnectorRequest)
Disassociates the specified connector from AWS SMS.
|
default CompletableFuture<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 CompletableFuture<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 CompletableFuture<GenerateTemplateResponse> |
generateTemplate(Consumer<GenerateTemplateRequest.Builder> generateTemplateRequest)
Generates an AWS CloudFormation template based on the current launch configuration and writes it to an Amazon S3
object in the customer’s Amazon S3 bucket.
|
default CompletableFuture<GenerateTemplateResponse> |
generateTemplate(GenerateTemplateRequest generateTemplateRequest)
Generates an AWS CloudFormation template based on the current launch configuration and writes it to an Amazon S3
object in the customer’s Amazon S3 bucket.
|
default CompletableFuture<GetAppResponse> |
getApp()
Retrieve information about the specified application.
|
default CompletableFuture<GetAppResponse> |
getApp(Consumer<GetAppRequest.Builder> getAppRequest)
Retrieve information about the specified application.
|
default CompletableFuture<GetAppResponse> |
getApp(GetAppRequest getAppRequest)
Retrieve information about the specified application.
|
default CompletableFuture<GetAppLaunchConfigurationResponse> |
getAppLaunchConfiguration()
Retrieves the application launch configuration associated with the specified application.
|
default CompletableFuture<GetAppLaunchConfigurationResponse> |
getAppLaunchConfiguration(Consumer<GetAppLaunchConfigurationRequest.Builder> getAppLaunchConfigurationRequest)
Retrieves the application launch configuration associated with the specified application.
|
default CompletableFuture<GetAppLaunchConfigurationResponse> |
getAppLaunchConfiguration(GetAppLaunchConfigurationRequest getAppLaunchConfigurationRequest)
Retrieves the application launch configuration associated with the specified application.
|
default CompletableFuture<GetAppReplicationConfigurationResponse> |
getAppReplicationConfiguration()
Retrieves the application replication configuration associated with the specified application.
|
default CompletableFuture<GetAppReplicationConfigurationResponse> |
getAppReplicationConfiguration(Consumer<GetAppReplicationConfigurationRequest.Builder> getAppReplicationConfigurationRequest)
Retrieves the application replication configuration associated with the specified application.
|
default CompletableFuture<GetAppReplicationConfigurationResponse> |
getAppReplicationConfiguration(GetAppReplicationConfigurationRequest getAppReplicationConfigurationRequest)
Retrieves the application replication configuration associated with the specified application.
|
default CompletableFuture<GetAppValidationConfigurationResponse> |
getAppValidationConfiguration(Consumer<GetAppValidationConfigurationRequest.Builder> getAppValidationConfigurationRequest)
Retrieves information about a configuration for validating an application.
|
default CompletableFuture<GetAppValidationConfigurationResponse> |
getAppValidationConfiguration(GetAppValidationConfigurationRequest getAppValidationConfigurationRequest)
Retrieves information about a configuration for validating an application.
|
default CompletableFuture<GetAppValidationOutputResponse> |
getAppValidationOutput(Consumer<GetAppValidationOutputRequest.Builder> getAppValidationOutputRequest)
Retrieves output from validating an application.
|
default CompletableFuture<GetAppValidationOutputResponse> |
getAppValidationOutput(GetAppValidationOutputRequest getAppValidationOutputRequest)
Retrieves output from validating an application.
|
default CompletableFuture<GetConnectorsResponse> |
getConnectors()
Describes the connectors registered with the AWS SMS.
|
default CompletableFuture<GetConnectorsResponse> |
getConnectors(Consumer<GetConnectorsRequest.Builder> getConnectorsRequest)
Describes the connectors registered with the AWS SMS.
|
default CompletableFuture<GetConnectorsResponse> |
getConnectors(GetConnectorsRequest getConnectorsRequest)
Describes the connectors registered with the AWS SMS.
|
default GetConnectorsPublisher |
getConnectorsPaginator()
Describes the connectors registered with the AWS SMS.
|
default GetConnectorsPublisher |
getConnectorsPaginator(Consumer<GetConnectorsRequest.Builder> getConnectorsRequest)
Describes the connectors registered with the AWS SMS.
|
default GetConnectorsPublisher |
getConnectorsPaginator(GetConnectorsRequest getConnectorsRequest)
Describes the connectors registered with the AWS SMS.
|
default CompletableFuture<GetReplicationJobsResponse> |
getReplicationJobs()
Describes the specified replication job or all of your replication jobs.
|
default CompletableFuture<GetReplicationJobsResponse> |
getReplicationJobs(Consumer<GetReplicationJobsRequest.Builder> getReplicationJobsRequest)
Describes the specified replication job or all of your replication jobs.
|
default CompletableFuture<GetReplicationJobsResponse> |
getReplicationJobs(GetReplicationJobsRequest getReplicationJobsRequest)
Describes the specified replication job or all of your replication jobs.
|
default GetReplicationJobsPublisher |
getReplicationJobsPaginator()
Describes the specified replication job or all of your replication jobs.
|
default GetReplicationJobsPublisher |
getReplicationJobsPaginator(Consumer<GetReplicationJobsRequest.Builder> getReplicationJobsRequest)
Describes the specified replication job or all of your replication jobs.
|
default GetReplicationJobsPublisher |
getReplicationJobsPaginator(GetReplicationJobsRequest getReplicationJobsRequest)
Describes the specified replication job or all of your replication jobs.
|
default CompletableFuture<GetReplicationRunsResponse> |
getReplicationRuns(Consumer<GetReplicationRunsRequest.Builder> getReplicationRunsRequest)
Describes the replication runs for the specified replication job.
|
default CompletableFuture<GetReplicationRunsResponse> |
getReplicationRuns(GetReplicationRunsRequest getReplicationRunsRequest)
Describes the replication runs for the specified replication job.
|
default GetReplicationRunsPublisher |
getReplicationRunsPaginator(Consumer<GetReplicationRunsRequest.Builder> getReplicationRunsRequest)
Describes the replication runs for the specified replication job.
|
default GetReplicationRunsPublisher |
getReplicationRunsPaginator(GetReplicationRunsRequest getReplicationRunsRequest)
Describes the replication runs for the specified replication job.
|
default CompletableFuture<GetServersResponse> |
getServers()
Describes the servers in your server catalog.
|
default CompletableFuture<GetServersResponse> |
getServers(Consumer<GetServersRequest.Builder> getServersRequest)
Describes the servers in your server catalog.
|
default CompletableFuture<GetServersResponse> |
getServers(GetServersRequest getServersRequest)
Describes the servers in your server catalog.
|
default GetServersPublisher |
getServersPaginator()
Describes the servers in your server catalog.
|
default GetServersPublisher |
getServersPaginator(Consumer<GetServersRequest.Builder> getServersRequest)
Describes the servers in your server catalog.
|
default GetServersPublisher |
getServersPaginator(GetServersRequest getServersRequest)
Describes the servers in your server catalog.
|
default CompletableFuture<ImportAppCatalogResponse> |
importAppCatalog(Consumer<ImportAppCatalogRequest.Builder> importAppCatalogRequest)
Allows application import from AWS Migration Hub.
|
default CompletableFuture<ImportAppCatalogResponse> |
importAppCatalog(ImportAppCatalogRequest importAppCatalogRequest)
Allows application import from AWS Migration Hub.
|
default CompletableFuture<ImportServerCatalogResponse> |
importServerCatalog()
Gathers a complete list of on-premises servers.
|
default CompletableFuture<ImportServerCatalogResponse> |
importServerCatalog(Consumer<ImportServerCatalogRequest.Builder> importServerCatalogRequest)
Gathers a complete list of on-premises servers.
|
default CompletableFuture<ImportServerCatalogResponse> |
importServerCatalog(ImportServerCatalogRequest importServerCatalogRequest)
Gathers a complete list of on-premises servers.
|
default CompletableFuture<LaunchAppResponse> |
launchApp(Consumer<LaunchAppRequest.Builder> launchAppRequest)
Launches the specified application as a stack in AWS CloudFormation.
|
default CompletableFuture<LaunchAppResponse> |
launchApp(LaunchAppRequest launchAppRequest)
Launches the specified application as a stack in AWS CloudFormation.
|
default CompletableFuture<ListAppsResponse> |
listApps()
Retrieves summaries for all applications.
|
default CompletableFuture<ListAppsResponse> |
listApps(Consumer<ListAppsRequest.Builder> listAppsRequest)
Retrieves summaries for all applications.
|
default CompletableFuture<ListAppsResponse> |
listApps(ListAppsRequest listAppsRequest)
Retrieves summaries for all applications.
|
default CompletableFuture<NotifyAppValidationOutputResponse> |
notifyAppValidationOutput(Consumer<NotifyAppValidationOutputRequest.Builder> notifyAppValidationOutputRequest)
Provides information to AWS SMS about whether application validation is successful.
|
default CompletableFuture<NotifyAppValidationOutputResponse> |
notifyAppValidationOutput(NotifyAppValidationOutputRequest notifyAppValidationOutputRequest)
Provides information to AWS SMS about whether application validation is successful.
|
default CompletableFuture<PutAppLaunchConfigurationResponse> |
putAppLaunchConfiguration(Consumer<PutAppLaunchConfigurationRequest.Builder> putAppLaunchConfigurationRequest)
Creates or updates the launch configuration for the specified application.
|
default CompletableFuture<PutAppLaunchConfigurationResponse> |
putAppLaunchConfiguration(PutAppLaunchConfigurationRequest putAppLaunchConfigurationRequest)
Creates or updates the launch configuration for the specified application.
|
default CompletableFuture<PutAppReplicationConfigurationResponse> |
putAppReplicationConfiguration(Consumer<PutAppReplicationConfigurationRequest.Builder> putAppReplicationConfigurationRequest)
Creates or updates the replication configuration for the specified application.
|
default CompletableFuture<PutAppReplicationConfigurationResponse> |
putAppReplicationConfiguration(PutAppReplicationConfigurationRequest putAppReplicationConfigurationRequest)
Creates or updates the replication configuration for the specified application.
|
default CompletableFuture<PutAppValidationConfigurationResponse> |
putAppValidationConfiguration(Consumer<PutAppValidationConfigurationRequest.Builder> putAppValidationConfigurationRequest)
Creates or updates a validation configuration for the specified application.
|
default CompletableFuture<PutAppValidationConfigurationResponse> |
putAppValidationConfiguration(PutAppValidationConfigurationRequest putAppValidationConfigurationRequest)
Creates or updates a validation configuration for the specified application.
|
default CompletableFuture<StartAppReplicationResponse> |
startAppReplication(Consumer<StartAppReplicationRequest.Builder> startAppReplicationRequest)
Starts replicating the specified application by creating replication jobs for each server in the application.
|
default CompletableFuture<StartAppReplicationResponse> |
startAppReplication(StartAppReplicationRequest startAppReplicationRequest)
Starts replicating the specified application by creating replication jobs for each server in the application.
|
default CompletableFuture<StartOnDemandAppReplicationResponse> |
startOnDemandAppReplication(Consumer<StartOnDemandAppReplicationRequest.Builder> startOnDemandAppReplicationRequest)
Starts an on-demand replication run for the specified application.
|
default CompletableFuture<StartOnDemandAppReplicationResponse> |
startOnDemandAppReplication(StartOnDemandAppReplicationRequest startOnDemandAppReplicationRequest)
Starts an on-demand replication run for the specified application.
|
default CompletableFuture<StartOnDemandReplicationRunResponse> |
startOnDemandReplicationRun(Consumer<StartOnDemandReplicationRunRequest.Builder> startOnDemandReplicationRunRequest)
Starts an on-demand replication run for the specified replication job.
|
default CompletableFuture<StartOnDemandReplicationRunResponse> |
startOnDemandReplicationRun(StartOnDemandReplicationRunRequest startOnDemandReplicationRunRequest)
Starts an on-demand replication run for the specified replication job.
|
default CompletableFuture<StopAppReplicationResponse> |
stopAppReplication(Consumer<StopAppReplicationRequest.Builder> stopAppReplicationRequest)
Stops replicating the specified application by deleting the replication job for each server in the application.
|
default CompletableFuture<StopAppReplicationResponse> |
stopAppReplication(StopAppReplicationRequest stopAppReplicationRequest)
Stops replicating the specified application by deleting the replication job for each server in the application.
|
default CompletableFuture<TerminateAppResponse> |
terminateApp(Consumer<TerminateAppRequest.Builder> terminateAppRequest)
Terminates the stack for the specified application.
|
default CompletableFuture<TerminateAppResponse> |
terminateApp(TerminateAppRequest terminateAppRequest)
Terminates the stack for the specified application.
|
default CompletableFuture<UpdateAppResponse> |
updateApp(Consumer<UpdateAppRequest.Builder> updateAppRequest)
Updates the specified application.
|
default CompletableFuture<UpdateAppResponse> |
updateApp(UpdateAppRequest updateAppRequest)
Updates the specified application.
|
default CompletableFuture<UpdateReplicationJobResponse> |
updateReplicationJob(Consumer<UpdateReplicationJobRequest.Builder> updateReplicationJobRequest)
Updates the specified settings for the specified replication job.
|
default CompletableFuture<UpdateReplicationJobResponse> |
updateReplicationJob(UpdateReplicationJobRequest updateReplicationJobRequest)
Updates the specified settings for the specified replication job.
|
serviceName
close
static final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider
.static SmsAsyncClient create()
SmsAsyncClient
with the region loaded from the
DefaultAwsRegionProviderChain
and credentials loaded from the
DefaultCredentialsProvider
.static SmsAsyncClientBuilder builder()
SmsAsyncClient
.default CompletableFuture<CreateAppResponse> createApp(CreateAppRequest createAppRequest)
Creates an application. An application consists of one or more server groups. Each server group contain one or more servers.
createAppRequest
- default CompletableFuture<CreateAppResponse> createApp(Consumer<CreateAppRequest.Builder> createAppRequest)
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 via CreateAppRequest.builder()
createAppRequest
- A Consumer
that will call methods on CreateAppRequest.Builder
to create a request.default CompletableFuture<CreateReplicationJobResponse> createReplicationJob(CreateReplicationJobRequest createReplicationJobRequest)
Creates a replication job. The replication job schedules periodic replication runs to replicate your server to AWS. Each replication run creates an Amazon Machine Image (AMI).
createReplicationJobRequest
- default CompletableFuture<CreateReplicationJobResponse> createReplicationJob(Consumer<CreateReplicationJobRequest.Builder> createReplicationJobRequest)
Creates a replication job. The replication job schedules periodic replication runs to replicate your server to AWS. Each replication run creates an Amazon Machine Image (AMI).
This is a convenience which creates an instance of the CreateReplicationJobRequest.Builder
avoiding the
need to create one manually via CreateReplicationJobRequest.builder()
createReplicationJobRequest
- A Consumer
that will call methods on CreateReplicationJobRequest.Builder
to create a
request.default CompletableFuture<DeleteAppResponse> deleteApp(DeleteAppRequest deleteAppRequest)
Deletes the specified application. Optionally deletes the launched stack associated with the application and all AWS SMS replication jobs for servers in the application.
deleteAppRequest
- default CompletableFuture<DeleteAppResponse> deleteApp(Consumer<DeleteAppRequest.Builder> deleteAppRequest)
Deletes the specified application. Optionally deletes the launched stack associated with the application and all AWS SMS 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 via DeleteAppRequest.builder()
deleteAppRequest
- A Consumer
that will call methods on DeleteAppRequest.Builder
to create a request.default CompletableFuture<DeleteAppLaunchConfigurationResponse> deleteAppLaunchConfiguration(DeleteAppLaunchConfigurationRequest deleteAppLaunchConfigurationRequest)
Deletes the launch configuration for the specified application.
deleteAppLaunchConfigurationRequest
- default CompletableFuture<DeleteAppLaunchConfigurationResponse> deleteAppLaunchConfiguration(Consumer<DeleteAppLaunchConfigurationRequest.Builder> deleteAppLaunchConfigurationRequest)
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 via DeleteAppLaunchConfigurationRequest.builder()
deleteAppLaunchConfigurationRequest
- A Consumer
that will call methods on DeleteAppLaunchConfigurationRequest.Builder
to create
a request.default CompletableFuture<DeleteAppReplicationConfigurationResponse> deleteAppReplicationConfiguration(DeleteAppReplicationConfigurationRequest deleteAppReplicationConfigurationRequest)
Deletes the replication configuration for the specified application.
deleteAppReplicationConfigurationRequest
- default CompletableFuture<DeleteAppReplicationConfigurationResponse> deleteAppReplicationConfiguration(Consumer<DeleteAppReplicationConfigurationRequest.Builder> deleteAppReplicationConfigurationRequest)
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 via DeleteAppReplicationConfigurationRequest.builder()
deleteAppReplicationConfigurationRequest
- A Consumer
that will call methods on DeleteAppReplicationConfigurationRequest.Builder
to
create a request.default CompletableFuture<DeleteAppValidationConfigurationResponse> deleteAppValidationConfiguration(DeleteAppValidationConfigurationRequest deleteAppValidationConfigurationRequest)
Deletes the validation configuration for the specified application.
deleteAppValidationConfigurationRequest
- default CompletableFuture<DeleteAppValidationConfigurationResponse> deleteAppValidationConfiguration(Consumer<DeleteAppValidationConfigurationRequest.Builder> deleteAppValidationConfigurationRequest)
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 via DeleteAppValidationConfigurationRequest.builder()
deleteAppValidationConfigurationRequest
- A Consumer
that will call methods on DeleteAppValidationConfigurationRequest.Builder
to
create a request.default CompletableFuture<DeleteReplicationJobResponse> deleteReplicationJob(DeleteReplicationJobRequest deleteReplicationJobRequest)
Deletes the specified replication job.
After you delete a replication job, there are no further replication runs. AWS deletes the contents of the Amazon S3 bucket used to store AWS SMS artifacts. The AMIs created by the replication runs are not deleted.
deleteReplicationJobRequest
- default CompletableFuture<DeleteReplicationJobResponse> deleteReplicationJob(Consumer<DeleteReplicationJobRequest.Builder> deleteReplicationJobRequest)
Deletes the specified replication job.
After you delete a replication job, there are no further replication runs. AWS deletes the contents of the Amazon S3 bucket used to store AWS SMS artifacts. The AMIs created by the replication runs are not deleted.
This is a convenience which creates an instance of the DeleteReplicationJobRequest.Builder
avoiding the
need to create one manually via DeleteReplicationJobRequest.builder()
deleteReplicationJobRequest
- A Consumer
that will call methods on DeleteReplicationJobRequest.Builder
to create a
request.default CompletableFuture<DeleteServerCatalogResponse> deleteServerCatalog(DeleteServerCatalogRequest deleteServerCatalogRequest)
Deletes all servers from your server catalog.
deleteServerCatalogRequest
- default CompletableFuture<DeleteServerCatalogResponse> deleteServerCatalog(Consumer<DeleteServerCatalogRequest.Builder> deleteServerCatalogRequest)
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 via DeleteServerCatalogRequest.builder()
deleteServerCatalogRequest
- A Consumer
that will call methods on DeleteServerCatalogRequest.Builder
to create a
request.default CompletableFuture<DeleteServerCatalogResponse> deleteServerCatalog()
Deletes all servers from your server catalog.
default CompletableFuture<DisassociateConnectorResponse> disassociateConnector(DisassociateConnectorRequest disassociateConnectorRequest)
Disassociates the specified connector from AWS SMS.
After you disassociate a connector, it is no longer available to support replication jobs.
disassociateConnectorRequest
- default CompletableFuture<DisassociateConnectorResponse> disassociateConnector(Consumer<DisassociateConnectorRequest.Builder> disassociateConnectorRequest)
Disassociates the specified connector from AWS SMS.
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 via DisassociateConnectorRequest.builder()
disassociateConnectorRequest
- A Consumer
that will call methods on DisassociateConnectorRequest.Builder
to create a
request.default CompletableFuture<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.
generateChangeSetRequest
- default CompletableFuture<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.
This is a convenience which creates an instance of the GenerateChangeSetRequest.Builder
avoiding the need
to create one manually via GenerateChangeSetRequest.builder()
generateChangeSetRequest
- A Consumer
that will call methods on GenerateChangeSetRequest.Builder
to create a request.default CompletableFuture<GenerateTemplateResponse> generateTemplate(GenerateTemplateRequest generateTemplateRequest)
Generates an AWS CloudFormation template based on the current launch configuration and writes it to an Amazon S3 object in the customer’s Amazon S3 bucket.
generateTemplateRequest
- default CompletableFuture<GenerateTemplateResponse> generateTemplate(Consumer<GenerateTemplateRequest.Builder> generateTemplateRequest)
Generates an AWS 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 via GenerateTemplateRequest.builder()
generateTemplateRequest
- A Consumer
that will call methods on GenerateTemplateRequest.Builder
to create a request.default CompletableFuture<GetAppResponse> getApp(GetAppRequest getAppRequest)
Retrieve information about the specified application.
getAppRequest
- default CompletableFuture<GetAppResponse> getApp(Consumer<GetAppRequest.Builder> getAppRequest)
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 via GetAppRequest.builder()
getAppRequest
- A Consumer
that will call methods on GetAppRequest.Builder
to create a request.default CompletableFuture<GetAppResponse> getApp()
Retrieve information about the specified application.
default CompletableFuture<GetAppLaunchConfigurationResponse> getAppLaunchConfiguration(GetAppLaunchConfigurationRequest getAppLaunchConfigurationRequest)
Retrieves the application launch configuration associated with the specified application.
getAppLaunchConfigurationRequest
- default CompletableFuture<GetAppLaunchConfigurationResponse> getAppLaunchConfiguration(Consumer<GetAppLaunchConfigurationRequest.Builder> getAppLaunchConfigurationRequest)
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 via GetAppLaunchConfigurationRequest.builder()
getAppLaunchConfigurationRequest
- A Consumer
that will call methods on GetAppLaunchConfigurationRequest.Builder
to create a
request.default CompletableFuture<GetAppLaunchConfigurationResponse> getAppLaunchConfiguration()
Retrieves the application launch configuration associated with the specified application.
default CompletableFuture<GetAppReplicationConfigurationResponse> getAppReplicationConfiguration(GetAppReplicationConfigurationRequest getAppReplicationConfigurationRequest)
Retrieves the application replication configuration associated with the specified application.
getAppReplicationConfigurationRequest
- default CompletableFuture<GetAppReplicationConfigurationResponse> getAppReplicationConfiguration(Consumer<GetAppReplicationConfigurationRequest.Builder> getAppReplicationConfigurationRequest)
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 via GetAppReplicationConfigurationRequest.builder()
getAppReplicationConfigurationRequest
- A Consumer
that will call methods on GetAppReplicationConfigurationRequest.Builder
to
create a request.default CompletableFuture<GetAppReplicationConfigurationResponse> getAppReplicationConfiguration()
Retrieves the application replication configuration associated with the specified application.
default CompletableFuture<GetAppValidationConfigurationResponse> getAppValidationConfiguration(GetAppValidationConfigurationRequest getAppValidationConfigurationRequest)
Retrieves information about a configuration for validating an application.
getAppValidationConfigurationRequest
- default CompletableFuture<GetAppValidationConfigurationResponse> getAppValidationConfiguration(Consumer<GetAppValidationConfigurationRequest.Builder> getAppValidationConfigurationRequest)
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 via GetAppValidationConfigurationRequest.builder()
getAppValidationConfigurationRequest
- A Consumer
that will call methods on GetAppValidationConfigurationRequest.Builder
to
create a request.default CompletableFuture<GetAppValidationOutputResponse> getAppValidationOutput(GetAppValidationOutputRequest getAppValidationOutputRequest)
Retrieves output from validating an application.
getAppValidationOutputRequest
- default CompletableFuture<GetAppValidationOutputResponse> getAppValidationOutput(Consumer<GetAppValidationOutputRequest.Builder> getAppValidationOutputRequest)
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 via GetAppValidationOutputRequest.builder()
getAppValidationOutputRequest
- A Consumer
that will call methods on GetAppValidationOutputRequest.Builder
to create a
request.default CompletableFuture<GetConnectorsResponse> getConnectors(GetConnectorsRequest getConnectorsRequest)
Describes the connectors registered with the AWS SMS.
getConnectorsRequest
- default CompletableFuture<GetConnectorsResponse> getConnectors(Consumer<GetConnectorsRequest.Builder> getConnectorsRequest)
Describes the connectors registered with the AWS SMS.
This is a convenience which creates an instance of the GetConnectorsRequest.Builder
avoiding the need to
create one manually via GetConnectorsRequest.builder()
getConnectorsRequest
- A Consumer
that will call methods on GetConnectorsRequest.Builder
to create a request.default CompletableFuture<GetConnectorsResponse> getConnectors()
Describes the connectors registered with the AWS SMS.
default GetConnectorsPublisher getConnectorsPaginator()
Describes the connectors registered with the AWS SMS.
This is a variant of getConnectors(software.amazon.awssdk.services.sms.model.GetConnectorsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.sms.paginators.GetConnectorsPublisher publisher = client.getConnectorsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.sms.paginators.GetConnectorsPublisher publisher = client.getConnectorsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.sms.model.GetConnectorsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.sms.model.GetConnectorsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.
default GetConnectorsPublisher getConnectorsPaginator(GetConnectorsRequest getConnectorsRequest)
Describes the connectors registered with the AWS SMS.
This is a variant of getConnectors(software.amazon.awssdk.services.sms.model.GetConnectorsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.sms.paginators.GetConnectorsPublisher publisher = client.getConnectorsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.sms.paginators.GetConnectorsPublisher publisher = client.getConnectorsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.sms.model.GetConnectorsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.sms.model.GetConnectorsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.
getConnectorsRequest
- default GetConnectorsPublisher getConnectorsPaginator(Consumer<GetConnectorsRequest.Builder> getConnectorsRequest)
Describes the connectors registered with the AWS SMS.
This is a variant of getConnectors(software.amazon.awssdk.services.sms.model.GetConnectorsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.sms.paginators.GetConnectorsPublisher publisher = client.getConnectorsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.sms.paginators.GetConnectorsPublisher publisher = client.getConnectorsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.sms.model.GetConnectorsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.sms.model.GetConnectorsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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 via GetConnectorsRequest.builder()
getConnectorsRequest
- A Consumer
that will call methods on GetConnectorsRequest.Builder
to create a request.default CompletableFuture<GetReplicationJobsResponse> getReplicationJobs(GetReplicationJobsRequest getReplicationJobsRequest)
Describes the specified replication job or all of your replication jobs.
getReplicationJobsRequest
- default CompletableFuture<GetReplicationJobsResponse> getReplicationJobs(Consumer<GetReplicationJobsRequest.Builder> getReplicationJobsRequest)
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 via GetReplicationJobsRequest.builder()
getReplicationJobsRequest
- A Consumer
that will call methods on GetReplicationJobsRequest.Builder
to create a
request.default CompletableFuture<GetReplicationJobsResponse> getReplicationJobs()
Describes the specified replication job or all of your replication jobs.
default GetReplicationJobsPublisher getReplicationJobsPaginator()
Describes the specified replication job or all of your replication jobs.
This is a variant of
getReplicationJobs(software.amazon.awssdk.services.sms.model.GetReplicationJobsRequest)
operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.sms.paginators.GetReplicationJobsPublisher publisher = client.getReplicationJobsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.sms.paginators.GetReplicationJobsPublisher publisher = client.getReplicationJobsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.sms.model.GetReplicationJobsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.sms.model.GetReplicationJobsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.
default GetReplicationJobsPublisher getReplicationJobsPaginator(GetReplicationJobsRequest getReplicationJobsRequest)
Describes the specified replication job or all of your replication jobs.
This is a variant of
getReplicationJobs(software.amazon.awssdk.services.sms.model.GetReplicationJobsRequest)
operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.sms.paginators.GetReplicationJobsPublisher publisher = client.getReplicationJobsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.sms.paginators.GetReplicationJobsPublisher publisher = client.getReplicationJobsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.sms.model.GetReplicationJobsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.sms.model.GetReplicationJobsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.
getReplicationJobsRequest
- default GetReplicationJobsPublisher getReplicationJobsPaginator(Consumer<GetReplicationJobsRequest.Builder> getReplicationJobsRequest)
Describes the specified replication job or all of your replication jobs.
This is a variant of
getReplicationJobs(software.amazon.awssdk.services.sms.model.GetReplicationJobsRequest)
operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.sms.paginators.GetReplicationJobsPublisher publisher = client.getReplicationJobsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.sms.paginators.GetReplicationJobsPublisher publisher = client.getReplicationJobsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.sms.model.GetReplicationJobsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.sms.model.GetReplicationJobsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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 via GetReplicationJobsRequest.builder()
getReplicationJobsRequest
- A Consumer
that will call methods on GetReplicationJobsRequest.Builder
to create a
request.default CompletableFuture<GetReplicationRunsResponse> getReplicationRuns(GetReplicationRunsRequest getReplicationRunsRequest)
Describes the replication runs for the specified replication job.
getReplicationRunsRequest
- default CompletableFuture<GetReplicationRunsResponse> getReplicationRuns(Consumer<GetReplicationRunsRequest.Builder> getReplicationRunsRequest)
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 via GetReplicationRunsRequest.builder()
getReplicationRunsRequest
- A Consumer
that will call methods on GetReplicationRunsRequest.Builder
to create a
request.default GetReplicationRunsPublisher getReplicationRunsPaginator(GetReplicationRunsRequest getReplicationRunsRequest)
Describes the replication runs for the specified replication job.
This is a variant of
getReplicationRuns(software.amazon.awssdk.services.sms.model.GetReplicationRunsRequest)
operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.sms.paginators.GetReplicationRunsPublisher publisher = client.getReplicationRunsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.sms.paginators.GetReplicationRunsPublisher publisher = client.getReplicationRunsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.sms.model.GetReplicationRunsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.sms.model.GetReplicationRunsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.
getReplicationRunsRequest
- default GetReplicationRunsPublisher getReplicationRunsPaginator(Consumer<GetReplicationRunsRequest.Builder> getReplicationRunsRequest)
Describes the replication runs for the specified replication job.
This is a variant of
getReplicationRuns(software.amazon.awssdk.services.sms.model.GetReplicationRunsRequest)
operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.sms.paginators.GetReplicationRunsPublisher publisher = client.getReplicationRunsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.sms.paginators.GetReplicationRunsPublisher publisher = client.getReplicationRunsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.sms.model.GetReplicationRunsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.sms.model.GetReplicationRunsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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 via GetReplicationRunsRequest.builder()
getReplicationRunsRequest
- A Consumer
that will call methods on GetReplicationRunsRequest.Builder
to create a
request.default CompletableFuture<GetServersResponse> getServers(GetServersRequest getServersRequest)
Describes the servers in your server catalog.
Before you can describe your servers, you must import them using ImportServerCatalog.
getServersRequest
- default CompletableFuture<GetServersResponse> getServers(Consumer<GetServersRequest.Builder> getServersRequest)
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 via GetServersRequest.builder()
getServersRequest
- A Consumer
that will call methods on GetServersRequest.Builder
to create a request.default CompletableFuture<GetServersResponse> getServers()
Describes the servers in your server catalog.
Before you can describe your servers, you must import them using ImportServerCatalog.
default GetServersPublisher getServersPaginator()
Describes the servers in your server catalog.
Before you can describe your servers, you must import them using ImportServerCatalog.
This is a variant of getServers(software.amazon.awssdk.services.sms.model.GetServersRequest)
operation.
The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.sms.paginators.GetServersPublisher publisher = client.getServersPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.sms.paginators.GetServersPublisher publisher = client.getServersPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.sms.model.GetServersResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.sms.model.GetServersResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.
default GetServersPublisher getServersPaginator(GetServersRequest getServersRequest)
Describes the servers in your server catalog.
Before you can describe your servers, you must import them using ImportServerCatalog.
This is a variant of getServers(software.amazon.awssdk.services.sms.model.GetServersRequest)
operation.
The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.sms.paginators.GetServersPublisher publisher = client.getServersPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.sms.paginators.GetServersPublisher publisher = client.getServersPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.sms.model.GetServersResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.sms.model.GetServersResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.
getServersRequest
- default GetServersPublisher getServersPaginator(Consumer<GetServersRequest.Builder> getServersRequest)
Describes the servers in your server catalog.
Before you can describe your servers, you must import them using ImportServerCatalog.
This is a variant of getServers(software.amazon.awssdk.services.sms.model.GetServersRequest)
operation.
The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.sms.paginators.GetServersPublisher publisher = client.getServersPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.sms.paginators.GetServersPublisher publisher = client.getServersPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.sms.model.GetServersResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.sms.model.GetServersResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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 via GetServersRequest.builder()
getServersRequest
- A Consumer
that will call methods on GetServersRequest.Builder
to create a request.default CompletableFuture<ImportAppCatalogResponse> importAppCatalog(ImportAppCatalogRequest importAppCatalogRequest)
Allows application import from AWS Migration Hub.
importAppCatalogRequest
- default CompletableFuture<ImportAppCatalogResponse> importAppCatalog(Consumer<ImportAppCatalogRequest.Builder> importAppCatalogRequest)
Allows application import from AWS Migration Hub.
This is a convenience which creates an instance of the ImportAppCatalogRequest.Builder
avoiding the need
to create one manually via ImportAppCatalogRequest.builder()
importAppCatalogRequest
- A Consumer
that will call methods on ImportAppCatalogRequest.Builder
to create a request.default CompletableFuture<ImportServerCatalogResponse> importServerCatalog(ImportServerCatalogRequest importServerCatalogRequest)
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.
importServerCatalogRequest
- default CompletableFuture<ImportServerCatalogResponse> importServerCatalog(Consumer<ImportServerCatalogRequest.Builder> importServerCatalogRequest)
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 via ImportServerCatalogRequest.builder()
importServerCatalogRequest
- A Consumer
that will call methods on ImportServerCatalogRequest.Builder
to create a
request.default CompletableFuture<ImportServerCatalogResponse> importServerCatalog()
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.
default CompletableFuture<LaunchAppResponse> launchApp(LaunchAppRequest launchAppRequest)
Launches the specified application as a stack in AWS CloudFormation.
launchAppRequest
- default CompletableFuture<LaunchAppResponse> launchApp(Consumer<LaunchAppRequest.Builder> launchAppRequest)
Launches the specified application as a stack in AWS CloudFormation.
This is a convenience which creates an instance of the LaunchAppRequest.Builder
avoiding the need to
create one manually via LaunchAppRequest.builder()
launchAppRequest
- A Consumer
that will call methods on LaunchAppRequest.Builder
to create a request.default CompletableFuture<ListAppsResponse> listApps(ListAppsRequest listAppsRequest)
Retrieves summaries for all applications.
listAppsRequest
- default CompletableFuture<ListAppsResponse> listApps(Consumer<ListAppsRequest.Builder> listAppsRequest)
Retrieves summaries for all applications.
This is a convenience which creates an instance of the ListAppsRequest.Builder
avoiding the need to
create one manually via ListAppsRequest.builder()
listAppsRequest
- A Consumer
that will call methods on ListAppsRequest.Builder
to create a request.default CompletableFuture<ListAppsResponse> listApps()
Retrieves summaries for all applications.
default CompletableFuture<NotifyAppValidationOutputResponse> notifyAppValidationOutput(NotifyAppValidationOutputRequest notifyAppValidationOutputRequest)
Provides information to AWS SMS about whether application validation is successful.
notifyAppValidationOutputRequest
- default CompletableFuture<NotifyAppValidationOutputResponse> notifyAppValidationOutput(Consumer<NotifyAppValidationOutputRequest.Builder> notifyAppValidationOutputRequest)
Provides information to AWS SMS 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 via NotifyAppValidationOutputRequest.builder()
notifyAppValidationOutputRequest
- A Consumer
that will call methods on NotifyAppValidationOutputRequest.Builder
to create a
request.default CompletableFuture<PutAppLaunchConfigurationResponse> putAppLaunchConfiguration(PutAppLaunchConfigurationRequest putAppLaunchConfigurationRequest)
Creates or updates the launch configuration for the specified application.
putAppLaunchConfigurationRequest
- default CompletableFuture<PutAppLaunchConfigurationResponse> putAppLaunchConfiguration(Consumer<PutAppLaunchConfigurationRequest.Builder> putAppLaunchConfigurationRequest)
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 via PutAppLaunchConfigurationRequest.builder()
putAppLaunchConfigurationRequest
- A Consumer
that will call methods on PutAppLaunchConfigurationRequest.Builder
to create a
request.default CompletableFuture<PutAppReplicationConfigurationResponse> putAppReplicationConfiguration(PutAppReplicationConfigurationRequest putAppReplicationConfigurationRequest)
Creates or updates the replication configuration for the specified application.
putAppReplicationConfigurationRequest
- default CompletableFuture<PutAppReplicationConfigurationResponse> putAppReplicationConfiguration(Consumer<PutAppReplicationConfigurationRequest.Builder> putAppReplicationConfigurationRequest)
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 via PutAppReplicationConfigurationRequest.builder()
putAppReplicationConfigurationRequest
- A Consumer
that will call methods on PutAppReplicationConfigurationRequest.Builder
to
create a request.default CompletableFuture<PutAppValidationConfigurationResponse> putAppValidationConfiguration(PutAppValidationConfigurationRequest putAppValidationConfigurationRequest)
Creates or updates a validation configuration for the specified application.
putAppValidationConfigurationRequest
- default CompletableFuture<PutAppValidationConfigurationResponse> putAppValidationConfiguration(Consumer<PutAppValidationConfigurationRequest.Builder> putAppValidationConfigurationRequest)
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 via PutAppValidationConfigurationRequest.builder()
putAppValidationConfigurationRequest
- A Consumer
that will call methods on PutAppValidationConfigurationRequest.Builder
to
create a request.default CompletableFuture<StartAppReplicationResponse> startAppReplication(StartAppReplicationRequest startAppReplicationRequest)
Starts replicating the specified application by creating replication jobs for each server in the application.
startAppReplicationRequest
- default CompletableFuture<StartAppReplicationResponse> startAppReplication(Consumer<StartAppReplicationRequest.Builder> startAppReplicationRequest)
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 via StartAppReplicationRequest.builder()
startAppReplicationRequest
- A Consumer
that will call methods on StartAppReplicationRequest.Builder
to create a
request.default CompletableFuture<StartOnDemandAppReplicationResponse> startOnDemandAppReplication(StartOnDemandAppReplicationRequest startOnDemandAppReplicationRequest)
Starts an on-demand replication run for the specified application.
startOnDemandAppReplicationRequest
- default CompletableFuture<StartOnDemandAppReplicationResponse> startOnDemandAppReplication(Consumer<StartOnDemandAppReplicationRequest.Builder> startOnDemandAppReplicationRequest)
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 via StartOnDemandAppReplicationRequest.builder()
startOnDemandAppReplicationRequest
- A Consumer
that will call methods on StartOnDemandAppReplicationRequest.Builder
to create
a request.default CompletableFuture<StartOnDemandReplicationRunResponse> startOnDemandReplicationRun(StartOnDemandReplicationRunRequest startOnDemandReplicationRunRequest)
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.
startOnDemandReplicationRunRequest
- default CompletableFuture<StartOnDemandReplicationRunResponse> startOnDemandReplicationRun(Consumer<StartOnDemandReplicationRunRequest.Builder> startOnDemandReplicationRunRequest)
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 via StartOnDemandReplicationRunRequest.builder()
startOnDemandReplicationRunRequest
- A Consumer
that will call methods on StartOnDemandReplicationRunRequest.Builder
to create
a request.default CompletableFuture<StopAppReplicationResponse> stopAppReplication(StopAppReplicationRequest stopAppReplicationRequest)
Stops replicating the specified application by deleting the replication job for each server in the application.
stopAppReplicationRequest
- default CompletableFuture<StopAppReplicationResponse> stopAppReplication(Consumer<StopAppReplicationRequest.Builder> stopAppReplicationRequest)
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 via StopAppReplicationRequest.builder()
stopAppReplicationRequest
- A Consumer
that will call methods on StopAppReplicationRequest.Builder
to create a
request.default CompletableFuture<TerminateAppResponse> terminateApp(TerminateAppRequest terminateAppRequest)
Terminates the stack for the specified application.
terminateAppRequest
- default CompletableFuture<TerminateAppResponse> terminateApp(Consumer<TerminateAppRequest.Builder> terminateAppRequest)
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 via TerminateAppRequest.builder()
terminateAppRequest
- A Consumer
that will call methods on TerminateAppRequest.Builder
to create a request.default CompletableFuture<UpdateAppResponse> updateApp(UpdateAppRequest updateAppRequest)
Updates the specified application.
updateAppRequest
- default CompletableFuture<UpdateAppResponse> updateApp(Consumer<UpdateAppRequest.Builder> updateAppRequest)
Updates the specified application.
This is a convenience which creates an instance of the UpdateAppRequest.Builder
avoiding the need to
create one manually via UpdateAppRequest.builder()
updateAppRequest
- A Consumer
that will call methods on UpdateAppRequest.Builder
to create a request.default CompletableFuture<UpdateReplicationJobResponse> updateReplicationJob(UpdateReplicationJobRequest updateReplicationJobRequest)
Updates the specified settings for the specified replication job.
updateReplicationJobRequest
- default CompletableFuture<UpdateReplicationJobResponse> updateReplicationJob(Consumer<UpdateReplicationJobRequest.Builder> updateReplicationJobRequest)
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 via UpdateReplicationJobRequest.builder()
updateReplicationJobRequest
- A Consumer
that will call methods on UpdateReplicationJobRequest.Builder
to create a
request.