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
FieldsModifier and TypeFieldDescriptionstatic final StringValue 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 aRoute53RecoveryReadinessAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand 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 GetCellReadinessSummaryPublishergetCellReadinessSummaryPaginator(Consumer<GetCellReadinessSummaryRequest.Builder> getCellReadinessSummaryRequest) This is a variant ofgetCellReadinessSummary(software.amazon.awssdk.services.route53recoveryreadiness.model.GetCellReadinessSummaryRequest)operation.default GetCellReadinessSummaryPublishergetCellReadinessSummaryPaginator(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 GetReadinessCheckStatusPublishergetReadinessCheckStatusPaginator(Consumer<GetReadinessCheckStatusRequest.Builder> getReadinessCheckStatusRequest) This is a variant ofgetReadinessCheckStatus(software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckStatusRequest)operation.default GetReadinessCheckStatusPublishergetReadinessCheckStatusPaginator(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 ListCellsPublisherlistCellsPaginator(Consumer<ListCellsRequest.Builder> listCellsRequest) This is a variant oflistCells(software.amazon.awssdk.services.route53recoveryreadiness.model.ListCellsRequest)operation.default ListCellsPublisherlistCellsPaginator(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 ListReadinessChecksPublisherlistReadinessChecksPaginator(Consumer<ListReadinessChecksRequest.Builder> listReadinessChecksRequest) This is a variant oflistReadinessChecks(software.amazon.awssdk.services.route53recoveryreadiness.model.ListReadinessChecksRequest)operation.default ListReadinessChecksPublisherlistReadinessChecksPaginator(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 ListRecoveryGroupsPublisherlistRecoveryGroupsPaginator(Consumer<ListRecoveryGroupsRequest.Builder> listRecoveryGroupsRequest) This is a variant oflistRecoveryGroups(software.amazon.awssdk.services.route53recoveryreadiness.model.ListRecoveryGroupsRequest)operation.default ListRecoveryGroupsPublisherlistRecoveryGroupsPaginator(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 ListResourceSetsPublisherlistResourceSetsPaginator(Consumer<ListResourceSetsRequest.Builder> listResourceSetsRequest) This is a variant oflistResourceSets(software.amazon.awssdk.services.route53recoveryreadiness.model.ListResourceSetsRequest)operation.default ListResourceSetsPublisherlistResourceSetsPaginator(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 ListRulesPublisherlistRulesPaginator(Consumer<ListRulesRequest.Builder> listRulesRequest) This is a variant oflistRules(software.amazon.awssdk.services.route53recoveryreadiness.model.ListRulesRequest)operation.default ListRulesPublisherlistRulesPaginator(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
closeMethods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
-
-
Method Details
-
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.Builderavoiding the need to create one manually viaCreateCellRequest.builder()- Parameters:
createCellRequest- AConsumerthat will call methods onCreateCellRequest.Builderto 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.Builderavoiding the need to create one manually viaCreateCrossAccountAuthorizationRequest.builder()- Parameters:
createCrossAccountAuthorizationRequest- AConsumerthat will call methods onCreateCrossAccountAuthorizationRequest.Builderto 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.Builderavoiding the need to create one manually viaCreateReadinessCheckRequest.builder()- Parameters:
createReadinessCheckRequest- AConsumerthat will call methods onCreateReadinessCheckRequest.Builderto 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.Builderavoiding the need to create one manually viaCreateRecoveryGroupRequest.builder()- Parameters:
createRecoveryGroupRequest- AConsumerthat will call methods onCreateRecoveryGroupRequest.Builderto 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.Builderavoiding the need to create one manually viaCreateResourceSetRequest.builder()- Parameters:
createResourceSetRequest- AConsumerthat will call methods onCreateResourceSetRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteCellRequest.builder()- Parameters:
deleteCellRequest- AConsumerthat will call methods onDeleteCellRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteCrossAccountAuthorizationRequest.builder()- Parameters:
deleteCrossAccountAuthorizationRequest- AConsumerthat will call methods onDeleteCrossAccountAuthorizationRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteReadinessCheckRequest.builder()- Parameters:
deleteReadinessCheckRequest- AConsumerthat will call methods onDeleteReadinessCheckRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteRecoveryGroupRequest.builder()- Parameters:
deleteRecoveryGroupRequest- AConsumerthat will call methods onDeleteRecoveryGroupRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteResourceSetRequest.builder()- Parameters:
deleteResourceSetRequest- AConsumerthat will call methods onDeleteResourceSetRequest.Builderto 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.Builderavoiding the need to create one manually viaGetArchitectureRecommendationsRequest.builder()- Parameters:
getArchitectureRecommendationsRequest- AConsumerthat will call methods onGetArchitectureRecommendationsRequest.Builderto 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.Builderavoiding the need to create one manually viaGetCellRequest.builder()- Parameters:
getCellRequest- AConsumerthat will call methods onGetCellRequest.Builderto 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.Builderavoiding the need to create one manually viaGetCellReadinessSummaryRequest.builder()- Parameters:
getCellReadinessSummaryRequest- AConsumerthat will call methods onGetCellReadinessSummaryRequest.Builderto 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.GetCellReadinessSummaryPublisher publisher = client.getCellReadinessSummaryPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.GetCellReadinessSummaryPublisher publisher = client.getCellReadinessSummaryPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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.Builderavoiding the need to create one manually viaGetCellReadinessSummaryRequest.builder()- Parameters:
getCellReadinessSummaryRequest- AConsumerthat will call methods onGetCellReadinessSummaryRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException 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.Builderavoiding the need to create one manually viaGetReadinessCheckRequest.builder()- Parameters:
getReadinessCheckRequest- AConsumerthat will call methods onGetReadinessCheckRequest.Builderto 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.Builderavoiding the need to create one manually viaGetReadinessCheckResourceStatusRequest.builder()- Parameters:
getReadinessCheckResourceStatusRequest- AConsumerthat will call methods onGetReadinessCheckResourceStatusRequest.Builderto 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.GetReadinessCheckResourceStatusPublisher publisher = client.getReadinessCheckResourceStatusPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.GetReadinessCheckResourceStatusPublisher publisher = client.getReadinessCheckResourceStatusPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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.Builderavoiding the need to create one manually viaGetReadinessCheckResourceStatusRequest.builder()- Parameters:
getReadinessCheckResourceStatusRequest- AConsumerthat will call methods onGetReadinessCheckResourceStatusRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException 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.Builderavoiding the need to create one manually viaGetReadinessCheckStatusRequest.builder()- Parameters:
getReadinessCheckStatusRequest- AConsumerthat will call methods onGetReadinessCheckStatusRequest.Builderto 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.GetReadinessCheckStatusPublisher publisher = client.getReadinessCheckStatusPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.GetReadinessCheckStatusPublisher publisher = client.getReadinessCheckStatusPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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.Builderavoiding the need to create one manually viaGetReadinessCheckStatusRequest.builder()- Parameters:
getReadinessCheckStatusRequest- AConsumerthat will call methods onGetReadinessCheckStatusRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException 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.Builderavoiding the need to create one manually viaGetRecoveryGroupRequest.builder()- Parameters:
getRecoveryGroupRequest- AConsumerthat will call methods onGetRecoveryGroupRequest.Builderto 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.Builderavoiding the need to create one manually viaGetRecoveryGroupReadinessSummaryRequest.builder()- Parameters:
getRecoveryGroupReadinessSummaryRequest- AConsumerthat will call methods onGetRecoveryGroupReadinessSummaryRequest.Builderto 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.GetRecoveryGroupReadinessSummaryPublisher publisher = client.getRecoveryGroupReadinessSummaryPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.GetRecoveryGroupReadinessSummaryPublisher publisher = client.getRecoveryGroupReadinessSummaryPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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.Builderavoiding the need to create one manually viaGetRecoveryGroupReadinessSummaryRequest.builder()- Parameters:
getRecoveryGroupReadinessSummaryRequest- AConsumerthat will call methods onGetRecoveryGroupReadinessSummaryRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException 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.Builderavoiding the need to create one manually viaGetResourceSetRequest.builder()- Parameters:
getResourceSetRequest- AConsumerthat will call methods onGetResourceSetRequest.Builderto 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.Builderavoiding the need to create one manually viaListCellsRequest.builder()- Parameters:
listCellsRequest- AConsumerthat will call methods onListCellsRequest.Builderto 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.ListCellsPublisher publisher = client.listCellsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.ListCellsPublisher publisher = client.listCellsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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.Builderavoiding the need to create one manually viaListCellsRequest.builder()- Parameters:
listCellsRequest- AConsumerthat will call methods onListCellsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.Builderavoiding the need to create one manually viaListCrossAccountAuthorizationsRequest.builder()- Parameters:
listCrossAccountAuthorizationsRequest- AConsumerthat will call methods onListCrossAccountAuthorizationsRequest.Builderto 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.ListCrossAccountAuthorizationsPublisher publisher = client.listCrossAccountAuthorizationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.ListCrossAccountAuthorizationsPublisher publisher = client.listCrossAccountAuthorizationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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.Builderavoiding the need to create one manually viaListCrossAccountAuthorizationsRequest.builder()- Parameters:
listCrossAccountAuthorizationsRequest- AConsumerthat will call methods onListCrossAccountAuthorizationsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.Builderavoiding the need to create one manually viaListReadinessChecksRequest.builder()- Parameters:
listReadinessChecksRequest- AConsumerthat will call methods onListReadinessChecksRequest.Builderto 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.ListReadinessChecksPublisher publisher = client.listReadinessChecksPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.ListReadinessChecksPublisher publisher = client.listReadinessChecksPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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.Builderavoiding the need to create one manually viaListReadinessChecksRequest.builder()- Parameters:
listReadinessChecksRequest- AConsumerthat will call methods onListReadinessChecksRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.Builderavoiding the need to create one manually viaListRecoveryGroupsRequest.builder()- Parameters:
listRecoveryGroupsRequest- AConsumerthat will call methods onListRecoveryGroupsRequest.Builderto 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.ListRecoveryGroupsPublisher publisher = client.listRecoveryGroupsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.ListRecoveryGroupsPublisher publisher = client.listRecoveryGroupsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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.Builderavoiding the need to create one manually viaListRecoveryGroupsRequest.builder()- Parameters:
listRecoveryGroupsRequest- AConsumerthat will call methods onListRecoveryGroupsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.Builderavoiding the need to create one manually viaListResourceSetsRequest.builder()- Parameters:
listResourceSetsRequest- AConsumerthat will call methods onListResourceSetsRequest.Builderto 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.ListResourceSetsPublisher publisher = client.listResourceSetsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.ListResourceSetsPublisher publisher = client.listResourceSetsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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.Builderavoiding the need to create one manually viaListResourceSetsRequest.builder()- Parameters:
listResourceSetsRequest- AConsumerthat will call methods onListResourceSetsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.Builderavoiding the need to create one manually viaListRulesRequest.builder()- Parameters:
listRulesRequest- AConsumerthat will call methods onListRulesRequest.Builderto 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.ListRulesPublisher publisher = client.listRulesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.ListRulesPublisher publisher = client.listRulesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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.Builderavoiding the need to create one manually viaListRulesRequest.builder()- Parameters:
listRulesRequest- AConsumerthat will call methods onListRulesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.Builderavoiding the need to create one manually viaListTagsForResourcesRequest.builder()- Parameters:
listTagsForResourcesRequest- AConsumerthat will call methods onListTagsForResourcesRequest.Builderto 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.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException 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.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException 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.Builderavoiding the need to create one manually viaUpdateCellRequest.builder()- Parameters:
updateCellRequest- AConsumerthat will call methods onUpdateCellRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateReadinessCheckRequest.builder()- Parameters:
updateReadinessCheckRequest- AConsumerthat will call methods onUpdateReadinessCheckRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateRecoveryGroupRequest.builder()- Parameters:
updateRecoveryGroupRequest- AConsumerthat will call methods onUpdateRecoveryGroupRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateResourceSetRequest.builder()- Parameters:
updateResourceSetRequest- AConsumerthat will call methods onUpdateResourceSetRequest.Builderto 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:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-
create
Create aRoute53RecoveryReadinessAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aRoute53RecoveryReadinessAsyncClient.
-