@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface DrsClient extends SdkClient
builder() method.
AWS Elastic Disaster Recovery Service.
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider. |
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
static DrsClientBuilder |
builder()
Create a builder that can be used to configure and create a
DrsClient. |
static DrsClient |
create()
Create a
DrsClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default CreateExtendedSourceServerResponse |
createExtendedSourceServer(Consumer<CreateExtendedSourceServerRequest.Builder> createExtendedSourceServerRequest)
Create an extended source server in the target Account based on the source server in staging account.
|
default CreateExtendedSourceServerResponse |
createExtendedSourceServer(CreateExtendedSourceServerRequest createExtendedSourceServerRequest)
Create an extended source server in the target Account based on the source server in staging account.
|
default CreateReplicationConfigurationTemplateResponse |
createReplicationConfigurationTemplate(Consumer<CreateReplicationConfigurationTemplateRequest.Builder> createReplicationConfigurationTemplateRequest)
Creates a new ReplicationConfigurationTemplate.
|
default CreateReplicationConfigurationTemplateResponse |
createReplicationConfigurationTemplate(CreateReplicationConfigurationTemplateRequest createReplicationConfigurationTemplateRequest)
Creates a new ReplicationConfigurationTemplate.
|
default DeleteJobResponse |
deleteJob(Consumer<DeleteJobRequest.Builder> deleteJobRequest)
Deletes a single Job by ID.
|
default DeleteJobResponse |
deleteJob(DeleteJobRequest deleteJobRequest)
Deletes a single Job by ID.
|
default DeleteRecoveryInstanceResponse |
deleteRecoveryInstance(Consumer<DeleteRecoveryInstanceRequest.Builder> deleteRecoveryInstanceRequest)
Deletes a single Recovery Instance by ID.
|
default DeleteRecoveryInstanceResponse |
deleteRecoveryInstance(DeleteRecoveryInstanceRequest deleteRecoveryInstanceRequest)
Deletes a single Recovery Instance by ID.
|
default DeleteReplicationConfigurationTemplateResponse |
deleteReplicationConfigurationTemplate(Consumer<DeleteReplicationConfigurationTemplateRequest.Builder> deleteReplicationConfigurationTemplateRequest)
Deletes a single Replication Configuration Template by ID
|
default DeleteReplicationConfigurationTemplateResponse |
deleteReplicationConfigurationTemplate(DeleteReplicationConfigurationTemplateRequest deleteReplicationConfigurationTemplateRequest)
Deletes a single Replication Configuration Template by ID
|
default DeleteSourceServerResponse |
deleteSourceServer(Consumer<DeleteSourceServerRequest.Builder> deleteSourceServerRequest)
Deletes a single Source Server by ID.
|
default DeleteSourceServerResponse |
deleteSourceServer(DeleteSourceServerRequest deleteSourceServerRequest)
Deletes a single Source Server by ID.
|
default DescribeJobLogItemsResponse |
describeJobLogItems(Consumer<DescribeJobLogItemsRequest.Builder> describeJobLogItemsRequest)
Retrieves a detailed Job log with pagination.
|
default DescribeJobLogItemsResponse |
describeJobLogItems(DescribeJobLogItemsRequest describeJobLogItemsRequest)
Retrieves a detailed Job log with pagination.
|
default DescribeJobLogItemsIterable |
describeJobLogItemsPaginator(Consumer<DescribeJobLogItemsRequest.Builder> describeJobLogItemsRequest)
Retrieves a detailed Job log with pagination.
|
default DescribeJobLogItemsIterable |
describeJobLogItemsPaginator(DescribeJobLogItemsRequest describeJobLogItemsRequest)
Retrieves a detailed Job log with pagination.
|
default DescribeJobsResponse |
describeJobs(Consumer<DescribeJobsRequest.Builder> describeJobsRequest)
Returns a list of Jobs.
|
default DescribeJobsResponse |
describeJobs(DescribeJobsRequest describeJobsRequest)
Returns a list of Jobs.
|
default DescribeJobsIterable |
describeJobsPaginator(Consumer<DescribeJobsRequest.Builder> describeJobsRequest)
Returns a list of Jobs.
|
default DescribeJobsIterable |
describeJobsPaginator(DescribeJobsRequest describeJobsRequest)
Returns a list of Jobs.
|
default DescribeRecoveryInstancesResponse |
describeRecoveryInstances(Consumer<DescribeRecoveryInstancesRequest.Builder> describeRecoveryInstancesRequest)
Lists all Recovery Instances or multiple Recovery Instances by ID.
|
default DescribeRecoveryInstancesResponse |
describeRecoveryInstances(DescribeRecoveryInstancesRequest describeRecoveryInstancesRequest)
Lists all Recovery Instances or multiple Recovery Instances by ID.
|
default DescribeRecoveryInstancesIterable |
describeRecoveryInstancesPaginator(Consumer<DescribeRecoveryInstancesRequest.Builder> describeRecoveryInstancesRequest)
Lists all Recovery Instances or multiple Recovery Instances by ID.
|
default DescribeRecoveryInstancesIterable |
describeRecoveryInstancesPaginator(DescribeRecoveryInstancesRequest describeRecoveryInstancesRequest)
Lists all Recovery Instances or multiple Recovery Instances by ID.
|
default DescribeRecoverySnapshotsResponse |
describeRecoverySnapshots(Consumer<DescribeRecoverySnapshotsRequest.Builder> describeRecoverySnapshotsRequest)
Lists all Recovery Snapshots for a single Source Server.
|
default DescribeRecoverySnapshotsResponse |
describeRecoverySnapshots(DescribeRecoverySnapshotsRequest describeRecoverySnapshotsRequest)
Lists all Recovery Snapshots for a single Source Server.
|
default DescribeRecoverySnapshotsIterable |
describeRecoverySnapshotsPaginator(Consumer<DescribeRecoverySnapshotsRequest.Builder> describeRecoverySnapshotsRequest)
Lists all Recovery Snapshots for a single Source Server.
|
default DescribeRecoverySnapshotsIterable |
describeRecoverySnapshotsPaginator(DescribeRecoverySnapshotsRequest describeRecoverySnapshotsRequest)
Lists all Recovery Snapshots for a single Source Server.
|
default DescribeReplicationConfigurationTemplatesResponse |
describeReplicationConfigurationTemplates(Consumer<DescribeReplicationConfigurationTemplatesRequest.Builder> describeReplicationConfigurationTemplatesRequest)
Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.
|
default DescribeReplicationConfigurationTemplatesResponse |
describeReplicationConfigurationTemplates(DescribeReplicationConfigurationTemplatesRequest describeReplicationConfigurationTemplatesRequest)
Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.
|
default DescribeReplicationConfigurationTemplatesIterable |
describeReplicationConfigurationTemplatesPaginator(Consumer<DescribeReplicationConfigurationTemplatesRequest.Builder> describeReplicationConfigurationTemplatesRequest)
Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.
|
default DescribeReplicationConfigurationTemplatesIterable |
describeReplicationConfigurationTemplatesPaginator(DescribeReplicationConfigurationTemplatesRequest describeReplicationConfigurationTemplatesRequest)
Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.
|
default DescribeSourceServersResponse |
describeSourceServers(Consumer<DescribeSourceServersRequest.Builder> describeSourceServersRequest)
Lists all Source Servers or multiple Source Servers filtered by ID.
|
default DescribeSourceServersResponse |
describeSourceServers(DescribeSourceServersRequest describeSourceServersRequest)
Lists all Source Servers or multiple Source Servers filtered by ID.
|
default DescribeSourceServersIterable |
describeSourceServersPaginator(Consumer<DescribeSourceServersRequest.Builder> describeSourceServersRequest)
Lists all Source Servers or multiple Source Servers filtered by ID.
|
default DescribeSourceServersIterable |
describeSourceServersPaginator(DescribeSourceServersRequest describeSourceServersRequest)
Lists all Source Servers or multiple Source Servers filtered by ID.
|
default DisconnectRecoveryInstanceResponse |
disconnectRecoveryInstance(Consumer<DisconnectRecoveryInstanceRequest.Builder> disconnectRecoveryInstanceRequest)
Disconnect a Recovery Instance from Elastic Disaster Recovery.
|
default DisconnectRecoveryInstanceResponse |
disconnectRecoveryInstance(DisconnectRecoveryInstanceRequest disconnectRecoveryInstanceRequest)
Disconnect a Recovery Instance from Elastic Disaster Recovery.
|
default DisconnectSourceServerResponse |
disconnectSourceServer(Consumer<DisconnectSourceServerRequest.Builder> disconnectSourceServerRequest)
Disconnects a specific Source Server from Elastic Disaster Recovery.
|
default DisconnectSourceServerResponse |
disconnectSourceServer(DisconnectSourceServerRequest disconnectSourceServerRequest)
Disconnects a specific Source Server from Elastic Disaster Recovery.
|
default GetFailbackReplicationConfigurationResponse |
getFailbackReplicationConfiguration(Consumer<GetFailbackReplicationConfigurationRequest.Builder> getFailbackReplicationConfigurationRequest)
Lists all Failback ReplicationConfigurations, filtered by Recovery Instance ID.
|
default GetFailbackReplicationConfigurationResponse |
getFailbackReplicationConfiguration(GetFailbackReplicationConfigurationRequest getFailbackReplicationConfigurationRequest)
Lists all Failback ReplicationConfigurations, filtered by Recovery Instance ID.
|
default GetLaunchConfigurationResponse |
getLaunchConfiguration(Consumer<GetLaunchConfigurationRequest.Builder> getLaunchConfigurationRequest)
Gets a LaunchConfiguration, filtered by Source Server IDs.
|
default GetLaunchConfigurationResponse |
getLaunchConfiguration(GetLaunchConfigurationRequest getLaunchConfigurationRequest)
Gets a LaunchConfiguration, filtered by Source Server IDs.
|
default GetReplicationConfigurationResponse |
getReplicationConfiguration(Consumer<GetReplicationConfigurationRequest.Builder> getReplicationConfigurationRequest)
Gets a ReplicationConfiguration, filtered by Source Server ID.
|
default GetReplicationConfigurationResponse |
getReplicationConfiguration(GetReplicationConfigurationRequest getReplicationConfigurationRequest)
Gets a ReplicationConfiguration, filtered by Source Server ID.
|
default InitializeServiceResponse |
initializeService(Consumer<InitializeServiceRequest.Builder> initializeServiceRequest)
Initialize Elastic Disaster Recovery.
|
default InitializeServiceResponse |
initializeService(InitializeServiceRequest initializeServiceRequest)
Initialize Elastic Disaster Recovery.
|
default ListExtensibleSourceServersResponse |
listExtensibleSourceServers(Consumer<ListExtensibleSourceServersRequest.Builder> listExtensibleSourceServersRequest)
Returns a list of source servers on a staging account that are extensible, which means that: a.
|
default ListExtensibleSourceServersResponse |
listExtensibleSourceServers(ListExtensibleSourceServersRequest listExtensibleSourceServersRequest)
Returns a list of source servers on a staging account that are extensible, which means that: a.
|
default ListExtensibleSourceServersIterable |
listExtensibleSourceServersPaginator(Consumer<ListExtensibleSourceServersRequest.Builder> listExtensibleSourceServersRequest)
Returns a list of source servers on a staging account that are extensible, which means that: a.
|
default ListExtensibleSourceServersIterable |
listExtensibleSourceServersPaginator(ListExtensibleSourceServersRequest listExtensibleSourceServersRequest)
Returns a list of source servers on a staging account that are extensible, which means that: a.
|
default ListStagingAccountsResponse |
listStagingAccounts(Consumer<ListStagingAccountsRequest.Builder> listStagingAccountsRequest)
Returns an array of staging accounts for existing extended source servers.
|
default ListStagingAccountsResponse |
listStagingAccounts(ListStagingAccountsRequest listStagingAccountsRequest)
Returns an array of staging accounts for existing extended source servers.
|
default ListStagingAccountsIterable |
listStagingAccountsPaginator(Consumer<ListStagingAccountsRequest.Builder> listStagingAccountsRequest)
Returns an array of staging accounts for existing extended source servers.
|
default ListStagingAccountsIterable |
listStagingAccountsPaginator(ListStagingAccountsRequest listStagingAccountsRequest)
Returns an array of staging accounts for existing extended source servers.
|
default ListTagsForResourceResponse |
listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
List all tags for your Elastic Disaster Recovery resources.
|
default ListTagsForResourceResponse |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
List all tags for your Elastic Disaster Recovery resources.
|
default RetryDataReplicationResponse |
retryDataReplication(Consumer<RetryDataReplicationRequest.Builder> retryDataReplicationRequest)
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.
|
default RetryDataReplicationResponse |
retryDataReplication(RetryDataReplicationRequest retryDataReplicationRequest)
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.
|
static ServiceMetadata |
serviceMetadata() |
default StartFailbackLaunchResponse |
startFailbackLaunch(Consumer<StartFailbackLaunchRequest.Builder> startFailbackLaunchRequest)
Initiates a Job for launching the machine that is being failed back to from the specified Recovery Instance.
|
default StartFailbackLaunchResponse |
startFailbackLaunch(StartFailbackLaunchRequest startFailbackLaunchRequest)
Initiates a Job for launching the machine that is being failed back to from the specified Recovery Instance.
|
default StartRecoveryResponse |
startRecovery(Consumer<StartRecoveryRequest.Builder> startRecoveryRequest)
Launches Recovery Instances for the specified Source Servers.
|
default StartRecoveryResponse |
startRecovery(StartRecoveryRequest startRecoveryRequest)
Launches Recovery Instances for the specified Source Servers.
|
default StopFailbackResponse |
stopFailback(Consumer<StopFailbackRequest.Builder> stopFailbackRequest)
Stops the failback process for a specified Recovery Instance.
|
default StopFailbackResponse |
stopFailback(StopFailbackRequest stopFailbackRequest)
Stops the failback process for a specified Recovery Instance.
|
default TagResourceResponse |
tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Adds or overwrites only the specified tags for the specified Elastic Disaster Recovery resource or resources.
|
default TagResourceResponse |
tagResource(TagResourceRequest tagResourceRequest)
Adds or overwrites only the specified tags for the specified Elastic Disaster Recovery resource or resources.
|
default 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.
|
default 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.
|
default UntagResourceResponse |
untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Deletes the specified set of tags from the specified set of Elastic Disaster Recovery resources.
|
default UntagResourceResponse |
untagResource(UntagResourceRequest untagResourceRequest)
Deletes the specified set of tags from the specified set of Elastic Disaster Recovery resources.
|
default UpdateFailbackReplicationConfigurationResponse |
updateFailbackReplicationConfiguration(Consumer<UpdateFailbackReplicationConfigurationRequest.Builder> updateFailbackReplicationConfigurationRequest)
Allows you to update the failback replication configuration of a Recovery Instance by ID.
|
default UpdateFailbackReplicationConfigurationResponse |
updateFailbackReplicationConfiguration(UpdateFailbackReplicationConfigurationRequest updateFailbackReplicationConfigurationRequest)
Allows you to update the failback replication configuration of a Recovery Instance by ID.
|
default UpdateLaunchConfigurationResponse |
updateLaunchConfiguration(Consumer<UpdateLaunchConfigurationRequest.Builder> updateLaunchConfigurationRequest)
Updates a LaunchConfiguration by Source Server ID.
|
default UpdateLaunchConfigurationResponse |
updateLaunchConfiguration(UpdateLaunchConfigurationRequest updateLaunchConfigurationRequest)
Updates a LaunchConfiguration by Source Server ID.
|
default UpdateReplicationConfigurationResponse |
updateReplicationConfiguration(Consumer<UpdateReplicationConfigurationRequest.Builder> updateReplicationConfigurationRequest)
Allows you to update a ReplicationConfiguration by Source Server ID.
|
default UpdateReplicationConfigurationResponse |
updateReplicationConfiguration(UpdateReplicationConfigurationRequest updateReplicationConfigurationRequest)
Allows you to update a ReplicationConfiguration by Source Server ID.
|
default UpdateReplicationConfigurationTemplateResponse |
updateReplicationConfigurationTemplate(Consumer<UpdateReplicationConfigurationTemplateRequest.Builder> updateReplicationConfigurationTemplateRequest)
Updates a ReplicationConfigurationTemplate by ID.
|
default UpdateReplicationConfigurationTemplateResponse |
updateReplicationConfigurationTemplate(UpdateReplicationConfigurationTemplateRequest updateReplicationConfigurationTemplateRequest)
Updates a ReplicationConfigurationTemplate by ID.
|
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.static DrsClient create()
DrsClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static DrsClientBuilder builder()
DrsClient.default CreateExtendedSourceServerResponse createExtendedSourceServer(CreateExtendedSourceServerRequest createExtendedSourceServerRequest) throws ResourceNotFoundException, InternalServerException, ServiceQuotaExceededException, ThrottlingException, AccessDeniedException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Create an extended source server in the target Account based on the source server in staging account.
createExtendedSourceServerRequest - 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.AwsServiceExceptiondefault CreateExtendedSourceServerResponse createExtendedSourceServer(Consumer<CreateExtendedSourceServerRequest.Builder> createExtendedSourceServerRequest) throws ResourceNotFoundException, InternalServerException, ServiceQuotaExceededException, ThrottlingException, AccessDeniedException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
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.Builder avoiding
the need to create one manually via CreateExtendedSourceServerRequest.builder()
createExtendedSourceServerRequest - A Consumer that will call methods on CreateExtendedSourceServerRequest.Builder to create a
request.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.AwsServiceExceptiondefault CreateReplicationConfigurationTemplateResponse createReplicationConfigurationTemplate(CreateReplicationConfigurationTemplateRequest createReplicationConfigurationTemplateRequest) throws InternalServerException, ServiceQuotaExceededException, ThrottlingException, AccessDeniedException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Creates a new ReplicationConfigurationTemplate.
createReplicationConfigurationTemplateRequest - 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.AwsServiceExceptiondefault CreateReplicationConfigurationTemplateResponse createReplicationConfigurationTemplate(Consumer<CreateReplicationConfigurationTemplateRequest.Builder> createReplicationConfigurationTemplateRequest) throws InternalServerException, ServiceQuotaExceededException, ThrottlingException, AccessDeniedException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Creates a new ReplicationConfigurationTemplate.
This is a convenience which creates an instance of the
CreateReplicationConfigurationTemplateRequest.Builder avoiding the need to create one manually via
CreateReplicationConfigurationTemplateRequest.builder()
createReplicationConfigurationTemplateRequest - A Consumer that will call methods on CreateReplicationConfigurationTemplateRequest.Builder
to create a request.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.AwsServiceExceptiondefault DeleteJobResponse deleteJob(DeleteJobRequest deleteJobRequest) throws ResourceNotFoundException, InternalServerException, ConflictException, ThrottlingException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Deletes a single Job by ID.
deleteJobRequest - 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.AwsServiceExceptiondefault DeleteJobResponse deleteJob(Consumer<DeleteJobRequest.Builder> deleteJobRequest) throws ResourceNotFoundException, InternalServerException, ConflictException, ThrottlingException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Deletes a single Job by ID.
This is a convenience which creates an instance of the DeleteJobRequest.Builder avoiding the need to
create one manually via DeleteJobRequest.builder()
deleteJobRequest - A Consumer that will call methods on DeleteJobRequest.Builder to create a request.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.AwsServiceExceptiondefault DeleteRecoveryInstanceResponse deleteRecoveryInstance(DeleteRecoveryInstanceRequest deleteRecoveryInstanceRequest) throws InternalServerException, ConflictException, ThrottlingException, AccessDeniedException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
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.
deleteRecoveryInstanceRequest - 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.AwsServiceExceptiondefault DeleteRecoveryInstanceResponse deleteRecoveryInstance(Consumer<DeleteRecoveryInstanceRequest.Builder> deleteRecoveryInstanceRequest) throws InternalServerException, ConflictException, ThrottlingException, AccessDeniedException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
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.Builder avoiding the
need to create one manually via DeleteRecoveryInstanceRequest.builder()
deleteRecoveryInstanceRequest - A Consumer that will call methods on DeleteRecoveryInstanceRequest.Builder to create a
request.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.AwsServiceExceptiondefault DeleteReplicationConfigurationTemplateResponse deleteReplicationConfigurationTemplate(DeleteReplicationConfigurationTemplateRequest deleteReplicationConfigurationTemplateRequest) throws ResourceNotFoundException, InternalServerException, ConflictException, ThrottlingException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Deletes a single Replication Configuration Template by ID
deleteReplicationConfigurationTemplateRequest - 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.AwsServiceExceptiondefault DeleteReplicationConfigurationTemplateResponse deleteReplicationConfigurationTemplate(Consumer<DeleteReplicationConfigurationTemplateRequest.Builder> deleteReplicationConfigurationTemplateRequest) throws ResourceNotFoundException, InternalServerException, ConflictException, ThrottlingException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Deletes a single Replication Configuration Template by ID
This is a convenience which creates an instance of the
DeleteReplicationConfigurationTemplateRequest.Builder avoiding the need to create one manually via
DeleteReplicationConfigurationTemplateRequest.builder()
deleteReplicationConfigurationTemplateRequest - A Consumer that will call methods on DeleteReplicationConfigurationTemplateRequest.Builder
to create a request.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.AwsServiceExceptiondefault DeleteSourceServerResponse deleteSourceServer(DeleteSourceServerRequest deleteSourceServerRequest) throws ResourceNotFoundException, InternalServerException, ConflictException, ThrottlingException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Deletes a single Source Server by ID. The Source Server must be disconnected first.
deleteSourceServerRequest - 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.AwsServiceExceptiondefault DeleteSourceServerResponse deleteSourceServer(Consumer<DeleteSourceServerRequest.Builder> deleteSourceServerRequest) throws ResourceNotFoundException, InternalServerException, ConflictException, ThrottlingException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
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.Builder avoiding the
need to create one manually via DeleteSourceServerRequest.builder()
deleteSourceServerRequest - A Consumer that will call methods on DeleteSourceServerRequest.Builder to create a
request.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.AwsServiceExceptiondefault DescribeJobLogItemsResponse describeJobLogItems(DescribeJobLogItemsRequest describeJobLogItemsRequest) throws InternalServerException, ThrottlingException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Retrieves a detailed Job log with pagination.
describeJobLogItemsRequest - 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.AwsServiceExceptiondefault DescribeJobLogItemsResponse describeJobLogItems(Consumer<DescribeJobLogItemsRequest.Builder> describeJobLogItemsRequest) throws InternalServerException, ThrottlingException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Retrieves a detailed Job log with pagination.
This is a convenience which creates an instance of the DescribeJobLogItemsRequest.Builder avoiding the
need to create one manually via DescribeJobLogItemsRequest.builder()
describeJobLogItemsRequest - A Consumer that will call methods on DescribeJobLogItemsRequest.Builder to create a
request.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.AwsServiceExceptiondefault DescribeJobLogItemsIterable describeJobLogItemsPaginator(DescribeJobLogItemsRequest describeJobLogItemsRequest) throws InternalServerException, ThrottlingException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Retrieves a detailed Job log with pagination.
This is a variant of
describeJobLogItems(software.amazon.awssdk.services.drs.model.DescribeJobLogItemsRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.drs.paginators.DescribeJobLogItemsIterable responses = client.describeJobLogItemsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.drs.paginators.DescribeJobLogItemsIterable responses = client
.describeJobLogItemsPaginator(request);
for (software.amazon.awssdk.services.drs.model.DescribeJobLogItemsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.drs.paginators.DescribeJobLogItemsIterable responses = client.describeJobLogItemsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeJobLogItems(software.amazon.awssdk.services.drs.model.DescribeJobLogItemsRequest) operation.
describeJobLogItemsRequest - 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.AwsServiceExceptiondefault DescribeJobLogItemsIterable describeJobLogItemsPaginator(Consumer<DescribeJobLogItemsRequest.Builder> describeJobLogItemsRequest) throws InternalServerException, ThrottlingException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Retrieves a detailed Job log with pagination.
This is a variant of
describeJobLogItems(software.amazon.awssdk.services.drs.model.DescribeJobLogItemsRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.drs.paginators.DescribeJobLogItemsIterable responses = client.describeJobLogItemsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.drs.paginators.DescribeJobLogItemsIterable responses = client
.describeJobLogItemsPaginator(request);
for (software.amazon.awssdk.services.drs.model.DescribeJobLogItemsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.drs.paginators.DescribeJobLogItemsIterable responses = client.describeJobLogItemsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeJobLogItems(software.amazon.awssdk.services.drs.model.DescribeJobLogItemsRequest) operation.
This is a convenience which creates an instance of the DescribeJobLogItemsRequest.Builder avoiding the
need to create one manually via DescribeJobLogItemsRequest.builder()
describeJobLogItemsRequest - A Consumer that will call methods on DescribeJobLogItemsRequest.Builder to create a
request.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.AwsServiceExceptiondefault DescribeJobsResponse describeJobs(DescribeJobsRequest describeJobsRequest) throws InternalServerException, ThrottlingException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
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.
describeJobsRequest - 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.AwsServiceExceptiondefault DescribeJobsResponse describeJobs(Consumer<DescribeJobsRequest.Builder> describeJobsRequest) throws InternalServerException, ThrottlingException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
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.Builder avoiding the need to
create one manually via DescribeJobsRequest.builder()
describeJobsRequest - A Consumer that will call methods on DescribeJobsRequest.Builder to create a request.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.AwsServiceExceptiondefault DescribeJobsIterable describeJobsPaginator(DescribeJobsRequest describeJobsRequest) throws InternalServerException, ThrottlingException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
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 variant of describeJobs(software.amazon.awssdk.services.drs.model.DescribeJobsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.drs.paginators.DescribeJobsIterable responses = client.describeJobsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.drs.paginators.DescribeJobsIterable responses = client.describeJobsPaginator(request);
for (software.amazon.awssdk.services.drs.model.DescribeJobsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.drs.paginators.DescribeJobsIterable responses = client.describeJobsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeJobs(software.amazon.awssdk.services.drs.model.DescribeJobsRequest) operation.
describeJobsRequest - 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.AwsServiceExceptiondefault DescribeJobsIterable describeJobsPaginator(Consumer<DescribeJobsRequest.Builder> describeJobsRequest) throws InternalServerException, ThrottlingException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
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 variant of describeJobs(software.amazon.awssdk.services.drs.model.DescribeJobsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.drs.paginators.DescribeJobsIterable responses = client.describeJobsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.drs.paginators.DescribeJobsIterable responses = client.describeJobsPaginator(request);
for (software.amazon.awssdk.services.drs.model.DescribeJobsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.drs.paginators.DescribeJobsIterable responses = client.describeJobsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeJobs(software.amazon.awssdk.services.drs.model.DescribeJobsRequest) operation.
This is a convenience which creates an instance of the DescribeJobsRequest.Builder avoiding the need to
create one manually via DescribeJobsRequest.builder()
describeJobsRequest - A Consumer that will call methods on DescribeJobsRequest.Builder to create a request.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.AwsServiceExceptiondefault DescribeRecoveryInstancesResponse describeRecoveryInstances(DescribeRecoveryInstancesRequest describeRecoveryInstancesRequest) throws InternalServerException, ThrottlingException, AccessDeniedException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Lists all Recovery Instances or multiple Recovery Instances by ID.
describeRecoveryInstancesRequest - 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.AwsServiceExceptiondefault DescribeRecoveryInstancesResponse describeRecoveryInstances(Consumer<DescribeRecoveryInstancesRequest.Builder> describeRecoveryInstancesRequest) throws InternalServerException, ThrottlingException, AccessDeniedException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Lists all Recovery Instances or multiple Recovery Instances by ID.
This is a convenience which creates an instance of the DescribeRecoveryInstancesRequest.Builder avoiding
the need to create one manually via DescribeRecoveryInstancesRequest.builder()
describeRecoveryInstancesRequest - A Consumer that will call methods on DescribeRecoveryInstancesRequest.Builder to create a
request.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.AwsServiceExceptiondefault DescribeRecoveryInstancesIterable describeRecoveryInstancesPaginator(DescribeRecoveryInstancesRequest describeRecoveryInstancesRequest) throws InternalServerException, ThrottlingException, AccessDeniedException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Lists all Recovery Instances or multiple Recovery Instances by ID.
This is a variant of
describeRecoveryInstances(software.amazon.awssdk.services.drs.model.DescribeRecoveryInstancesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.drs.paginators.DescribeRecoveryInstancesIterable responses = client.describeRecoveryInstancesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.drs.paginators.DescribeRecoveryInstancesIterable responses = client
.describeRecoveryInstancesPaginator(request);
for (software.amazon.awssdk.services.drs.model.DescribeRecoveryInstancesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.drs.paginators.DescribeRecoveryInstancesIterable responses = client.describeRecoveryInstancesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeRecoveryInstances(software.amazon.awssdk.services.drs.model.DescribeRecoveryInstancesRequest)
operation.
describeRecoveryInstancesRequest - 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.AwsServiceExceptiondefault DescribeRecoveryInstancesIterable describeRecoveryInstancesPaginator(Consumer<DescribeRecoveryInstancesRequest.Builder> describeRecoveryInstancesRequest) throws InternalServerException, ThrottlingException, AccessDeniedException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Lists all Recovery Instances or multiple Recovery Instances by ID.
This is a variant of
describeRecoveryInstances(software.amazon.awssdk.services.drs.model.DescribeRecoveryInstancesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.drs.paginators.DescribeRecoveryInstancesIterable responses = client.describeRecoveryInstancesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.drs.paginators.DescribeRecoveryInstancesIterable responses = client
.describeRecoveryInstancesPaginator(request);
for (software.amazon.awssdk.services.drs.model.DescribeRecoveryInstancesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.drs.paginators.DescribeRecoveryInstancesIterable responses = client.describeRecoveryInstancesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeRecoveryInstances(software.amazon.awssdk.services.drs.model.DescribeRecoveryInstancesRequest)
operation.
This is a convenience which creates an instance of the DescribeRecoveryInstancesRequest.Builder avoiding
the need to create one manually via DescribeRecoveryInstancesRequest.builder()
describeRecoveryInstancesRequest - A Consumer that will call methods on DescribeRecoveryInstancesRequest.Builder to create a
request.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.AwsServiceExceptiondefault DescribeRecoverySnapshotsResponse describeRecoverySnapshots(DescribeRecoverySnapshotsRequest describeRecoverySnapshotsRequest) throws InternalServerException, ThrottlingException, AccessDeniedException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Lists all Recovery Snapshots for a single Source Server.
describeRecoverySnapshotsRequest - 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.AwsServiceExceptiondefault DescribeRecoverySnapshotsResponse describeRecoverySnapshots(Consumer<DescribeRecoverySnapshotsRequest.Builder> describeRecoverySnapshotsRequest) throws InternalServerException, ThrottlingException, AccessDeniedException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Lists all Recovery Snapshots for a single Source Server.
This is a convenience which creates an instance of the DescribeRecoverySnapshotsRequest.Builder avoiding
the need to create one manually via DescribeRecoverySnapshotsRequest.builder()
describeRecoverySnapshotsRequest - A Consumer that will call methods on DescribeRecoverySnapshotsRequest.Builder to create a
request.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.AwsServiceExceptiondefault DescribeRecoverySnapshotsIterable describeRecoverySnapshotsPaginator(DescribeRecoverySnapshotsRequest describeRecoverySnapshotsRequest) throws InternalServerException, ThrottlingException, AccessDeniedException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Lists all Recovery Snapshots for a single Source Server.
This is a variant of
describeRecoverySnapshots(software.amazon.awssdk.services.drs.model.DescribeRecoverySnapshotsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.drs.paginators.DescribeRecoverySnapshotsIterable responses = client.describeRecoverySnapshotsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.drs.paginators.DescribeRecoverySnapshotsIterable responses = client
.describeRecoverySnapshotsPaginator(request);
for (software.amazon.awssdk.services.drs.model.DescribeRecoverySnapshotsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.drs.paginators.DescribeRecoverySnapshotsIterable responses = client.describeRecoverySnapshotsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeRecoverySnapshots(software.amazon.awssdk.services.drs.model.DescribeRecoverySnapshotsRequest)
operation.
describeRecoverySnapshotsRequest - 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.AwsServiceExceptiondefault DescribeRecoverySnapshotsIterable describeRecoverySnapshotsPaginator(Consumer<DescribeRecoverySnapshotsRequest.Builder> describeRecoverySnapshotsRequest) throws InternalServerException, ThrottlingException, AccessDeniedException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Lists all Recovery Snapshots for a single Source Server.
This is a variant of
describeRecoverySnapshots(software.amazon.awssdk.services.drs.model.DescribeRecoverySnapshotsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.drs.paginators.DescribeRecoverySnapshotsIterable responses = client.describeRecoverySnapshotsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.drs.paginators.DescribeRecoverySnapshotsIterable responses = client
.describeRecoverySnapshotsPaginator(request);
for (software.amazon.awssdk.services.drs.model.DescribeRecoverySnapshotsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.drs.paginators.DescribeRecoverySnapshotsIterable responses = client.describeRecoverySnapshotsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeRecoverySnapshots(software.amazon.awssdk.services.drs.model.DescribeRecoverySnapshotsRequest)
operation.
This is a convenience which creates an instance of the DescribeRecoverySnapshotsRequest.Builder avoiding
the need to create one manually via DescribeRecoverySnapshotsRequest.builder()
describeRecoverySnapshotsRequest - A Consumer that will call methods on DescribeRecoverySnapshotsRequest.Builder to create a
request.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.AwsServiceExceptiondefault DescribeReplicationConfigurationTemplatesResponse describeReplicationConfigurationTemplates(DescribeReplicationConfigurationTemplatesRequest describeReplicationConfigurationTemplatesRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.
describeReplicationConfigurationTemplatesRequest - 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.AwsServiceExceptiondefault DescribeReplicationConfigurationTemplatesResponse describeReplicationConfigurationTemplates(Consumer<DescribeReplicationConfigurationTemplatesRequest.Builder> describeReplicationConfigurationTemplatesRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.
This is a convenience which creates an instance of the
DescribeReplicationConfigurationTemplatesRequest.Builder avoiding the need to create one manually via
DescribeReplicationConfigurationTemplatesRequest.builder()
describeReplicationConfigurationTemplatesRequest - A Consumer that will call methods on
DescribeReplicationConfigurationTemplatesRequest.Builder to create a request.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.AwsServiceExceptiondefault DescribeReplicationConfigurationTemplatesIterable describeReplicationConfigurationTemplatesPaginator(DescribeReplicationConfigurationTemplatesRequest describeReplicationConfigurationTemplatesRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.
This is a variant of
describeReplicationConfigurationTemplates(software.amazon.awssdk.services.drs.model.DescribeReplicationConfigurationTemplatesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.drs.paginators.DescribeReplicationConfigurationTemplatesIterable responses = client.describeReplicationConfigurationTemplatesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.drs.paginators.DescribeReplicationConfigurationTemplatesIterable responses = client
.describeReplicationConfigurationTemplatesPaginator(request);
for (software.amazon.awssdk.services.drs.model.DescribeReplicationConfigurationTemplatesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.drs.paginators.DescribeReplicationConfigurationTemplatesIterable responses = client.describeReplicationConfigurationTemplatesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeReplicationConfigurationTemplates(software.amazon.awssdk.services.drs.model.DescribeReplicationConfigurationTemplatesRequest)
operation.
describeReplicationConfigurationTemplatesRequest - 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.AwsServiceExceptiondefault DescribeReplicationConfigurationTemplatesIterable describeReplicationConfigurationTemplatesPaginator(Consumer<DescribeReplicationConfigurationTemplatesRequest.Builder> describeReplicationConfigurationTemplatesRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.
This is a variant of
describeReplicationConfigurationTemplates(software.amazon.awssdk.services.drs.model.DescribeReplicationConfigurationTemplatesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.drs.paginators.DescribeReplicationConfigurationTemplatesIterable responses = client.describeReplicationConfigurationTemplatesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.drs.paginators.DescribeReplicationConfigurationTemplatesIterable responses = client
.describeReplicationConfigurationTemplatesPaginator(request);
for (software.amazon.awssdk.services.drs.model.DescribeReplicationConfigurationTemplatesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.drs.paginators.DescribeReplicationConfigurationTemplatesIterable responses = client.describeReplicationConfigurationTemplatesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeReplicationConfigurationTemplates(software.amazon.awssdk.services.drs.model.DescribeReplicationConfigurationTemplatesRequest)
operation.
This is a convenience which creates an instance of the
DescribeReplicationConfigurationTemplatesRequest.Builder avoiding the need to create one manually via
DescribeReplicationConfigurationTemplatesRequest.builder()
describeReplicationConfigurationTemplatesRequest - A Consumer that will call methods on
DescribeReplicationConfigurationTemplatesRequest.Builder to create a request.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.AwsServiceExceptiondefault DescribeSourceServersResponse describeSourceServers(DescribeSourceServersRequest describeSourceServersRequest) throws InternalServerException, ThrottlingException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Lists all Source Servers or multiple Source Servers filtered by ID.
describeSourceServersRequest - 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.AwsServiceExceptiondefault DescribeSourceServersResponse describeSourceServers(Consumer<DescribeSourceServersRequest.Builder> describeSourceServersRequest) throws InternalServerException, ThrottlingException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Lists all Source Servers or multiple Source Servers filtered by ID.
This is a convenience which creates an instance of the DescribeSourceServersRequest.Builder avoiding the
need to create one manually via DescribeSourceServersRequest.builder()
describeSourceServersRequest - A Consumer that will call methods on DescribeSourceServersRequest.Builder to create a
request.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.AwsServiceExceptiondefault DescribeSourceServersIterable describeSourceServersPaginator(DescribeSourceServersRequest describeSourceServersRequest) throws InternalServerException, ThrottlingException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Lists all Source Servers or multiple Source Servers filtered by ID.
This is a variant of
describeSourceServers(software.amazon.awssdk.services.drs.model.DescribeSourceServersRequest) operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.drs.paginators.DescribeSourceServersIterable responses = client.describeSourceServersPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.drs.paginators.DescribeSourceServersIterable responses = client
.describeSourceServersPaginator(request);
for (software.amazon.awssdk.services.drs.model.DescribeSourceServersResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.drs.paginators.DescribeSourceServersIterable responses = client.describeSourceServersPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeSourceServers(software.amazon.awssdk.services.drs.model.DescribeSourceServersRequest)
operation.
describeSourceServersRequest - 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.AwsServiceExceptiondefault DescribeSourceServersIterable describeSourceServersPaginator(Consumer<DescribeSourceServersRequest.Builder> describeSourceServersRequest) throws InternalServerException, ThrottlingException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Lists all Source Servers or multiple Source Servers filtered by ID.
This is a variant of
describeSourceServers(software.amazon.awssdk.services.drs.model.DescribeSourceServersRequest) operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.drs.paginators.DescribeSourceServersIterable responses = client.describeSourceServersPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.drs.paginators.DescribeSourceServersIterable responses = client
.describeSourceServersPaginator(request);
for (software.amazon.awssdk.services.drs.model.DescribeSourceServersResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.drs.paginators.DescribeSourceServersIterable responses = client.describeSourceServersPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeSourceServers(software.amazon.awssdk.services.drs.model.DescribeSourceServersRequest)
operation.
This is a convenience which creates an instance of the DescribeSourceServersRequest.Builder avoiding the
need to create one manually via DescribeSourceServersRequest.builder()
describeSourceServersRequest - A Consumer that will call methods on DescribeSourceServersRequest.Builder to create a
request.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.AwsServiceExceptiondefault DisconnectRecoveryInstanceResponse disconnectRecoveryInstance(DisconnectRecoveryInstanceRequest disconnectRecoveryInstanceRequest) throws ResourceNotFoundException, InternalServerException, ConflictException, ThrottlingException, AccessDeniedException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
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.
disconnectRecoveryInstanceRequest - 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.AwsServiceExceptiondefault DisconnectRecoveryInstanceResponse disconnectRecoveryInstance(Consumer<DisconnectRecoveryInstanceRequest.Builder> disconnectRecoveryInstanceRequest) throws ResourceNotFoundException, InternalServerException, ConflictException, ThrottlingException, AccessDeniedException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
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.Builder avoiding
the need to create one manually via DisconnectRecoveryInstanceRequest.builder()
disconnectRecoveryInstanceRequest - A Consumer that will call methods on DisconnectRecoveryInstanceRequest.Builder to create a
request.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.AwsServiceExceptiondefault DisconnectSourceServerResponse disconnectSourceServer(DisconnectSourceServerRequest disconnectSourceServerRequest) throws ResourceNotFoundException, InternalServerException, ConflictException, ThrottlingException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
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.
disconnectSourceServerRequest - 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.AwsServiceExceptiondefault DisconnectSourceServerResponse disconnectSourceServer(Consumer<DisconnectSourceServerRequest.Builder> disconnectSourceServerRequest) throws ResourceNotFoundException, InternalServerException, ConflictException, ThrottlingException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
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.Builder avoiding the
need to create one manually via DisconnectSourceServerRequest.builder()
disconnectSourceServerRequest - A Consumer that will call methods on DisconnectSourceServerRequest.Builder to create a
request.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.AwsServiceExceptiondefault GetFailbackReplicationConfigurationResponse getFailbackReplicationConfiguration(GetFailbackReplicationConfigurationRequest getFailbackReplicationConfigurationRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Lists all Failback ReplicationConfigurations, filtered by Recovery Instance ID.
getFailbackReplicationConfigurationRequest - 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.AwsServiceExceptiondefault GetFailbackReplicationConfigurationResponse getFailbackReplicationConfiguration(Consumer<GetFailbackReplicationConfigurationRequest.Builder> getFailbackReplicationConfigurationRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Lists all Failback ReplicationConfigurations, filtered by Recovery Instance ID.
This is a convenience which creates an instance of the GetFailbackReplicationConfigurationRequest.Builder
avoiding the need to create one manually via GetFailbackReplicationConfigurationRequest.builder()
getFailbackReplicationConfigurationRequest - A Consumer that will call methods on GetFailbackReplicationConfigurationRequest.Builder to
create a request.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.AwsServiceExceptiondefault GetLaunchConfigurationResponse getLaunchConfiguration(GetLaunchConfigurationRequest getLaunchConfigurationRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Gets a LaunchConfiguration, filtered by Source Server IDs.
getLaunchConfigurationRequest - 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.AwsServiceExceptiondefault GetLaunchConfigurationResponse getLaunchConfiguration(Consumer<GetLaunchConfigurationRequest.Builder> getLaunchConfigurationRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Gets a LaunchConfiguration, filtered by Source Server IDs.
This is a convenience which creates an instance of the GetLaunchConfigurationRequest.Builder avoiding the
need to create one manually via GetLaunchConfigurationRequest.builder()
getLaunchConfigurationRequest - A Consumer that will call methods on GetLaunchConfigurationRequest.Builder to create a
request.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.AwsServiceExceptiondefault GetReplicationConfigurationResponse getReplicationConfiguration(GetReplicationConfigurationRequest getReplicationConfigurationRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Gets a ReplicationConfiguration, filtered by Source Server ID.
getReplicationConfigurationRequest - 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.AwsServiceExceptiondefault GetReplicationConfigurationResponse getReplicationConfiguration(Consumer<GetReplicationConfigurationRequest.Builder> getReplicationConfigurationRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Gets a ReplicationConfiguration, filtered by Source Server ID.
This is a convenience which creates an instance of the GetReplicationConfigurationRequest.Builder
avoiding the need to create one manually via GetReplicationConfigurationRequest.builder()
getReplicationConfigurationRequest - A Consumer that will call methods on GetReplicationConfigurationRequest.Builder to create
a request.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.AwsServiceExceptiondefault InitializeServiceResponse initializeService(InitializeServiceRequest initializeServiceRequest) throws InternalServerException, ThrottlingException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, DrsException
Initialize Elastic Disaster Recovery.
initializeServiceRequest - 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.AwsServiceExceptiondefault InitializeServiceResponse initializeService(Consumer<InitializeServiceRequest.Builder> initializeServiceRequest) throws InternalServerException, ThrottlingException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, DrsException
Initialize Elastic Disaster Recovery.
This is a convenience which creates an instance of the InitializeServiceRequest.Builder avoiding the need
to create one manually via InitializeServiceRequest.builder()
initializeServiceRequest - A Consumer that will call methods on InitializeServiceRequest.Builder to create a request.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.AwsServiceExceptiondefault ListExtensibleSourceServersResponse listExtensibleSourceServers(ListExtensibleSourceServersRequest listExtensibleSourceServersRequest) throws InternalServerException, ThrottlingException, AccessDeniedException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
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.
listExtensibleSourceServersRequest - 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.AwsServiceExceptiondefault ListExtensibleSourceServersResponse listExtensibleSourceServers(Consumer<ListExtensibleSourceServersRequest.Builder> listExtensibleSourceServersRequest) throws InternalServerException, ThrottlingException, AccessDeniedException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
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.Builder
avoiding the need to create one manually via ListExtensibleSourceServersRequest.builder()
listExtensibleSourceServersRequest - A Consumer that will call methods on ListExtensibleSourceServersRequest.Builder to create
a request.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.AwsServiceExceptiondefault ListExtensibleSourceServersIterable listExtensibleSourceServersPaginator(ListExtensibleSourceServersRequest listExtensibleSourceServersRequest) throws InternalServerException, ThrottlingException, AccessDeniedException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
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 variant of
listExtensibleSourceServers(software.amazon.awssdk.services.drs.model.ListExtensibleSourceServersRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.drs.paginators.ListExtensibleSourceServersIterable responses = client.listExtensibleSourceServersPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.drs.paginators.ListExtensibleSourceServersIterable responses = client
.listExtensibleSourceServersPaginator(request);
for (software.amazon.awssdk.services.drs.model.ListExtensibleSourceServersResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.drs.paginators.ListExtensibleSourceServersIterable responses = client.listExtensibleSourceServersPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listExtensibleSourceServers(software.amazon.awssdk.services.drs.model.ListExtensibleSourceServersRequest)
operation.
listExtensibleSourceServersRequest - 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.AwsServiceExceptiondefault ListExtensibleSourceServersIterable listExtensibleSourceServersPaginator(Consumer<ListExtensibleSourceServersRequest.Builder> listExtensibleSourceServersRequest) throws InternalServerException, ThrottlingException, AccessDeniedException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
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 variant of
listExtensibleSourceServers(software.amazon.awssdk.services.drs.model.ListExtensibleSourceServersRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.drs.paginators.ListExtensibleSourceServersIterable responses = client.listExtensibleSourceServersPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.drs.paginators.ListExtensibleSourceServersIterable responses = client
.listExtensibleSourceServersPaginator(request);
for (software.amazon.awssdk.services.drs.model.ListExtensibleSourceServersResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.drs.paginators.ListExtensibleSourceServersIterable responses = client.listExtensibleSourceServersPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listExtensibleSourceServers(software.amazon.awssdk.services.drs.model.ListExtensibleSourceServersRequest)
operation.
This is a convenience which creates an instance of the ListExtensibleSourceServersRequest.Builder
avoiding the need to create one manually via ListExtensibleSourceServersRequest.builder()
listExtensibleSourceServersRequest - A Consumer that will call methods on ListExtensibleSourceServersRequest.Builder to create
a request.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.AwsServiceExceptiondefault ListStagingAccountsResponse listStagingAccounts(ListStagingAccountsRequest listStagingAccountsRequest) throws InternalServerException, ThrottlingException, AccessDeniedException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Returns an array of staging accounts for existing extended source servers.
listStagingAccountsRequest - 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.AwsServiceExceptiondefault ListStagingAccountsResponse listStagingAccounts(Consumer<ListStagingAccountsRequest.Builder> listStagingAccountsRequest) throws InternalServerException, ThrottlingException, AccessDeniedException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Returns an array of staging accounts for existing extended source servers.
This is a convenience which creates an instance of the ListStagingAccountsRequest.Builder avoiding the
need to create one manually via ListStagingAccountsRequest.builder()
listStagingAccountsRequest - A Consumer that will call methods on ListStagingAccountsRequest.Builder to create a
request.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.AwsServiceExceptiondefault ListStagingAccountsIterable listStagingAccountsPaginator(ListStagingAccountsRequest listStagingAccountsRequest) throws InternalServerException, ThrottlingException, AccessDeniedException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Returns an array of staging accounts for existing extended source servers.
This is a variant of
listStagingAccounts(software.amazon.awssdk.services.drs.model.ListStagingAccountsRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.drs.paginators.ListStagingAccountsIterable responses = client.listStagingAccountsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.drs.paginators.ListStagingAccountsIterable responses = client
.listStagingAccountsPaginator(request);
for (software.amazon.awssdk.services.drs.model.ListStagingAccountsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.drs.paginators.ListStagingAccountsIterable responses = client.listStagingAccountsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listStagingAccounts(software.amazon.awssdk.services.drs.model.ListStagingAccountsRequest) operation.
listStagingAccountsRequest - 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.AwsServiceExceptiondefault ListStagingAccountsIterable listStagingAccountsPaginator(Consumer<ListStagingAccountsRequest.Builder> listStagingAccountsRequest) throws InternalServerException, ThrottlingException, AccessDeniedException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Returns an array of staging accounts for existing extended source servers.
This is a variant of
listStagingAccounts(software.amazon.awssdk.services.drs.model.ListStagingAccountsRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.drs.paginators.ListStagingAccountsIterable responses = client.listStagingAccountsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.drs.paginators.ListStagingAccountsIterable responses = client
.listStagingAccountsPaginator(request);
for (software.amazon.awssdk.services.drs.model.ListStagingAccountsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.drs.paginators.ListStagingAccountsIterable responses = client.listStagingAccountsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listStagingAccounts(software.amazon.awssdk.services.drs.model.ListStagingAccountsRequest) operation.
This is a convenience which creates an instance of the ListStagingAccountsRequest.Builder avoiding the
need to create one manually via ListStagingAccountsRequest.builder()
listStagingAccountsRequest - A Consumer that will call methods on ListStagingAccountsRequest.Builder to create a
request.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.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, DrsException
List all tags for your Elastic Disaster Recovery resources.
listTagsForResourceRequest - 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.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, DrsException
List all tags for your Elastic Disaster Recovery resources.
This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder avoiding the
need to create one manually via ListTagsForResourceRequest.builder()
listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.Builder to create a
request.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.AwsServiceExceptiondefault RetryDataReplicationResponse retryDataReplication(RetryDataReplicationRequest retryDataReplicationRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
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.
retryDataReplicationRequest - 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.AwsServiceExceptiondefault RetryDataReplicationResponse retryDataReplication(Consumer<RetryDataReplicationRequest.Builder> retryDataReplicationRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
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.Builder avoiding the
need to create one manually via RetryDataReplicationRequest.builder()
retryDataReplicationRequest - A Consumer that will call methods on RetryDataReplicationRequest.Builder to create a
request.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.AwsServiceExceptiondefault StartFailbackLaunchResponse startFailbackLaunch(StartFailbackLaunchRequest startFailbackLaunchRequest) throws InternalServerException, ConflictException, ServiceQuotaExceededException, ThrottlingException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
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.
startFailbackLaunchRequest - 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.AwsServiceExceptiondefault StartFailbackLaunchResponse startFailbackLaunch(Consumer<StartFailbackLaunchRequest.Builder> startFailbackLaunchRequest) throws InternalServerException, ConflictException, ServiceQuotaExceededException, ThrottlingException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
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.Builder avoiding the
need to create one manually via StartFailbackLaunchRequest.builder()
startFailbackLaunchRequest - A Consumer that will call methods on StartFailbackLaunchRequest.Builder to create a
request.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.AwsServiceExceptiondefault StartRecoveryResponse startRecovery(StartRecoveryRequest startRecoveryRequest) throws InternalServerException, ConflictException, ServiceQuotaExceededException, ThrottlingException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
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.
startRecoveryRequest - 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.AwsServiceExceptiondefault StartRecoveryResponse startRecovery(Consumer<StartRecoveryRequest.Builder> startRecoveryRequest) throws InternalServerException, ConflictException, ServiceQuotaExceededException, ThrottlingException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
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.Builder avoiding the need to
create one manually via StartRecoveryRequest.builder()
startRecoveryRequest - A Consumer that will call methods on StartRecoveryRequest.Builder to create a request.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.AwsServiceExceptiondefault StopFailbackResponse stopFailback(StopFailbackRequest stopFailbackRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Stops the failback process for a specified Recovery Instance. This changes the Failback State of the Recovery Instance back to FAILBACK_NOT_STARTED.
stopFailbackRequest - 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.AwsServiceExceptiondefault StopFailbackResponse stopFailback(Consumer<StopFailbackRequest.Builder> stopFailbackRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
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.Builder avoiding the need to
create one manually via StopFailbackRequest.builder()
stopFailbackRequest - A Consumer that will call methods on StopFailbackRequest.Builder to create a request.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.AwsServiceExceptiondefault TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, DrsException
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.
tagResourceRequest - 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.AwsServiceExceptiondefault TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, DrsException
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.Builder avoiding the need to
create one manually via TagResourceRequest.builder()
tagResourceRequest - A Consumer that will call methods on TagResourceRequest.Builder to create a request.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.AwsServiceExceptiondefault TerminateRecoveryInstancesResponse terminateRecoveryInstances(TerminateRecoveryInstancesRequest terminateRecoveryInstancesRequest) throws InternalServerException, ConflictException, ServiceQuotaExceededException, ThrottlingException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
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.
terminateRecoveryInstancesRequest - 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.AwsServiceExceptiondefault TerminateRecoveryInstancesResponse terminateRecoveryInstances(Consumer<TerminateRecoveryInstancesRequest.Builder> terminateRecoveryInstancesRequest) throws InternalServerException, ConflictException, ServiceQuotaExceededException, ThrottlingException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
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.Builder avoiding
the need to create one manually via TerminateRecoveryInstancesRequest.builder()
terminateRecoveryInstancesRequest - A Consumer that will call methods on TerminateRecoveryInstancesRequest.Builder to create a
request.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.AwsServiceExceptiondefault UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, DrsException
Deletes the specified set of tags from the specified set of Elastic Disaster Recovery resources.
untagResourceRequest - 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.AwsServiceExceptiondefault UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, DrsException
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.Builder avoiding the need to
create one manually via UntagResourceRequest.builder()
untagResourceRequest - A Consumer that will call methods on UntagResourceRequest.Builder to create a request.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.AwsServiceExceptiondefault UpdateFailbackReplicationConfigurationResponse updateFailbackReplicationConfiguration(UpdateFailbackReplicationConfigurationRequest updateFailbackReplicationConfigurationRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Allows you to update the failback replication configuration of a Recovery Instance by ID.
updateFailbackReplicationConfigurationRequest - 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.AwsServiceExceptiondefault UpdateFailbackReplicationConfigurationResponse updateFailbackReplicationConfiguration(Consumer<UpdateFailbackReplicationConfigurationRequest.Builder> updateFailbackReplicationConfigurationRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
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.Builder avoiding the need to create one manually via
UpdateFailbackReplicationConfigurationRequest.builder()
updateFailbackReplicationConfigurationRequest - A Consumer that will call methods on UpdateFailbackReplicationConfigurationRequest.Builder
to create a request.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.AwsServiceExceptiondefault UpdateLaunchConfigurationResponse updateLaunchConfiguration(UpdateLaunchConfigurationRequest updateLaunchConfigurationRequest) throws ResourceNotFoundException, InternalServerException, ConflictException, ThrottlingException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Updates a LaunchConfiguration by Source Server ID.
updateLaunchConfigurationRequest - 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.AwsServiceExceptiondefault UpdateLaunchConfigurationResponse updateLaunchConfiguration(Consumer<UpdateLaunchConfigurationRequest.Builder> updateLaunchConfigurationRequest) throws ResourceNotFoundException, InternalServerException, ConflictException, ThrottlingException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Updates a LaunchConfiguration by Source Server ID.
This is a convenience which creates an instance of the UpdateLaunchConfigurationRequest.Builder avoiding
the need to create one manually via UpdateLaunchConfigurationRequest.builder()
updateLaunchConfigurationRequest - A Consumer that will call methods on UpdateLaunchConfigurationRequest.Builder to create a
request.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.AwsServiceExceptiondefault UpdateReplicationConfigurationResponse updateReplicationConfiguration(UpdateReplicationConfigurationRequest updateReplicationConfigurationRequest) throws ResourceNotFoundException, InternalServerException, ConflictException, ThrottlingException, AccessDeniedException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Allows you to update a ReplicationConfiguration by Source Server ID.
updateReplicationConfigurationRequest - 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.AwsServiceExceptiondefault UpdateReplicationConfigurationResponse updateReplicationConfiguration(Consumer<UpdateReplicationConfigurationRequest.Builder> updateReplicationConfigurationRequest) throws ResourceNotFoundException, InternalServerException, ConflictException, ThrottlingException, AccessDeniedException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Allows you to update a ReplicationConfiguration by Source Server ID.
This is a convenience which creates an instance of the UpdateReplicationConfigurationRequest.Builder
avoiding the need to create one manually via UpdateReplicationConfigurationRequest.builder()
updateReplicationConfigurationRequest - A Consumer that will call methods on UpdateReplicationConfigurationRequest.Builder to
create a request.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.AwsServiceExceptiondefault UpdateReplicationConfigurationTemplateResponse updateReplicationConfigurationTemplate(UpdateReplicationConfigurationTemplateRequest updateReplicationConfigurationTemplateRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Updates a ReplicationConfigurationTemplate by ID.
updateReplicationConfigurationTemplateRequest - 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.AwsServiceExceptiondefault UpdateReplicationConfigurationTemplateResponse updateReplicationConfigurationTemplate(Consumer<UpdateReplicationConfigurationTemplateRequest.Builder> updateReplicationConfigurationTemplateRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Updates a ReplicationConfigurationTemplate by ID.
This is a convenience which creates an instance of the
UpdateReplicationConfigurationTemplateRequest.Builder avoiding the need to create one manually via
UpdateReplicationConfigurationTemplateRequest.builder()
updateReplicationConfigurationTemplateRequest - A Consumer that will call methods on UpdateReplicationConfigurationTemplateRequest.Builder
to create a request.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.AwsServiceExceptionstatic ServiceMetadata serviceMetadata()
Copyright © 2022. All rights reserved.