Interface DrsAsyncClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder() method.The
asynchronous client performs non-blocking I/O when configured with any SdkAsyncHttpClient supported in the
SDK. However, full non-blocking is not guaranteed as the async client may perform blocking calls in some cases such
as credentials retrieval and endpoint discovery as part of the async API call.
AWS Elastic Disaster Recovery Service.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptionassociateSourceNetworkStack(Consumer<AssociateSourceNetworkStackRequest.Builder> associateSourceNetworkStackRequest) Associate a Source Network to an existing CloudFormation Stack and modify launch templates to use this network.associateSourceNetworkStack(AssociateSourceNetworkStackRequest associateSourceNetworkStackRequest) Associate a Source Network to an existing CloudFormation Stack and modify launch templates to use this network.static DrsAsyncClientBuilderbuilder()Create a builder that can be used to configure and create aDrsAsyncClient.static DrsAsyncClientcreate()Create aDrsAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.createExtendedSourceServer(Consumer<CreateExtendedSourceServerRequest.Builder> createExtendedSourceServerRequest) Create an extended source server in the target Account based on the source server in staging account.createExtendedSourceServer(CreateExtendedSourceServerRequest createExtendedSourceServerRequest) Create an extended source server in the target Account based on the source server in staging account.createLaunchConfigurationTemplate(Consumer<CreateLaunchConfigurationTemplateRequest.Builder> createLaunchConfigurationTemplateRequest) Creates a new Launch Configuration Template.createLaunchConfigurationTemplate(CreateLaunchConfigurationTemplateRequest createLaunchConfigurationTemplateRequest) Creates a new Launch Configuration Template.createReplicationConfigurationTemplate(Consumer<CreateReplicationConfigurationTemplateRequest.Builder> createReplicationConfigurationTemplateRequest) Creates a new ReplicationConfigurationTemplate.createReplicationConfigurationTemplate(CreateReplicationConfigurationTemplateRequest createReplicationConfigurationTemplateRequest) Creates a new ReplicationConfigurationTemplate.createSourceNetwork(Consumer<CreateSourceNetworkRequest.Builder> createSourceNetworkRequest) Create a new Source Network resource for a provided VPC ID.createSourceNetwork(CreateSourceNetworkRequest createSourceNetworkRequest) Create a new Source Network resource for a provided VPC ID.default CompletableFuture<DeleteJobResponse> deleteJob(Consumer<DeleteJobRequest.Builder> deleteJobRequest) Deletes a single Job by ID.default CompletableFuture<DeleteJobResponse> deleteJob(DeleteJobRequest deleteJobRequest) Deletes a single Job by ID.deleteLaunchAction(Consumer<DeleteLaunchActionRequest.Builder> deleteLaunchActionRequest) Deletes a resource launch action.deleteLaunchAction(DeleteLaunchActionRequest deleteLaunchActionRequest) Deletes a resource launch action.deleteLaunchConfigurationTemplate(Consumer<DeleteLaunchConfigurationTemplateRequest.Builder> deleteLaunchConfigurationTemplateRequest) Deletes a single Launch Configuration Template by ID.deleteLaunchConfigurationTemplate(DeleteLaunchConfigurationTemplateRequest deleteLaunchConfigurationTemplateRequest) Deletes a single Launch Configuration Template by ID.deleteRecoveryInstance(Consumer<DeleteRecoveryInstanceRequest.Builder> deleteRecoveryInstanceRequest) Deletes a single Recovery Instance by ID.deleteRecoveryInstance(DeleteRecoveryInstanceRequest deleteRecoveryInstanceRequest) Deletes a single Recovery Instance by ID.deleteReplicationConfigurationTemplate(Consumer<DeleteReplicationConfigurationTemplateRequest.Builder> deleteReplicationConfigurationTemplateRequest) Deletes a single Replication Configuration Template by IDdeleteReplicationConfigurationTemplate(DeleteReplicationConfigurationTemplateRequest deleteReplicationConfigurationTemplateRequest) Deletes a single Replication Configuration Template by IDdeleteSourceNetwork(Consumer<DeleteSourceNetworkRequest.Builder> deleteSourceNetworkRequest) Delete Source Network resource.deleteSourceNetwork(DeleteSourceNetworkRequest deleteSourceNetworkRequest) Delete Source Network resource.deleteSourceServer(Consumer<DeleteSourceServerRequest.Builder> deleteSourceServerRequest) Deletes a single Source Server by ID.deleteSourceServer(DeleteSourceServerRequest deleteSourceServerRequest) Deletes a single Source Server by ID.describeJobLogItems(Consumer<DescribeJobLogItemsRequest.Builder> describeJobLogItemsRequest) Retrieves a detailed Job log with pagination.describeJobLogItems(DescribeJobLogItemsRequest describeJobLogItemsRequest) Retrieves a detailed Job log with pagination.default DescribeJobLogItemsPublisherdescribeJobLogItemsPaginator(Consumer<DescribeJobLogItemsRequest.Builder> describeJobLogItemsRequest) This is a variant ofdescribeJobLogItems(software.amazon.awssdk.services.drs.model.DescribeJobLogItemsRequest)operation.default DescribeJobLogItemsPublisherdescribeJobLogItemsPaginator(DescribeJobLogItemsRequest describeJobLogItemsRequest) This is a variant ofdescribeJobLogItems(software.amazon.awssdk.services.drs.model.DescribeJobLogItemsRequest)operation.default CompletableFuture<DescribeJobsResponse> describeJobs(Consumer<DescribeJobsRequest.Builder> describeJobsRequest) Returns a list of Jobs.default CompletableFuture<DescribeJobsResponse> describeJobs(DescribeJobsRequest describeJobsRequest) Returns a list of Jobs.default DescribeJobsPublisherdescribeJobsPaginator(Consumer<DescribeJobsRequest.Builder> describeJobsRequest) This is a variant ofdescribeJobs(software.amazon.awssdk.services.drs.model.DescribeJobsRequest)operation.default DescribeJobsPublisherdescribeJobsPaginator(DescribeJobsRequest describeJobsRequest) This is a variant ofdescribeJobs(software.amazon.awssdk.services.drs.model.DescribeJobsRequest)operation.describeLaunchConfigurationTemplates(Consumer<DescribeLaunchConfigurationTemplatesRequest.Builder> describeLaunchConfigurationTemplatesRequest) Lists all Launch Configuration Templates, filtered by Launch Configuration Template IDsdescribeLaunchConfigurationTemplates(DescribeLaunchConfigurationTemplatesRequest describeLaunchConfigurationTemplatesRequest) Lists all Launch Configuration Templates, filtered by Launch Configuration Template IDsdescribeLaunchConfigurationTemplatesPaginator(Consumer<DescribeLaunchConfigurationTemplatesRequest.Builder> describeLaunchConfigurationTemplatesRequest) This is a variant ofdescribeLaunchConfigurationTemplates(software.amazon.awssdk.services.drs.model.DescribeLaunchConfigurationTemplatesRequest)operation.describeLaunchConfigurationTemplatesPaginator(DescribeLaunchConfigurationTemplatesRequest describeLaunchConfigurationTemplatesRequest) This is a variant ofdescribeLaunchConfigurationTemplates(software.amazon.awssdk.services.drs.model.DescribeLaunchConfigurationTemplatesRequest)operation.describeRecoveryInstances(Consumer<DescribeRecoveryInstancesRequest.Builder> describeRecoveryInstancesRequest) Lists all Recovery Instances or multiple Recovery Instances by ID.describeRecoveryInstances(DescribeRecoveryInstancesRequest describeRecoveryInstancesRequest) Lists all Recovery Instances or multiple Recovery Instances by ID.describeRecoveryInstancesPaginator(Consumer<DescribeRecoveryInstancesRequest.Builder> describeRecoveryInstancesRequest) This is a variant ofdescribeRecoveryInstances(software.amazon.awssdk.services.drs.model.DescribeRecoveryInstancesRequest)operation.describeRecoveryInstancesPaginator(DescribeRecoveryInstancesRequest describeRecoveryInstancesRequest) This is a variant ofdescribeRecoveryInstances(software.amazon.awssdk.services.drs.model.DescribeRecoveryInstancesRequest)operation.describeRecoverySnapshots(Consumer<DescribeRecoverySnapshotsRequest.Builder> describeRecoverySnapshotsRequest) Lists all Recovery Snapshots for a single Source Server.describeRecoverySnapshots(DescribeRecoverySnapshotsRequest describeRecoverySnapshotsRequest) Lists all Recovery Snapshots for a single Source Server.describeRecoverySnapshotsPaginator(Consumer<DescribeRecoverySnapshotsRequest.Builder> describeRecoverySnapshotsRequest) This is a variant ofdescribeRecoverySnapshots(software.amazon.awssdk.services.drs.model.DescribeRecoverySnapshotsRequest)operation.describeRecoverySnapshotsPaginator(DescribeRecoverySnapshotsRequest describeRecoverySnapshotsRequest) This is a variant ofdescribeRecoverySnapshots(software.amazon.awssdk.services.drs.model.DescribeRecoverySnapshotsRequest)operation.describeReplicationConfigurationTemplates(Consumer<DescribeReplicationConfigurationTemplatesRequest.Builder> describeReplicationConfigurationTemplatesRequest) Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.describeReplicationConfigurationTemplates(DescribeReplicationConfigurationTemplatesRequest describeReplicationConfigurationTemplatesRequest) Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.describeReplicationConfigurationTemplatesPaginator(Consumer<DescribeReplicationConfigurationTemplatesRequest.Builder> describeReplicationConfigurationTemplatesRequest) describeReplicationConfigurationTemplatesPaginator(DescribeReplicationConfigurationTemplatesRequest describeReplicationConfigurationTemplatesRequest) describeSourceNetworks(Consumer<DescribeSourceNetworksRequest.Builder> describeSourceNetworksRequest) Lists all Source Networks or multiple Source Networks filtered by ID.describeSourceNetworks(DescribeSourceNetworksRequest describeSourceNetworksRequest) Lists all Source Networks or multiple Source Networks filtered by ID.default DescribeSourceNetworksPublisherdescribeSourceNetworksPaginator(Consumer<DescribeSourceNetworksRequest.Builder> describeSourceNetworksRequest) This is a variant ofdescribeSourceNetworks(software.amazon.awssdk.services.drs.model.DescribeSourceNetworksRequest)operation.default DescribeSourceNetworksPublisherdescribeSourceNetworksPaginator(DescribeSourceNetworksRequest describeSourceNetworksRequest) This is a variant ofdescribeSourceNetworks(software.amazon.awssdk.services.drs.model.DescribeSourceNetworksRequest)operation.describeSourceServers(Consumer<DescribeSourceServersRequest.Builder> describeSourceServersRequest) Lists all Source Servers or multiple Source Servers filtered by ID.describeSourceServers(DescribeSourceServersRequest describeSourceServersRequest) Lists all Source Servers or multiple Source Servers filtered by ID.default DescribeSourceServersPublisherdescribeSourceServersPaginator(Consumer<DescribeSourceServersRequest.Builder> describeSourceServersRequest) This is a variant ofdescribeSourceServers(software.amazon.awssdk.services.drs.model.DescribeSourceServersRequest)operation.default DescribeSourceServersPublisherdescribeSourceServersPaginator(DescribeSourceServersRequest describeSourceServersRequest) This is a variant ofdescribeSourceServers(software.amazon.awssdk.services.drs.model.DescribeSourceServersRequest)operation.disconnectRecoveryInstance(Consumer<DisconnectRecoveryInstanceRequest.Builder> disconnectRecoveryInstanceRequest) Disconnect a Recovery Instance from Elastic Disaster Recovery.disconnectRecoveryInstance(DisconnectRecoveryInstanceRequest disconnectRecoveryInstanceRequest) Disconnect a Recovery Instance from Elastic Disaster Recovery.disconnectSourceServer(Consumer<DisconnectSourceServerRequest.Builder> disconnectSourceServerRequest) Disconnects a specific Source Server from Elastic Disaster Recovery.disconnectSourceServer(DisconnectSourceServerRequest disconnectSourceServerRequest) Disconnects a specific Source Server from Elastic Disaster Recovery.exportSourceNetworkCfnTemplate(Consumer<ExportSourceNetworkCfnTemplateRequest.Builder> exportSourceNetworkCfnTemplateRequest) Export the Source Network CloudFormation template to an S3 bucket.exportSourceNetworkCfnTemplate(ExportSourceNetworkCfnTemplateRequest exportSourceNetworkCfnTemplateRequest) Export the Source Network CloudFormation template to an S3 bucket.getFailbackReplicationConfiguration(Consumer<GetFailbackReplicationConfigurationRequest.Builder> getFailbackReplicationConfigurationRequest) Lists all Failback ReplicationConfigurations, filtered by Recovery Instance ID.getFailbackReplicationConfiguration(GetFailbackReplicationConfigurationRequest getFailbackReplicationConfigurationRequest) Lists all Failback ReplicationConfigurations, filtered by Recovery Instance ID.getLaunchConfiguration(Consumer<GetLaunchConfigurationRequest.Builder> getLaunchConfigurationRequest) Gets a LaunchConfiguration, filtered by Source Server IDs.getLaunchConfiguration(GetLaunchConfigurationRequest getLaunchConfigurationRequest) Gets a LaunchConfiguration, filtered by Source Server IDs.getReplicationConfiguration(Consumer<GetReplicationConfigurationRequest.Builder> getReplicationConfigurationRequest) Gets a ReplicationConfiguration, filtered by Source Server ID.getReplicationConfiguration(GetReplicationConfigurationRequest getReplicationConfigurationRequest) Gets a ReplicationConfiguration, filtered by Source Server ID.initializeService(Consumer<InitializeServiceRequest.Builder> initializeServiceRequest) Initialize Elastic Disaster Recovery.initializeService(InitializeServiceRequest initializeServiceRequest) Initialize Elastic Disaster Recovery.listExtensibleSourceServers(Consumer<ListExtensibleSourceServersRequest.Builder> listExtensibleSourceServersRequest) Returns a list of source servers on a staging account that are extensible, which means that: a.listExtensibleSourceServers(ListExtensibleSourceServersRequest listExtensibleSourceServersRequest) Returns a list of source servers on a staging account that are extensible, which means that: a.listExtensibleSourceServersPaginator(Consumer<ListExtensibleSourceServersRequest.Builder> listExtensibleSourceServersRequest) This is a variant oflistExtensibleSourceServers(software.amazon.awssdk.services.drs.model.ListExtensibleSourceServersRequest)operation.listExtensibleSourceServersPaginator(ListExtensibleSourceServersRequest listExtensibleSourceServersRequest) This is a variant oflistExtensibleSourceServers(software.amazon.awssdk.services.drs.model.ListExtensibleSourceServersRequest)operation.listLaunchActions(Consumer<ListLaunchActionsRequest.Builder> listLaunchActionsRequest) Lists resource launch actions.listLaunchActions(ListLaunchActionsRequest listLaunchActionsRequest) Lists resource launch actions.default ListLaunchActionsPublisherlistLaunchActionsPaginator(Consumer<ListLaunchActionsRequest.Builder> listLaunchActionsRequest) This is a variant oflistLaunchActions(software.amazon.awssdk.services.drs.model.ListLaunchActionsRequest)operation.default ListLaunchActionsPublisherlistLaunchActionsPaginator(ListLaunchActionsRequest listLaunchActionsRequest) This is a variant oflistLaunchActions(software.amazon.awssdk.services.drs.model.ListLaunchActionsRequest)operation.listStagingAccounts(Consumer<ListStagingAccountsRequest.Builder> listStagingAccountsRequest) Returns an array of staging accounts for existing extended source servers.listStagingAccounts(ListStagingAccountsRequest listStagingAccountsRequest) Returns an array of staging accounts for existing extended source servers.default ListStagingAccountsPublisherlistStagingAccountsPaginator(Consumer<ListStagingAccountsRequest.Builder> listStagingAccountsRequest) This is a variant oflistStagingAccounts(software.amazon.awssdk.services.drs.model.ListStagingAccountsRequest)operation.default ListStagingAccountsPublisherlistStagingAccountsPaginator(ListStagingAccountsRequest listStagingAccountsRequest) This is a variant oflistStagingAccounts(software.amazon.awssdk.services.drs.model.ListStagingAccountsRequest)operation.listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) List all tags for your Elastic Disaster Recovery resources.listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) List all tags for your Elastic Disaster Recovery resources.default CompletableFuture<PutLaunchActionResponse> putLaunchAction(Consumer<PutLaunchActionRequest.Builder> putLaunchActionRequest) Puts a resource launch action.default CompletableFuture<PutLaunchActionResponse> putLaunchAction(PutLaunchActionRequest putLaunchActionRequest) Puts a resource launch action.retryDataReplication(Consumer<RetryDataReplicationRequest.Builder> retryDataReplicationRequest) Deprecated.WARNING: RetryDataReplication is deprecatedretryDataReplication(RetryDataReplicationRequest retryDataReplicationRequest) Deprecated.WARNING: RetryDataReplication is deprecatedreverseReplication(Consumer<ReverseReplicationRequest.Builder> reverseReplicationRequest) Start replication to origin / target region - applies only to protected instances that originated in EC2.reverseReplication(ReverseReplicationRequest reverseReplicationRequest) Start replication to origin / target region - applies only to protected instances that originated in EC2.default DrsServiceClientConfigurationThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstartFailbackLaunch(Consumer<StartFailbackLaunchRequest.Builder> startFailbackLaunchRequest) Initiates a Job for launching the machine that is being failed back to from the specified Recovery Instance.startFailbackLaunch(StartFailbackLaunchRequest startFailbackLaunchRequest) Initiates a Job for launching the machine that is being failed back to from the specified Recovery Instance.default CompletableFuture<StartRecoveryResponse> startRecovery(Consumer<StartRecoveryRequest.Builder> startRecoveryRequest) Launches Recovery Instances for the specified Source Servers.default CompletableFuture<StartRecoveryResponse> startRecovery(StartRecoveryRequest startRecoveryRequest) Launches Recovery Instances for the specified Source Servers.startReplication(Consumer<StartReplicationRequest.Builder> startReplicationRequest) Starts replication for a stopped Source Server.startReplication(StartReplicationRequest startReplicationRequest) Starts replication for a stopped Source Server.startSourceNetworkRecovery(Consumer<StartSourceNetworkRecoveryRequest.Builder> startSourceNetworkRecoveryRequest) Deploy VPC for the specified Source Network and modify launch templates to use this network.startSourceNetworkRecovery(StartSourceNetworkRecoveryRequest startSourceNetworkRecoveryRequest) Deploy VPC for the specified Source Network and modify launch templates to use this network.startSourceNetworkReplication(Consumer<StartSourceNetworkReplicationRequest.Builder> startSourceNetworkReplicationRequest) Starts replication for a Source Network.startSourceNetworkReplication(StartSourceNetworkReplicationRequest startSourceNetworkReplicationRequest) Starts replication for a Source Network.default CompletableFuture<StopFailbackResponse> stopFailback(Consumer<StopFailbackRequest.Builder> stopFailbackRequest) Stops the failback process for a specified Recovery Instance.default CompletableFuture<StopFailbackResponse> stopFailback(StopFailbackRequest stopFailbackRequest) Stops the failback process for a specified Recovery Instance.default CompletableFuture<StopReplicationResponse> stopReplication(Consumer<StopReplicationRequest.Builder> stopReplicationRequest) Stops replication for a Source Server.default CompletableFuture<StopReplicationResponse> stopReplication(StopReplicationRequest stopReplicationRequest) Stops replication for a Source Server.stopSourceNetworkReplication(Consumer<StopSourceNetworkReplicationRequest.Builder> stopSourceNetworkReplicationRequest) Stops replication for a Source Network.stopSourceNetworkReplication(StopSourceNetworkReplicationRequest stopSourceNetworkReplicationRequest) Stops replication for a Source Network.default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds or overwrites only the specified tags for the specified Elastic Disaster Recovery resource or resources.default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest) Adds or overwrites only the specified tags for the specified Elastic Disaster Recovery resource or resources.terminateRecoveryInstances(Consumer<TerminateRecoveryInstancesRequest.Builder> terminateRecoveryInstancesRequest) Initiates a Job for terminating the EC2 resources associated with the specified Recovery Instances, and then will delete the Recovery Instances from the Elastic Disaster Recovery service.terminateRecoveryInstances(TerminateRecoveryInstancesRequest terminateRecoveryInstancesRequest) Initiates a Job for terminating the EC2 resources associated with the specified Recovery Instances, and then will delete the Recovery Instances from the Elastic Disaster Recovery service.default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Deletes the specified set of tags from the specified set of Elastic Disaster Recovery resources.default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Deletes the specified set of tags from the specified set of Elastic Disaster Recovery resources.updateFailbackReplicationConfiguration(Consumer<UpdateFailbackReplicationConfigurationRequest.Builder> updateFailbackReplicationConfigurationRequest) Allows you to update the failback replication configuration of a Recovery Instance by ID.updateFailbackReplicationConfiguration(UpdateFailbackReplicationConfigurationRequest updateFailbackReplicationConfigurationRequest) Allows you to update the failback replication configuration of a Recovery Instance by ID.updateLaunchConfiguration(Consumer<UpdateLaunchConfigurationRequest.Builder> updateLaunchConfigurationRequest) Updates a LaunchConfiguration by Source Server ID.updateLaunchConfiguration(UpdateLaunchConfigurationRequest updateLaunchConfigurationRequest) Updates a LaunchConfiguration by Source Server ID.updateLaunchConfigurationTemplate(Consumer<UpdateLaunchConfigurationTemplateRequest.Builder> updateLaunchConfigurationTemplateRequest) Updates an existing Launch Configuration Template by ID.updateLaunchConfigurationTemplate(UpdateLaunchConfigurationTemplateRequest updateLaunchConfigurationTemplateRequest) Updates an existing Launch Configuration Template by ID.updateReplicationConfiguration(Consumer<UpdateReplicationConfigurationRequest.Builder> updateReplicationConfigurationRequest) Allows you to update a ReplicationConfiguration by Source Server ID.updateReplicationConfiguration(UpdateReplicationConfigurationRequest updateReplicationConfigurationRequest) Allows you to update a ReplicationConfiguration by Source Server ID.updateReplicationConfigurationTemplate(Consumer<UpdateReplicationConfigurationTemplateRequest.Builder> updateReplicationConfigurationTemplateRequest) Updates a ReplicationConfigurationTemplate by ID.updateReplicationConfigurationTemplate(UpdateReplicationConfigurationTemplateRequest updateReplicationConfigurationTemplateRequest) Updates a ReplicationConfigurationTemplate by ID.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods 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
-
associateSourceNetworkStack
default CompletableFuture<AssociateSourceNetworkStackResponse> associateSourceNetworkStack(AssociateSourceNetworkStackRequest associateSourceNetworkStackRequest) Associate a Source Network to an existing CloudFormation Stack and modify launch templates to use this network. Can be used for reverting to previously deployed CloudFormation stacks.
- Parameters:
associateSourceNetworkStackRequest-- Returns:
- A Java Future containing the result of the AssociateSourceNetworkStack operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
associateSourceNetworkStack
default CompletableFuture<AssociateSourceNetworkStackResponse> associateSourceNetworkStack(Consumer<AssociateSourceNetworkStackRequest.Builder> associateSourceNetworkStackRequest) Associate a Source Network to an existing CloudFormation Stack and modify launch templates to use this network. Can be used for reverting to previously deployed CloudFormation stacks.
This is a convenience which creates an instance of the
AssociateSourceNetworkStackRequest.Builderavoiding the need to create one manually viaAssociateSourceNetworkStackRequest.builder()- Parameters:
associateSourceNetworkStackRequest- AConsumerthat will call methods onAssociateSourceNetworkStackRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the AssociateSourceNetworkStack operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createExtendedSourceServer
default CompletableFuture<CreateExtendedSourceServerResponse> createExtendedSourceServer(CreateExtendedSourceServerRequest createExtendedSourceServerRequest) Create an extended source server in the target Account based on the source server in staging account.
- Parameters:
createExtendedSourceServerRequest-- Returns:
- A Java Future containing the result of the CreateExtendedSourceServer operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createExtendedSourceServer
default CompletableFuture<CreateExtendedSourceServerResponse> createExtendedSourceServer(Consumer<CreateExtendedSourceServerRequest.Builder> createExtendedSourceServerRequest) Create an extended source server in the target Account based on the source server in staging account.
This is a convenience which creates an instance of the
CreateExtendedSourceServerRequest.Builderavoiding the need to create one manually viaCreateExtendedSourceServerRequest.builder()- Parameters:
createExtendedSourceServerRequest- AConsumerthat will call methods onCreateExtendedSourceServerRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateExtendedSourceServer operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createLaunchConfigurationTemplate
default CompletableFuture<CreateLaunchConfigurationTemplateResponse> createLaunchConfigurationTemplate(CreateLaunchConfigurationTemplateRequest createLaunchConfigurationTemplateRequest) Creates a new Launch Configuration Template.
- Parameters:
createLaunchConfigurationTemplateRequest-- Returns:
- A Java Future containing the result of the CreateLaunchConfigurationTemplate operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createLaunchConfigurationTemplate
default CompletableFuture<CreateLaunchConfigurationTemplateResponse> createLaunchConfigurationTemplate(Consumer<CreateLaunchConfigurationTemplateRequest.Builder> createLaunchConfigurationTemplateRequest) Creates a new Launch Configuration Template.
This is a convenience which creates an instance of the
CreateLaunchConfigurationTemplateRequest.Builderavoiding the need to create one manually viaCreateLaunchConfigurationTemplateRequest.builder()- Parameters:
createLaunchConfigurationTemplateRequest- AConsumerthat will call methods onCreateLaunchConfigurationTemplateRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateLaunchConfigurationTemplate operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createReplicationConfigurationTemplate
default CompletableFuture<CreateReplicationConfigurationTemplateResponse> createReplicationConfigurationTemplate(CreateReplicationConfigurationTemplateRequest createReplicationConfigurationTemplateRequest) Creates a new ReplicationConfigurationTemplate.
- Parameters:
createReplicationConfigurationTemplateRequest-- Returns:
- A Java Future containing the result of the CreateReplicationConfigurationTemplate operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createReplicationConfigurationTemplate
default CompletableFuture<CreateReplicationConfigurationTemplateResponse> createReplicationConfigurationTemplate(Consumer<CreateReplicationConfigurationTemplateRequest.Builder> createReplicationConfigurationTemplateRequest) Creates a new ReplicationConfigurationTemplate.
This is a convenience which creates an instance of the
CreateReplicationConfigurationTemplateRequest.Builderavoiding the need to create one manually viaCreateReplicationConfigurationTemplateRequest.builder()- Parameters:
createReplicationConfigurationTemplateRequest- AConsumerthat will call methods onCreateReplicationConfigurationTemplateRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateReplicationConfigurationTemplate operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createSourceNetwork
default CompletableFuture<CreateSourceNetworkResponse> createSourceNetwork(CreateSourceNetworkRequest createSourceNetworkRequest) Create a new Source Network resource for a provided VPC ID.
- Parameters:
createSourceNetworkRequest-- Returns:
- A Java Future containing the result of the CreateSourceNetwork operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createSourceNetwork
default CompletableFuture<CreateSourceNetworkResponse> createSourceNetwork(Consumer<CreateSourceNetworkRequest.Builder> createSourceNetworkRequest) Create a new Source Network resource for a provided VPC ID.
This is a convenience which creates an instance of the
CreateSourceNetworkRequest.Builderavoiding the need to create one manually viaCreateSourceNetworkRequest.builder()- Parameters:
createSourceNetworkRequest- AConsumerthat will call methods onCreateSourceNetworkRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateSourceNetwork operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteJob
Deletes a single Job by ID.
- Parameters:
deleteJobRequest-- Returns:
- A Java Future containing the result of the DeleteJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- ThrottlingException The request was denied due to request throttling.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteJob
default CompletableFuture<DeleteJobResponse> deleteJob(Consumer<DeleteJobRequest.Builder> deleteJobRequest) Deletes a single Job by ID.
This is a convenience which creates an instance of the
DeleteJobRequest.Builderavoiding the need to create one manually viaDeleteJobRequest.builder()- Parameters:
deleteJobRequest- AConsumerthat will call methods onDeleteJobRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- ThrottlingException The request was denied due to request throttling.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteLaunchAction
default CompletableFuture<DeleteLaunchActionResponse> deleteLaunchAction(DeleteLaunchActionRequest deleteLaunchActionRequest) Deletes a resource launch action.
- Parameters:
deleteLaunchActionRequest-- Returns:
- A Java Future containing the result of the DeleteLaunchAction operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteLaunchAction
default CompletableFuture<DeleteLaunchActionResponse> deleteLaunchAction(Consumer<DeleteLaunchActionRequest.Builder> deleteLaunchActionRequest) Deletes a resource launch action.
This is a convenience which creates an instance of the
DeleteLaunchActionRequest.Builderavoiding the need to create one manually viaDeleteLaunchActionRequest.builder()- Parameters:
deleteLaunchActionRequest- AConsumerthat will call methods onDeleteLaunchActionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteLaunchAction operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteLaunchConfigurationTemplate
default CompletableFuture<DeleteLaunchConfigurationTemplateResponse> deleteLaunchConfigurationTemplate(DeleteLaunchConfigurationTemplateRequest deleteLaunchConfigurationTemplateRequest) Deletes a single Launch Configuration Template by ID.
- Parameters:
deleteLaunchConfigurationTemplateRequest-- Returns:
- A Java Future containing the result of the DeleteLaunchConfigurationTemplate operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- ThrottlingException The request was denied due to request throttling.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteLaunchConfigurationTemplate
default CompletableFuture<DeleteLaunchConfigurationTemplateResponse> deleteLaunchConfigurationTemplate(Consumer<DeleteLaunchConfigurationTemplateRequest.Builder> deleteLaunchConfigurationTemplateRequest) Deletes a single Launch Configuration Template by ID.
This is a convenience which creates an instance of the
DeleteLaunchConfigurationTemplateRequest.Builderavoiding the need to create one manually viaDeleteLaunchConfigurationTemplateRequest.builder()- Parameters:
deleteLaunchConfigurationTemplateRequest- AConsumerthat will call methods onDeleteLaunchConfigurationTemplateRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteLaunchConfigurationTemplate operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- ThrottlingException The request was denied due to request throttling.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteRecoveryInstance
default CompletableFuture<DeleteRecoveryInstanceResponse> deleteRecoveryInstance(DeleteRecoveryInstanceRequest deleteRecoveryInstanceRequest) Deletes a single Recovery Instance by ID. This deletes the Recovery Instance resource from Elastic Disaster Recovery. The Recovery Instance must be disconnected first in order to delete it.
- Parameters:
deleteRecoveryInstanceRequest-- Returns:
- A Java Future containing the result of the DeleteRecoveryInstance operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteRecoveryInstance
default CompletableFuture<DeleteRecoveryInstanceResponse> deleteRecoveryInstance(Consumer<DeleteRecoveryInstanceRequest.Builder> deleteRecoveryInstanceRequest) Deletes a single Recovery Instance by ID. This deletes the Recovery Instance resource from Elastic Disaster Recovery. The Recovery Instance must be disconnected first in order to delete it.
This is a convenience which creates an instance of the
DeleteRecoveryInstanceRequest.Builderavoiding the need to create one manually viaDeleteRecoveryInstanceRequest.builder()- Parameters:
deleteRecoveryInstanceRequest- AConsumerthat will call methods onDeleteRecoveryInstanceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteRecoveryInstance operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteReplicationConfigurationTemplate
default CompletableFuture<DeleteReplicationConfigurationTemplateResponse> deleteReplicationConfigurationTemplate(DeleteReplicationConfigurationTemplateRequest deleteReplicationConfigurationTemplateRequest) Deletes a single Replication Configuration Template by ID
- Parameters:
deleteReplicationConfigurationTemplateRequest-- Returns:
- A Java Future containing the result of the DeleteReplicationConfigurationTemplate operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- ThrottlingException The request was denied due to request throttling.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteReplicationConfigurationTemplate
default CompletableFuture<DeleteReplicationConfigurationTemplateResponse> deleteReplicationConfigurationTemplate(Consumer<DeleteReplicationConfigurationTemplateRequest.Builder> deleteReplicationConfigurationTemplateRequest) Deletes a single Replication Configuration Template by ID
This is a convenience which creates an instance of the
DeleteReplicationConfigurationTemplateRequest.Builderavoiding the need to create one manually viaDeleteReplicationConfigurationTemplateRequest.builder()- Parameters:
deleteReplicationConfigurationTemplateRequest- AConsumerthat will call methods onDeleteReplicationConfigurationTemplateRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteReplicationConfigurationTemplate operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- ThrottlingException The request was denied due to request throttling.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteSourceNetwork
default CompletableFuture<DeleteSourceNetworkResponse> deleteSourceNetwork(DeleteSourceNetworkRequest deleteSourceNetworkRequest) Delete Source Network resource.
- Parameters:
deleteSourceNetworkRequest-- Returns:
- A Java Future containing the result of the DeleteSourceNetwork operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- ThrottlingException The request was denied due to request throttling.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteSourceNetwork
default CompletableFuture<DeleteSourceNetworkResponse> deleteSourceNetwork(Consumer<DeleteSourceNetworkRequest.Builder> deleteSourceNetworkRequest) Delete Source Network resource.
This is a convenience which creates an instance of the
DeleteSourceNetworkRequest.Builderavoiding the need to create one manually viaDeleteSourceNetworkRequest.builder()- Parameters:
deleteSourceNetworkRequest- AConsumerthat will call methods onDeleteSourceNetworkRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteSourceNetwork operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- ThrottlingException The request was denied due to request throttling.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteSourceServer
default CompletableFuture<DeleteSourceServerResponse> deleteSourceServer(DeleteSourceServerRequest deleteSourceServerRequest) Deletes a single Source Server by ID. The Source Server must be disconnected first.
- Parameters:
deleteSourceServerRequest-- Returns:
- A Java Future containing the result of the DeleteSourceServer operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- ThrottlingException The request was denied due to request throttling.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteSourceServer
default CompletableFuture<DeleteSourceServerResponse> deleteSourceServer(Consumer<DeleteSourceServerRequest.Builder> deleteSourceServerRequest) Deletes a single Source Server by ID. The Source Server must be disconnected first.
This is a convenience which creates an instance of the
DeleteSourceServerRequest.Builderavoiding the need to create one manually viaDeleteSourceServerRequest.builder()- Parameters:
deleteSourceServerRequest- AConsumerthat will call methods onDeleteSourceServerRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteSourceServer operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- ThrottlingException The request was denied due to request throttling.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeJobLogItems
default CompletableFuture<DescribeJobLogItemsResponse> describeJobLogItems(DescribeJobLogItemsRequest describeJobLogItemsRequest) Retrieves a detailed Job log with pagination.
- Parameters:
describeJobLogItemsRequest-- Returns:
- A Java Future containing the result of the DescribeJobLogItems operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeJobLogItems
default CompletableFuture<DescribeJobLogItemsResponse> describeJobLogItems(Consumer<DescribeJobLogItemsRequest.Builder> describeJobLogItemsRequest) Retrieves a detailed Job log with pagination.
This is a convenience which creates an instance of the
DescribeJobLogItemsRequest.Builderavoiding the need to create one manually viaDescribeJobLogItemsRequest.builder()- Parameters:
describeJobLogItemsRequest- AConsumerthat will call methods onDescribeJobLogItemsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeJobLogItems operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeJobLogItemsPaginator
default DescribeJobLogItemsPublisher describeJobLogItemsPaginator(DescribeJobLogItemsRequest describeJobLogItemsRequest) This is a variant of
describeJobLogItems(software.amazon.awssdk.services.drs.model.DescribeJobLogItemsRequest)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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.drs.paginators.DescribeJobLogItemsPublisher publisher = client.describeJobLogItemsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.drs.paginators.DescribeJobLogItemsPublisher publisher = client.describeJobLogItemsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.drs.model.DescribeJobLogItemsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.drs.model.DescribeJobLogItemsResponse response) { //... }; });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
describeJobLogItems(software.amazon.awssdk.services.drs.model.DescribeJobLogItemsRequest)operation.- Parameters:
describeJobLogItemsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeJobLogItemsPaginator
default DescribeJobLogItemsPublisher describeJobLogItemsPaginator(Consumer<DescribeJobLogItemsRequest.Builder> describeJobLogItemsRequest) This is a variant of
describeJobLogItems(software.amazon.awssdk.services.drs.model.DescribeJobLogItemsRequest)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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.drs.paginators.DescribeJobLogItemsPublisher publisher = client.describeJobLogItemsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.drs.paginators.DescribeJobLogItemsPublisher publisher = client.describeJobLogItemsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.drs.model.DescribeJobLogItemsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.drs.model.DescribeJobLogItemsResponse response) { //... }; });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
describeJobLogItems(software.amazon.awssdk.services.drs.model.DescribeJobLogItemsRequest)operation.
This is a convenience which creates an instance of the
DescribeJobLogItemsRequest.Builderavoiding the need to create one manually viaDescribeJobLogItemsRequest.builder()- Parameters:
describeJobLogItemsRequest- AConsumerthat will call methods onDescribeJobLogItemsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeJobs
default CompletableFuture<DescribeJobsResponse> describeJobs(DescribeJobsRequest describeJobsRequest) Returns a list of Jobs. Use the JobsID and fromDate and toDate filters to limit which jobs are returned. The response is sorted by creationDataTime - latest date first. Jobs are created by the StartRecovery, TerminateRecoveryInstances and StartFailbackLaunch APIs. Jobs are also created by DiagnosticLaunch and TerminateDiagnosticInstances, which are APIs available only to *Support* and only used in response to relevant support tickets.
- Parameters:
describeJobsRequest-- Returns:
- A Java Future containing the result of the DescribeJobs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeJobs
default CompletableFuture<DescribeJobsResponse> describeJobs(Consumer<DescribeJobsRequest.Builder> describeJobsRequest) Returns a list of Jobs. Use the JobsID and fromDate and toDate filters to limit which jobs are returned. The response is sorted by creationDataTime - latest date first. Jobs are created by the StartRecovery, TerminateRecoveryInstances and StartFailbackLaunch APIs. Jobs are also created by DiagnosticLaunch and TerminateDiagnosticInstances, which are APIs available only to *Support* and only used in response to relevant support tickets.
This is a convenience which creates an instance of the
DescribeJobsRequest.Builderavoiding the need to create one manually viaDescribeJobsRequest.builder()- Parameters:
describeJobsRequest- AConsumerthat will call methods onDescribeJobsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeJobs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeJobsPaginator
This is a variant of
describeJobs(software.amazon.awssdk.services.drs.model.DescribeJobsRequest)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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.drs.paginators.DescribeJobsPublisher publisher = client.describeJobsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.drs.paginators.DescribeJobsPublisher publisher = client.describeJobsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.drs.model.DescribeJobsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.drs.model.DescribeJobsResponse response) { //... }; });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
describeJobs(software.amazon.awssdk.services.drs.model.DescribeJobsRequest)operation.- Parameters:
describeJobsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeJobsPaginator
default DescribeJobsPublisher describeJobsPaginator(Consumer<DescribeJobsRequest.Builder> describeJobsRequest) This is a variant of
describeJobs(software.amazon.awssdk.services.drs.model.DescribeJobsRequest)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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.drs.paginators.DescribeJobsPublisher publisher = client.describeJobsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.drs.paginators.DescribeJobsPublisher publisher = client.describeJobsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.drs.model.DescribeJobsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.drs.model.DescribeJobsResponse response) { //... }; });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
describeJobs(software.amazon.awssdk.services.drs.model.DescribeJobsRequest)operation.
This is a convenience which creates an instance of the
DescribeJobsRequest.Builderavoiding the need to create one manually viaDescribeJobsRequest.builder()- Parameters:
describeJobsRequest- AConsumerthat will call methods onDescribeJobsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeLaunchConfigurationTemplates
default CompletableFuture<DescribeLaunchConfigurationTemplatesResponse> describeLaunchConfigurationTemplates(DescribeLaunchConfigurationTemplatesRequest describeLaunchConfigurationTemplatesRequest) Lists all Launch Configuration Templates, filtered by Launch Configuration Template IDs
- Parameters:
describeLaunchConfigurationTemplatesRequest-- Returns:
- A Java Future containing the result of the DescribeLaunchConfigurationTemplates operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeLaunchConfigurationTemplates
default CompletableFuture<DescribeLaunchConfigurationTemplatesResponse> describeLaunchConfigurationTemplates(Consumer<DescribeLaunchConfigurationTemplatesRequest.Builder> describeLaunchConfigurationTemplatesRequest) Lists all Launch Configuration Templates, filtered by Launch Configuration Template IDs
This is a convenience which creates an instance of the
DescribeLaunchConfigurationTemplatesRequest.Builderavoiding the need to create one manually viaDescribeLaunchConfigurationTemplatesRequest.builder()- Parameters:
describeLaunchConfigurationTemplatesRequest- AConsumerthat will call methods onDescribeLaunchConfigurationTemplatesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeLaunchConfigurationTemplates operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeLaunchConfigurationTemplatesPaginator
default DescribeLaunchConfigurationTemplatesPublisher describeLaunchConfigurationTemplatesPaginator(DescribeLaunchConfigurationTemplatesRequest describeLaunchConfigurationTemplatesRequest) This is a variant of
describeLaunchConfigurationTemplates(software.amazon.awssdk.services.drs.model.DescribeLaunchConfigurationTemplatesRequest)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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.drs.paginators.DescribeLaunchConfigurationTemplatesPublisher publisher = client.describeLaunchConfigurationTemplatesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.drs.paginators.DescribeLaunchConfigurationTemplatesPublisher publisher = client.describeLaunchConfigurationTemplatesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.drs.model.DescribeLaunchConfigurationTemplatesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.drs.model.DescribeLaunchConfigurationTemplatesResponse response) { //... }; });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
describeLaunchConfigurationTemplates(software.amazon.awssdk.services.drs.model.DescribeLaunchConfigurationTemplatesRequest)operation.- Parameters:
describeLaunchConfigurationTemplatesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeLaunchConfigurationTemplatesPaginator
default DescribeLaunchConfigurationTemplatesPublisher describeLaunchConfigurationTemplatesPaginator(Consumer<DescribeLaunchConfigurationTemplatesRequest.Builder> describeLaunchConfigurationTemplatesRequest) This is a variant of
describeLaunchConfigurationTemplates(software.amazon.awssdk.services.drs.model.DescribeLaunchConfigurationTemplatesRequest)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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.drs.paginators.DescribeLaunchConfigurationTemplatesPublisher publisher = client.describeLaunchConfigurationTemplatesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.drs.paginators.DescribeLaunchConfigurationTemplatesPublisher publisher = client.describeLaunchConfigurationTemplatesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.drs.model.DescribeLaunchConfigurationTemplatesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.drs.model.DescribeLaunchConfigurationTemplatesResponse response) { //... }; });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
describeLaunchConfigurationTemplates(software.amazon.awssdk.services.drs.model.DescribeLaunchConfigurationTemplatesRequest)operation.
This is a convenience which creates an instance of the
DescribeLaunchConfigurationTemplatesRequest.Builderavoiding the need to create one manually viaDescribeLaunchConfigurationTemplatesRequest.builder()- Parameters:
describeLaunchConfigurationTemplatesRequest- AConsumerthat will call methods onDescribeLaunchConfigurationTemplatesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeRecoveryInstances
default CompletableFuture<DescribeRecoveryInstancesResponse> describeRecoveryInstances(DescribeRecoveryInstancesRequest describeRecoveryInstancesRequest) Lists all Recovery Instances or multiple Recovery Instances by ID.
- Parameters:
describeRecoveryInstancesRequest-- Returns:
- A Java Future containing the result of the DescribeRecoveryInstances operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeRecoveryInstances
default CompletableFuture<DescribeRecoveryInstancesResponse> describeRecoveryInstances(Consumer<DescribeRecoveryInstancesRequest.Builder> describeRecoveryInstancesRequest) Lists all Recovery Instances or multiple Recovery Instances by ID.
This is a convenience which creates an instance of the
DescribeRecoveryInstancesRequest.Builderavoiding the need to create one manually viaDescribeRecoveryInstancesRequest.builder()- Parameters:
describeRecoveryInstancesRequest- AConsumerthat will call methods onDescribeRecoveryInstancesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeRecoveryInstances operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeRecoveryInstancesPaginator
default DescribeRecoveryInstancesPublisher describeRecoveryInstancesPaginator(DescribeRecoveryInstancesRequest describeRecoveryInstancesRequest) This is a variant of
describeRecoveryInstances(software.amazon.awssdk.services.drs.model.DescribeRecoveryInstancesRequest)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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.drs.paginators.DescribeRecoveryInstancesPublisher publisher = client.describeRecoveryInstancesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.drs.paginators.DescribeRecoveryInstancesPublisher publisher = client.describeRecoveryInstancesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.drs.model.DescribeRecoveryInstancesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.drs.model.DescribeRecoveryInstancesResponse response) { //... }; });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
describeRecoveryInstances(software.amazon.awssdk.services.drs.model.DescribeRecoveryInstancesRequest)operation.- Parameters:
describeRecoveryInstancesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeRecoveryInstancesPaginator
default DescribeRecoveryInstancesPublisher describeRecoveryInstancesPaginator(Consumer<DescribeRecoveryInstancesRequest.Builder> describeRecoveryInstancesRequest) This is a variant of
describeRecoveryInstances(software.amazon.awssdk.services.drs.model.DescribeRecoveryInstancesRequest)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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.drs.paginators.DescribeRecoveryInstancesPublisher publisher = client.describeRecoveryInstancesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.drs.paginators.DescribeRecoveryInstancesPublisher publisher = client.describeRecoveryInstancesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.drs.model.DescribeRecoveryInstancesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.drs.model.DescribeRecoveryInstancesResponse response) { //... }; });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
describeRecoveryInstances(software.amazon.awssdk.services.drs.model.DescribeRecoveryInstancesRequest)operation.
This is a convenience which creates an instance of the
DescribeRecoveryInstancesRequest.Builderavoiding the need to create one manually viaDescribeRecoveryInstancesRequest.builder()- Parameters:
describeRecoveryInstancesRequest- AConsumerthat will call methods onDescribeRecoveryInstancesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeRecoverySnapshots
default CompletableFuture<DescribeRecoverySnapshotsResponse> describeRecoverySnapshots(DescribeRecoverySnapshotsRequest describeRecoverySnapshotsRequest) Lists all Recovery Snapshots for a single Source Server.
- Parameters:
describeRecoverySnapshotsRequest-- Returns:
- A Java Future containing the result of the DescribeRecoverySnapshots operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeRecoverySnapshots
default CompletableFuture<DescribeRecoverySnapshotsResponse> describeRecoverySnapshots(Consumer<DescribeRecoverySnapshotsRequest.Builder> describeRecoverySnapshotsRequest) Lists all Recovery Snapshots for a single Source Server.
This is a convenience which creates an instance of the
DescribeRecoverySnapshotsRequest.Builderavoiding the need to create one manually viaDescribeRecoverySnapshotsRequest.builder()- Parameters:
describeRecoverySnapshotsRequest- AConsumerthat will call methods onDescribeRecoverySnapshotsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeRecoverySnapshots operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeRecoverySnapshotsPaginator
default DescribeRecoverySnapshotsPublisher describeRecoverySnapshotsPaginator(DescribeRecoverySnapshotsRequest describeRecoverySnapshotsRequest) This is a variant of
describeRecoverySnapshots(software.amazon.awssdk.services.drs.model.DescribeRecoverySnapshotsRequest)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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.drs.paginators.DescribeRecoverySnapshotsPublisher publisher = client.describeRecoverySnapshotsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.drs.paginators.DescribeRecoverySnapshotsPublisher publisher = client.describeRecoverySnapshotsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.drs.model.DescribeRecoverySnapshotsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.drs.model.DescribeRecoverySnapshotsResponse response) { //... }; });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
describeRecoverySnapshots(software.amazon.awssdk.services.drs.model.DescribeRecoverySnapshotsRequest)operation.- Parameters:
describeRecoverySnapshotsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeRecoverySnapshotsPaginator
default DescribeRecoverySnapshotsPublisher describeRecoverySnapshotsPaginator(Consumer<DescribeRecoverySnapshotsRequest.Builder> describeRecoverySnapshotsRequest) This is a variant of
describeRecoverySnapshots(software.amazon.awssdk.services.drs.model.DescribeRecoverySnapshotsRequest)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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.drs.paginators.DescribeRecoverySnapshotsPublisher publisher = client.describeRecoverySnapshotsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.drs.paginators.DescribeRecoverySnapshotsPublisher publisher = client.describeRecoverySnapshotsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.drs.model.DescribeRecoverySnapshotsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.drs.model.DescribeRecoverySnapshotsResponse response) { //... }; });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
describeRecoverySnapshots(software.amazon.awssdk.services.drs.model.DescribeRecoverySnapshotsRequest)operation.
This is a convenience which creates an instance of the
DescribeRecoverySnapshotsRequest.Builderavoiding the need to create one manually viaDescribeRecoverySnapshotsRequest.builder()- Parameters:
describeRecoverySnapshotsRequest- AConsumerthat will call methods onDescribeRecoverySnapshotsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeReplicationConfigurationTemplates
default CompletableFuture<DescribeReplicationConfigurationTemplatesResponse> describeReplicationConfigurationTemplates(DescribeReplicationConfigurationTemplatesRequest describeReplicationConfigurationTemplatesRequest) Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.
- Parameters:
describeReplicationConfigurationTemplatesRequest-- Returns:
- A Java Future containing the result of the DescribeReplicationConfigurationTemplates operation returned
by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeReplicationConfigurationTemplates
default CompletableFuture<DescribeReplicationConfigurationTemplatesResponse> describeReplicationConfigurationTemplates(Consumer<DescribeReplicationConfigurationTemplatesRequest.Builder> describeReplicationConfigurationTemplatesRequest) Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.
This is a convenience which creates an instance of the
DescribeReplicationConfigurationTemplatesRequest.Builderavoiding the need to create one manually viaDescribeReplicationConfigurationTemplatesRequest.builder()- Parameters:
describeReplicationConfigurationTemplatesRequest- AConsumerthat will call methods onDescribeReplicationConfigurationTemplatesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeReplicationConfigurationTemplates operation returned
by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeReplicationConfigurationTemplatesPaginator
default DescribeReplicationConfigurationTemplatesPublisher describeReplicationConfigurationTemplatesPaginator(DescribeReplicationConfigurationTemplatesRequest describeReplicationConfigurationTemplatesRequest) This is a variant of
describeReplicationConfigurationTemplates(software.amazon.awssdk.services.drs.model.DescribeReplicationConfigurationTemplatesRequest)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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.drs.paginators.DescribeReplicationConfigurationTemplatesPublisher publisher = client.describeReplicationConfigurationTemplatesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.drs.paginators.DescribeReplicationConfigurationTemplatesPublisher publisher = client.describeReplicationConfigurationTemplatesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.drs.model.DescribeReplicationConfigurationTemplatesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.drs.model.DescribeReplicationConfigurationTemplatesResponse response) { //... }; });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
describeReplicationConfigurationTemplates(software.amazon.awssdk.services.drs.model.DescribeReplicationConfigurationTemplatesRequest)operation.- Parameters:
describeReplicationConfigurationTemplatesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeReplicationConfigurationTemplatesPaginator
default DescribeReplicationConfigurationTemplatesPublisher describeReplicationConfigurationTemplatesPaginator(Consumer<DescribeReplicationConfigurationTemplatesRequest.Builder> describeReplicationConfigurationTemplatesRequest) This is a variant of
describeReplicationConfigurationTemplates(software.amazon.awssdk.services.drs.model.DescribeReplicationConfigurationTemplatesRequest)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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.drs.paginators.DescribeReplicationConfigurationTemplatesPublisher publisher = client.describeReplicationConfigurationTemplatesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.drs.paginators.DescribeReplicationConfigurationTemplatesPublisher publisher = client.describeReplicationConfigurationTemplatesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.drs.model.DescribeReplicationConfigurationTemplatesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.drs.model.DescribeReplicationConfigurationTemplatesResponse response) { //... }; });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
describeReplicationConfigurationTemplates(software.amazon.awssdk.services.drs.model.DescribeReplicationConfigurationTemplatesRequest)operation.
This is a convenience which creates an instance of the
DescribeReplicationConfigurationTemplatesRequest.Builderavoiding the need to create one manually viaDescribeReplicationConfigurationTemplatesRequest.builder()- Parameters:
describeReplicationConfigurationTemplatesRequest- AConsumerthat will call methods onDescribeReplicationConfigurationTemplatesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeSourceNetworks
default CompletableFuture<DescribeSourceNetworksResponse> describeSourceNetworks(DescribeSourceNetworksRequest describeSourceNetworksRequest) Lists all Source Networks or multiple Source Networks filtered by ID.
- Parameters:
describeSourceNetworksRequest-- Returns:
- A Java Future containing the result of the DescribeSourceNetworks operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeSourceNetworks
default CompletableFuture<DescribeSourceNetworksResponse> describeSourceNetworks(Consumer<DescribeSourceNetworksRequest.Builder> describeSourceNetworksRequest) Lists all Source Networks or multiple Source Networks filtered by ID.
This is a convenience which creates an instance of the
DescribeSourceNetworksRequest.Builderavoiding the need to create one manually viaDescribeSourceNetworksRequest.builder()- Parameters:
describeSourceNetworksRequest- AConsumerthat will call methods onDescribeSourceNetworksRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeSourceNetworks operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeSourceNetworksPaginator
default DescribeSourceNetworksPublisher describeSourceNetworksPaginator(DescribeSourceNetworksRequest describeSourceNetworksRequest) This is a variant of
describeSourceNetworks(software.amazon.awssdk.services.drs.model.DescribeSourceNetworksRequest)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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.drs.paginators.DescribeSourceNetworksPublisher publisher = client.describeSourceNetworksPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.drs.paginators.DescribeSourceNetworksPublisher publisher = client.describeSourceNetworksPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.drs.model.DescribeSourceNetworksResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.drs.model.DescribeSourceNetworksResponse response) { //... }; });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
describeSourceNetworks(software.amazon.awssdk.services.drs.model.DescribeSourceNetworksRequest)operation.- Parameters:
describeSourceNetworksRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeSourceNetworksPaginator
default DescribeSourceNetworksPublisher describeSourceNetworksPaginator(Consumer<DescribeSourceNetworksRequest.Builder> describeSourceNetworksRequest) This is a variant of
describeSourceNetworks(software.amazon.awssdk.services.drs.model.DescribeSourceNetworksRequest)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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.drs.paginators.DescribeSourceNetworksPublisher publisher = client.describeSourceNetworksPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.drs.paginators.DescribeSourceNetworksPublisher publisher = client.describeSourceNetworksPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.drs.model.DescribeSourceNetworksResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.drs.model.DescribeSourceNetworksResponse response) { //... }; });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
describeSourceNetworks(software.amazon.awssdk.services.drs.model.DescribeSourceNetworksRequest)operation.
This is a convenience which creates an instance of the
DescribeSourceNetworksRequest.Builderavoiding the need to create one manually viaDescribeSourceNetworksRequest.builder()- Parameters:
describeSourceNetworksRequest- AConsumerthat will call methods onDescribeSourceNetworksRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeSourceServers
default CompletableFuture<DescribeSourceServersResponse> describeSourceServers(DescribeSourceServersRequest describeSourceServersRequest) Lists all Source Servers or multiple Source Servers filtered by ID.
- Parameters:
describeSourceServersRequest-- Returns:
- A Java Future containing the result of the DescribeSourceServers operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeSourceServers
default CompletableFuture<DescribeSourceServersResponse> describeSourceServers(Consumer<DescribeSourceServersRequest.Builder> describeSourceServersRequest) Lists all Source Servers or multiple Source Servers filtered by ID.
This is a convenience which creates an instance of the
DescribeSourceServersRequest.Builderavoiding the need to create one manually viaDescribeSourceServersRequest.builder()- Parameters:
describeSourceServersRequest- AConsumerthat will call methods onDescribeSourceServersRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeSourceServers operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeSourceServersPaginator
default DescribeSourceServersPublisher describeSourceServersPaginator(DescribeSourceServersRequest describeSourceServersRequest) This is a variant of
describeSourceServers(software.amazon.awssdk.services.drs.model.DescribeSourceServersRequest)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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.drs.paginators.DescribeSourceServersPublisher publisher = client.describeSourceServersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.drs.paginators.DescribeSourceServersPublisher publisher = client.describeSourceServersPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.drs.model.DescribeSourceServersResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.drs.model.DescribeSourceServersResponse response) { //... }; });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
describeSourceServers(software.amazon.awssdk.services.drs.model.DescribeSourceServersRequest)operation.- Parameters:
describeSourceServersRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeSourceServersPaginator
default DescribeSourceServersPublisher describeSourceServersPaginator(Consumer<DescribeSourceServersRequest.Builder> describeSourceServersRequest) This is a variant of
describeSourceServers(software.amazon.awssdk.services.drs.model.DescribeSourceServersRequest)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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.drs.paginators.DescribeSourceServersPublisher publisher = client.describeSourceServersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.drs.paginators.DescribeSourceServersPublisher publisher = client.describeSourceServersPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.drs.model.DescribeSourceServersResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.drs.model.DescribeSourceServersResponse response) { //... }; });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
describeSourceServers(software.amazon.awssdk.services.drs.model.DescribeSourceServersRequest)operation.
This is a convenience which creates an instance of the
DescribeSourceServersRequest.Builderavoiding the need to create one manually viaDescribeSourceServersRequest.builder()- Parameters:
describeSourceServersRequest- AConsumerthat will call methods onDescribeSourceServersRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disconnectRecoveryInstance
default CompletableFuture<DisconnectRecoveryInstanceResponse> disconnectRecoveryInstance(DisconnectRecoveryInstanceRequest disconnectRecoveryInstanceRequest) Disconnect a Recovery Instance from Elastic Disaster Recovery. Data replication is stopped immediately. All AWS resources created by Elastic Disaster Recovery for enabling the replication of the Recovery Instance will be terminated / deleted within 90 minutes. If the agent on the Recovery Instance has not been prevented from communicating with the Elastic Disaster Recovery service, then it will receive a command to uninstall itself (within approximately 10 minutes). The following properties of the Recovery Instance will be changed immediately: dataReplicationInfo.dataReplicationState will be set to DISCONNECTED; The totalStorageBytes property for each of dataReplicationInfo.replicatedDisks will be set to zero; dataReplicationInfo.lagDuration and dataReplicationInfo.lagDuration will be nullified.
- Parameters:
disconnectRecoveryInstanceRequest-- Returns:
- A Java Future containing the result of the DisconnectRecoveryInstance operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disconnectRecoveryInstance
default CompletableFuture<DisconnectRecoveryInstanceResponse> disconnectRecoveryInstance(Consumer<DisconnectRecoveryInstanceRequest.Builder> disconnectRecoveryInstanceRequest) Disconnect a Recovery Instance from Elastic Disaster Recovery. Data replication is stopped immediately. All AWS resources created by Elastic Disaster Recovery for enabling the replication of the Recovery Instance will be terminated / deleted within 90 minutes. If the agent on the Recovery Instance has not been prevented from communicating with the Elastic Disaster Recovery service, then it will receive a command to uninstall itself (within approximately 10 minutes). The following properties of the Recovery Instance will be changed immediately: dataReplicationInfo.dataReplicationState will be set to DISCONNECTED; The totalStorageBytes property for each of dataReplicationInfo.replicatedDisks will be set to zero; dataReplicationInfo.lagDuration and dataReplicationInfo.lagDuration will be nullified.
This is a convenience which creates an instance of the
DisconnectRecoveryInstanceRequest.Builderavoiding the need to create one manually viaDisconnectRecoveryInstanceRequest.builder()- Parameters:
disconnectRecoveryInstanceRequest- AConsumerthat will call methods onDisconnectRecoveryInstanceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DisconnectRecoveryInstance operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disconnectSourceServer
default CompletableFuture<DisconnectSourceServerResponse> disconnectSourceServer(DisconnectSourceServerRequest disconnectSourceServerRequest) Disconnects a specific Source Server from Elastic Disaster Recovery. Data replication is stopped immediately. All AWS resources created by Elastic Disaster Recovery for enabling the replication of the Source Server will be terminated / deleted within 90 minutes. You cannot disconnect a Source Server if it has a Recovery Instance. If the agent on the Source Server has not been prevented from communicating with the Elastic Disaster Recovery service, then it will receive a command to uninstall itself (within approximately 10 minutes). The following properties of the SourceServer will be changed immediately: dataReplicationInfo.dataReplicationState will be set to DISCONNECTED; The totalStorageBytes property for each of dataReplicationInfo.replicatedDisks will be set to zero; dataReplicationInfo.lagDuration and dataReplicationInfo.lagDuration will be nullified.
- Parameters:
disconnectSourceServerRequest-- Returns:
- A Java Future containing the result of the DisconnectSourceServer operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- ThrottlingException The request was denied due to request throttling.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disconnectSourceServer
default CompletableFuture<DisconnectSourceServerResponse> disconnectSourceServer(Consumer<DisconnectSourceServerRequest.Builder> disconnectSourceServerRequest) Disconnects a specific Source Server from Elastic Disaster Recovery. Data replication is stopped immediately. All AWS resources created by Elastic Disaster Recovery for enabling the replication of the Source Server will be terminated / deleted within 90 minutes. You cannot disconnect a Source Server if it has a Recovery Instance. If the agent on the Source Server has not been prevented from communicating with the Elastic Disaster Recovery service, then it will receive a command to uninstall itself (within approximately 10 minutes). The following properties of the SourceServer will be changed immediately: dataReplicationInfo.dataReplicationState will be set to DISCONNECTED; The totalStorageBytes property for each of dataReplicationInfo.replicatedDisks will be set to zero; dataReplicationInfo.lagDuration and dataReplicationInfo.lagDuration will be nullified.
This is a convenience which creates an instance of the
DisconnectSourceServerRequest.Builderavoiding the need to create one manually viaDisconnectSourceServerRequest.builder()- Parameters:
disconnectSourceServerRequest- AConsumerthat will call methods onDisconnectSourceServerRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DisconnectSourceServer operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- ThrottlingException The request was denied due to request throttling.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
exportSourceNetworkCfnTemplate
default CompletableFuture<ExportSourceNetworkCfnTemplateResponse> exportSourceNetworkCfnTemplate(ExportSourceNetworkCfnTemplateRequest exportSourceNetworkCfnTemplateRequest) Export the Source Network CloudFormation template to an S3 bucket.
- Parameters:
exportSourceNetworkCfnTemplateRequest-- Returns:
- A Java Future containing the result of the ExportSourceNetworkCfnTemplate operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
exportSourceNetworkCfnTemplate
default CompletableFuture<ExportSourceNetworkCfnTemplateResponse> exportSourceNetworkCfnTemplate(Consumer<ExportSourceNetworkCfnTemplateRequest.Builder> exportSourceNetworkCfnTemplateRequest) Export the Source Network CloudFormation template to an S3 bucket.
This is a convenience which creates an instance of the
ExportSourceNetworkCfnTemplateRequest.Builderavoiding the need to create one manually viaExportSourceNetworkCfnTemplateRequest.builder()- Parameters:
exportSourceNetworkCfnTemplateRequest- AConsumerthat will call methods onExportSourceNetworkCfnTemplateRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ExportSourceNetworkCfnTemplate operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getFailbackReplicationConfiguration
default CompletableFuture<GetFailbackReplicationConfigurationResponse> getFailbackReplicationConfiguration(GetFailbackReplicationConfigurationRequest getFailbackReplicationConfigurationRequest) Lists all Failback ReplicationConfigurations, filtered by Recovery Instance ID.
- Parameters:
getFailbackReplicationConfigurationRequest-- Returns:
- A Java Future containing the result of the GetFailbackReplicationConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ThrottlingException The request was denied due to request throttling.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getFailbackReplicationConfiguration
default CompletableFuture<GetFailbackReplicationConfigurationResponse> getFailbackReplicationConfiguration(Consumer<GetFailbackReplicationConfigurationRequest.Builder> getFailbackReplicationConfigurationRequest) Lists all Failback ReplicationConfigurations, filtered by Recovery Instance ID.
This is a convenience which creates an instance of the
GetFailbackReplicationConfigurationRequest.Builderavoiding the need to create one manually viaGetFailbackReplicationConfigurationRequest.builder()- Parameters:
getFailbackReplicationConfigurationRequest- AConsumerthat will call methods onGetFailbackReplicationConfigurationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetFailbackReplicationConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ThrottlingException The request was denied due to request throttling.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getLaunchConfiguration
default CompletableFuture<GetLaunchConfigurationResponse> getLaunchConfiguration(GetLaunchConfigurationRequest getLaunchConfigurationRequest) Gets a LaunchConfiguration, filtered by Source Server IDs.
- Parameters:
getLaunchConfigurationRequest-- Returns:
- A Java Future containing the result of the GetLaunchConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ThrottlingException The request was denied due to request throttling.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getLaunchConfiguration
default CompletableFuture<GetLaunchConfigurationResponse> getLaunchConfiguration(Consumer<GetLaunchConfigurationRequest.Builder> getLaunchConfigurationRequest) Gets a LaunchConfiguration, filtered by Source Server IDs.
This is a convenience which creates an instance of the
GetLaunchConfigurationRequest.Builderavoiding the need to create one manually viaGetLaunchConfigurationRequest.builder()- Parameters:
getLaunchConfigurationRequest- AConsumerthat will call methods onGetLaunchConfigurationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetLaunchConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ThrottlingException The request was denied due to request throttling.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getReplicationConfiguration
default CompletableFuture<GetReplicationConfigurationResponse> getReplicationConfiguration(GetReplicationConfigurationRequest getReplicationConfigurationRequest) Gets a ReplicationConfiguration, filtered by Source Server ID.
- Parameters:
getReplicationConfigurationRequest-- Returns:
- A Java Future containing the result of the GetReplicationConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getReplicationConfiguration
default CompletableFuture<GetReplicationConfigurationResponse> getReplicationConfiguration(Consumer<GetReplicationConfigurationRequest.Builder> getReplicationConfigurationRequest) Gets a ReplicationConfiguration, filtered by Source Server ID.
This is a convenience which creates an instance of the
GetReplicationConfigurationRequest.Builderavoiding the need to create one manually viaGetReplicationConfigurationRequest.builder()- Parameters:
getReplicationConfigurationRequest- AConsumerthat will call methods onGetReplicationConfigurationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetReplicationConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
initializeService
default CompletableFuture<InitializeServiceResponse> initializeService(InitializeServiceRequest initializeServiceRequest) Initialize Elastic Disaster Recovery.
- Parameters:
initializeServiceRequest-- Returns:
- A Java Future containing the result of the InitializeService operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
initializeService
default CompletableFuture<InitializeServiceResponse> initializeService(Consumer<InitializeServiceRequest.Builder> initializeServiceRequest) Initialize Elastic Disaster Recovery.
This is a convenience which creates an instance of the
InitializeServiceRequest.Builderavoiding the need to create one manually viaInitializeServiceRequest.builder()- Parameters:
initializeServiceRequest- AConsumerthat will call methods onInitializeServiceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the InitializeService operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listExtensibleSourceServers
default CompletableFuture<ListExtensibleSourceServersResponse> listExtensibleSourceServers(ListExtensibleSourceServersRequest listExtensibleSourceServersRequest) Returns a list of source servers on a staging account that are extensible, which means that: a. The source server is not already extended into this Account. b. The source server on the Account we’re reading from is not an extension of another source server.
- Parameters:
listExtensibleSourceServersRequest-- Returns:
- A Java Future containing the result of the ListExtensibleSourceServers operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listExtensibleSourceServers
default CompletableFuture<ListExtensibleSourceServersResponse> listExtensibleSourceServers(Consumer<ListExtensibleSourceServersRequest.Builder> listExtensibleSourceServersRequest) Returns a list of source servers on a staging account that are extensible, which means that: a. The source server is not already extended into this Account. b. The source server on the Account we’re reading from is not an extension of another source server.
This is a convenience which creates an instance of the
ListExtensibleSourceServersRequest.Builderavoiding the need to create one manually viaListExtensibleSourceServersRequest.builder()- Parameters:
listExtensibleSourceServersRequest- AConsumerthat will call methods onListExtensibleSourceServersRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListExtensibleSourceServers operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listExtensibleSourceServersPaginator
default ListExtensibleSourceServersPublisher listExtensibleSourceServersPaginator(ListExtensibleSourceServersRequest listExtensibleSourceServersRequest) This is a variant of
listExtensibleSourceServers(software.amazon.awssdk.services.drs.model.ListExtensibleSourceServersRequest)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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.drs.paginators.ListExtensibleSourceServersPublisher publisher = client.listExtensibleSourceServersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.drs.paginators.ListExtensibleSourceServersPublisher publisher = client.listExtensibleSourceServersPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.drs.model.ListExtensibleSourceServersResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.drs.model.ListExtensibleSourceServersResponse response) { //... }; });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
listExtensibleSourceServers(software.amazon.awssdk.services.drs.model.ListExtensibleSourceServersRequest)operation.- Parameters:
listExtensibleSourceServersRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listExtensibleSourceServersPaginator
default ListExtensibleSourceServersPublisher listExtensibleSourceServersPaginator(Consumer<ListExtensibleSourceServersRequest.Builder> listExtensibleSourceServersRequest) This is a variant of
listExtensibleSourceServers(software.amazon.awssdk.services.drs.model.ListExtensibleSourceServersRequest)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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.drs.paginators.ListExtensibleSourceServersPublisher publisher = client.listExtensibleSourceServersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.drs.paginators.ListExtensibleSourceServersPublisher publisher = client.listExtensibleSourceServersPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.drs.model.ListExtensibleSourceServersResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.drs.model.ListExtensibleSourceServersResponse response) { //... }; });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
listExtensibleSourceServers(software.amazon.awssdk.services.drs.model.ListExtensibleSourceServersRequest)operation.
This is a convenience which creates an instance of the
ListExtensibleSourceServersRequest.Builderavoiding the need to create one manually viaListExtensibleSourceServersRequest.builder()- Parameters:
listExtensibleSourceServersRequest- AConsumerthat will call methods onListExtensibleSourceServersRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listLaunchActions
default CompletableFuture<ListLaunchActionsResponse> listLaunchActions(ListLaunchActionsRequest listLaunchActionsRequest) Lists resource launch actions.
- Parameters:
listLaunchActionsRequest-- Returns:
- A Java Future containing the result of the ListLaunchActions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
- ThrottlingException The request was denied due to request throttling.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listLaunchActions
default CompletableFuture<ListLaunchActionsResponse> listLaunchActions(Consumer<ListLaunchActionsRequest.Builder> listLaunchActionsRequest) Lists resource launch actions.
This is a convenience which creates an instance of the
ListLaunchActionsRequest.Builderavoiding the need to create one manually viaListLaunchActionsRequest.builder()- Parameters:
listLaunchActionsRequest- AConsumerthat will call methods onListLaunchActionsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListLaunchActions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
- ThrottlingException The request was denied due to request throttling.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listLaunchActionsPaginator
default ListLaunchActionsPublisher listLaunchActionsPaginator(ListLaunchActionsRequest listLaunchActionsRequest) This is a variant of
listLaunchActions(software.amazon.awssdk.services.drs.model.ListLaunchActionsRequest)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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.drs.paginators.ListLaunchActionsPublisher publisher = client.listLaunchActionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.drs.paginators.ListLaunchActionsPublisher publisher = client.listLaunchActionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.drs.model.ListLaunchActionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.drs.model.ListLaunchActionsResponse response) { //... }; });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
listLaunchActions(software.amazon.awssdk.services.drs.model.ListLaunchActionsRequest)operation.- Parameters:
listLaunchActionsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
- ThrottlingException The request was denied due to request throttling.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listLaunchActionsPaginator
default ListLaunchActionsPublisher listLaunchActionsPaginator(Consumer<ListLaunchActionsRequest.Builder> listLaunchActionsRequest) This is a variant of
listLaunchActions(software.amazon.awssdk.services.drs.model.ListLaunchActionsRequest)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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.drs.paginators.ListLaunchActionsPublisher publisher = client.listLaunchActionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.drs.paginators.ListLaunchActionsPublisher publisher = client.listLaunchActionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.drs.model.ListLaunchActionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.drs.model.ListLaunchActionsResponse response) { //... }; });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
listLaunchActions(software.amazon.awssdk.services.drs.model.ListLaunchActionsRequest)operation.
This is a convenience which creates an instance of the
ListLaunchActionsRequest.Builderavoiding the need to create one manually viaListLaunchActionsRequest.builder()- Parameters:
listLaunchActionsRequest- AConsumerthat will call methods onListLaunchActionsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
- ThrottlingException The request was denied due to request throttling.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listStagingAccounts
default CompletableFuture<ListStagingAccountsResponse> listStagingAccounts(ListStagingAccountsRequest listStagingAccountsRequest) Returns an array of staging accounts for existing extended source servers.
- Parameters:
listStagingAccountsRequest-- Returns:
- A Java Future containing the result of the ListStagingAccounts operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listStagingAccounts
default CompletableFuture<ListStagingAccountsResponse> listStagingAccounts(Consumer<ListStagingAccountsRequest.Builder> listStagingAccountsRequest) Returns an array of staging accounts for existing extended source servers.
This is a convenience which creates an instance of the
ListStagingAccountsRequest.Builderavoiding the need to create one manually viaListStagingAccountsRequest.builder()- Parameters:
listStagingAccountsRequest- AConsumerthat will call methods onListStagingAccountsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListStagingAccounts operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listStagingAccountsPaginator
default ListStagingAccountsPublisher listStagingAccountsPaginator(ListStagingAccountsRequest listStagingAccountsRequest) This is a variant of
listStagingAccounts(software.amazon.awssdk.services.drs.model.ListStagingAccountsRequest)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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.drs.paginators.ListStagingAccountsPublisher publisher = client.listStagingAccountsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.drs.paginators.ListStagingAccountsPublisher publisher = client.listStagingAccountsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.drs.model.ListStagingAccountsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.drs.model.ListStagingAccountsResponse response) { //... }; });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
listStagingAccounts(software.amazon.awssdk.services.drs.model.ListStagingAccountsRequest)operation.- Parameters:
listStagingAccountsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listStagingAccountsPaginator
default ListStagingAccountsPublisher listStagingAccountsPaginator(Consumer<ListStagingAccountsRequest.Builder> listStagingAccountsRequest) This is a variant of
listStagingAccounts(software.amazon.awssdk.services.drs.model.ListStagingAccountsRequest)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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.drs.paginators.ListStagingAccountsPublisher publisher = client.listStagingAccountsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.drs.paginators.ListStagingAccountsPublisher publisher = client.listStagingAccountsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.drs.model.ListStagingAccountsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.drs.model.ListStagingAccountsResponse response) { //... }; });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
listStagingAccounts(software.amazon.awssdk.services.drs.model.ListStagingAccountsRequest)operation.
This is a convenience which creates an instance of the
ListStagingAccountsRequest.Builderavoiding the need to create one manually viaListStagingAccountsRequest.builder()- Parameters:
listStagingAccountsRequest- AConsumerthat will call methods onListStagingAccountsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) List all tags for your Elastic Disaster Recovery resources.
- Parameters:
listTagsForResourceRequest-- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) List all tags for your Elastic Disaster Recovery resources.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putLaunchAction
default CompletableFuture<PutLaunchActionResponse> putLaunchAction(PutLaunchActionRequest putLaunchActionRequest) Puts a resource launch action.
- Parameters:
putLaunchActionRequest-- Returns:
- A Java Future containing the result of the PutLaunchAction operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putLaunchAction
default CompletableFuture<PutLaunchActionResponse> putLaunchAction(Consumer<PutLaunchActionRequest.Builder> putLaunchActionRequest) Puts a resource launch action.
This is a convenience which creates an instance of the
PutLaunchActionRequest.Builderavoiding the need to create one manually viaPutLaunchActionRequest.builder()- Parameters:
putLaunchActionRequest- AConsumerthat will call methods onPutLaunchActionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the PutLaunchAction operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
retryDataReplication
@Deprecated default CompletableFuture<RetryDataReplicationResponse> retryDataReplication(RetryDataReplicationRequest retryDataReplicationRequest) Deprecated.WARNING: RetryDataReplication is deprecatedWARNING: RetryDataReplication is deprecated. Causes the data replication initiation sequence to begin immediately upon next Handshake for the specified Source Server ID, regardless of when the previous initiation started. This command will work only if the Source Server is stalled or is in a DISCONNECTED or STOPPED state.
- Parameters:
retryDataReplicationRequest-- Returns:
- A Java Future containing the result of the RetryDataReplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
retryDataReplication
@Deprecated default CompletableFuture<RetryDataReplicationResponse> retryDataReplication(Consumer<RetryDataReplicationRequest.Builder> retryDataReplicationRequest) Deprecated.WARNING: RetryDataReplication is deprecatedWARNING: RetryDataReplication is deprecated. Causes the data replication initiation sequence to begin immediately upon next Handshake for the specified Source Server ID, regardless of when the previous initiation started. This command will work only if the Source Server is stalled or is in a DISCONNECTED or STOPPED state.
This is a convenience which creates an instance of the
RetryDataReplicationRequest.Builderavoiding the need to create one manually viaRetryDataReplicationRequest.builder()- Parameters:
retryDataReplicationRequest- AConsumerthat will call methods onRetryDataReplicationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the RetryDataReplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
reverseReplication
default CompletableFuture<ReverseReplicationResponse> reverseReplication(ReverseReplicationRequest reverseReplicationRequest) Start replication to origin / target region - applies only to protected instances that originated in EC2. For recovery instances on target region - starts replication back to origin region. For failback instances on origin region - starts replication to target region to re-protect them.
- Parameters:
reverseReplicationRequest-- Returns:
- A Java Future containing the result of the ReverseReplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
reverseReplication
default CompletableFuture<ReverseReplicationResponse> reverseReplication(Consumer<ReverseReplicationRequest.Builder> reverseReplicationRequest) Start replication to origin / target region - applies only to protected instances that originated in EC2. For recovery instances on target region - starts replication back to origin region. For failback instances on origin region - starts replication to target region to re-protect them.
This is a convenience which creates an instance of the
ReverseReplicationRequest.Builderavoiding the need to create one manually viaReverseReplicationRequest.builder()- Parameters:
reverseReplicationRequest- AConsumerthat will call methods onReverseReplicationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ReverseReplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startFailbackLaunch
default CompletableFuture<StartFailbackLaunchResponse> startFailbackLaunch(StartFailbackLaunchRequest startFailbackLaunchRequest) Initiates a Job for launching the machine that is being failed back to from the specified Recovery Instance. This will run conversion on the failback client and will reboot your machine, thus completing the failback process.
- Parameters:
startFailbackLaunchRequest-- Returns:
- A Java Future containing the result of the StartFailbackLaunch operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startFailbackLaunch
default CompletableFuture<StartFailbackLaunchResponse> startFailbackLaunch(Consumer<StartFailbackLaunchRequest.Builder> startFailbackLaunchRequest) Initiates a Job for launching the machine that is being failed back to from the specified Recovery Instance. This will run conversion on the failback client and will reboot your machine, thus completing the failback process.
This is a convenience which creates an instance of the
StartFailbackLaunchRequest.Builderavoiding the need to create one manually viaStartFailbackLaunchRequest.builder()- Parameters:
startFailbackLaunchRequest- AConsumerthat will call methods onStartFailbackLaunchRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StartFailbackLaunch operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startRecovery
default CompletableFuture<StartRecoveryResponse> startRecovery(StartRecoveryRequest startRecoveryRequest) Launches Recovery Instances for the specified Source Servers. For each Source Server you may choose a point in time snapshot to launch from, or use an on demand snapshot.
- Parameters:
startRecoveryRequest-- Returns:
- A Java Future containing the result of the StartRecovery operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
- ThrottlingException The request was denied due to request throttling.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startRecovery
default CompletableFuture<StartRecoveryResponse> startRecovery(Consumer<StartRecoveryRequest.Builder> startRecoveryRequest) Launches Recovery Instances for the specified Source Servers. For each Source Server you may choose a point in time snapshot to launch from, or use an on demand snapshot.
This is a convenience which creates an instance of the
StartRecoveryRequest.Builderavoiding the need to create one manually viaStartRecoveryRequest.builder()- Parameters:
startRecoveryRequest- AConsumerthat will call methods onStartRecoveryRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StartRecovery operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
- ThrottlingException The request was denied due to request throttling.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startReplication
default CompletableFuture<StartReplicationResponse> startReplication(StartReplicationRequest startReplicationRequest) Starts replication for a stopped Source Server. This action would make the Source Server protected again and restart billing for it.
- Parameters:
startReplicationRequest-- Returns:
- A Java Future containing the result of the StartReplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- ThrottlingException The request was denied due to request throttling.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startReplication
default CompletableFuture<StartReplicationResponse> startReplication(Consumer<StartReplicationRequest.Builder> startReplicationRequest) Starts replication for a stopped Source Server. This action would make the Source Server protected again and restart billing for it.
This is a convenience which creates an instance of the
StartReplicationRequest.Builderavoiding the need to create one manually viaStartReplicationRequest.builder()- Parameters:
startReplicationRequest- AConsumerthat will call methods onStartReplicationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StartReplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- ThrottlingException The request was denied due to request throttling.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startSourceNetworkRecovery
default CompletableFuture<StartSourceNetworkRecoveryResponse> startSourceNetworkRecovery(StartSourceNetworkRecoveryRequest startSourceNetworkRecoveryRequest) Deploy VPC for the specified Source Network and modify launch templates to use this network. The VPC will be deployed using a dedicated CloudFormation stack.
- Parameters:
startSourceNetworkRecoveryRequest-- Returns:
- A Java Future containing the result of the StartSourceNetworkRecovery operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startSourceNetworkRecovery
default CompletableFuture<StartSourceNetworkRecoveryResponse> startSourceNetworkRecovery(Consumer<StartSourceNetworkRecoveryRequest.Builder> startSourceNetworkRecoveryRequest) Deploy VPC for the specified Source Network and modify launch templates to use this network. The VPC will be deployed using a dedicated CloudFormation stack.
This is a convenience which creates an instance of the
StartSourceNetworkRecoveryRequest.Builderavoiding the need to create one manually viaStartSourceNetworkRecoveryRequest.builder()- Parameters:
startSourceNetworkRecoveryRequest- AConsumerthat will call methods onStartSourceNetworkRecoveryRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StartSourceNetworkRecovery operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startSourceNetworkReplication
default CompletableFuture<StartSourceNetworkReplicationResponse> startSourceNetworkReplication(StartSourceNetworkReplicationRequest startSourceNetworkReplicationRequest) Starts replication for a Source Network. This action would make the Source Network protected.
- Parameters:
startSourceNetworkReplicationRequest-- Returns:
- A Java Future containing the result of the StartSourceNetworkReplication operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- ThrottlingException The request was denied due to request throttling.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startSourceNetworkReplication
default CompletableFuture<StartSourceNetworkReplicationResponse> startSourceNetworkReplication(Consumer<StartSourceNetworkReplicationRequest.Builder> startSourceNetworkReplicationRequest) Starts replication for a Source Network. This action would make the Source Network protected.
This is a convenience which creates an instance of the
StartSourceNetworkReplicationRequest.Builderavoiding the need to create one manually viaStartSourceNetworkReplicationRequest.builder()- Parameters:
startSourceNetworkReplicationRequest- AConsumerthat will call methods onStartSourceNetworkReplicationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StartSourceNetworkReplication operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- ThrottlingException The request was denied due to request throttling.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
stopFailback
default CompletableFuture<StopFailbackResponse> stopFailback(StopFailbackRequest stopFailbackRequest) Stops the failback process for a specified Recovery Instance. This changes the Failback State of the Recovery Instance back to FAILBACK_NOT_STARTED.
- Parameters:
stopFailbackRequest-- Returns:
- A Java Future containing the result of the StopFailback operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ThrottlingException The request was denied due to request throttling.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
stopFailback
default CompletableFuture<StopFailbackResponse> stopFailback(Consumer<StopFailbackRequest.Builder> stopFailbackRequest) Stops the failback process for a specified Recovery Instance. This changes the Failback State of the Recovery Instance back to FAILBACK_NOT_STARTED.
This is a convenience which creates an instance of the
StopFailbackRequest.Builderavoiding the need to create one manually viaStopFailbackRequest.builder()- Parameters:
stopFailbackRequest- AConsumerthat will call methods onStopFailbackRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StopFailback operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ThrottlingException The request was denied due to request throttling.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
stopReplication
default CompletableFuture<StopReplicationResponse> stopReplication(StopReplicationRequest stopReplicationRequest) Stops replication for a Source Server. This action would make the Source Server unprotected, delete its existing snapshots and stop billing for it.
- Parameters:
stopReplicationRequest-- Returns:
- A Java Future containing the result of the StopReplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- ThrottlingException The request was denied due to request throttling.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
stopReplication
default CompletableFuture<StopReplicationResponse> stopReplication(Consumer<StopReplicationRequest.Builder> stopReplicationRequest) Stops replication for a Source Server. This action would make the Source Server unprotected, delete its existing snapshots and stop billing for it.
This is a convenience which creates an instance of the
StopReplicationRequest.Builderavoiding the need to create one manually viaStopReplicationRequest.builder()- Parameters:
stopReplicationRequest- AConsumerthat will call methods onStopReplicationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StopReplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- ThrottlingException The request was denied due to request throttling.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
stopSourceNetworkReplication
default CompletableFuture<StopSourceNetworkReplicationResponse> stopSourceNetworkReplication(StopSourceNetworkReplicationRequest stopSourceNetworkReplicationRequest) Stops replication for a Source Network. This action would make the Source Network unprotected.
- Parameters:
stopSourceNetworkReplicationRequest-- Returns:
- A Java Future containing the result of the StopSourceNetworkReplication operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
stopSourceNetworkReplication
default CompletableFuture<StopSourceNetworkReplicationResponse> stopSourceNetworkReplication(Consumer<StopSourceNetworkReplicationRequest.Builder> stopSourceNetworkReplicationRequest) Stops replication for a Source Network. This action would make the Source Network unprotected.
This is a convenience which creates an instance of the
StopSourceNetworkReplicationRequest.Builderavoiding the need to create one manually viaStopSourceNetworkReplicationRequest.builder()- Parameters:
stopSourceNetworkReplicationRequest- AConsumerthat will call methods onStopSourceNetworkReplicationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StopSourceNetworkReplication operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
Adds or overwrites only the specified tags for the specified Elastic Disaster Recovery resource or resources. When you specify an existing tag key, the value is overwritten with the new value. Each resource can have a maximum of 50 tags. Each tag consists of a key and optional value.
- Parameters:
tagResourceRequest-- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds or overwrites only the specified tags for the specified Elastic Disaster Recovery resource or resources. When you specify an existing tag key, the value is overwritten with the new value. Each resource can have a maximum of 50 tags. Each tag consists of a key and optional value.
This is a convenience which creates an instance of the
TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
terminateRecoveryInstances
default CompletableFuture<TerminateRecoveryInstancesResponse> terminateRecoveryInstances(TerminateRecoveryInstancesRequest terminateRecoveryInstancesRequest) Initiates a Job for terminating the EC2 resources associated with the specified Recovery Instances, and then will delete the Recovery Instances from the Elastic Disaster Recovery service.
- Parameters:
terminateRecoveryInstancesRequest-- Returns:
- A Java Future containing the result of the TerminateRecoveryInstances operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
- ThrottlingException The request was denied due to request throttling.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
terminateRecoveryInstances
default CompletableFuture<TerminateRecoveryInstancesResponse> terminateRecoveryInstances(Consumer<TerminateRecoveryInstancesRequest.Builder> terminateRecoveryInstancesRequest) Initiates a Job for terminating the EC2 resources associated with the specified Recovery Instances, and then will delete the Recovery Instances from the Elastic Disaster Recovery service.
This is a convenience which creates an instance of the
TerminateRecoveryInstancesRequest.Builderavoiding the need to create one manually viaTerminateRecoveryInstancesRequest.builder()- Parameters:
terminateRecoveryInstancesRequest- AConsumerthat will call methods onTerminateRecoveryInstancesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the TerminateRecoveryInstances operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
- ThrottlingException The request was denied due to request throttling.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Deletes the specified set of tags from the specified set of Elastic Disaster Recovery resources.
- Parameters:
untagResourceRequest-- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Deletes the specified set of tags from the specified set of Elastic Disaster Recovery resources.
This is a convenience which creates an instance of the
UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateFailbackReplicationConfiguration
default CompletableFuture<UpdateFailbackReplicationConfigurationResponse> updateFailbackReplicationConfiguration(UpdateFailbackReplicationConfigurationRequest updateFailbackReplicationConfigurationRequest) Allows you to update the failback replication configuration of a Recovery Instance by ID.
- Parameters:
updateFailbackReplicationConfigurationRequest-- Returns:
- A Java Future containing the result of the UpdateFailbackReplicationConfiguration operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateFailbackReplicationConfiguration
default CompletableFuture<UpdateFailbackReplicationConfigurationResponse> updateFailbackReplicationConfiguration(Consumer<UpdateFailbackReplicationConfigurationRequest.Builder> updateFailbackReplicationConfigurationRequest) Allows you to update the failback replication configuration of a Recovery Instance by ID.
This is a convenience which creates an instance of the
UpdateFailbackReplicationConfigurationRequest.Builderavoiding the need to create one manually viaUpdateFailbackReplicationConfigurationRequest.builder()- Parameters:
updateFailbackReplicationConfigurationRequest- AConsumerthat will call methods onUpdateFailbackReplicationConfigurationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateFailbackReplicationConfiguration operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateLaunchConfiguration
default CompletableFuture<UpdateLaunchConfigurationResponse> updateLaunchConfiguration(UpdateLaunchConfigurationRequest updateLaunchConfigurationRequest) Updates a LaunchConfiguration by Source Server ID.
- Parameters:
updateLaunchConfigurationRequest-- Returns:
- A Java Future containing the result of the UpdateLaunchConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateLaunchConfiguration
default CompletableFuture<UpdateLaunchConfigurationResponse> updateLaunchConfiguration(Consumer<UpdateLaunchConfigurationRequest.Builder> updateLaunchConfigurationRequest) Updates a LaunchConfiguration by Source Server ID.
This is a convenience which creates an instance of the
UpdateLaunchConfigurationRequest.Builderavoiding the need to create one manually viaUpdateLaunchConfigurationRequest.builder()- Parameters:
updateLaunchConfigurationRequest- AConsumerthat will call methods onUpdateLaunchConfigurationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateLaunchConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateLaunchConfigurationTemplate
default CompletableFuture<UpdateLaunchConfigurationTemplateResponse> updateLaunchConfigurationTemplate(UpdateLaunchConfigurationTemplateRequest updateLaunchConfigurationTemplateRequest) Updates an existing Launch Configuration Template by ID.
- Parameters:
updateLaunchConfigurationTemplateRequest-- Returns:
- A Java Future containing the result of the UpdateLaunchConfigurationTemplate operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateLaunchConfigurationTemplate
default CompletableFuture<UpdateLaunchConfigurationTemplateResponse> updateLaunchConfigurationTemplate(Consumer<UpdateLaunchConfigurationTemplateRequest.Builder> updateLaunchConfigurationTemplateRequest) Updates an existing Launch Configuration Template by ID.
This is a convenience which creates an instance of the
UpdateLaunchConfigurationTemplateRequest.Builderavoiding the need to create one manually viaUpdateLaunchConfigurationTemplateRequest.builder()- Parameters:
updateLaunchConfigurationTemplateRequest- AConsumerthat will call methods onUpdateLaunchConfigurationTemplateRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateLaunchConfigurationTemplate operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateReplicationConfiguration
default CompletableFuture<UpdateReplicationConfigurationResponse> updateReplicationConfiguration(UpdateReplicationConfigurationRequest updateReplicationConfigurationRequest) Allows you to update a ReplicationConfiguration by Source Server ID.
- Parameters:
updateReplicationConfigurationRequest-- Returns:
- A Java Future containing the result of the UpdateReplicationConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateReplicationConfiguration
default CompletableFuture<UpdateReplicationConfigurationResponse> updateReplicationConfiguration(Consumer<UpdateReplicationConfigurationRequest.Builder> updateReplicationConfigurationRequest) Allows you to update a ReplicationConfiguration by Source Server ID.
This is a convenience which creates an instance of the
UpdateReplicationConfigurationRequest.Builderavoiding the need to create one manually viaUpdateReplicationConfigurationRequest.builder()- Parameters:
updateReplicationConfigurationRequest- AConsumerthat will call methods onUpdateReplicationConfigurationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateReplicationConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateReplicationConfigurationTemplate
default CompletableFuture<UpdateReplicationConfigurationTemplateResponse> updateReplicationConfigurationTemplate(UpdateReplicationConfigurationTemplateRequest updateReplicationConfigurationTemplateRequest) Updates a ReplicationConfigurationTemplate by ID.
- Parameters:
updateReplicationConfigurationTemplateRequest-- Returns:
- A Java Future containing the result of the UpdateReplicationConfigurationTemplate operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateReplicationConfigurationTemplate
default CompletableFuture<UpdateReplicationConfigurationTemplateResponse> updateReplicationConfigurationTemplate(Consumer<UpdateReplicationConfigurationTemplateRequest.Builder> updateReplicationConfigurationTemplateRequest) Updates a ReplicationConfigurationTemplate by ID.
This is a convenience which creates an instance of the
UpdateReplicationConfigurationTemplateRequest.Builderavoiding the need to create one manually viaUpdateReplicationConfigurationTemplateRequest.builder()- Parameters:
updateReplicationConfigurationTemplateRequest- AConsumerthat will call methods onUpdateReplicationConfigurationTemplateRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateReplicationConfigurationTemplate operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource for this operation was not found.
- InternalServerException The request processing has failed because of an unknown error, exception or failure.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input fails to satisfy the constraints specified by the AWS service.
- UninitializedAccountException The account performing the request has not been initialized.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DrsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-
create
Create aDrsAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aDrsAsyncClient.
-