Interface DrsClient
-
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface DrsClient extends AwsClient
Service client for accessing drs. This can be created using the staticbuilder()method.AWS Elastic Disaster Recovery Service.
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERVICE_METADATA_IDValue for looking up the service's metadata from theServiceMetadataProvider.static StringSERVICE_NAME
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
SERVICE_METADATA_ID
static final String SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
- Constant Field Values
-
-
Method Detail
-
associateSourceNetworkStack
default AssociateSourceNetworkStackResponse associateSourceNetworkStack(AssociateSourceNetworkStackRequest associateSourceNetworkStackRequest) throws ResourceNotFoundException, InternalServerException, ConflictException, ServiceQuotaExceededException, ThrottlingException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Associate a Source Network to an existing CloudFormation Stack and modify launch templates to use this network. Can be used for reverting to previously deployed CloudFormation stacks.
- Parameters:
associateSourceNetworkStackRequest-- Returns:
- Result of the AssociateSourceNetworkStack operation returned by the service.
- Throws:
ResourceNotFoundException- The resource for this operation was not found.InternalServerException- The request processing has failed because of an unknown error, exception or failure.ConflictException- The request could not be completed due to a conflict with the current state of the target resource.ServiceQuotaExceededException- The request could not be completed because its exceeded the service quota.ThrottlingException- The request was denied due to request throttling.ValidationException- The input fails to satisfy the constraints specified by the AWS service.UninitializedAccountException- The account performing the request has not been initialized.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DrsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
associateSourceNetworkStack
default AssociateSourceNetworkStackResponse associateSourceNetworkStack(Consumer<AssociateSourceNetworkStackRequest.Builder> associateSourceNetworkStackRequest) throws ResourceNotFoundException, InternalServerException, ConflictException, ServiceQuotaExceededException, ThrottlingException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Associate a Source Network to an existing CloudFormation Stack and modify launch templates to use this network. Can be used for reverting to previously deployed CloudFormation stacks.
This is a convenience which creates an instance of the
AssociateSourceNetworkStackRequest.Builderavoiding the need to create one manually viaAssociateSourceNetworkStackRequest.builder()- Parameters:
associateSourceNetworkStackRequest- AConsumerthat will call methods onAssociateSourceNetworkStackRequest.Builderto create a request.- Returns:
- Result of the AssociateSourceNetworkStack operation returned by the service.
- Throws:
ResourceNotFoundException- The resource for this operation was not found.InternalServerException- The request processing has failed because of an unknown error, exception or failure.ConflictException- The request could not be completed due to a conflict with the current state of the target resource.ServiceQuotaExceededException- The request could not be completed because its exceeded the service quota.ThrottlingException- The request was denied due to request throttling.ValidationException- The input fails to satisfy the constraints specified by the AWS service.UninitializedAccountException- The account performing the request has not been initialized.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DrsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createExtendedSourceServer
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.
- Parameters:
createExtendedSourceServerRequest-- Returns:
- Result of the CreateExtendedSourceServer operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createExtendedSourceServer
default 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.Builderavoiding the need to create one manually viaCreateExtendedSourceServerRequest.builder()- Parameters:
createExtendedSourceServerRequest- AConsumerthat will call methods onCreateExtendedSourceServerRequest.Builderto create a request.- Returns:
- Result of the CreateExtendedSourceServer operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createLaunchConfigurationTemplate
default CreateLaunchConfigurationTemplateResponse createLaunchConfigurationTemplate(CreateLaunchConfigurationTemplateRequest createLaunchConfigurationTemplateRequest) throws InternalServerException, ServiceQuotaExceededException, ThrottlingException, AccessDeniedException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Creates a new Launch Configuration Template.
- Parameters:
createLaunchConfigurationTemplateRequest-- Returns:
- Result of the CreateLaunchConfigurationTemplate operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createLaunchConfigurationTemplate
default CreateLaunchConfigurationTemplateResponse createLaunchConfigurationTemplate(Consumer<CreateLaunchConfigurationTemplateRequest.Builder> createLaunchConfigurationTemplateRequest) throws InternalServerException, ServiceQuotaExceededException, ThrottlingException, AccessDeniedException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Creates a new Launch Configuration Template.
This is a convenience which creates an instance of the
CreateLaunchConfigurationTemplateRequest.Builderavoiding the need to create one manually viaCreateLaunchConfigurationTemplateRequest.builder()- Parameters:
createLaunchConfigurationTemplateRequest- AConsumerthat will call methods onCreateLaunchConfigurationTemplateRequest.Builderto create a request.- Returns:
- Result of the CreateLaunchConfigurationTemplate operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createReplicationConfigurationTemplate
default CreateReplicationConfigurationTemplateResponse createReplicationConfigurationTemplate(CreateReplicationConfigurationTemplateRequest createReplicationConfigurationTemplateRequest) throws InternalServerException, ServiceQuotaExceededException, ThrottlingException, AccessDeniedException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Creates a new ReplicationConfigurationTemplate.
- Parameters:
createReplicationConfigurationTemplateRequest-- Returns:
- Result of the CreateReplicationConfigurationTemplate operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createReplicationConfigurationTemplate
default 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.Builderavoiding the need to create one manually viaCreateReplicationConfigurationTemplateRequest.builder()- Parameters:
createReplicationConfigurationTemplateRequest- AConsumerthat will call methods onCreateReplicationConfigurationTemplateRequest.Builderto create a request.- Returns:
- Result of the CreateReplicationConfigurationTemplate operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createSourceNetwork
default CreateSourceNetworkResponse createSourceNetwork(CreateSourceNetworkRequest createSourceNetworkRequest) throws ResourceNotFoundException, InternalServerException, ConflictException, ServiceQuotaExceededException, ThrottlingException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Create a new Source Network resource for a provided VPC ID.
- Parameters:
createSourceNetworkRequest-- Returns:
- Result of the CreateSourceNetwork operation returned by the service.
- Throws:
ResourceNotFoundException- The resource for this operation was not found.InternalServerException- The request processing has failed because of an unknown error, exception or failure.ConflictException- The request could not be completed due to a conflict with the current state of the target resource.ServiceQuotaExceededException- The request could not be completed because its exceeded the service quota.ThrottlingException- The request was denied due to request throttling.ValidationException- The input fails to satisfy the constraints specified by the AWS service.UninitializedAccountException- The account performing the request has not been initialized.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DrsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createSourceNetwork
default CreateSourceNetworkResponse createSourceNetwork(Consumer<CreateSourceNetworkRequest.Builder> createSourceNetworkRequest) throws ResourceNotFoundException, InternalServerException, ConflictException, ServiceQuotaExceededException, ThrottlingException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Create a new Source Network resource for a provided VPC ID.
This is a convenience which creates an instance of the
CreateSourceNetworkRequest.Builderavoiding the need to create one manually viaCreateSourceNetworkRequest.builder()- Parameters:
createSourceNetworkRequest- AConsumerthat will call methods onCreateSourceNetworkRequest.Builderto create a request.- Returns:
- Result of the CreateSourceNetwork operation returned by the service.
- Throws:
ResourceNotFoundException- The resource for this operation was not found.InternalServerException- The request processing has failed because of an unknown error, exception or failure.ConflictException- The request could not be completed due to a conflict with the current state of the target resource.ServiceQuotaExceededException- The request could not be completed because its exceeded the service quota.ThrottlingException- The request was denied due to request throttling.ValidationException- The input fails to satisfy the constraints specified by the AWS service.UninitializedAccountException- The account performing the request has not been initialized.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DrsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteJob
default DeleteJobResponse deleteJob(DeleteJobRequest deleteJobRequest) throws ResourceNotFoundException, InternalServerException, ConflictException, ThrottlingException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Deletes a single Job by ID.
- Parameters:
deleteJobRequest-- Returns:
- Result of the DeleteJob operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteJob
default 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.Builderavoiding the need to create one manually viaDeleteJobRequest.builder()- Parameters:
deleteJobRequest- AConsumerthat will call methods onDeleteJobRequest.Builderto create a request.- Returns:
- Result of the DeleteJob operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteLaunchAction
default DeleteLaunchActionResponse deleteLaunchAction(DeleteLaunchActionRequest deleteLaunchActionRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Deletes a resource launch action.
- Parameters:
deleteLaunchActionRequest-- Returns:
- Result of the DeleteLaunchAction operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteLaunchAction
default DeleteLaunchActionResponse deleteLaunchAction(Consumer<DeleteLaunchActionRequest.Builder> deleteLaunchActionRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Deletes a resource launch action.
This is a convenience which creates an instance of the
DeleteLaunchActionRequest.Builderavoiding the need to create one manually viaDeleteLaunchActionRequest.builder()- Parameters:
deleteLaunchActionRequest- AConsumerthat will call methods onDeleteLaunchActionRequest.Builderto create a request.- Returns:
- Result of the DeleteLaunchAction operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteLaunchConfigurationTemplate
default DeleteLaunchConfigurationTemplateResponse deleteLaunchConfigurationTemplate(DeleteLaunchConfigurationTemplateRequest deleteLaunchConfigurationTemplateRequest) throws ResourceNotFoundException, InternalServerException, ConflictException, ThrottlingException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Deletes a single Launch Configuration Template by ID.
- Parameters:
deleteLaunchConfigurationTemplateRequest-- Returns:
- Result of the DeleteLaunchConfigurationTemplate operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteLaunchConfigurationTemplate
default DeleteLaunchConfigurationTemplateResponse deleteLaunchConfigurationTemplate(Consumer<DeleteLaunchConfigurationTemplateRequest.Builder> deleteLaunchConfigurationTemplateRequest) throws ResourceNotFoundException, InternalServerException, ConflictException, ThrottlingException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Deletes a single Launch Configuration Template by ID.
This is a convenience which creates an instance of the
DeleteLaunchConfigurationTemplateRequest.Builderavoiding the need to create one manually viaDeleteLaunchConfigurationTemplateRequest.builder()- Parameters:
deleteLaunchConfigurationTemplateRequest- AConsumerthat will call methods onDeleteLaunchConfigurationTemplateRequest.Builderto create a request.- Returns:
- Result of the DeleteLaunchConfigurationTemplate operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteRecoveryInstance
default 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.
- Parameters:
deleteRecoveryInstanceRequest-- Returns:
- Result of the DeleteRecoveryInstance operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteRecoveryInstance
default 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.Builderavoiding the need to create one manually viaDeleteRecoveryInstanceRequest.builder()- Parameters:
deleteRecoveryInstanceRequest- AConsumerthat will call methods onDeleteRecoveryInstanceRequest.Builderto create a request.- Returns:
- Result of the DeleteRecoveryInstance operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteReplicationConfigurationTemplate
default DeleteReplicationConfigurationTemplateResponse deleteReplicationConfigurationTemplate(DeleteReplicationConfigurationTemplateRequest deleteReplicationConfigurationTemplateRequest) throws ResourceNotFoundException, InternalServerException, ConflictException, ThrottlingException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Deletes a single Replication Configuration Template by ID
- Parameters:
deleteReplicationConfigurationTemplateRequest-- Returns:
- Result of the DeleteReplicationConfigurationTemplate operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteReplicationConfigurationTemplate
default 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.Builderavoiding the need to create one manually viaDeleteReplicationConfigurationTemplateRequest.builder()- Parameters:
deleteReplicationConfigurationTemplateRequest- AConsumerthat will call methods onDeleteReplicationConfigurationTemplateRequest.Builderto create a request.- Returns:
- Result of the DeleteReplicationConfigurationTemplate operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteSourceNetwork
default DeleteSourceNetworkResponse deleteSourceNetwork(DeleteSourceNetworkRequest deleteSourceNetworkRequest) throws ResourceNotFoundException, InternalServerException, ConflictException, ThrottlingException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Delete Source Network resource.
- Parameters:
deleteSourceNetworkRequest-- Returns:
- Result of the DeleteSourceNetwork operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteSourceNetwork
default DeleteSourceNetworkResponse deleteSourceNetwork(Consumer<DeleteSourceNetworkRequest.Builder> deleteSourceNetworkRequest) throws ResourceNotFoundException, InternalServerException, ConflictException, ThrottlingException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Delete Source Network resource.
This is a convenience which creates an instance of the
DeleteSourceNetworkRequest.Builderavoiding the need to create one manually viaDeleteSourceNetworkRequest.builder()- Parameters:
deleteSourceNetworkRequest- AConsumerthat will call methods onDeleteSourceNetworkRequest.Builderto create a request.- Returns:
- Result of the DeleteSourceNetwork operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteSourceServer
default 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.
- Parameters:
deleteSourceServerRequest-- Returns:
- Result of the DeleteSourceServer operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteSourceServer
default 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.Builderavoiding the need to create one manually viaDeleteSourceServerRequest.builder()- Parameters:
deleteSourceServerRequest- AConsumerthat will call methods onDeleteSourceServerRequest.Builderto create a request.- Returns:
- Result of the DeleteSourceServer operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
describeJobLogItems
default DescribeJobLogItemsResponse describeJobLogItems(DescribeJobLogItemsRequest describeJobLogItemsRequest) throws InternalServerException, ThrottlingException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Retrieves a detailed Job log with pagination.
- Parameters:
describeJobLogItemsRequest-- Returns:
- Result of the DescribeJobLogItems operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
describeJobLogItems
default 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.Builderavoiding the need to create one manually viaDescribeJobLogItemsRequest.builder()- Parameters:
describeJobLogItemsRequest- AConsumerthat will call methods onDescribeJobLogItemsRequest.Builderto create a request.- Returns:
- Result of the DescribeJobLogItems operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
describeJobLogItemsPaginator
default DescribeJobLogItemsIterable describeJobLogItemsPaginator(DescribeJobLogItemsRequest describeJobLogItemsRequest) throws InternalServerException, ThrottlingException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
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
2) Using For loopsoftware.amazon.awssdk.services.drs.paginators.DescribeJobLogItemsIterable responses = client.describeJobLogItemsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
describeJobLogItemsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
describeJobLogItemsPaginator
default DescribeJobLogItemsIterable describeJobLogItemsPaginator(Consumer<DescribeJobLogItemsRequest.Builder> describeJobLogItemsRequest) throws InternalServerException, ThrottlingException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
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
2) Using For loopsoftware.amazon.awssdk.services.drs.paginators.DescribeJobLogItemsIterable responses = client.describeJobLogItemsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaDescribeJobLogItemsRequest.builder()- Parameters:
describeJobLogItemsRequest- AConsumerthat will call methods onDescribeJobLogItemsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
describeJobs
default 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.
- Parameters:
describeJobsRequest-- Returns:
- Result of the DescribeJobs operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
describeJobs
default 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.Builderavoiding the need to create one manually viaDescribeJobsRequest.builder()- Parameters:
describeJobsRequest- AConsumerthat will call methods onDescribeJobsRequest.Builderto create a request.- Returns:
- Result of the DescribeJobs operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
describeJobsPaginator
default DescribeJobsIterable describeJobsPaginator(DescribeJobsRequest describeJobsRequest) throws InternalServerException, ThrottlingException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
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
2) Using For loopsoftware.amazon.awssdk.services.drs.paginators.DescribeJobsIterable responses = client.describeJobsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
describeJobsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
describeJobsPaginator
default DescribeJobsIterable describeJobsPaginator(Consumer<DescribeJobsRequest.Builder> describeJobsRequest) throws InternalServerException, ThrottlingException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
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
2) Using For loopsoftware.amazon.awssdk.services.drs.paginators.DescribeJobsIterable responses = client.describeJobsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaDescribeJobsRequest.builder()- Parameters:
describeJobsRequest- AConsumerthat will call methods onDescribeJobsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
describeLaunchConfigurationTemplates
default DescribeLaunchConfigurationTemplatesResponse describeLaunchConfigurationTemplates(DescribeLaunchConfigurationTemplatesRequest describeLaunchConfigurationTemplatesRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Lists all Launch Configuration Templates, filtered by Launch Configuration Template IDs
- Parameters:
describeLaunchConfigurationTemplatesRequest-- Returns:
- Result of the DescribeLaunchConfigurationTemplates operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
describeLaunchConfigurationTemplates
default DescribeLaunchConfigurationTemplatesResponse describeLaunchConfigurationTemplates(Consumer<DescribeLaunchConfigurationTemplatesRequest.Builder> describeLaunchConfigurationTemplatesRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Lists all Launch Configuration Templates, filtered by Launch Configuration Template IDs
This is a convenience which creates an instance of the
DescribeLaunchConfigurationTemplatesRequest.Builderavoiding the need to create one manually viaDescribeLaunchConfigurationTemplatesRequest.builder()- Parameters:
describeLaunchConfigurationTemplatesRequest- AConsumerthat will call methods onDescribeLaunchConfigurationTemplatesRequest.Builderto create a request.- Returns:
- Result of the DescribeLaunchConfigurationTemplates operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
describeLaunchConfigurationTemplatesPaginator
default DescribeLaunchConfigurationTemplatesIterable describeLaunchConfigurationTemplatesPaginator(DescribeLaunchConfigurationTemplatesRequest describeLaunchConfigurationTemplatesRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
This is a variant of
describeLaunchConfigurationTemplates(software.amazon.awssdk.services.drs.model.DescribeLaunchConfigurationTemplatesRequest)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
2) Using For loopsoftware.amazon.awssdk.services.drs.paginators.DescribeLaunchConfigurationTemplatesIterable responses = client.describeLaunchConfigurationTemplatesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.drs.paginators.DescribeLaunchConfigurationTemplatesIterable responses = client .describeLaunchConfigurationTemplatesPaginator(request); for (software.amazon.awssdk.services.drs.model.DescribeLaunchConfigurationTemplatesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.drs.paginators.DescribeLaunchConfigurationTemplatesIterable responses = client.describeLaunchConfigurationTemplatesPaginator(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
describeLaunchConfigurationTemplates(software.amazon.awssdk.services.drs.model.DescribeLaunchConfigurationTemplatesRequest)operation.- Parameters:
describeLaunchConfigurationTemplatesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
describeLaunchConfigurationTemplatesPaginator
default DescribeLaunchConfigurationTemplatesIterable describeLaunchConfigurationTemplatesPaginator(Consumer<DescribeLaunchConfigurationTemplatesRequest.Builder> describeLaunchConfigurationTemplatesRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
This is a variant of
describeLaunchConfigurationTemplates(software.amazon.awssdk.services.drs.model.DescribeLaunchConfigurationTemplatesRequest)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
2) Using For loopsoftware.amazon.awssdk.services.drs.paginators.DescribeLaunchConfigurationTemplatesIterable responses = client.describeLaunchConfigurationTemplatesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.drs.paginators.DescribeLaunchConfigurationTemplatesIterable responses = client .describeLaunchConfigurationTemplatesPaginator(request); for (software.amazon.awssdk.services.drs.model.DescribeLaunchConfigurationTemplatesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.drs.paginators.DescribeLaunchConfigurationTemplatesIterable responses = client.describeLaunchConfigurationTemplatesPaginator(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
describeLaunchConfigurationTemplates(software.amazon.awssdk.services.drs.model.DescribeLaunchConfigurationTemplatesRequest)operation.
This is a convenience which creates an instance of the
DescribeLaunchConfigurationTemplatesRequest.Builderavoiding the need to create one manually viaDescribeLaunchConfigurationTemplatesRequest.builder()- Parameters:
describeLaunchConfigurationTemplatesRequest- AConsumerthat will call methods onDescribeLaunchConfigurationTemplatesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
describeRecoveryInstances
default DescribeRecoveryInstancesResponse describeRecoveryInstances(DescribeRecoveryInstancesRequest describeRecoveryInstancesRequest) throws InternalServerException, ThrottlingException, AccessDeniedException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Lists all Recovery Instances or multiple Recovery Instances by ID.
- Parameters:
describeRecoveryInstancesRequest-- Returns:
- Result of the DescribeRecoveryInstances operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
describeRecoveryInstances
default 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.Builderavoiding the need to create one manually viaDescribeRecoveryInstancesRequest.builder()- Parameters:
describeRecoveryInstancesRequest- AConsumerthat will call methods onDescribeRecoveryInstancesRequest.Builderto create a request.- Returns:
- Result of the DescribeRecoveryInstances operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
describeRecoveryInstancesPaginator
default DescribeRecoveryInstancesIterable describeRecoveryInstancesPaginator(DescribeRecoveryInstancesRequest describeRecoveryInstancesRequest) throws InternalServerException, ThrottlingException, AccessDeniedException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
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
2) Using For loopsoftware.amazon.awssdk.services.drs.paginators.DescribeRecoveryInstancesIterable responses = client.describeRecoveryInstancesPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
describeRecoveryInstancesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
describeRecoveryInstancesPaginator
default DescribeRecoveryInstancesIterable describeRecoveryInstancesPaginator(Consumer<DescribeRecoveryInstancesRequest.Builder> describeRecoveryInstancesRequest) throws InternalServerException, ThrottlingException, AccessDeniedException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
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
2) Using For loopsoftware.amazon.awssdk.services.drs.paginators.DescribeRecoveryInstancesIterable responses = client.describeRecoveryInstancesPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaDescribeRecoveryInstancesRequest.builder()- Parameters:
describeRecoveryInstancesRequest- AConsumerthat will call methods onDescribeRecoveryInstancesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
describeRecoverySnapshots
default DescribeRecoverySnapshotsResponse describeRecoverySnapshots(DescribeRecoverySnapshotsRequest describeRecoverySnapshotsRequest) throws InternalServerException, ThrottlingException, AccessDeniedException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Lists all Recovery Snapshots for a single Source Server.
- Parameters:
describeRecoverySnapshotsRequest-- Returns:
- Result of the DescribeRecoverySnapshots operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
describeRecoverySnapshots
default 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.Builderavoiding the need to create one manually viaDescribeRecoverySnapshotsRequest.builder()- Parameters:
describeRecoverySnapshotsRequest- AConsumerthat will call methods onDescribeRecoverySnapshotsRequest.Builderto create a request.- Returns:
- Result of the DescribeRecoverySnapshots operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
describeRecoverySnapshotsPaginator
default DescribeRecoverySnapshotsIterable describeRecoverySnapshotsPaginator(DescribeRecoverySnapshotsRequest describeRecoverySnapshotsRequest) throws InternalServerException, ThrottlingException, AccessDeniedException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
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
2) Using For loopsoftware.amazon.awssdk.services.drs.paginators.DescribeRecoverySnapshotsIterable responses = client.describeRecoverySnapshotsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
describeRecoverySnapshotsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
describeRecoverySnapshotsPaginator
default DescribeRecoverySnapshotsIterable describeRecoverySnapshotsPaginator(Consumer<DescribeRecoverySnapshotsRequest.Builder> describeRecoverySnapshotsRequest) throws InternalServerException, ThrottlingException, AccessDeniedException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
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
2) Using For loopsoftware.amazon.awssdk.services.drs.paginators.DescribeRecoverySnapshotsIterable responses = client.describeRecoverySnapshotsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaDescribeRecoverySnapshotsRequest.builder()- Parameters:
describeRecoverySnapshotsRequest- AConsumerthat will call methods onDescribeRecoverySnapshotsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
describeReplicationConfigurationTemplates
default DescribeReplicationConfigurationTemplatesResponse describeReplicationConfigurationTemplates(DescribeReplicationConfigurationTemplatesRequest describeReplicationConfigurationTemplatesRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.
- Parameters:
describeReplicationConfigurationTemplatesRequest-- Returns:
- Result of the DescribeReplicationConfigurationTemplates operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
describeReplicationConfigurationTemplates
default 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.Builderavoiding the need to create one manually viaDescribeReplicationConfigurationTemplatesRequest.builder()- Parameters:
describeReplicationConfigurationTemplatesRequest- AConsumerthat will call methods onDescribeReplicationConfigurationTemplatesRequest.Builderto create a request.- Returns:
- Result of the DescribeReplicationConfigurationTemplates operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
describeReplicationConfigurationTemplatesPaginator
default DescribeReplicationConfigurationTemplatesIterable describeReplicationConfigurationTemplatesPaginator(DescribeReplicationConfigurationTemplatesRequest describeReplicationConfigurationTemplatesRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
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
2) Using For loopsoftware.amazon.awssdk.services.drs.paginators.DescribeReplicationConfigurationTemplatesIterable responses = client.describeReplicationConfigurationTemplatesPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
describeReplicationConfigurationTemplatesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
describeReplicationConfigurationTemplatesPaginator
default DescribeReplicationConfigurationTemplatesIterable describeReplicationConfigurationTemplatesPaginator(Consumer<DescribeReplicationConfigurationTemplatesRequest.Builder> describeReplicationConfigurationTemplatesRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
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
2) Using For loopsoftware.amazon.awssdk.services.drs.paginators.DescribeReplicationConfigurationTemplatesIterable responses = client.describeReplicationConfigurationTemplatesPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaDescribeReplicationConfigurationTemplatesRequest.builder()- Parameters:
describeReplicationConfigurationTemplatesRequest- AConsumerthat will call methods onDescribeReplicationConfigurationTemplatesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
describeSourceNetworks
default DescribeSourceNetworksResponse describeSourceNetworks(DescribeSourceNetworksRequest describeSourceNetworksRequest) throws InternalServerException, ThrottlingException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Lists all Source Networks or multiple Source Networks filtered by ID.
- Parameters:
describeSourceNetworksRequest-- Returns:
- Result of the DescribeSourceNetworks operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
describeSourceNetworks
default DescribeSourceNetworksResponse describeSourceNetworks(Consumer<DescribeSourceNetworksRequest.Builder> describeSourceNetworksRequest) throws InternalServerException, ThrottlingException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Lists all Source Networks or multiple Source Networks filtered by ID.
This is a convenience which creates an instance of the
DescribeSourceNetworksRequest.Builderavoiding the need to create one manually viaDescribeSourceNetworksRequest.builder()- Parameters:
describeSourceNetworksRequest- AConsumerthat will call methods onDescribeSourceNetworksRequest.Builderto create a request.- Returns:
- Result of the DescribeSourceNetworks operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
describeSourceNetworksPaginator
default DescribeSourceNetworksIterable describeSourceNetworksPaginator(DescribeSourceNetworksRequest describeSourceNetworksRequest) throws InternalServerException, ThrottlingException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
This is a variant of
describeSourceNetworks(software.amazon.awssdk.services.drs.model.DescribeSourceNetworksRequest)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
2) Using For loopsoftware.amazon.awssdk.services.drs.paginators.DescribeSourceNetworksIterable responses = client.describeSourceNetworksPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.drs.paginators.DescribeSourceNetworksIterable responses = client .describeSourceNetworksPaginator(request); for (software.amazon.awssdk.services.drs.model.DescribeSourceNetworksResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.drs.paginators.DescribeSourceNetworksIterable responses = client.describeSourceNetworksPaginator(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
describeSourceNetworks(software.amazon.awssdk.services.drs.model.DescribeSourceNetworksRequest)operation.- Parameters:
describeSourceNetworksRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
describeSourceNetworksPaginator
default DescribeSourceNetworksIterable describeSourceNetworksPaginator(Consumer<DescribeSourceNetworksRequest.Builder> describeSourceNetworksRequest) throws InternalServerException, ThrottlingException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
This is a variant of
describeSourceNetworks(software.amazon.awssdk.services.drs.model.DescribeSourceNetworksRequest)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
2) Using For loopsoftware.amazon.awssdk.services.drs.paginators.DescribeSourceNetworksIterable responses = client.describeSourceNetworksPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.drs.paginators.DescribeSourceNetworksIterable responses = client .describeSourceNetworksPaginator(request); for (software.amazon.awssdk.services.drs.model.DescribeSourceNetworksResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.drs.paginators.DescribeSourceNetworksIterable responses = client.describeSourceNetworksPaginator(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
describeSourceNetworks(software.amazon.awssdk.services.drs.model.DescribeSourceNetworksRequest)operation.
This is a convenience which creates an instance of the
DescribeSourceNetworksRequest.Builderavoiding the need to create one manually viaDescribeSourceNetworksRequest.builder()- Parameters:
describeSourceNetworksRequest- AConsumerthat will call methods onDescribeSourceNetworksRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
describeSourceServers
default DescribeSourceServersResponse describeSourceServers(DescribeSourceServersRequest describeSourceServersRequest) throws InternalServerException, ThrottlingException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Lists all Source Servers or multiple Source Servers filtered by ID.
- Parameters:
describeSourceServersRequest-- Returns:
- Result of the DescribeSourceServers operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
describeSourceServers
default 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.Builderavoiding the need to create one manually viaDescribeSourceServersRequest.builder()- Parameters:
describeSourceServersRequest- AConsumerthat will call methods onDescribeSourceServersRequest.Builderto create a request.- Returns:
- Result of the DescribeSourceServers operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
describeSourceServersPaginator
default DescribeSourceServersIterable describeSourceServersPaginator(DescribeSourceServersRequest describeSourceServersRequest) throws InternalServerException, ThrottlingException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
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
2) Using For loopsoftware.amazon.awssdk.services.drs.paginators.DescribeSourceServersIterable responses = client.describeSourceServersPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
describeSourceServersRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
describeSourceServersPaginator
default DescribeSourceServersIterable describeSourceServersPaginator(Consumer<DescribeSourceServersRequest.Builder> describeSourceServersRequest) throws InternalServerException, ThrottlingException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
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
2) Using For loopsoftware.amazon.awssdk.services.drs.paginators.DescribeSourceServersIterable responses = client.describeSourceServersPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaDescribeSourceServersRequest.builder()- Parameters:
describeSourceServersRequest- AConsumerthat will call methods onDescribeSourceServersRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
disconnectRecoveryInstance
default 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.
- Parameters:
disconnectRecoveryInstanceRequest-- Returns:
- Result of the DisconnectRecoveryInstance operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
disconnectRecoveryInstance
default 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.Builderavoiding the need to create one manually viaDisconnectRecoveryInstanceRequest.builder()- Parameters:
disconnectRecoveryInstanceRequest- AConsumerthat will call methods onDisconnectRecoveryInstanceRequest.Builderto create a request.- Returns:
- Result of the DisconnectRecoveryInstance operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
disconnectSourceServer
default 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.
- Parameters:
disconnectSourceServerRequest-- Returns:
- Result of the DisconnectSourceServer operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
disconnectSourceServer
default 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.Builderavoiding the need to create one manually viaDisconnectSourceServerRequest.builder()- Parameters:
disconnectSourceServerRequest- AConsumerthat will call methods onDisconnectSourceServerRequest.Builderto create a request.- Returns:
- Result of the DisconnectSourceServer operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
exportSourceNetworkCfnTemplate
default ExportSourceNetworkCfnTemplateResponse exportSourceNetworkCfnTemplate(ExportSourceNetworkCfnTemplateRequest exportSourceNetworkCfnTemplateRequest) throws ResourceNotFoundException, InternalServerException, ConflictException, ThrottlingException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Export the Source Network CloudFormation template to an S3 bucket.
- Parameters:
exportSourceNetworkCfnTemplateRequest-- Returns:
- Result of the ExportSourceNetworkCfnTemplate operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
exportSourceNetworkCfnTemplate
default ExportSourceNetworkCfnTemplateResponse exportSourceNetworkCfnTemplate(Consumer<ExportSourceNetworkCfnTemplateRequest.Builder> exportSourceNetworkCfnTemplateRequest) throws ResourceNotFoundException, InternalServerException, ConflictException, ThrottlingException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Export the Source Network CloudFormation template to an S3 bucket.
This is a convenience which creates an instance of the
ExportSourceNetworkCfnTemplateRequest.Builderavoiding the need to create one manually viaExportSourceNetworkCfnTemplateRequest.builder()- Parameters:
exportSourceNetworkCfnTemplateRequest- AConsumerthat will call methods onExportSourceNetworkCfnTemplateRequest.Builderto create a request.- Returns:
- Result of the ExportSourceNetworkCfnTemplate operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getFailbackReplicationConfiguration
default GetFailbackReplicationConfigurationResponse getFailbackReplicationConfiguration(GetFailbackReplicationConfigurationRequest getFailbackReplicationConfigurationRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Lists all Failback ReplicationConfigurations, filtered by Recovery Instance ID.
- Parameters:
getFailbackReplicationConfigurationRequest-- Returns:
- Result of the GetFailbackReplicationConfiguration operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getFailbackReplicationConfiguration
default 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.Builderavoiding the need to create one manually viaGetFailbackReplicationConfigurationRequest.builder()- Parameters:
getFailbackReplicationConfigurationRequest- AConsumerthat will call methods onGetFailbackReplicationConfigurationRequest.Builderto create a request.- Returns:
- Result of the GetFailbackReplicationConfiguration operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getLaunchConfiguration
default GetLaunchConfigurationResponse getLaunchConfiguration(GetLaunchConfigurationRequest getLaunchConfigurationRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Gets a LaunchConfiguration, filtered by Source Server IDs.
- Parameters:
getLaunchConfigurationRequest-- Returns:
- Result of the GetLaunchConfiguration operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getLaunchConfiguration
default 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.Builderavoiding the need to create one manually viaGetLaunchConfigurationRequest.builder()- Parameters:
getLaunchConfigurationRequest- AConsumerthat will call methods onGetLaunchConfigurationRequest.Builderto create a request.- Returns:
- Result of the GetLaunchConfiguration operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getReplicationConfiguration
default GetReplicationConfigurationResponse getReplicationConfiguration(GetReplicationConfigurationRequest getReplicationConfigurationRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Gets a ReplicationConfiguration, filtered by Source Server ID.
- Parameters:
getReplicationConfigurationRequest-- Returns:
- Result of the GetReplicationConfiguration operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getReplicationConfiguration
default 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.Builderavoiding the need to create one manually viaGetReplicationConfigurationRequest.builder()- Parameters:
getReplicationConfigurationRequest- AConsumerthat will call methods onGetReplicationConfigurationRequest.Builderto create a request.- Returns:
- Result of the GetReplicationConfiguration operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
initializeService
default InitializeServiceResponse initializeService(InitializeServiceRequest initializeServiceRequest) throws InternalServerException, ThrottlingException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, DrsException
Initialize Elastic Disaster Recovery.
- Parameters:
initializeServiceRequest-- Returns:
- Result of the InitializeService operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
initializeService
default 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.Builderavoiding the need to create one manually viaInitializeServiceRequest.builder()- Parameters:
initializeServiceRequest- AConsumerthat will call methods onInitializeServiceRequest.Builderto create a request.- Returns:
- Result of the InitializeService operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listExtensibleSourceServers
default 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.
- Parameters:
listExtensibleSourceServersRequest-- Returns:
- Result of the ListExtensibleSourceServers operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listExtensibleSourceServers
default 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.Builderavoiding the need to create one manually viaListExtensibleSourceServersRequest.builder()- Parameters:
listExtensibleSourceServersRequest- AConsumerthat will call methods onListExtensibleSourceServersRequest.Builderto create a request.- Returns:
- Result of the ListExtensibleSourceServers operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listExtensibleSourceServersPaginator
default ListExtensibleSourceServersIterable listExtensibleSourceServersPaginator(ListExtensibleSourceServersRequest listExtensibleSourceServersRequest) throws InternalServerException, ThrottlingException, AccessDeniedException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
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
2) Using For loopsoftware.amazon.awssdk.services.drs.paginators.ListExtensibleSourceServersIterable responses = client.listExtensibleSourceServersPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
listExtensibleSourceServersRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listExtensibleSourceServersPaginator
default ListExtensibleSourceServersIterable listExtensibleSourceServersPaginator(Consumer<ListExtensibleSourceServersRequest.Builder> listExtensibleSourceServersRequest) throws InternalServerException, ThrottlingException, AccessDeniedException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
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
2) Using For loopsoftware.amazon.awssdk.services.drs.paginators.ListExtensibleSourceServersIterable responses = client.listExtensibleSourceServersPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaListExtensibleSourceServersRequest.builder()- Parameters:
listExtensibleSourceServersRequest- AConsumerthat will call methods onListExtensibleSourceServersRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listLaunchActions
default ListLaunchActionsResponse listLaunchActions(ListLaunchActionsRequest listLaunchActionsRequest) throws ResourceNotFoundException, InternalServerException, ServiceQuotaExceededException, ThrottlingException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Lists resource launch actions.
- Parameters:
listLaunchActionsRequest-- Returns:
- Result of the ListLaunchActions operation returned by the service.
- Throws:
ResourceNotFoundException- The resource for this operation was not found.InternalServerException- The request processing has failed because of an unknown error, exception or failure.ServiceQuotaExceededException- The request could not be completed because its exceeded the service quota.ThrottlingException- The request was denied due to request throttling.UninitializedAccountException- The account performing the request has not been initialized.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DrsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listLaunchActions
default ListLaunchActionsResponse listLaunchActions(Consumer<ListLaunchActionsRequest.Builder> listLaunchActionsRequest) throws ResourceNotFoundException, InternalServerException, ServiceQuotaExceededException, ThrottlingException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Lists resource launch actions.
This is a convenience which creates an instance of the
ListLaunchActionsRequest.Builderavoiding the need to create one manually viaListLaunchActionsRequest.builder()- Parameters:
listLaunchActionsRequest- AConsumerthat will call methods onListLaunchActionsRequest.Builderto create a request.- Returns:
- Result of the ListLaunchActions operation returned by the service.
- Throws:
ResourceNotFoundException- The resource for this operation was not found.InternalServerException- The request processing has failed because of an unknown error, exception or failure.ServiceQuotaExceededException- The request could not be completed because its exceeded the service quota.ThrottlingException- The request was denied due to request throttling.UninitializedAccountException- The account performing the request has not been initialized.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DrsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listLaunchActionsPaginator
default ListLaunchActionsIterable listLaunchActionsPaginator(ListLaunchActionsRequest listLaunchActionsRequest) throws ResourceNotFoundException, InternalServerException, ServiceQuotaExceededException, ThrottlingException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
This is a variant of
listLaunchActions(software.amazon.awssdk.services.drs.model.ListLaunchActionsRequest)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
2) Using For loopsoftware.amazon.awssdk.services.drs.paginators.ListLaunchActionsIterable responses = client.listLaunchActionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.drs.paginators.ListLaunchActionsIterable responses = client .listLaunchActionsPaginator(request); for (software.amazon.awssdk.services.drs.model.ListLaunchActionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.drs.paginators.ListLaunchActionsIterable responses = client.listLaunchActionsPaginator(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
listLaunchActions(software.amazon.awssdk.services.drs.model.ListLaunchActionsRequest)operation.- Parameters:
listLaunchActionsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ResourceNotFoundException- The resource for this operation was not found.InternalServerException- The request processing has failed because of an unknown error, exception or failure.ServiceQuotaExceededException- The request could not be completed because its exceeded the service quota.ThrottlingException- The request was denied due to request throttling.UninitializedAccountException- The account performing the request has not been initialized.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DrsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listLaunchActionsPaginator
default ListLaunchActionsIterable listLaunchActionsPaginator(Consumer<ListLaunchActionsRequest.Builder> listLaunchActionsRequest) throws ResourceNotFoundException, InternalServerException, ServiceQuotaExceededException, ThrottlingException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
This is a variant of
listLaunchActions(software.amazon.awssdk.services.drs.model.ListLaunchActionsRequest)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
2) Using For loopsoftware.amazon.awssdk.services.drs.paginators.ListLaunchActionsIterable responses = client.listLaunchActionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.drs.paginators.ListLaunchActionsIterable responses = client .listLaunchActionsPaginator(request); for (software.amazon.awssdk.services.drs.model.ListLaunchActionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.drs.paginators.ListLaunchActionsIterable responses = client.listLaunchActionsPaginator(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
listLaunchActions(software.amazon.awssdk.services.drs.model.ListLaunchActionsRequest)operation.
This is a convenience which creates an instance of the
ListLaunchActionsRequest.Builderavoiding the need to create one manually viaListLaunchActionsRequest.builder()- Parameters:
listLaunchActionsRequest- AConsumerthat will call methods onListLaunchActionsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ResourceNotFoundException- The resource for this operation was not found.InternalServerException- The request processing has failed because of an unknown error, exception or failure.ServiceQuotaExceededException- The request could not be completed because its exceeded the service quota.ThrottlingException- The request was denied due to request throttling.UninitializedAccountException- The account performing the request has not been initialized.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DrsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listStagingAccounts
default ListStagingAccountsResponse listStagingAccounts(ListStagingAccountsRequest listStagingAccountsRequest) throws InternalServerException, ThrottlingException, AccessDeniedException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Returns an array of staging accounts for existing extended source servers.
- Parameters:
listStagingAccountsRequest-- Returns:
- Result of the ListStagingAccounts operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listStagingAccounts
default 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.Builderavoiding the need to create one manually viaListStagingAccountsRequest.builder()- Parameters:
listStagingAccountsRequest- AConsumerthat will call methods onListStagingAccountsRequest.Builderto create a request.- Returns:
- Result of the ListStagingAccounts operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listStagingAccountsPaginator
default ListStagingAccountsIterable listStagingAccountsPaginator(ListStagingAccountsRequest listStagingAccountsRequest) throws InternalServerException, ThrottlingException, AccessDeniedException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
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
2) Using For loopsoftware.amazon.awssdk.services.drs.paginators.ListStagingAccountsIterable responses = client.listStagingAccountsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
listStagingAccountsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listStagingAccountsPaginator
default ListStagingAccountsIterable listStagingAccountsPaginator(Consumer<ListStagingAccountsRequest.Builder> listStagingAccountsRequest) throws InternalServerException, ThrottlingException, AccessDeniedException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
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
2) Using For loopsoftware.amazon.awssdk.services.drs.paginators.ListStagingAccountsIterable responses = client.listStagingAccountsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaListStagingAccountsRequest.builder()- Parameters:
listStagingAccountsRequest- AConsumerthat will call methods onListStagingAccountsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, DrsException
List all tags for your Elastic Disaster Recovery resources.
- Parameters:
listTagsForResourceRequest-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listTagsForResource
default 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.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
putLaunchAction
default PutLaunchActionResponse putLaunchAction(PutLaunchActionRequest putLaunchActionRequest) throws ResourceNotFoundException, InternalServerException, ConflictException, ThrottlingException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Puts a resource launch action.
- Parameters:
putLaunchActionRequest-- Returns:
- Result of the PutLaunchAction operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
putLaunchAction
default PutLaunchActionResponse putLaunchAction(Consumer<PutLaunchActionRequest.Builder> putLaunchActionRequest) throws ResourceNotFoundException, InternalServerException, ConflictException, ThrottlingException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Puts a resource launch action.
This is a convenience which creates an instance of the
PutLaunchActionRequest.Builderavoiding the need to create one manually viaPutLaunchActionRequest.builder()- Parameters:
putLaunchActionRequest- AConsumerthat will call methods onPutLaunchActionRequest.Builderto create a request.- Returns:
- Result of the PutLaunchAction operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
retryDataReplication
@Deprecated default RetryDataReplicationResponse retryDataReplication(RetryDataReplicationRequest retryDataReplicationRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Deprecated.WARNING: RetryDataReplication is deprecatedWARNING: RetryDataReplication is deprecated. Causes the data replication initiation sequence to begin immediately upon next Handshake for the specified Source Server ID, regardless of when the previous initiation started. This command will work only if the Source Server is stalled or is in a DISCONNECTED or STOPPED state.
- Parameters:
retryDataReplicationRequest-- Returns:
- Result of the RetryDataReplication operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
retryDataReplication
@Deprecated default RetryDataReplicationResponse retryDataReplication(Consumer<RetryDataReplicationRequest.Builder> retryDataReplicationRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Deprecated.WARNING: RetryDataReplication is deprecatedWARNING: RetryDataReplication is deprecated. Causes the data replication initiation sequence to begin immediately upon next Handshake for the specified Source Server ID, regardless of when the previous initiation started. This command will work only if the Source Server is stalled or is in a DISCONNECTED or STOPPED state.
This is a convenience which creates an instance of the
RetryDataReplicationRequest.Builderavoiding the need to create one manually viaRetryDataReplicationRequest.builder()- Parameters:
retryDataReplicationRequest- AConsumerthat will call methods onRetryDataReplicationRequest.Builderto create a request.- Returns:
- Result of the RetryDataReplication operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
reverseReplication
default ReverseReplicationResponse reverseReplication(ReverseReplicationRequest reverseReplicationRequest) throws ResourceNotFoundException, InternalServerException, ConflictException, ThrottlingException, AccessDeniedException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Start replication to origin / target region - applies only to protected instances that originated in EC2. For recovery instances on target region - starts replication back to origin region. For failback instances on origin region - starts replication to target region to re-protect them.
- Parameters:
reverseReplicationRequest-- Returns:
- Result of the ReverseReplication operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
reverseReplication
default ReverseReplicationResponse reverseReplication(Consumer<ReverseReplicationRequest.Builder> reverseReplicationRequest) throws ResourceNotFoundException, InternalServerException, ConflictException, ThrottlingException, AccessDeniedException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Start replication to origin / target region - applies only to protected instances that originated in EC2. For recovery instances on target region - starts replication back to origin region. For failback instances on origin region - starts replication to target region to re-protect them.
This is a convenience which creates an instance of the
ReverseReplicationRequest.Builderavoiding the need to create one manually viaReverseReplicationRequest.builder()- Parameters:
reverseReplicationRequest- AConsumerthat will call methods onReverseReplicationRequest.Builderto create a request.- Returns:
- Result of the ReverseReplication operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
startFailbackLaunch
default 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.
- Parameters:
startFailbackLaunchRequest-- Returns:
- Result of the StartFailbackLaunch operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
startFailbackLaunch
default 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.Builderavoiding the need to create one manually viaStartFailbackLaunchRequest.builder()- Parameters:
startFailbackLaunchRequest- AConsumerthat will call methods onStartFailbackLaunchRequest.Builderto create a request.- Returns:
- Result of the StartFailbackLaunch operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
startRecovery
default 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.
- Parameters:
startRecoveryRequest-- Returns:
- Result of the StartRecovery operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
startRecovery
default 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.Builderavoiding the need to create one manually viaStartRecoveryRequest.builder()- Parameters:
startRecoveryRequest- AConsumerthat will call methods onStartRecoveryRequest.Builderto create a request.- Returns:
- Result of the StartRecovery operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
startReplication
default StartReplicationResponse startReplication(StartReplicationRequest startReplicationRequest) throws ResourceNotFoundException, InternalServerException, ConflictException, ThrottlingException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Starts replication for a stopped Source Server. This action would make the Source Server protected again and restart billing for it.
- Parameters:
startReplicationRequest-- Returns:
- Result of the StartReplication operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
startReplication
default StartReplicationResponse startReplication(Consumer<StartReplicationRequest.Builder> startReplicationRequest) throws ResourceNotFoundException, InternalServerException, ConflictException, ThrottlingException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Starts replication for a stopped Source Server. This action would make the Source Server protected again and restart billing for it.
This is a convenience which creates an instance of the
StartReplicationRequest.Builderavoiding the need to create one manually viaStartReplicationRequest.builder()- Parameters:
startReplicationRequest- AConsumerthat will call methods onStartReplicationRequest.Builderto create a request.- Returns:
- Result of the StartReplication operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
startSourceNetworkRecovery
default StartSourceNetworkRecoveryResponse startSourceNetworkRecovery(StartSourceNetworkRecoveryRequest startSourceNetworkRecoveryRequest) throws InternalServerException, ConflictException, ServiceQuotaExceededException, ThrottlingException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Deploy VPC for the specified Source Network and modify launch templates to use this network. The VPC will be deployed using a dedicated CloudFormation stack.
- Parameters:
startSourceNetworkRecoveryRequest-- Returns:
- Result of the StartSourceNetworkRecovery operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
startSourceNetworkRecovery
default StartSourceNetworkRecoveryResponse startSourceNetworkRecovery(Consumer<StartSourceNetworkRecoveryRequest.Builder> startSourceNetworkRecoveryRequest) throws InternalServerException, ConflictException, ServiceQuotaExceededException, ThrottlingException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Deploy VPC for the specified Source Network and modify launch templates to use this network. The VPC will be deployed using a dedicated CloudFormation stack.
This is a convenience which creates an instance of the
StartSourceNetworkRecoveryRequest.Builderavoiding the need to create one manually viaStartSourceNetworkRecoveryRequest.builder()- Parameters:
startSourceNetworkRecoveryRequest- AConsumerthat will call methods onStartSourceNetworkRecoveryRequest.Builderto create a request.- Returns:
- Result of the StartSourceNetworkRecovery operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
startSourceNetworkReplication
default StartSourceNetworkReplicationResponse startSourceNetworkReplication(StartSourceNetworkReplicationRequest startSourceNetworkReplicationRequest) throws ResourceNotFoundException, InternalServerException, ConflictException, ThrottlingException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Starts replication for a Source Network. This action would make the Source Network protected.
- Parameters:
startSourceNetworkReplicationRequest-- Returns:
- Result of the StartSourceNetworkReplication operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
startSourceNetworkReplication
default StartSourceNetworkReplicationResponse startSourceNetworkReplication(Consumer<StartSourceNetworkReplicationRequest.Builder> startSourceNetworkReplicationRequest) throws ResourceNotFoundException, InternalServerException, ConflictException, ThrottlingException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Starts replication for a Source Network. This action would make the Source Network protected.
This is a convenience which creates an instance of the
StartSourceNetworkReplicationRequest.Builderavoiding the need to create one manually viaStartSourceNetworkReplicationRequest.builder()- Parameters:
startSourceNetworkReplicationRequest- AConsumerthat will call methods onStartSourceNetworkReplicationRequest.Builderto create a request.- Returns:
- Result of the StartSourceNetworkReplication operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
stopFailback
default 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.
- Parameters:
stopFailbackRequest-- Returns:
- Result of the StopFailback operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
stopFailback
default 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.Builderavoiding the need to create one manually viaStopFailbackRequest.builder()- Parameters:
stopFailbackRequest- AConsumerthat will call methods onStopFailbackRequest.Builderto create a request.- Returns:
- Result of the StopFailback operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
stopReplication
default StopReplicationResponse stopReplication(StopReplicationRequest stopReplicationRequest) throws ResourceNotFoundException, InternalServerException, ConflictException, ThrottlingException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Stops replication for a Source Server. This action would make the Source Server unprotected, delete its existing snapshots and stop billing for it.
- Parameters:
stopReplicationRequest-- Returns:
- Result of the StopReplication operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
stopReplication
default StopReplicationResponse stopReplication(Consumer<StopReplicationRequest.Builder> stopReplicationRequest) throws ResourceNotFoundException, InternalServerException, ConflictException, ThrottlingException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Stops replication for a Source Server. This action would make the Source Server unprotected, delete its existing snapshots and stop billing for it.
This is a convenience which creates an instance of the
StopReplicationRequest.Builderavoiding the need to create one manually viaStopReplicationRequest.builder()- Parameters:
stopReplicationRequest- AConsumerthat will call methods onStopReplicationRequest.Builderto create a request.- Returns:
- Result of the StopReplication operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
stopSourceNetworkReplication
default StopSourceNetworkReplicationResponse stopSourceNetworkReplication(StopSourceNetworkReplicationRequest stopSourceNetworkReplicationRequest) throws ResourceNotFoundException, InternalServerException, ConflictException, ThrottlingException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Stops replication for a Source Network. This action would make the Source Network unprotected.
- Parameters:
stopSourceNetworkReplicationRequest-- Returns:
- Result of the StopSourceNetworkReplication operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
stopSourceNetworkReplication
default StopSourceNetworkReplicationResponse stopSourceNetworkReplication(Consumer<StopSourceNetworkReplicationRequest.Builder> stopSourceNetworkReplicationRequest) throws ResourceNotFoundException, InternalServerException, ConflictException, ThrottlingException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Stops replication for a Source Network. This action would make the Source Network unprotected.
This is a convenience which creates an instance of the
StopSourceNetworkReplicationRequest.Builderavoiding the need to create one manually viaStopSourceNetworkReplicationRequest.builder()- Parameters:
stopSourceNetworkReplicationRequest- AConsumerthat will call methods onStopSourceNetworkReplicationRequest.Builderto create a request.- Returns:
- Result of the StopSourceNetworkReplication operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
tagResource
default 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.
- Parameters:
tagResourceRequest-- Returns:
- Result of the TagResource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
tagResource
default 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.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- Result of the TagResource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
terminateRecoveryInstances
default 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.
- Parameters:
terminateRecoveryInstancesRequest-- Returns:
- Result of the TerminateRecoveryInstances operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
terminateRecoveryInstances
default 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.Builderavoiding the need to create one manually viaTerminateRecoveryInstancesRequest.builder()- Parameters:
terminateRecoveryInstancesRequest- AConsumerthat will call methods onTerminateRecoveryInstancesRequest.Builderto create a request.- Returns:
- Result of the TerminateRecoveryInstances operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
untagResource
default 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.
- Parameters:
untagResourceRequest-- Returns:
- Result of the UntagResource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
untagResource
default 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.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateFailbackReplicationConfiguration
default 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.
- Parameters:
updateFailbackReplicationConfigurationRequest-- Returns:
- Result of the UpdateFailbackReplicationConfiguration operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateFailbackReplicationConfiguration
default 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.Builderavoiding the need to create one manually viaUpdateFailbackReplicationConfigurationRequest.builder()- Parameters:
updateFailbackReplicationConfigurationRequest- AConsumerthat will call methods onUpdateFailbackReplicationConfigurationRequest.Builderto create a request.- Returns:
- Result of the UpdateFailbackReplicationConfiguration operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateLaunchConfiguration
default UpdateLaunchConfigurationResponse updateLaunchConfiguration(UpdateLaunchConfigurationRequest updateLaunchConfigurationRequest) throws ResourceNotFoundException, InternalServerException, ConflictException, ThrottlingException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Updates a LaunchConfiguration by Source Server ID.
- Parameters:
updateLaunchConfigurationRequest-- Returns:
- Result of the UpdateLaunchConfiguration operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateLaunchConfiguration
default 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.Builderavoiding the need to create one manually viaUpdateLaunchConfigurationRequest.builder()- Parameters:
updateLaunchConfigurationRequest- AConsumerthat will call methods onUpdateLaunchConfigurationRequest.Builderto create a request.- Returns:
- Result of the UpdateLaunchConfiguration operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateLaunchConfigurationTemplate
default UpdateLaunchConfigurationTemplateResponse updateLaunchConfigurationTemplate(UpdateLaunchConfigurationTemplateRequest updateLaunchConfigurationTemplateRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Updates an existing Launch Configuration Template by ID.
- Parameters:
updateLaunchConfigurationTemplateRequest-- Returns:
- Result of the UpdateLaunchConfigurationTemplate operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateLaunchConfigurationTemplate
default UpdateLaunchConfigurationTemplateResponse updateLaunchConfigurationTemplate(Consumer<UpdateLaunchConfigurationTemplateRequest.Builder> updateLaunchConfigurationTemplateRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Updates an existing Launch Configuration Template by ID.
This is a convenience which creates an instance of the
UpdateLaunchConfigurationTemplateRequest.Builderavoiding the need to create one manually viaUpdateLaunchConfigurationTemplateRequest.builder()- Parameters:
updateLaunchConfigurationTemplateRequest- AConsumerthat will call methods onUpdateLaunchConfigurationTemplateRequest.Builderto create a request.- Returns:
- Result of the UpdateLaunchConfigurationTemplate operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateReplicationConfiguration
default 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.
- Parameters:
updateReplicationConfigurationRequest-- Returns:
- Result of the UpdateReplicationConfiguration operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateReplicationConfiguration
default 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.Builderavoiding the need to create one manually viaUpdateReplicationConfigurationRequest.builder()- Parameters:
updateReplicationConfigurationRequest- AConsumerthat will call methods onUpdateReplicationConfigurationRequest.Builderto create a request.- Returns:
- Result of the UpdateReplicationConfiguration operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateReplicationConfigurationTemplate
default UpdateReplicationConfigurationTemplateResponse updateReplicationConfigurationTemplate(UpdateReplicationConfigurationTemplateRequest updateReplicationConfigurationTemplateRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, ValidationException, UninitializedAccountException, AwsServiceException, SdkClientException, DrsException
Updates a ReplicationConfigurationTemplate by ID.
- Parameters:
updateReplicationConfigurationTemplateRequest-- Returns:
- Result of the UpdateReplicationConfigurationTemplate operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateReplicationConfigurationTemplate
default 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.Builderavoiding the need to create one manually viaUpdateReplicationConfigurationTemplateRequest.builder()- Parameters:
updateReplicationConfigurationTemplateRequest- AConsumerthat will call methods onUpdateReplicationConfigurationTemplateRequest.Builderto create a request.- Returns:
- Result of the UpdateReplicationConfigurationTemplate operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
create
static DrsClient create()
Create aDrsClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.
-
builder
static DrsClientBuilder builder()
Create a builder that can be used to configure and create aDrsClient.
-
serviceMetadata
static ServiceMetadata serviceMetadata()
-
serviceClientConfiguration
default DrsServiceClientConfiguration serviceClientConfiguration()
- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient
-
-