Interface Route53RecoveryReadinessAsyncClient
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
builder()
method.The asynchronous client performs non-blocking I/O when configured with any
SdkAsyncHttpClient
supported in the SDK. However, full non-blocking is not guaranteed as the async client may
perform blocking calls in some cases such as credentials retrieval and endpoint discovery as part of the async API
call.
Recovery readiness
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Value for looking up the service's metadata from theServiceMetadataProvider
.static final String
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Create a builder that can be used to configure and create aRoute53RecoveryReadinessAsyncClient
.create()
Create aRoute53RecoveryReadinessAsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.default CompletableFuture
<CreateCellResponse> createCell
(Consumer<CreateCellRequest.Builder> createCellRequest) Creates a cell in an account.default CompletableFuture
<CreateCellResponse> createCell
(CreateCellRequest createCellRequest) Creates a cell in an account.createCrossAccountAuthorization
(Consumer<CreateCrossAccountAuthorizationRequest.Builder> createCrossAccountAuthorizationRequest) Creates a cross-account readiness authorization.createCrossAccountAuthorization
(CreateCrossAccountAuthorizationRequest createCrossAccountAuthorizationRequest) Creates a cross-account readiness authorization.createReadinessCheck
(Consumer<CreateReadinessCheckRequest.Builder> createReadinessCheckRequest) Creates a readiness check in an account.createReadinessCheck
(CreateReadinessCheckRequest createReadinessCheckRequest) Creates a readiness check in an account.createRecoveryGroup
(Consumer<CreateRecoveryGroupRequest.Builder> createRecoveryGroupRequest) Creates a recovery group in an account.createRecoveryGroup
(CreateRecoveryGroupRequest createRecoveryGroupRequest) Creates a recovery group in an account.createResourceSet
(Consumer<CreateResourceSetRequest.Builder> createResourceSetRequest) Creates a resource set.createResourceSet
(CreateResourceSetRequest createResourceSetRequest) Creates a resource set.default CompletableFuture
<DeleteCellResponse> deleteCell
(Consumer<DeleteCellRequest.Builder> deleteCellRequest) Delete a cell.default CompletableFuture
<DeleteCellResponse> deleteCell
(DeleteCellRequest deleteCellRequest) Delete a cell.deleteCrossAccountAuthorization
(Consumer<DeleteCrossAccountAuthorizationRequest.Builder> deleteCrossAccountAuthorizationRequest) Deletes cross account readiness authorization.deleteCrossAccountAuthorization
(DeleteCrossAccountAuthorizationRequest deleteCrossAccountAuthorizationRequest) Deletes cross account readiness authorization.deleteReadinessCheck
(Consumer<DeleteReadinessCheckRequest.Builder> deleteReadinessCheckRequest) Deletes a readiness check.deleteReadinessCheck
(DeleteReadinessCheckRequest deleteReadinessCheckRequest) Deletes a readiness check.deleteRecoveryGroup
(Consumer<DeleteRecoveryGroupRequest.Builder> deleteRecoveryGroupRequest) Deletes a recovery group.deleteRecoveryGroup
(DeleteRecoveryGroupRequest deleteRecoveryGroupRequest) Deletes a recovery group.deleteResourceSet
(Consumer<DeleteResourceSetRequest.Builder> deleteResourceSetRequest) Deletes a resource set.deleteResourceSet
(DeleteResourceSetRequest deleteResourceSetRequest) Deletes a resource set.getArchitectureRecommendations
(Consumer<GetArchitectureRecommendationsRequest.Builder> getArchitectureRecommendationsRequest) Gets recommendations about architecture designs for improving resiliency for an application, based on a recovery group.getArchitectureRecommendations
(GetArchitectureRecommendationsRequest getArchitectureRecommendationsRequest) Gets recommendations about architecture designs for improving resiliency for an application, based on a recovery group.default CompletableFuture
<GetCellResponse> getCell
(Consumer<GetCellRequest.Builder> getCellRequest) Gets information about a cell including cell name, cell Amazon Resource Name (ARN), ARNs of nested cells for this cell, and a list of those cell ARNs with their associated recovery group ARNs.default CompletableFuture
<GetCellResponse> getCell
(GetCellRequest getCellRequest) Gets information about a cell including cell name, cell Amazon Resource Name (ARN), ARNs of nested cells for this cell, and a list of those cell ARNs with their associated recovery group ARNs.getCellReadinessSummary
(Consumer<GetCellReadinessSummaryRequest.Builder> getCellReadinessSummaryRequest) Gets readiness for a cell.getCellReadinessSummary
(GetCellReadinessSummaryRequest getCellReadinessSummaryRequest) Gets readiness for a cell.default GetCellReadinessSummaryPublisher
getCellReadinessSummaryPaginator
(Consumer<GetCellReadinessSummaryRequest.Builder> getCellReadinessSummaryRequest) This is a variant ofgetCellReadinessSummary(software.amazon.awssdk.services.route53recoveryreadiness.model.GetCellReadinessSummaryRequest)
operation.default GetCellReadinessSummaryPublisher
getCellReadinessSummaryPaginator
(GetCellReadinessSummaryRequest getCellReadinessSummaryRequest) This is a variant ofgetCellReadinessSummary(software.amazon.awssdk.services.route53recoveryreadiness.model.GetCellReadinessSummaryRequest)
operation.getReadinessCheck
(Consumer<GetReadinessCheckRequest.Builder> getReadinessCheckRequest) Gets details about a readiness check.getReadinessCheck
(GetReadinessCheckRequest getReadinessCheckRequest) Gets details about a readiness check.getReadinessCheckResourceStatus
(Consumer<GetReadinessCheckResourceStatusRequest.Builder> getReadinessCheckResourceStatusRequest) Gets individual readiness status for a readiness check.getReadinessCheckResourceStatus
(GetReadinessCheckResourceStatusRequest getReadinessCheckResourceStatusRequest) Gets individual readiness status for a readiness check.getReadinessCheckResourceStatusPaginator
(Consumer<GetReadinessCheckResourceStatusRequest.Builder> getReadinessCheckResourceStatusRequest) getReadinessCheckResourceStatusPaginator
(GetReadinessCheckResourceStatusRequest getReadinessCheckResourceStatusRequest) getReadinessCheckStatus
(Consumer<GetReadinessCheckStatusRequest.Builder> getReadinessCheckStatusRequest) Gets the readiness status for an individual readiness check.getReadinessCheckStatus
(GetReadinessCheckStatusRequest getReadinessCheckStatusRequest) Gets the readiness status for an individual readiness check.default GetReadinessCheckStatusPublisher
getReadinessCheckStatusPaginator
(Consumer<GetReadinessCheckStatusRequest.Builder> getReadinessCheckStatusRequest) This is a variant ofgetReadinessCheckStatus(software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckStatusRequest)
operation.default GetReadinessCheckStatusPublisher
getReadinessCheckStatusPaginator
(GetReadinessCheckStatusRequest getReadinessCheckStatusRequest) This is a variant ofgetReadinessCheckStatus(software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckStatusRequest)
operation.getRecoveryGroup
(Consumer<GetRecoveryGroupRequest.Builder> getRecoveryGroupRequest) Gets details about a recovery group, including a list of the cells that are included in it.getRecoveryGroup
(GetRecoveryGroupRequest getRecoveryGroupRequest) Gets details about a recovery group, including a list of the cells that are included in it.getRecoveryGroupReadinessSummary
(Consumer<GetRecoveryGroupReadinessSummaryRequest.Builder> getRecoveryGroupReadinessSummaryRequest) Displays a summary of information about a recovery group's readiness status.getRecoveryGroupReadinessSummary
(GetRecoveryGroupReadinessSummaryRequest getRecoveryGroupReadinessSummaryRequest) Displays a summary of information about a recovery group's readiness status.getRecoveryGroupReadinessSummaryPaginator
(Consumer<GetRecoveryGroupReadinessSummaryRequest.Builder> getRecoveryGroupReadinessSummaryRequest) getRecoveryGroupReadinessSummaryPaginator
(GetRecoveryGroupReadinessSummaryRequest getRecoveryGroupReadinessSummaryRequest) default CompletableFuture
<GetResourceSetResponse> getResourceSet
(Consumer<GetResourceSetRequest.Builder> getResourceSetRequest) Displays the details about a resource set, including a list of the resources in the set.default CompletableFuture
<GetResourceSetResponse> getResourceSet
(GetResourceSetRequest getResourceSetRequest) Displays the details about a resource set, including a list of the resources in the set.default CompletableFuture
<ListCellsResponse> listCells
(Consumer<ListCellsRequest.Builder> listCellsRequest) Lists the cells for an account.default CompletableFuture
<ListCellsResponse> listCells
(ListCellsRequest listCellsRequest) Lists the cells for an account.default ListCellsPublisher
listCellsPaginator
(Consumer<ListCellsRequest.Builder> listCellsRequest) This is a variant oflistCells(software.amazon.awssdk.services.route53recoveryreadiness.model.ListCellsRequest)
operation.default ListCellsPublisher
listCellsPaginator
(ListCellsRequest listCellsRequest) This is a variant oflistCells(software.amazon.awssdk.services.route53recoveryreadiness.model.ListCellsRequest)
operation.listCrossAccountAuthorizations
(Consumer<ListCrossAccountAuthorizationsRequest.Builder> listCrossAccountAuthorizationsRequest) Lists the cross-account readiness authorizations that are in place for an account.listCrossAccountAuthorizations
(ListCrossAccountAuthorizationsRequest listCrossAccountAuthorizationsRequest) Lists the cross-account readiness authorizations that are in place for an account.listCrossAccountAuthorizationsPaginator
(Consumer<ListCrossAccountAuthorizationsRequest.Builder> listCrossAccountAuthorizationsRequest) listCrossAccountAuthorizationsPaginator
(ListCrossAccountAuthorizationsRequest listCrossAccountAuthorizationsRequest) listReadinessChecks
(Consumer<ListReadinessChecksRequest.Builder> listReadinessChecksRequest) Lists the readiness checks for an account.listReadinessChecks
(ListReadinessChecksRequest listReadinessChecksRequest) Lists the readiness checks for an account.default ListReadinessChecksPublisher
listReadinessChecksPaginator
(Consumer<ListReadinessChecksRequest.Builder> listReadinessChecksRequest) This is a variant oflistReadinessChecks(software.amazon.awssdk.services.route53recoveryreadiness.model.ListReadinessChecksRequest)
operation.default ListReadinessChecksPublisher
listReadinessChecksPaginator
(ListReadinessChecksRequest listReadinessChecksRequest) This is a variant oflistReadinessChecks(software.amazon.awssdk.services.route53recoveryreadiness.model.ListReadinessChecksRequest)
operation.listRecoveryGroups
(Consumer<ListRecoveryGroupsRequest.Builder> listRecoveryGroupsRequest) Lists the recovery groups in an account.listRecoveryGroups
(ListRecoveryGroupsRequest listRecoveryGroupsRequest) Lists the recovery groups in an account.default ListRecoveryGroupsPublisher
listRecoveryGroupsPaginator
(Consumer<ListRecoveryGroupsRequest.Builder> listRecoveryGroupsRequest) This is a variant oflistRecoveryGroups(software.amazon.awssdk.services.route53recoveryreadiness.model.ListRecoveryGroupsRequest)
operation.default ListRecoveryGroupsPublisher
listRecoveryGroupsPaginator
(ListRecoveryGroupsRequest listRecoveryGroupsRequest) This is a variant oflistRecoveryGroups(software.amazon.awssdk.services.route53recoveryreadiness.model.ListRecoveryGroupsRequest)
operation.listResourceSets
(Consumer<ListResourceSetsRequest.Builder> listResourceSetsRequest) Lists the resource sets in an account.listResourceSets
(ListResourceSetsRequest listResourceSetsRequest) Lists the resource sets in an account.default ListResourceSetsPublisher
listResourceSetsPaginator
(Consumer<ListResourceSetsRequest.Builder> listResourceSetsRequest) This is a variant oflistResourceSets(software.amazon.awssdk.services.route53recoveryreadiness.model.ListResourceSetsRequest)
operation.default ListResourceSetsPublisher
listResourceSetsPaginator
(ListResourceSetsRequest listResourceSetsRequest) This is a variant oflistResourceSets(software.amazon.awssdk.services.route53recoveryreadiness.model.ListResourceSetsRequest)
operation.default CompletableFuture
<ListRulesResponse> listRules
(Consumer<ListRulesRequest.Builder> listRulesRequest) Lists all readiness rules, or lists the readiness rules for a specific resource type.default CompletableFuture
<ListRulesResponse> listRules
(ListRulesRequest listRulesRequest) Lists all readiness rules, or lists the readiness rules for a specific resource type.default ListRulesPublisher
listRulesPaginator
(Consumer<ListRulesRequest.Builder> listRulesRequest) This is a variant oflistRules(software.amazon.awssdk.services.route53recoveryreadiness.model.ListRulesRequest)
operation.default ListRulesPublisher
listRulesPaginator
(ListRulesRequest listRulesRequest) This is a variant oflistRules(software.amazon.awssdk.services.route53recoveryreadiness.model.ListRulesRequest)
operation.listTagsForResources
(Consumer<ListTagsForResourcesRequest.Builder> listTagsForResourcesRequest) Lists the tags for a resource.listTagsForResources
(ListTagsForResourcesRequest listTagsForResourcesRequest) Lists the tags for a resource.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationdefault CompletableFuture
<TagResourceResponse> tagResource
(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds a tag to a resource.default CompletableFuture
<TagResourceResponse> tagResource
(TagResourceRequest tagResourceRequest) Adds a tag to a resource.default CompletableFuture
<UntagResourceResponse> untagResource
(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes a tag from a resource.default CompletableFuture
<UntagResourceResponse> untagResource
(UntagResourceRequest untagResourceRequest) Removes a tag from a resource.default CompletableFuture
<UpdateCellResponse> updateCell
(Consumer<UpdateCellRequest.Builder> updateCellRequest) Updates a cell to replace the list of nested cells with a new list of nested cells.default CompletableFuture
<UpdateCellResponse> updateCell
(UpdateCellRequest updateCellRequest) Updates a cell to replace the list of nested cells with a new list of nested cells.updateReadinessCheck
(Consumer<UpdateReadinessCheckRequest.Builder> updateReadinessCheckRequest) Updates a readiness check.updateReadinessCheck
(UpdateReadinessCheckRequest updateReadinessCheckRequest) Updates a readiness check.updateRecoveryGroup
(Consumer<UpdateRecoveryGroupRequest.Builder> updateRecoveryGroupRequest) Updates a recovery group.updateRecoveryGroup
(UpdateRecoveryGroupRequest updateRecoveryGroupRequest) Updates a recovery group.updateResourceSet
(Consumer<UpdateResourceSetRequest.Builder> updateResourceSetRequest) Updates a resource set.updateResourceSet
(UpdateResourceSetRequest updateResourceSetRequest) Updates a resource set.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider
.- See Also:
-
-
Method Details
-
createCell
Creates a cell in an account.
- Parameters:
createCellRequest
-- Returns:
- A Java Future containing the result of the CreateCell operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- ConflictException 409 response - Conflict exception. You might be using a predefined variable.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createCell
default CompletableFuture<CreateCellResponse> createCell(Consumer<CreateCellRequest.Builder> createCellRequest) Creates a cell in an account.
This is a convenience which creates an instance of the
CreateCellRequest.Builder
avoiding the need to create one manually viaCreateCellRequest.builder()
- Parameters:
createCellRequest
- AConsumer
that will call methods onCreateCellRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateCell operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- ConflictException 409 response - Conflict exception. You might be using a predefined variable.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createCrossAccountAuthorization
default CompletableFuture<CreateCrossAccountAuthorizationResponse> createCrossAccountAuthorization(CreateCrossAccountAuthorizationRequest createCrossAccountAuthorizationRequest) Creates a cross-account readiness authorization. This lets you authorize another account to work with Route 53 Application Recovery Controller, for example, to check the readiness status of resources in a separate account.
- Parameters:
createCrossAccountAuthorizationRequest
-- Returns:
- A Java Future containing the result of the CreateCrossAccountAuthorization operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- ConflictException 409 response - Conflict exception. You might be using a predefined variable.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createCrossAccountAuthorization
default CompletableFuture<CreateCrossAccountAuthorizationResponse> createCrossAccountAuthorization(Consumer<CreateCrossAccountAuthorizationRequest.Builder> createCrossAccountAuthorizationRequest) Creates a cross-account readiness authorization. This lets you authorize another account to work with Route 53 Application Recovery Controller, for example, to check the readiness status of resources in a separate account.
This is a convenience which creates an instance of the
CreateCrossAccountAuthorizationRequest.Builder
avoiding the need to create one manually viaCreateCrossAccountAuthorizationRequest.builder()
- Parameters:
createCrossAccountAuthorizationRequest
- AConsumer
that will call methods onCreateCrossAccountAuthorizationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateCrossAccountAuthorization operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- ConflictException 409 response - Conflict exception. You might be using a predefined variable.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createReadinessCheck
default CompletableFuture<CreateReadinessCheckResponse> createReadinessCheck(CreateReadinessCheckRequest createReadinessCheckRequest) Creates a readiness check in an account. A readiness check monitors a resource set in your application, such as a set of Amazon Aurora instances, that Application Recovery Controller is auditing recovery readiness for. The audits run once every minute on every resource that's associated with a readiness check.
- Parameters:
createReadinessCheckRequest
-- Returns:
- A Java Future containing the result of the CreateReadinessCheck operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- ConflictException 409 response - Conflict exception. You might be using a predefined variable.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createReadinessCheck
default CompletableFuture<CreateReadinessCheckResponse> createReadinessCheck(Consumer<CreateReadinessCheckRequest.Builder> createReadinessCheckRequest) Creates a readiness check in an account. A readiness check monitors a resource set in your application, such as a set of Amazon Aurora instances, that Application Recovery Controller is auditing recovery readiness for. The audits run once every minute on every resource that's associated with a readiness check.
This is a convenience which creates an instance of the
CreateReadinessCheckRequest.Builder
avoiding the need to create one manually viaCreateReadinessCheckRequest.builder()
- Parameters:
createReadinessCheckRequest
- AConsumer
that will call methods onCreateReadinessCheckRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateReadinessCheck operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- ConflictException 409 response - Conflict exception. You might be using a predefined variable.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createRecoveryGroup
default CompletableFuture<CreateRecoveryGroupResponse> createRecoveryGroup(CreateRecoveryGroupRequest createRecoveryGroupRequest) Creates a recovery group in an account. A recovery group corresponds to an application and includes a list of the cells that make up the application.
- Parameters:
createRecoveryGroupRequest
-- Returns:
- A Java Future containing the result of the CreateRecoveryGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- ConflictException 409 response - Conflict exception. You might be using a predefined variable.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createRecoveryGroup
default CompletableFuture<CreateRecoveryGroupResponse> createRecoveryGroup(Consumer<CreateRecoveryGroupRequest.Builder> createRecoveryGroupRequest) Creates a recovery group in an account. A recovery group corresponds to an application and includes a list of the cells that make up the application.
This is a convenience which creates an instance of the
CreateRecoveryGroupRequest.Builder
avoiding the need to create one manually viaCreateRecoveryGroupRequest.builder()
- Parameters:
createRecoveryGroupRequest
- AConsumer
that will call methods onCreateRecoveryGroupRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateRecoveryGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- ConflictException 409 response - Conflict exception. You might be using a predefined variable.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createResourceSet
default CompletableFuture<CreateResourceSetResponse> createResourceSet(CreateResourceSetRequest createResourceSetRequest) Creates a resource set. A resource set is a set of resources of one type that span multiple cells. You can associate a resource set with a readiness check to monitor the resources for failover readiness.
- Parameters:
createResourceSetRequest
-- Returns:
- A Java Future containing the result of the CreateResourceSet operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- ConflictException 409 response - Conflict exception. You might be using a predefined variable.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createResourceSet
default CompletableFuture<CreateResourceSetResponse> createResourceSet(Consumer<CreateResourceSetRequest.Builder> createResourceSetRequest) Creates a resource set. A resource set is a set of resources of one type that span multiple cells. You can associate a resource set with a readiness check to monitor the resources for failover readiness.
This is a convenience which creates an instance of the
CreateResourceSetRequest.Builder
avoiding the need to create one manually viaCreateResourceSetRequest.builder()
- Parameters:
createResourceSetRequest
- AConsumer
that will call methods onCreateResourceSetRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateResourceSet operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- ConflictException 409 response - Conflict exception. You might be using a predefined variable.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteCell
Delete a cell. When successful, the response code is 204, with no response body.
- Parameters:
deleteCellRequest
-- Returns:
- A Java Future containing the result of the DeleteCell operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteCell
default CompletableFuture<DeleteCellResponse> deleteCell(Consumer<DeleteCellRequest.Builder> deleteCellRequest) Delete a cell. When successful, the response code is 204, with no response body.
This is a convenience which creates an instance of the
DeleteCellRequest.Builder
avoiding the need to create one manually viaDeleteCellRequest.builder()
- Parameters:
deleteCellRequest
- AConsumer
that will call methods onDeleteCellRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteCell operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteCrossAccountAuthorization
default CompletableFuture<DeleteCrossAccountAuthorizationResponse> deleteCrossAccountAuthorization(DeleteCrossAccountAuthorizationRequest deleteCrossAccountAuthorizationRequest) Deletes cross account readiness authorization.
- Parameters:
deleteCrossAccountAuthorizationRequest
-- Returns:
- A Java Future containing the result of the DeleteCrossAccountAuthorization operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteCrossAccountAuthorization
default CompletableFuture<DeleteCrossAccountAuthorizationResponse> deleteCrossAccountAuthorization(Consumer<DeleteCrossAccountAuthorizationRequest.Builder> deleteCrossAccountAuthorizationRequest) Deletes cross account readiness authorization.
This is a convenience which creates an instance of the
DeleteCrossAccountAuthorizationRequest.Builder
avoiding the need to create one manually viaDeleteCrossAccountAuthorizationRequest.builder()
- Parameters:
deleteCrossAccountAuthorizationRequest
- AConsumer
that will call methods onDeleteCrossAccountAuthorizationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteCrossAccountAuthorization operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteReadinessCheck
default CompletableFuture<DeleteReadinessCheckResponse> deleteReadinessCheck(DeleteReadinessCheckRequest deleteReadinessCheckRequest) Deletes a readiness check.
- Parameters:
deleteReadinessCheckRequest
-- Returns:
- A Java Future containing the result of the DeleteReadinessCheck operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteReadinessCheck
default CompletableFuture<DeleteReadinessCheckResponse> deleteReadinessCheck(Consumer<DeleteReadinessCheckRequest.Builder> deleteReadinessCheckRequest) Deletes a readiness check.
This is a convenience which creates an instance of the
DeleteReadinessCheckRequest.Builder
avoiding the need to create one manually viaDeleteReadinessCheckRequest.builder()
- Parameters:
deleteReadinessCheckRequest
- AConsumer
that will call methods onDeleteReadinessCheckRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteReadinessCheck operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteRecoveryGroup
default CompletableFuture<DeleteRecoveryGroupResponse> deleteRecoveryGroup(DeleteRecoveryGroupRequest deleteRecoveryGroupRequest) Deletes a recovery group.
- Parameters:
deleteRecoveryGroupRequest
-- Returns:
- A Java Future containing the result of the DeleteRecoveryGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteRecoveryGroup
default CompletableFuture<DeleteRecoveryGroupResponse> deleteRecoveryGroup(Consumer<DeleteRecoveryGroupRequest.Builder> deleteRecoveryGroupRequest) Deletes a recovery group.
This is a convenience which creates an instance of the
DeleteRecoveryGroupRequest.Builder
avoiding the need to create one manually viaDeleteRecoveryGroupRequest.builder()
- Parameters:
deleteRecoveryGroupRequest
- AConsumer
that will call methods onDeleteRecoveryGroupRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteRecoveryGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteResourceSet
default CompletableFuture<DeleteResourceSetResponse> deleteResourceSet(DeleteResourceSetRequest deleteResourceSetRequest) Deletes a resource set.
- Parameters:
deleteResourceSetRequest
-- Returns:
- A Java Future containing the result of the DeleteResourceSet operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteResourceSet
default CompletableFuture<DeleteResourceSetResponse> deleteResourceSet(Consumer<DeleteResourceSetRequest.Builder> deleteResourceSetRequest) Deletes a resource set.
This is a convenience which creates an instance of the
DeleteResourceSetRequest.Builder
avoiding the need to create one manually viaDeleteResourceSetRequest.builder()
- Parameters:
deleteResourceSetRequest
- AConsumer
that will call methods onDeleteResourceSetRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteResourceSet operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getArchitectureRecommendations
default CompletableFuture<GetArchitectureRecommendationsResponse> getArchitectureRecommendations(GetArchitectureRecommendationsRequest getArchitectureRecommendationsRequest) Gets recommendations about architecture designs for improving resiliency for an application, based on a recovery group.
- Parameters:
getArchitectureRecommendationsRequest
-- Returns:
- A Java Future containing the result of the GetArchitectureRecommendations operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getArchitectureRecommendations
default CompletableFuture<GetArchitectureRecommendationsResponse> getArchitectureRecommendations(Consumer<GetArchitectureRecommendationsRequest.Builder> getArchitectureRecommendationsRequest) Gets recommendations about architecture designs for improving resiliency for an application, based on a recovery group.
This is a convenience which creates an instance of the
GetArchitectureRecommendationsRequest.Builder
avoiding the need to create one manually viaGetArchitectureRecommendationsRequest.builder()
- Parameters:
getArchitectureRecommendationsRequest
- AConsumer
that will call methods onGetArchitectureRecommendationsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetArchitectureRecommendations operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getCell
Gets information about a cell including cell name, cell Amazon Resource Name (ARN), ARNs of nested cells for this cell, and a list of those cell ARNs with their associated recovery group ARNs.
- Parameters:
getCellRequest
-- Returns:
- A Java Future containing the result of the GetCell operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getCell
Gets information about a cell including cell name, cell Amazon Resource Name (ARN), ARNs of nested cells for this cell, and a list of those cell ARNs with their associated recovery group ARNs.
This is a convenience which creates an instance of the
GetCellRequest.Builder
avoiding the need to create one manually viaGetCellRequest.builder()
- Parameters:
getCellRequest
- AConsumer
that will call methods onGetCellRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetCell operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getCellReadinessSummary
default CompletableFuture<GetCellReadinessSummaryResponse> getCellReadinessSummary(GetCellReadinessSummaryRequest getCellReadinessSummaryRequest) Gets readiness for a cell. Aggregates the readiness of all the resources that are associated with the cell into a single value.
- Parameters:
getCellReadinessSummaryRequest
-- Returns:
- A Java Future containing the result of the GetCellReadinessSummary operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getCellReadinessSummary
default CompletableFuture<GetCellReadinessSummaryResponse> getCellReadinessSummary(Consumer<GetCellReadinessSummaryRequest.Builder> getCellReadinessSummaryRequest) Gets readiness for a cell. Aggregates the readiness of all the resources that are associated with the cell into a single value.
This is a convenience which creates an instance of the
GetCellReadinessSummaryRequest.Builder
avoiding the need to create one manually viaGetCellReadinessSummaryRequest.builder()
- Parameters:
getCellReadinessSummaryRequest
- AConsumer
that will call methods onGetCellReadinessSummaryRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetCellReadinessSummary operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getCellReadinessSummaryPaginator
default GetCellReadinessSummaryPublisher getCellReadinessSummaryPaginator(GetCellReadinessSummaryRequest getCellReadinessSummaryRequest) This is a variant of
getCellReadinessSummary(software.amazon.awssdk.services.route53recoveryreadiness.model.GetCellReadinessSummaryRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.GetCellReadinessSummaryPublisher publisher = client.getCellReadinessSummaryPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetCellReadinessSummaryPublisher publisher = client.getCellReadinessSummaryPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoveryreadiness.model.GetCellReadinessSummaryResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.route53recoveryreadiness.model.GetCellReadinessSummaryResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getCellReadinessSummary(software.amazon.awssdk.services.route53recoveryreadiness.model.GetCellReadinessSummaryRequest)
operation.- Parameters:
getCellReadinessSummaryRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getCellReadinessSummaryPaginator
default GetCellReadinessSummaryPublisher getCellReadinessSummaryPaginator(Consumer<GetCellReadinessSummaryRequest.Builder> getCellReadinessSummaryRequest) This is a variant of
getCellReadinessSummary(software.amazon.awssdk.services.route53recoveryreadiness.model.GetCellReadinessSummaryRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.GetCellReadinessSummaryPublisher publisher = client.getCellReadinessSummaryPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetCellReadinessSummaryPublisher publisher = client.getCellReadinessSummaryPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoveryreadiness.model.GetCellReadinessSummaryResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.route53recoveryreadiness.model.GetCellReadinessSummaryResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getCellReadinessSummary(software.amazon.awssdk.services.route53recoveryreadiness.model.GetCellReadinessSummaryRequest)
operation.
This is a convenience which creates an instance of the
GetCellReadinessSummaryRequest.Builder
avoiding the need to create one manually viaGetCellReadinessSummaryRequest.builder()
- Parameters:
getCellReadinessSummaryRequest
- AConsumer
that will call methods onGetCellReadinessSummaryRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getReadinessCheck
default CompletableFuture<GetReadinessCheckResponse> getReadinessCheck(GetReadinessCheckRequest getReadinessCheckRequest) Gets details about a readiness check.
- Parameters:
getReadinessCheckRequest
-- Returns:
- A Java Future containing the result of the GetReadinessCheck operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getReadinessCheck
default CompletableFuture<GetReadinessCheckResponse> getReadinessCheck(Consumer<GetReadinessCheckRequest.Builder> getReadinessCheckRequest) Gets details about a readiness check.
This is a convenience which creates an instance of the
GetReadinessCheckRequest.Builder
avoiding the need to create one manually viaGetReadinessCheckRequest.builder()
- Parameters:
getReadinessCheckRequest
- AConsumer
that will call methods onGetReadinessCheckRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetReadinessCheck operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getReadinessCheckResourceStatus
default CompletableFuture<GetReadinessCheckResourceStatusResponse> getReadinessCheckResourceStatus(GetReadinessCheckResourceStatusRequest getReadinessCheckResourceStatusRequest) Gets individual readiness status for a readiness check. To see the overall readiness status for a recovery group, that considers the readiness status for all the readiness checks in the recovery group, use GetRecoveryGroupReadinessSummary.
- Parameters:
getReadinessCheckResourceStatusRequest
-- Returns:
- A Java Future containing the result of the GetReadinessCheckResourceStatus operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getReadinessCheckResourceStatus
default CompletableFuture<GetReadinessCheckResourceStatusResponse> getReadinessCheckResourceStatus(Consumer<GetReadinessCheckResourceStatusRequest.Builder> getReadinessCheckResourceStatusRequest) Gets individual readiness status for a readiness check. To see the overall readiness status for a recovery group, that considers the readiness status for all the readiness checks in the recovery group, use GetRecoveryGroupReadinessSummary.
This is a convenience which creates an instance of the
GetReadinessCheckResourceStatusRequest.Builder
avoiding the need to create one manually viaGetReadinessCheckResourceStatusRequest.builder()
- Parameters:
getReadinessCheckResourceStatusRequest
- AConsumer
that will call methods onGetReadinessCheckResourceStatusRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetReadinessCheckResourceStatus operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getReadinessCheckResourceStatusPaginator
default GetReadinessCheckResourceStatusPublisher getReadinessCheckResourceStatusPaginator(GetReadinessCheckResourceStatusRequest getReadinessCheckResourceStatusRequest) This is a variant of
getReadinessCheckResourceStatus(software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckResourceStatusRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.GetReadinessCheckResourceStatusPublisher publisher = client.getReadinessCheckResourceStatusPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetReadinessCheckResourceStatusPublisher publisher = client.getReadinessCheckResourceStatusPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckResourceStatusResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckResourceStatusResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getReadinessCheckResourceStatus(software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckResourceStatusRequest)
operation.- Parameters:
getReadinessCheckResourceStatusRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getReadinessCheckResourceStatusPaginator
default GetReadinessCheckResourceStatusPublisher getReadinessCheckResourceStatusPaginator(Consumer<GetReadinessCheckResourceStatusRequest.Builder> getReadinessCheckResourceStatusRequest) This is a variant of
getReadinessCheckResourceStatus(software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckResourceStatusRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.GetReadinessCheckResourceStatusPublisher publisher = client.getReadinessCheckResourceStatusPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetReadinessCheckResourceStatusPublisher publisher = client.getReadinessCheckResourceStatusPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckResourceStatusResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckResourceStatusResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getReadinessCheckResourceStatus(software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckResourceStatusRequest)
operation.
This is a convenience which creates an instance of the
GetReadinessCheckResourceStatusRequest.Builder
avoiding the need to create one manually viaGetReadinessCheckResourceStatusRequest.builder()
- Parameters:
getReadinessCheckResourceStatusRequest
- AConsumer
that will call methods onGetReadinessCheckResourceStatusRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getReadinessCheckStatus
default CompletableFuture<GetReadinessCheckStatusResponse> getReadinessCheckStatus(GetReadinessCheckStatusRequest getReadinessCheckStatusRequest) Gets the readiness status for an individual readiness check. To see the overall readiness status for a recovery group, that considers the readiness status for all the readiness checks in a recovery group, use GetRecoveryGroupReadinessSummary.
- Parameters:
getReadinessCheckStatusRequest
-- Returns:
- A Java Future containing the result of the GetReadinessCheckStatus operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getReadinessCheckStatus
default CompletableFuture<GetReadinessCheckStatusResponse> getReadinessCheckStatus(Consumer<GetReadinessCheckStatusRequest.Builder> getReadinessCheckStatusRequest) Gets the readiness status for an individual readiness check. To see the overall readiness status for a recovery group, that considers the readiness status for all the readiness checks in a recovery group, use GetRecoveryGroupReadinessSummary.
This is a convenience which creates an instance of the
GetReadinessCheckStatusRequest.Builder
avoiding the need to create one manually viaGetReadinessCheckStatusRequest.builder()
- Parameters:
getReadinessCheckStatusRequest
- AConsumer
that will call methods onGetReadinessCheckStatusRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetReadinessCheckStatus operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getReadinessCheckStatusPaginator
default GetReadinessCheckStatusPublisher getReadinessCheckStatusPaginator(GetReadinessCheckStatusRequest getReadinessCheckStatusRequest) This is a variant of
getReadinessCheckStatus(software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckStatusRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.GetReadinessCheckStatusPublisher publisher = client.getReadinessCheckStatusPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetReadinessCheckStatusPublisher publisher = client.getReadinessCheckStatusPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckStatusResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckStatusResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getReadinessCheckStatus(software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckStatusRequest)
operation.- Parameters:
getReadinessCheckStatusRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getReadinessCheckStatusPaginator
default GetReadinessCheckStatusPublisher getReadinessCheckStatusPaginator(Consumer<GetReadinessCheckStatusRequest.Builder> getReadinessCheckStatusRequest) This is a variant of
getReadinessCheckStatus(software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckStatusRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.GetReadinessCheckStatusPublisher publisher = client.getReadinessCheckStatusPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetReadinessCheckStatusPublisher publisher = client.getReadinessCheckStatusPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckStatusResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckStatusResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getReadinessCheckStatus(software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckStatusRequest)
operation.
This is a convenience which creates an instance of the
GetReadinessCheckStatusRequest.Builder
avoiding the need to create one manually viaGetReadinessCheckStatusRequest.builder()
- Parameters:
getReadinessCheckStatusRequest
- AConsumer
that will call methods onGetReadinessCheckStatusRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getRecoveryGroup
default CompletableFuture<GetRecoveryGroupResponse> getRecoveryGroup(GetRecoveryGroupRequest getRecoveryGroupRequest) Gets details about a recovery group, including a list of the cells that are included in it.
- Parameters:
getRecoveryGroupRequest
-- Returns:
- A Java Future containing the result of the GetRecoveryGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getRecoveryGroup
default CompletableFuture<GetRecoveryGroupResponse> getRecoveryGroup(Consumer<GetRecoveryGroupRequest.Builder> getRecoveryGroupRequest) Gets details about a recovery group, including a list of the cells that are included in it.
This is a convenience which creates an instance of the
GetRecoveryGroupRequest.Builder
avoiding the need to create one manually viaGetRecoveryGroupRequest.builder()
- Parameters:
getRecoveryGroupRequest
- AConsumer
that will call methods onGetRecoveryGroupRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetRecoveryGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getRecoveryGroupReadinessSummary
default CompletableFuture<GetRecoveryGroupReadinessSummaryResponse> getRecoveryGroupReadinessSummary(GetRecoveryGroupReadinessSummaryRequest getRecoveryGroupReadinessSummaryRequest) Displays a summary of information about a recovery group's readiness status. Includes the readiness checks for resources in the recovery group and the readiness status of each one.
- Parameters:
getRecoveryGroupReadinessSummaryRequest
-- Returns:
- A Java Future containing the result of the GetRecoveryGroupReadinessSummary operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getRecoveryGroupReadinessSummary
default CompletableFuture<GetRecoveryGroupReadinessSummaryResponse> getRecoveryGroupReadinessSummary(Consumer<GetRecoveryGroupReadinessSummaryRequest.Builder> getRecoveryGroupReadinessSummaryRequest) Displays a summary of information about a recovery group's readiness status. Includes the readiness checks for resources in the recovery group and the readiness status of each one.
This is a convenience which creates an instance of the
GetRecoveryGroupReadinessSummaryRequest.Builder
avoiding the need to create one manually viaGetRecoveryGroupReadinessSummaryRequest.builder()
- Parameters:
getRecoveryGroupReadinessSummaryRequest
- AConsumer
that will call methods onGetRecoveryGroupReadinessSummaryRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetRecoveryGroupReadinessSummary operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getRecoveryGroupReadinessSummaryPaginator
default GetRecoveryGroupReadinessSummaryPublisher getRecoveryGroupReadinessSummaryPaginator(GetRecoveryGroupReadinessSummaryRequest getRecoveryGroupReadinessSummaryRequest) This is a variant of
getRecoveryGroupReadinessSummary(software.amazon.awssdk.services.route53recoveryreadiness.model.GetRecoveryGroupReadinessSummaryRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.GetRecoveryGroupReadinessSummaryPublisher publisher = client.getRecoveryGroupReadinessSummaryPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetRecoveryGroupReadinessSummaryPublisher publisher = client.getRecoveryGroupReadinessSummaryPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoveryreadiness.model.GetRecoveryGroupReadinessSummaryResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.route53recoveryreadiness.model.GetRecoveryGroupReadinessSummaryResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getRecoveryGroupReadinessSummary(software.amazon.awssdk.services.route53recoveryreadiness.model.GetRecoveryGroupReadinessSummaryRequest)
operation.- Parameters:
getRecoveryGroupReadinessSummaryRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getRecoveryGroupReadinessSummaryPaginator
default GetRecoveryGroupReadinessSummaryPublisher getRecoveryGroupReadinessSummaryPaginator(Consumer<GetRecoveryGroupReadinessSummaryRequest.Builder> getRecoveryGroupReadinessSummaryRequest) This is a variant of
getRecoveryGroupReadinessSummary(software.amazon.awssdk.services.route53recoveryreadiness.model.GetRecoveryGroupReadinessSummaryRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.GetRecoveryGroupReadinessSummaryPublisher publisher = client.getRecoveryGroupReadinessSummaryPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetRecoveryGroupReadinessSummaryPublisher publisher = client.getRecoveryGroupReadinessSummaryPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoveryreadiness.model.GetRecoveryGroupReadinessSummaryResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.route53recoveryreadiness.model.GetRecoveryGroupReadinessSummaryResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getRecoveryGroupReadinessSummary(software.amazon.awssdk.services.route53recoveryreadiness.model.GetRecoveryGroupReadinessSummaryRequest)
operation.
This is a convenience which creates an instance of the
GetRecoveryGroupReadinessSummaryRequest.Builder
avoiding the need to create one manually viaGetRecoveryGroupReadinessSummaryRequest.builder()
- Parameters:
getRecoveryGroupReadinessSummaryRequest
- AConsumer
that will call methods onGetRecoveryGroupReadinessSummaryRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getResourceSet
default CompletableFuture<GetResourceSetResponse> getResourceSet(GetResourceSetRequest getResourceSetRequest) Displays the details about a resource set, including a list of the resources in the set.
- Parameters:
getResourceSetRequest
-- Returns:
- A Java Future containing the result of the GetResourceSet operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getResourceSet
default CompletableFuture<GetResourceSetResponse> getResourceSet(Consumer<GetResourceSetRequest.Builder> getResourceSetRequest) Displays the details about a resource set, including a list of the resources in the set.
This is a convenience which creates an instance of the
GetResourceSetRequest.Builder
avoiding the need to create one manually viaGetResourceSetRequest.builder()
- Parameters:
getResourceSetRequest
- AConsumer
that will call methods onGetResourceSetRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetResourceSet operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCells
Lists the cells for an account.
- Parameters:
listCellsRequest
-- Returns:
- A Java Future containing the result of the ListCells operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCells
default CompletableFuture<ListCellsResponse> listCells(Consumer<ListCellsRequest.Builder> listCellsRequest) Lists the cells for an account.
This is a convenience which creates an instance of the
ListCellsRequest.Builder
avoiding the need to create one manually viaListCellsRequest.builder()
- Parameters:
listCellsRequest
- AConsumer
that will call methods onListCellsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListCells operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCellsPaginator
This is a variant of
listCells(software.amazon.awssdk.services.route53recoveryreadiness.model.ListCellsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.ListCellsPublisher publisher = client.listCellsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListCellsPublisher publisher = client.listCellsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoveryreadiness.model.ListCellsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.route53recoveryreadiness.model.ListCellsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCells(software.amazon.awssdk.services.route53recoveryreadiness.model.ListCellsRequest)
operation.- Parameters:
listCellsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCellsPaginator
This is a variant of
listCells(software.amazon.awssdk.services.route53recoveryreadiness.model.ListCellsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.ListCellsPublisher publisher = client.listCellsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListCellsPublisher publisher = client.listCellsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoveryreadiness.model.ListCellsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.route53recoveryreadiness.model.ListCellsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCells(software.amazon.awssdk.services.route53recoveryreadiness.model.ListCellsRequest)
operation.
This is a convenience which creates an instance of the
ListCellsRequest.Builder
avoiding the need to create one manually viaListCellsRequest.builder()
- Parameters:
listCellsRequest
- AConsumer
that will call methods onListCellsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCrossAccountAuthorizations
default CompletableFuture<ListCrossAccountAuthorizationsResponse> listCrossAccountAuthorizations(ListCrossAccountAuthorizationsRequest listCrossAccountAuthorizationsRequest) Lists the cross-account readiness authorizations that are in place for an account.
- Parameters:
listCrossAccountAuthorizationsRequest
-- Returns:
- A Java Future containing the result of the ListCrossAccountAuthorizations operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCrossAccountAuthorizations
default CompletableFuture<ListCrossAccountAuthorizationsResponse> listCrossAccountAuthorizations(Consumer<ListCrossAccountAuthorizationsRequest.Builder> listCrossAccountAuthorizationsRequest) Lists the cross-account readiness authorizations that are in place for an account.
This is a convenience which creates an instance of the
ListCrossAccountAuthorizationsRequest.Builder
avoiding the need to create one manually viaListCrossAccountAuthorizationsRequest.builder()
- Parameters:
listCrossAccountAuthorizationsRequest
- AConsumer
that will call methods onListCrossAccountAuthorizationsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListCrossAccountAuthorizations operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCrossAccountAuthorizationsPaginator
default ListCrossAccountAuthorizationsPublisher listCrossAccountAuthorizationsPaginator(ListCrossAccountAuthorizationsRequest listCrossAccountAuthorizationsRequest) This is a variant of
listCrossAccountAuthorizations(software.amazon.awssdk.services.route53recoveryreadiness.model.ListCrossAccountAuthorizationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.ListCrossAccountAuthorizationsPublisher publisher = client.listCrossAccountAuthorizationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListCrossAccountAuthorizationsPublisher publisher = client.listCrossAccountAuthorizationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoveryreadiness.model.ListCrossAccountAuthorizationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.route53recoveryreadiness.model.ListCrossAccountAuthorizationsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCrossAccountAuthorizations(software.amazon.awssdk.services.route53recoveryreadiness.model.ListCrossAccountAuthorizationsRequest)
operation.- Parameters:
listCrossAccountAuthorizationsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCrossAccountAuthorizationsPaginator
default ListCrossAccountAuthorizationsPublisher listCrossAccountAuthorizationsPaginator(Consumer<ListCrossAccountAuthorizationsRequest.Builder> listCrossAccountAuthorizationsRequest) This is a variant of
listCrossAccountAuthorizations(software.amazon.awssdk.services.route53recoveryreadiness.model.ListCrossAccountAuthorizationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.ListCrossAccountAuthorizationsPublisher publisher = client.listCrossAccountAuthorizationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListCrossAccountAuthorizationsPublisher publisher = client.listCrossAccountAuthorizationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoveryreadiness.model.ListCrossAccountAuthorizationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.route53recoveryreadiness.model.ListCrossAccountAuthorizationsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCrossAccountAuthorizations(software.amazon.awssdk.services.route53recoveryreadiness.model.ListCrossAccountAuthorizationsRequest)
operation.
This is a convenience which creates an instance of the
ListCrossAccountAuthorizationsRequest.Builder
avoiding the need to create one manually viaListCrossAccountAuthorizationsRequest.builder()
- Parameters:
listCrossAccountAuthorizationsRequest
- AConsumer
that will call methods onListCrossAccountAuthorizationsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listReadinessChecks
default CompletableFuture<ListReadinessChecksResponse> listReadinessChecks(ListReadinessChecksRequest listReadinessChecksRequest) Lists the readiness checks for an account.
- Parameters:
listReadinessChecksRequest
-- Returns:
- A Java Future containing the result of the ListReadinessChecks operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listReadinessChecks
default CompletableFuture<ListReadinessChecksResponse> listReadinessChecks(Consumer<ListReadinessChecksRequest.Builder> listReadinessChecksRequest) Lists the readiness checks for an account.
This is a convenience which creates an instance of the
ListReadinessChecksRequest.Builder
avoiding the need to create one manually viaListReadinessChecksRequest.builder()
- Parameters:
listReadinessChecksRequest
- AConsumer
that will call methods onListReadinessChecksRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListReadinessChecks operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listReadinessChecksPaginator
default ListReadinessChecksPublisher listReadinessChecksPaginator(ListReadinessChecksRequest listReadinessChecksRequest) This is a variant of
listReadinessChecks(software.amazon.awssdk.services.route53recoveryreadiness.model.ListReadinessChecksRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.ListReadinessChecksPublisher publisher = client.listReadinessChecksPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListReadinessChecksPublisher publisher = client.listReadinessChecksPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoveryreadiness.model.ListReadinessChecksResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.route53recoveryreadiness.model.ListReadinessChecksResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listReadinessChecks(software.amazon.awssdk.services.route53recoveryreadiness.model.ListReadinessChecksRequest)
operation.- Parameters:
listReadinessChecksRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listReadinessChecksPaginator
default ListReadinessChecksPublisher listReadinessChecksPaginator(Consumer<ListReadinessChecksRequest.Builder> listReadinessChecksRequest) This is a variant of
listReadinessChecks(software.amazon.awssdk.services.route53recoveryreadiness.model.ListReadinessChecksRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.ListReadinessChecksPublisher publisher = client.listReadinessChecksPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListReadinessChecksPublisher publisher = client.listReadinessChecksPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoveryreadiness.model.ListReadinessChecksResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.route53recoveryreadiness.model.ListReadinessChecksResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listReadinessChecks(software.amazon.awssdk.services.route53recoveryreadiness.model.ListReadinessChecksRequest)
operation.
This is a convenience which creates an instance of the
ListReadinessChecksRequest.Builder
avoiding the need to create one manually viaListReadinessChecksRequest.builder()
- Parameters:
listReadinessChecksRequest
- AConsumer
that will call methods onListReadinessChecksRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRecoveryGroups
default CompletableFuture<ListRecoveryGroupsResponse> listRecoveryGroups(ListRecoveryGroupsRequest listRecoveryGroupsRequest) Lists the recovery groups in an account.
- Parameters:
listRecoveryGroupsRequest
-- Returns:
- A Java Future containing the result of the ListRecoveryGroups operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRecoveryGroups
default CompletableFuture<ListRecoveryGroupsResponse> listRecoveryGroups(Consumer<ListRecoveryGroupsRequest.Builder> listRecoveryGroupsRequest) Lists the recovery groups in an account.
This is a convenience which creates an instance of the
ListRecoveryGroupsRequest.Builder
avoiding the need to create one manually viaListRecoveryGroupsRequest.builder()
- Parameters:
listRecoveryGroupsRequest
- AConsumer
that will call methods onListRecoveryGroupsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListRecoveryGroups operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRecoveryGroupsPaginator
default ListRecoveryGroupsPublisher listRecoveryGroupsPaginator(ListRecoveryGroupsRequest listRecoveryGroupsRequest) This is a variant of
listRecoveryGroups(software.amazon.awssdk.services.route53recoveryreadiness.model.ListRecoveryGroupsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.ListRecoveryGroupsPublisher publisher = client.listRecoveryGroupsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListRecoveryGroupsPublisher publisher = client.listRecoveryGroupsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoveryreadiness.model.ListRecoveryGroupsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.route53recoveryreadiness.model.ListRecoveryGroupsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRecoveryGroups(software.amazon.awssdk.services.route53recoveryreadiness.model.ListRecoveryGroupsRequest)
operation.- Parameters:
listRecoveryGroupsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRecoveryGroupsPaginator
default ListRecoveryGroupsPublisher listRecoveryGroupsPaginator(Consumer<ListRecoveryGroupsRequest.Builder> listRecoveryGroupsRequest) This is a variant of
listRecoveryGroups(software.amazon.awssdk.services.route53recoveryreadiness.model.ListRecoveryGroupsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.ListRecoveryGroupsPublisher publisher = client.listRecoveryGroupsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListRecoveryGroupsPublisher publisher = client.listRecoveryGroupsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoveryreadiness.model.ListRecoveryGroupsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.route53recoveryreadiness.model.ListRecoveryGroupsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRecoveryGroups(software.amazon.awssdk.services.route53recoveryreadiness.model.ListRecoveryGroupsRequest)
operation.
This is a convenience which creates an instance of the
ListRecoveryGroupsRequest.Builder
avoiding the need to create one manually viaListRecoveryGroupsRequest.builder()
- Parameters:
listRecoveryGroupsRequest
- AConsumer
that will call methods onListRecoveryGroupsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listResourceSets
default CompletableFuture<ListResourceSetsResponse> listResourceSets(ListResourceSetsRequest listResourceSetsRequest) Lists the resource sets in an account.
- Parameters:
listResourceSetsRequest
-- Returns:
- A Java Future containing the result of the ListResourceSets operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listResourceSets
default CompletableFuture<ListResourceSetsResponse> listResourceSets(Consumer<ListResourceSetsRequest.Builder> listResourceSetsRequest) Lists the resource sets in an account.
This is a convenience which creates an instance of the
ListResourceSetsRequest.Builder
avoiding the need to create one manually viaListResourceSetsRequest.builder()
- Parameters:
listResourceSetsRequest
- AConsumer
that will call methods onListResourceSetsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListResourceSets operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listResourceSetsPaginator
default ListResourceSetsPublisher listResourceSetsPaginator(ListResourceSetsRequest listResourceSetsRequest) This is a variant of
listResourceSets(software.amazon.awssdk.services.route53recoveryreadiness.model.ListResourceSetsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.ListResourceSetsPublisher publisher = client.listResourceSetsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListResourceSetsPublisher publisher = client.listResourceSetsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoveryreadiness.model.ListResourceSetsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.route53recoveryreadiness.model.ListResourceSetsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listResourceSets(software.amazon.awssdk.services.route53recoveryreadiness.model.ListResourceSetsRequest)
operation.- Parameters:
listResourceSetsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listResourceSetsPaginator
default ListResourceSetsPublisher listResourceSetsPaginator(Consumer<ListResourceSetsRequest.Builder> listResourceSetsRequest) This is a variant of
listResourceSets(software.amazon.awssdk.services.route53recoveryreadiness.model.ListResourceSetsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.ListResourceSetsPublisher publisher = client.listResourceSetsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListResourceSetsPublisher publisher = client.listResourceSetsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoveryreadiness.model.ListResourceSetsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.route53recoveryreadiness.model.ListResourceSetsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listResourceSets(software.amazon.awssdk.services.route53recoveryreadiness.model.ListResourceSetsRequest)
operation.
This is a convenience which creates an instance of the
ListResourceSetsRequest.Builder
avoiding the need to create one manually viaListResourceSetsRequest.builder()
- Parameters:
listResourceSetsRequest
- AConsumer
that will call methods onListResourceSetsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRules
Lists all readiness rules, or lists the readiness rules for a specific resource type.
- Parameters:
listRulesRequest
-- Returns:
- A Java Future containing the result of the ListRules operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRules
default CompletableFuture<ListRulesResponse> listRules(Consumer<ListRulesRequest.Builder> listRulesRequest) Lists all readiness rules, or lists the readiness rules for a specific resource type.
This is a convenience which creates an instance of the
ListRulesRequest.Builder
avoiding the need to create one manually viaListRulesRequest.builder()
- Parameters:
listRulesRequest
- AConsumer
that will call methods onListRulesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListRules operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRulesPaginator
This is a variant of
listRules(software.amazon.awssdk.services.route53recoveryreadiness.model.ListRulesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.ListRulesPublisher publisher = client.listRulesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListRulesPublisher publisher = client.listRulesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoveryreadiness.model.ListRulesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.route53recoveryreadiness.model.ListRulesResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRules(software.amazon.awssdk.services.route53recoveryreadiness.model.ListRulesRequest)
operation.- Parameters:
listRulesRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRulesPaginator
This is a variant of
listRules(software.amazon.awssdk.services.route53recoveryreadiness.model.ListRulesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.ListRulesPublisher publisher = client.listRulesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListRulesPublisher publisher = client.listRulesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoveryreadiness.model.ListRulesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.route53recoveryreadiness.model.ListRulesResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRules(software.amazon.awssdk.services.route53recoveryreadiness.model.ListRulesRequest)
operation.
This is a convenience which creates an instance of the
ListRulesRequest.Builder
avoiding the need to create one manually viaListRulesRequest.builder()
- Parameters:
listRulesRequest
- AConsumer
that will call methods onListRulesRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResources
default CompletableFuture<ListTagsForResourcesResponse> listTagsForResources(ListTagsForResourcesRequest listTagsForResourcesRequest) Lists the tags for a resource.
- Parameters:
listTagsForResourcesRequest
-- Returns:
- A Java Future containing the result of the ListTagsForResources operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResources
default CompletableFuture<ListTagsForResourcesResponse> listTagsForResources(Consumer<ListTagsForResourcesRequest.Builder> listTagsForResourcesRequest) Lists the tags for a resource.
This is a convenience which creates an instance of the
ListTagsForResourcesRequest.Builder
avoiding the need to create one manually viaListTagsForResourcesRequest.builder()
- Parameters:
listTagsForResourcesRequest
- AConsumer
that will call methods onListTagsForResourcesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListTagsForResources operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
Adds a tag to a resource.
- Parameters:
tagResourceRequest
-- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds a tag to a resource.
This is a convenience which creates an instance of the
TagResourceRequest.Builder
avoiding the need to create one manually viaTagResourceRequest.builder()
- Parameters:
tagResourceRequest
- AConsumer
that will call methods onTagResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Removes a tag from a resource.
- Parameters:
untagResourceRequest
-- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes a tag from a resource.
This is a convenience which creates an instance of the
UntagResourceRequest.Builder
avoiding the need to create one manually viaUntagResourceRequest.builder()
- Parameters:
untagResourceRequest
- AConsumer
that will call methods onUntagResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateCell
Updates a cell to replace the list of nested cells with a new list of nested cells.
- Parameters:
updateCellRequest
-- Returns:
- A Java Future containing the result of the UpdateCell operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateCell
default CompletableFuture<UpdateCellResponse> updateCell(Consumer<UpdateCellRequest.Builder> updateCellRequest) Updates a cell to replace the list of nested cells with a new list of nested cells.
This is a convenience which creates an instance of the
UpdateCellRequest.Builder
avoiding the need to create one manually viaUpdateCellRequest.builder()
- Parameters:
updateCellRequest
- AConsumer
that will call methods onUpdateCellRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateCell operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateReadinessCheck
default CompletableFuture<UpdateReadinessCheckResponse> updateReadinessCheck(UpdateReadinessCheckRequest updateReadinessCheckRequest) Updates a readiness check.
- Parameters:
updateReadinessCheckRequest
- Name of a readiness check to describe.- Returns:
- A Java Future containing the result of the UpdateReadinessCheck operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateReadinessCheck
default CompletableFuture<UpdateReadinessCheckResponse> updateReadinessCheck(Consumer<UpdateReadinessCheckRequest.Builder> updateReadinessCheckRequest) Updates a readiness check.
This is a convenience which creates an instance of the
UpdateReadinessCheckRequest.Builder
avoiding the need to create one manually viaUpdateReadinessCheckRequest.builder()
- Parameters:
updateReadinessCheckRequest
- AConsumer
that will call methods onUpdateReadinessCheckRequest.Builder
to create a request. Name of a readiness check to describe.- Returns:
- A Java Future containing the result of the UpdateReadinessCheck operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateRecoveryGroup
default CompletableFuture<UpdateRecoveryGroupResponse> updateRecoveryGroup(UpdateRecoveryGroupRequest updateRecoveryGroupRequest) Updates a recovery group.
- Parameters:
updateRecoveryGroupRequest
- Name of a recovery group.- Returns:
- A Java Future containing the result of the UpdateRecoveryGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateRecoveryGroup
default CompletableFuture<UpdateRecoveryGroupResponse> updateRecoveryGroup(Consumer<UpdateRecoveryGroupRequest.Builder> updateRecoveryGroupRequest) Updates a recovery group.
This is a convenience which creates an instance of the
UpdateRecoveryGroupRequest.Builder
avoiding the need to create one manually viaUpdateRecoveryGroupRequest.builder()
- Parameters:
updateRecoveryGroupRequest
- AConsumer
that will call methods onUpdateRecoveryGroupRequest.Builder
to create a request. Name of a recovery group.- Returns:
- A Java Future containing the result of the UpdateRecoveryGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateResourceSet
default CompletableFuture<UpdateResourceSetResponse> updateResourceSet(UpdateResourceSetRequest updateResourceSetRequest) Updates a resource set.
- Parameters:
updateResourceSetRequest
- Name of a resource set.- Returns:
- A Java Future containing the result of the UpdateResourceSet operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateResourceSet
default CompletableFuture<UpdateResourceSetResponse> updateResourceSet(Consumer<UpdateResourceSetRequest.Builder> updateResourceSetRequest) Updates a resource set.
This is a convenience which creates an instance of the
UpdateResourceSetRequest.Builder
avoiding the need to create one manually viaUpdateResourceSetRequest.builder()
- Parameters:
updateResourceSetRequest
- AConsumer
that will call methods onUpdateResourceSetRequest.Builder
to create a request. Name of a resource set.- Returns:
- A Java Future containing the result of the UpdateResourceSet operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException 404 response - Malformed query string. The query string contains a syntax error or resource not found.
- ThrottlingException 429 response - Limit exceeded exception or too many requests exception.
- ValidationException 400 response - Multiple causes. For example, you might have a malformed query string, an input parameter might be out of range, or you used parameters together incorrectly.
- InternalServerException 500 response - Internal service error or temporary service error. Retry the request.
- AccessDeniedException 403 response - Access denied exception. You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Route53RecoveryReadinessException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
serviceClientConfiguration
Description copied from interface:SdkClient
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
- Returns:
- SdkServiceClientConfiguration
-
create
Create aRoute53RecoveryReadinessAsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aRoute53RecoveryReadinessAsyncClient
.
-