Interface Route53RecoveryReadinessClient
-
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface Route53RecoveryReadinessClient extends AwsClient
Service client for accessing AWS Route53 Recovery Readiness. This can be created using the staticbuilder()method.Recovery readiness
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERVICE_METADATA_IDValue for looking up the service's metadata from theServiceMetadataProvider.static StringSERVICE_NAME
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
SERVICE_METADATA_ID
static final String SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
- Constant Field Values
-
-
Method Detail
-
createCell
default CreateCellResponse createCell(CreateCellRequest createCellRequest) throws ThrottlingException, ValidationException, InternalServerException, ConflictException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
Creates a cell in an account.
- Parameters:
createCellRequest-- Returns:
- Result of the CreateCell operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createCell
default CreateCellResponse createCell(Consumer<CreateCellRequest.Builder> createCellRequest) throws ThrottlingException, ValidationException, InternalServerException, ConflictException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
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:
- Result of the CreateCell operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createCrossAccountAuthorization
default CreateCrossAccountAuthorizationResponse createCrossAccountAuthorization(CreateCrossAccountAuthorizationRequest createCrossAccountAuthorizationRequest) throws ThrottlingException, ValidationException, InternalServerException, ConflictException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
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:
- Result of the CreateCrossAccountAuthorization operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createCrossAccountAuthorization
default CreateCrossAccountAuthorizationResponse createCrossAccountAuthorization(Consumer<CreateCrossAccountAuthorizationRequest.Builder> createCrossAccountAuthorizationRequest) throws ThrottlingException, ValidationException, InternalServerException, ConflictException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
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:
- Result of the CreateCrossAccountAuthorization operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createReadinessCheck
default CreateReadinessCheckResponse createReadinessCheck(CreateReadinessCheckRequest createReadinessCheckRequest) throws ThrottlingException, ValidationException, InternalServerException, ConflictException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
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:
- Result of the CreateReadinessCheck operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createReadinessCheck
default CreateReadinessCheckResponse createReadinessCheck(Consumer<CreateReadinessCheckRequest.Builder> createReadinessCheckRequest) throws ThrottlingException, ValidationException, InternalServerException, ConflictException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
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:
- Result of the CreateReadinessCheck operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createRecoveryGroup
default CreateRecoveryGroupResponse createRecoveryGroup(CreateRecoveryGroupRequest createRecoveryGroupRequest) throws ThrottlingException, ValidationException, InternalServerException, ConflictException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
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:
- Result of the CreateRecoveryGroup operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createRecoveryGroup
default CreateRecoveryGroupResponse createRecoveryGroup(Consumer<CreateRecoveryGroupRequest.Builder> createRecoveryGroupRequest) throws ThrottlingException, ValidationException, InternalServerException, ConflictException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
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:
- Result of the CreateRecoveryGroup operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createResourceSet
default CreateResourceSetResponse createResourceSet(CreateResourceSetRequest createResourceSetRequest) throws ThrottlingException, ValidationException, InternalServerException, ConflictException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
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:
- Result of the CreateResourceSet operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createResourceSet
default CreateResourceSetResponse createResourceSet(Consumer<CreateResourceSetRequest.Builder> createResourceSetRequest) throws ThrottlingException, ValidationException, InternalServerException, ConflictException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
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:
- Result of the CreateResourceSet operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteCell
default DeleteCellResponse deleteCell(DeleteCellRequest deleteCellRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
Delete a cell. When successful, the response code is 204, with no response body.
- Parameters:
deleteCellRequest-- Returns:
- Result of the DeleteCell operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteCell
default DeleteCellResponse deleteCell(Consumer<DeleteCellRequest.Builder> deleteCellRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
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:
- Result of the DeleteCell operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteCrossAccountAuthorization
default DeleteCrossAccountAuthorizationResponse deleteCrossAccountAuthorization(DeleteCrossAccountAuthorizationRequest deleteCrossAccountAuthorizationRequest) throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
Deletes cross account readiness authorization.
- Parameters:
deleteCrossAccountAuthorizationRequest-- Returns:
- Result of the DeleteCrossAccountAuthorization operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteCrossAccountAuthorization
default DeleteCrossAccountAuthorizationResponse deleteCrossAccountAuthorization(Consumer<DeleteCrossAccountAuthorizationRequest.Builder> deleteCrossAccountAuthorizationRequest) throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
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:
- Result of the DeleteCrossAccountAuthorization operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteReadinessCheck
default DeleteReadinessCheckResponse deleteReadinessCheck(DeleteReadinessCheckRequest deleteReadinessCheckRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
Deletes a readiness check.
- Parameters:
deleteReadinessCheckRequest-- Returns:
- Result of the DeleteReadinessCheck operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteReadinessCheck
default DeleteReadinessCheckResponse deleteReadinessCheck(Consumer<DeleteReadinessCheckRequest.Builder> deleteReadinessCheckRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
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:
- Result of the DeleteReadinessCheck operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteRecoveryGroup
default DeleteRecoveryGroupResponse deleteRecoveryGroup(DeleteRecoveryGroupRequest deleteRecoveryGroupRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
Deletes a recovery group.
- Parameters:
deleteRecoveryGroupRequest-- Returns:
- Result of the DeleteRecoveryGroup operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteRecoveryGroup
default DeleteRecoveryGroupResponse deleteRecoveryGroup(Consumer<DeleteRecoveryGroupRequest.Builder> deleteRecoveryGroupRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
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:
- Result of the DeleteRecoveryGroup operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteResourceSet
default DeleteResourceSetResponse deleteResourceSet(DeleteResourceSetRequest deleteResourceSetRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
Deletes a resource set.
- Parameters:
deleteResourceSetRequest-- Returns:
- Result of the DeleteResourceSet operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteResourceSet
default DeleteResourceSetResponse deleteResourceSet(Consumer<DeleteResourceSetRequest.Builder> deleteResourceSetRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
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:
- Result of the DeleteResourceSet operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getArchitectureRecommendations
default GetArchitectureRecommendationsResponse getArchitectureRecommendations(GetArchitectureRecommendationsRequest getArchitectureRecommendationsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
Gets recommendations about architecture designs for improving resiliency for an application, based on a recovery group.
- Parameters:
getArchitectureRecommendationsRequest-- Returns:
- Result of the GetArchitectureRecommendations operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getArchitectureRecommendations
default GetArchitectureRecommendationsResponse getArchitectureRecommendations(Consumer<GetArchitectureRecommendationsRequest.Builder> getArchitectureRecommendationsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
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:
- Result of the GetArchitectureRecommendations operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getCell
default GetCellResponse getCell(GetCellRequest getCellRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
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:
- Result of the GetCell operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getCell
default GetCellResponse getCell(Consumer<GetCellRequest.Builder> getCellRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
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:
- Result of the GetCell operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getCellReadinessSummary
default GetCellReadinessSummaryResponse getCellReadinessSummary(GetCellReadinessSummaryRequest getCellReadinessSummaryRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
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:
- Result of the GetCellReadinessSummary operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getCellReadinessSummary
default GetCellReadinessSummaryResponse getCellReadinessSummary(Consumer<GetCellReadinessSummaryRequest.Builder> getCellReadinessSummaryRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
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:
- Result of the GetCellReadinessSummary operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getCellReadinessSummaryPaginator
default GetCellReadinessSummaryIterable getCellReadinessSummaryPaginator(GetCellReadinessSummaryRequest getCellReadinessSummaryRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
This is a variant of
getCellReadinessSummary(software.amazon.awssdk.services.route53recoveryreadiness.model.GetCellReadinessSummaryRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.GetCellReadinessSummaryIterable responses = client.getCellReadinessSummaryPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetCellReadinessSummaryIterable responses = client .getCellReadinessSummaryPaginator(request); for (software.amazon.awssdk.services.route53recoveryreadiness.model.GetCellReadinessSummaryResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.GetCellReadinessSummaryIterable responses = client.getCellReadinessSummaryPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getCellReadinessSummary(software.amazon.awssdk.services.route53recoveryreadiness.model.GetCellReadinessSummaryRequest)operation.- Parameters:
getCellReadinessSummaryRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getCellReadinessSummaryPaginator
default GetCellReadinessSummaryIterable getCellReadinessSummaryPaginator(Consumer<GetCellReadinessSummaryRequest.Builder> getCellReadinessSummaryRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
This is a variant of
getCellReadinessSummary(software.amazon.awssdk.services.route53recoveryreadiness.model.GetCellReadinessSummaryRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.GetCellReadinessSummaryIterable responses = client.getCellReadinessSummaryPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetCellReadinessSummaryIterable responses = client .getCellReadinessSummaryPaginator(request); for (software.amazon.awssdk.services.route53recoveryreadiness.model.GetCellReadinessSummaryResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.GetCellReadinessSummaryIterable responses = client.getCellReadinessSummaryPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getReadinessCheck
default GetReadinessCheckResponse getReadinessCheck(GetReadinessCheckRequest getReadinessCheckRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
Gets details about a readiness check.
- Parameters:
getReadinessCheckRequest-- Returns:
- Result of the GetReadinessCheck operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getReadinessCheck
default GetReadinessCheckResponse getReadinessCheck(Consumer<GetReadinessCheckRequest.Builder> getReadinessCheckRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
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:
- Result of the GetReadinessCheck operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getReadinessCheckResourceStatus
default GetReadinessCheckResourceStatusResponse getReadinessCheckResourceStatus(GetReadinessCheckResourceStatusRequest getReadinessCheckResourceStatusRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
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:
- Result of the GetReadinessCheckResourceStatus operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getReadinessCheckResourceStatus
default GetReadinessCheckResourceStatusResponse getReadinessCheckResourceStatus(Consumer<GetReadinessCheckResourceStatusRequest.Builder> getReadinessCheckResourceStatusRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
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:
- Result of the GetReadinessCheckResourceStatus operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getReadinessCheckResourceStatusPaginator
default GetReadinessCheckResourceStatusIterable getReadinessCheckResourceStatusPaginator(GetReadinessCheckResourceStatusRequest getReadinessCheckResourceStatusRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
This is a variant of
getReadinessCheckResourceStatus(software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckResourceStatusRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.GetReadinessCheckResourceStatusIterable responses = client.getReadinessCheckResourceStatusPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetReadinessCheckResourceStatusIterable responses = client .getReadinessCheckResourceStatusPaginator(request); for (software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckResourceStatusResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.GetReadinessCheckResourceStatusIterable responses = client.getReadinessCheckResourceStatusPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getReadinessCheckResourceStatus(software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckResourceStatusRequest)operation.- Parameters:
getReadinessCheckResourceStatusRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getReadinessCheckResourceStatusPaginator
default GetReadinessCheckResourceStatusIterable getReadinessCheckResourceStatusPaginator(Consumer<GetReadinessCheckResourceStatusRequest.Builder> getReadinessCheckResourceStatusRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
This is a variant of
getReadinessCheckResourceStatus(software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckResourceStatusRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.GetReadinessCheckResourceStatusIterable responses = client.getReadinessCheckResourceStatusPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetReadinessCheckResourceStatusIterable responses = client .getReadinessCheckResourceStatusPaginator(request); for (software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckResourceStatusResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.GetReadinessCheckResourceStatusIterable responses = client.getReadinessCheckResourceStatusPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getReadinessCheckStatus
default GetReadinessCheckStatusResponse getReadinessCheckStatus(GetReadinessCheckStatusRequest getReadinessCheckStatusRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
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:
- Result of the GetReadinessCheckStatus operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getReadinessCheckStatus
default GetReadinessCheckStatusResponse getReadinessCheckStatus(Consumer<GetReadinessCheckStatusRequest.Builder> getReadinessCheckStatusRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
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:
- Result of the GetReadinessCheckStatus operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getReadinessCheckStatusPaginator
default GetReadinessCheckStatusIterable getReadinessCheckStatusPaginator(GetReadinessCheckStatusRequest getReadinessCheckStatusRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
This is a variant of
getReadinessCheckStatus(software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckStatusRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.GetReadinessCheckStatusIterable responses = client.getReadinessCheckStatusPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetReadinessCheckStatusIterable responses = client .getReadinessCheckStatusPaginator(request); for (software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckStatusResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.GetReadinessCheckStatusIterable responses = client.getReadinessCheckStatusPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getReadinessCheckStatus(software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckStatusRequest)operation.- Parameters:
getReadinessCheckStatusRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getReadinessCheckStatusPaginator
default GetReadinessCheckStatusIterable getReadinessCheckStatusPaginator(Consumer<GetReadinessCheckStatusRequest.Builder> getReadinessCheckStatusRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
This is a variant of
getReadinessCheckStatus(software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckStatusRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.GetReadinessCheckStatusIterable responses = client.getReadinessCheckStatusPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetReadinessCheckStatusIterable responses = client .getReadinessCheckStatusPaginator(request); for (software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckStatusResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.GetReadinessCheckStatusIterable responses = client.getReadinessCheckStatusPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getRecoveryGroup
default GetRecoveryGroupResponse getRecoveryGroup(GetRecoveryGroupRequest getRecoveryGroupRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
Gets details about a recovery group, including a list of the cells that are included in it.
- Parameters:
getRecoveryGroupRequest-- Returns:
- Result of the GetRecoveryGroup operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getRecoveryGroup
default GetRecoveryGroupResponse getRecoveryGroup(Consumer<GetRecoveryGroupRequest.Builder> getRecoveryGroupRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
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:
- Result of the GetRecoveryGroup operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getRecoveryGroupReadinessSummary
default GetRecoveryGroupReadinessSummaryResponse getRecoveryGroupReadinessSummary(GetRecoveryGroupReadinessSummaryRequest getRecoveryGroupReadinessSummaryRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
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:
- Result of the GetRecoveryGroupReadinessSummary operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getRecoveryGroupReadinessSummary
default GetRecoveryGroupReadinessSummaryResponse getRecoveryGroupReadinessSummary(Consumer<GetRecoveryGroupReadinessSummaryRequest.Builder> getRecoveryGroupReadinessSummaryRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
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:
- Result of the GetRecoveryGroupReadinessSummary operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getRecoveryGroupReadinessSummaryPaginator
default GetRecoveryGroupReadinessSummaryIterable getRecoveryGroupReadinessSummaryPaginator(GetRecoveryGroupReadinessSummaryRequest getRecoveryGroupReadinessSummaryRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
This is a variant of
getRecoveryGroupReadinessSummary(software.amazon.awssdk.services.route53recoveryreadiness.model.GetRecoveryGroupReadinessSummaryRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.GetRecoveryGroupReadinessSummaryIterable responses = client.getRecoveryGroupReadinessSummaryPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetRecoveryGroupReadinessSummaryIterable responses = client .getRecoveryGroupReadinessSummaryPaginator(request); for (software.amazon.awssdk.services.route53recoveryreadiness.model.GetRecoveryGroupReadinessSummaryResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.GetRecoveryGroupReadinessSummaryIterable responses = client.getRecoveryGroupReadinessSummaryPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getRecoveryGroupReadinessSummary(software.amazon.awssdk.services.route53recoveryreadiness.model.GetRecoveryGroupReadinessSummaryRequest)operation.- Parameters:
getRecoveryGroupReadinessSummaryRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getRecoveryGroupReadinessSummaryPaginator
default GetRecoveryGroupReadinessSummaryIterable getRecoveryGroupReadinessSummaryPaginator(Consumer<GetRecoveryGroupReadinessSummaryRequest.Builder> getRecoveryGroupReadinessSummaryRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
This is a variant of
getRecoveryGroupReadinessSummary(software.amazon.awssdk.services.route53recoveryreadiness.model.GetRecoveryGroupReadinessSummaryRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.GetRecoveryGroupReadinessSummaryIterable responses = client.getRecoveryGroupReadinessSummaryPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetRecoveryGroupReadinessSummaryIterable responses = client .getRecoveryGroupReadinessSummaryPaginator(request); for (software.amazon.awssdk.services.route53recoveryreadiness.model.GetRecoveryGroupReadinessSummaryResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.GetRecoveryGroupReadinessSummaryIterable responses = client.getRecoveryGroupReadinessSummaryPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getResourceSet
default GetResourceSetResponse getResourceSet(GetResourceSetRequest getResourceSetRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
Displays the details about a resource set, including a list of the resources in the set.
- Parameters:
getResourceSetRequest-- Returns:
- Result of the GetResourceSet operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getResourceSet
default GetResourceSetResponse getResourceSet(Consumer<GetResourceSetRequest.Builder> getResourceSetRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
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:
- Result of the GetResourceSet operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listCells
default ListCellsResponse listCells(ListCellsRequest listCellsRequest) throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
Lists the cells for an account.
- Parameters:
listCellsRequest-- Returns:
- Result of the ListCells operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listCells
default ListCellsResponse listCells(Consumer<ListCellsRequest.Builder> listCellsRequest) throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
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:
- Result of the ListCells operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listCellsPaginator
default ListCellsIterable listCellsPaginator(ListCellsRequest listCellsRequest) throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
This is a variant of
listCells(software.amazon.awssdk.services.route53recoveryreadiness.model.ListCellsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.ListCellsIterable responses = client.listCellsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListCellsIterable responses = client .listCellsPaginator(request); for (software.amazon.awssdk.services.route53recoveryreadiness.model.ListCellsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.ListCellsIterable responses = client.listCellsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCells(software.amazon.awssdk.services.route53recoveryreadiness.model.ListCellsRequest)operation.- Parameters:
listCellsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listCellsPaginator
default ListCellsIterable listCellsPaginator(Consumer<ListCellsRequest.Builder> listCellsRequest) throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
This is a variant of
listCells(software.amazon.awssdk.services.route53recoveryreadiness.model.ListCellsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.ListCellsIterable responses = client.listCellsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListCellsIterable responses = client .listCellsPaginator(request); for (software.amazon.awssdk.services.route53recoveryreadiness.model.ListCellsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.ListCellsIterable responses = client.listCellsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listCrossAccountAuthorizations
default ListCrossAccountAuthorizationsResponse listCrossAccountAuthorizations(ListCrossAccountAuthorizationsRequest listCrossAccountAuthorizationsRequest) throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
Lists the cross-account readiness authorizations that are in place for an account.
- Parameters:
listCrossAccountAuthorizationsRequest-- Returns:
- Result of the ListCrossAccountAuthorizations operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listCrossAccountAuthorizations
default ListCrossAccountAuthorizationsResponse listCrossAccountAuthorizations(Consumer<ListCrossAccountAuthorizationsRequest.Builder> listCrossAccountAuthorizationsRequest) throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
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:
- Result of the ListCrossAccountAuthorizations operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listCrossAccountAuthorizationsPaginator
default ListCrossAccountAuthorizationsIterable listCrossAccountAuthorizationsPaginator(ListCrossAccountAuthorizationsRequest listCrossAccountAuthorizationsRequest) throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
This is a variant of
listCrossAccountAuthorizations(software.amazon.awssdk.services.route53recoveryreadiness.model.ListCrossAccountAuthorizationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.ListCrossAccountAuthorizationsIterable responses = client.listCrossAccountAuthorizationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListCrossAccountAuthorizationsIterable responses = client .listCrossAccountAuthorizationsPaginator(request); for (software.amazon.awssdk.services.route53recoveryreadiness.model.ListCrossAccountAuthorizationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.ListCrossAccountAuthorizationsIterable responses = client.listCrossAccountAuthorizationsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCrossAccountAuthorizations(software.amazon.awssdk.services.route53recoveryreadiness.model.ListCrossAccountAuthorizationsRequest)operation.- Parameters:
listCrossAccountAuthorizationsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listCrossAccountAuthorizationsPaginator
default ListCrossAccountAuthorizationsIterable listCrossAccountAuthorizationsPaginator(Consumer<ListCrossAccountAuthorizationsRequest.Builder> listCrossAccountAuthorizationsRequest) throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
This is a variant of
listCrossAccountAuthorizations(software.amazon.awssdk.services.route53recoveryreadiness.model.ListCrossAccountAuthorizationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.ListCrossAccountAuthorizationsIterable responses = client.listCrossAccountAuthorizationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListCrossAccountAuthorizationsIterable responses = client .listCrossAccountAuthorizationsPaginator(request); for (software.amazon.awssdk.services.route53recoveryreadiness.model.ListCrossAccountAuthorizationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.ListCrossAccountAuthorizationsIterable responses = client.listCrossAccountAuthorizationsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listReadinessChecks
default ListReadinessChecksResponse listReadinessChecks(ListReadinessChecksRequest listReadinessChecksRequest) throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
Lists the readiness checks for an account.
- Parameters:
listReadinessChecksRequest-- Returns:
- Result of the ListReadinessChecks operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listReadinessChecks
default ListReadinessChecksResponse listReadinessChecks(Consumer<ListReadinessChecksRequest.Builder> listReadinessChecksRequest) throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
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:
- Result of the ListReadinessChecks operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listReadinessChecksPaginator
default ListReadinessChecksIterable listReadinessChecksPaginator(ListReadinessChecksRequest listReadinessChecksRequest) throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
This is a variant of
listReadinessChecks(software.amazon.awssdk.services.route53recoveryreadiness.model.ListReadinessChecksRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.ListReadinessChecksIterable responses = client.listReadinessChecksPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListReadinessChecksIterable responses = client .listReadinessChecksPaginator(request); for (software.amazon.awssdk.services.route53recoveryreadiness.model.ListReadinessChecksResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.ListReadinessChecksIterable responses = client.listReadinessChecksPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listReadinessChecks(software.amazon.awssdk.services.route53recoveryreadiness.model.ListReadinessChecksRequest)operation.- Parameters:
listReadinessChecksRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listReadinessChecksPaginator
default ListReadinessChecksIterable listReadinessChecksPaginator(Consumer<ListReadinessChecksRequest.Builder> listReadinessChecksRequest) throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
This is a variant of
listReadinessChecks(software.amazon.awssdk.services.route53recoveryreadiness.model.ListReadinessChecksRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.ListReadinessChecksIterable responses = client.listReadinessChecksPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListReadinessChecksIterable responses = client .listReadinessChecksPaginator(request); for (software.amazon.awssdk.services.route53recoveryreadiness.model.ListReadinessChecksResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.ListReadinessChecksIterable responses = client.listReadinessChecksPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listRecoveryGroups
default ListRecoveryGroupsResponse listRecoveryGroups(ListRecoveryGroupsRequest listRecoveryGroupsRequest) throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
Lists the recovery groups in an account.
- Parameters:
listRecoveryGroupsRequest-- Returns:
- Result of the ListRecoveryGroups operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listRecoveryGroups
default ListRecoveryGroupsResponse listRecoveryGroups(Consumer<ListRecoveryGroupsRequest.Builder> listRecoveryGroupsRequest) throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
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:
- Result of the ListRecoveryGroups operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listRecoveryGroupsPaginator
default ListRecoveryGroupsIterable listRecoveryGroupsPaginator(ListRecoveryGroupsRequest listRecoveryGroupsRequest) throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
This is a variant of
listRecoveryGroups(software.amazon.awssdk.services.route53recoveryreadiness.model.ListRecoveryGroupsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.ListRecoveryGroupsIterable responses = client.listRecoveryGroupsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListRecoveryGroupsIterable responses = client .listRecoveryGroupsPaginator(request); for (software.amazon.awssdk.services.route53recoveryreadiness.model.ListRecoveryGroupsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.ListRecoveryGroupsIterable responses = client.listRecoveryGroupsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRecoveryGroups(software.amazon.awssdk.services.route53recoveryreadiness.model.ListRecoveryGroupsRequest)operation.- Parameters:
listRecoveryGroupsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listRecoveryGroupsPaginator
default ListRecoveryGroupsIterable listRecoveryGroupsPaginator(Consumer<ListRecoveryGroupsRequest.Builder> listRecoveryGroupsRequest) throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
This is a variant of
listRecoveryGroups(software.amazon.awssdk.services.route53recoveryreadiness.model.ListRecoveryGroupsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.ListRecoveryGroupsIterable responses = client.listRecoveryGroupsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListRecoveryGroupsIterable responses = client .listRecoveryGroupsPaginator(request); for (software.amazon.awssdk.services.route53recoveryreadiness.model.ListRecoveryGroupsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.ListRecoveryGroupsIterable responses = client.listRecoveryGroupsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listResourceSets
default ListResourceSetsResponse listResourceSets(ListResourceSetsRequest listResourceSetsRequest) throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
Lists the resource sets in an account.
- Parameters:
listResourceSetsRequest-- Returns:
- Result of the ListResourceSets operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listResourceSets
default ListResourceSetsResponse listResourceSets(Consumer<ListResourceSetsRequest.Builder> listResourceSetsRequest) throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
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:
- Result of the ListResourceSets operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listResourceSetsPaginator
default ListResourceSetsIterable listResourceSetsPaginator(ListResourceSetsRequest listResourceSetsRequest) throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
This is a variant of
listResourceSets(software.amazon.awssdk.services.route53recoveryreadiness.model.ListResourceSetsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.ListResourceSetsIterable responses = client.listResourceSetsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListResourceSetsIterable responses = client .listResourceSetsPaginator(request); for (software.amazon.awssdk.services.route53recoveryreadiness.model.ListResourceSetsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.ListResourceSetsIterable responses = client.listResourceSetsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listResourceSets(software.amazon.awssdk.services.route53recoveryreadiness.model.ListResourceSetsRequest)operation.- Parameters:
listResourceSetsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listResourceSetsPaginator
default ListResourceSetsIterable listResourceSetsPaginator(Consumer<ListResourceSetsRequest.Builder> listResourceSetsRequest) throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
This is a variant of
listResourceSets(software.amazon.awssdk.services.route53recoveryreadiness.model.ListResourceSetsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.ListResourceSetsIterable responses = client.listResourceSetsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListResourceSetsIterable responses = client .listResourceSetsPaginator(request); for (software.amazon.awssdk.services.route53recoveryreadiness.model.ListResourceSetsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.ListResourceSetsIterable responses = client.listResourceSetsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listRules
default ListRulesResponse listRules(ListRulesRequest listRulesRequest) throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
Lists all readiness rules, or lists the readiness rules for a specific resource type.
- Parameters:
listRulesRequest-- Returns:
- Result of the ListRules operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listRules
default ListRulesResponse listRules(Consumer<ListRulesRequest.Builder> listRulesRequest) throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
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:
- Result of the ListRules operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listRulesPaginator
default ListRulesIterable listRulesPaginator(ListRulesRequest listRulesRequest) throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
This is a variant of
listRules(software.amazon.awssdk.services.route53recoveryreadiness.model.ListRulesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.ListRulesIterable responses = client.listRulesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListRulesIterable responses = client .listRulesPaginator(request); for (software.amazon.awssdk.services.route53recoveryreadiness.model.ListRulesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.ListRulesIterable responses = client.listRulesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRules(software.amazon.awssdk.services.route53recoveryreadiness.model.ListRulesRequest)operation.- Parameters:
listRulesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listRulesPaginator
default ListRulesIterable listRulesPaginator(Consumer<ListRulesRequest.Builder> listRulesRequest) throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
This is a variant of
listRules(software.amazon.awssdk.services.route53recoveryreadiness.model.ListRulesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.ListRulesIterable responses = client.listRulesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListRulesIterable responses = client .listRulesPaginator(request); for (software.amazon.awssdk.services.route53recoveryreadiness.model.ListRulesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.route53recoveryreadiness.paginators.ListRulesIterable responses = client.listRulesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listTagsForResources
default ListTagsForResourcesResponse listTagsForResources(ListTagsForResourcesRequest listTagsForResourcesRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
Lists the tags for a resource.
- Parameters:
listTagsForResourcesRequest-- Returns:
- Result of the ListTagsForResources operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listTagsForResources
default ListTagsForResourcesResponse listTagsForResources(Consumer<ListTagsForResourcesRequest.Builder> listTagsForResourcesRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
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:
- Result of the ListTagsForResources operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
Adds a tag to a resource.
- Parameters:
tagResourceRequest-- Returns:
- Result of the TagResource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
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:
- Result of the TagResource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
Removes a tag from a resource.
- Parameters:
untagResourceRequest-- Returns:
- Result of the UntagResource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
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:
- Result of the UntagResource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateCell
default UpdateCellResponse updateCell(UpdateCellRequest updateCellRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
Updates a cell to replace the list of nested cells with a new list of nested cells.
- Parameters:
updateCellRequest-- Returns:
- Result of the UpdateCell operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateCell
default UpdateCellResponse updateCell(Consumer<UpdateCellRequest.Builder> updateCellRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
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:
- Result of the UpdateCell operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateReadinessCheck
default UpdateReadinessCheckResponse updateReadinessCheck(UpdateReadinessCheckRequest updateReadinessCheckRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
Updates a readiness check.
- Parameters:
updateReadinessCheckRequest- Name of a readiness check to describe.- Returns:
- Result of the UpdateReadinessCheck operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateReadinessCheck
default UpdateReadinessCheckResponse updateReadinessCheck(Consumer<UpdateReadinessCheckRequest.Builder> updateReadinessCheckRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
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:
- Result of the UpdateReadinessCheck operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateRecoveryGroup
default UpdateRecoveryGroupResponse updateRecoveryGroup(UpdateRecoveryGroupRequest updateRecoveryGroupRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
Updates a recovery group.
- Parameters:
updateRecoveryGroupRequest- Name of a recovery group.- Returns:
- Result of the UpdateRecoveryGroup operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateRecoveryGroup
default UpdateRecoveryGroupResponse updateRecoveryGroup(Consumer<UpdateRecoveryGroupRequest.Builder> updateRecoveryGroupRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
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:
- Result of the UpdateRecoveryGroup operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateResourceSet
default UpdateResourceSetResponse updateResourceSet(UpdateResourceSetRequest updateResourceSetRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
Updates a resource set.
- Parameters:
updateResourceSetRequest- Name of a resource set.- Returns:
- Result of the UpdateResourceSet operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateResourceSet
default UpdateResourceSetResponse updateResourceSet(Consumer<UpdateResourceSetRequest.Builder> updateResourceSetRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException
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:
- Result of the UpdateResourceSet operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
create
static Route53RecoveryReadinessClient create()
Create aRoute53RecoveryReadinessClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.
-
builder
static Route53RecoveryReadinessClientBuilder builder()
Create a builder that can be used to configure and create aRoute53RecoveryReadinessClient.
-
serviceMetadata
static ServiceMetadata serviceMetadata()
-
serviceClientConfiguration
default Route53RecoveryReadinessServiceClientConfiguration serviceClientConfiguration()
- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient
-
-