software.amazon.awssdk.services.route53recoveryreadiness.Route53RecoveryReadinessClient Maven / Gradle / Ivy
Show all versions of route53recoveryreadiness Show documentation
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package software.amazon.awssdk.services.route53recoveryreadiness;
import java.util.function.Consumer;
import software.amazon.awssdk.annotations.Generated;
import software.amazon.awssdk.annotations.SdkPublicApi;
import software.amazon.awssdk.annotations.ThreadSafe;
import software.amazon.awssdk.awscore.exception.AwsServiceException;
import software.amazon.awssdk.core.SdkClient;
import software.amazon.awssdk.core.exception.SdkClientException;
import software.amazon.awssdk.regions.ServiceMetadata;
import software.amazon.awssdk.services.route53recoveryreadiness.model.AccessDeniedException;
import software.amazon.awssdk.services.route53recoveryreadiness.model.ConflictException;
import software.amazon.awssdk.services.route53recoveryreadiness.model.CreateCellRequest;
import software.amazon.awssdk.services.route53recoveryreadiness.model.CreateCellResponse;
import software.amazon.awssdk.services.route53recoveryreadiness.model.CreateCrossAccountAuthorizationRequest;
import software.amazon.awssdk.services.route53recoveryreadiness.model.CreateCrossAccountAuthorizationResponse;
import software.amazon.awssdk.services.route53recoveryreadiness.model.CreateReadinessCheckRequest;
import software.amazon.awssdk.services.route53recoveryreadiness.model.CreateReadinessCheckResponse;
import software.amazon.awssdk.services.route53recoveryreadiness.model.CreateRecoveryGroupRequest;
import software.amazon.awssdk.services.route53recoveryreadiness.model.CreateRecoveryGroupResponse;
import software.amazon.awssdk.services.route53recoveryreadiness.model.CreateResourceSetRequest;
import software.amazon.awssdk.services.route53recoveryreadiness.model.CreateResourceSetResponse;
import software.amazon.awssdk.services.route53recoveryreadiness.model.DeleteCellRequest;
import software.amazon.awssdk.services.route53recoveryreadiness.model.DeleteCellResponse;
import software.amazon.awssdk.services.route53recoveryreadiness.model.DeleteCrossAccountAuthorizationRequest;
import software.amazon.awssdk.services.route53recoveryreadiness.model.DeleteCrossAccountAuthorizationResponse;
import software.amazon.awssdk.services.route53recoveryreadiness.model.DeleteReadinessCheckRequest;
import software.amazon.awssdk.services.route53recoveryreadiness.model.DeleteReadinessCheckResponse;
import software.amazon.awssdk.services.route53recoveryreadiness.model.DeleteRecoveryGroupRequest;
import software.amazon.awssdk.services.route53recoveryreadiness.model.DeleteRecoveryGroupResponse;
import software.amazon.awssdk.services.route53recoveryreadiness.model.DeleteResourceSetRequest;
import software.amazon.awssdk.services.route53recoveryreadiness.model.DeleteResourceSetResponse;
import software.amazon.awssdk.services.route53recoveryreadiness.model.GetArchitectureRecommendationsRequest;
import software.amazon.awssdk.services.route53recoveryreadiness.model.GetArchitectureRecommendationsResponse;
import software.amazon.awssdk.services.route53recoveryreadiness.model.GetCellReadinessSummaryRequest;
import software.amazon.awssdk.services.route53recoveryreadiness.model.GetCellReadinessSummaryResponse;
import software.amazon.awssdk.services.route53recoveryreadiness.model.GetCellRequest;
import software.amazon.awssdk.services.route53recoveryreadiness.model.GetCellResponse;
import software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckRequest;
import software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckResourceStatusRequest;
import software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckResourceStatusResponse;
import software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckResponse;
import software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckStatusRequest;
import software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckStatusResponse;
import software.amazon.awssdk.services.route53recoveryreadiness.model.GetRecoveryGroupReadinessSummaryRequest;
import software.amazon.awssdk.services.route53recoveryreadiness.model.GetRecoveryGroupReadinessSummaryResponse;
import software.amazon.awssdk.services.route53recoveryreadiness.model.GetRecoveryGroupRequest;
import software.amazon.awssdk.services.route53recoveryreadiness.model.GetRecoveryGroupResponse;
import software.amazon.awssdk.services.route53recoveryreadiness.model.GetResourceSetRequest;
import software.amazon.awssdk.services.route53recoveryreadiness.model.GetResourceSetResponse;
import software.amazon.awssdk.services.route53recoveryreadiness.model.InternalServerException;
import software.amazon.awssdk.services.route53recoveryreadiness.model.ListCellsRequest;
import software.amazon.awssdk.services.route53recoveryreadiness.model.ListCellsResponse;
import software.amazon.awssdk.services.route53recoveryreadiness.model.ListCrossAccountAuthorizationsRequest;
import software.amazon.awssdk.services.route53recoveryreadiness.model.ListCrossAccountAuthorizationsResponse;
import software.amazon.awssdk.services.route53recoveryreadiness.model.ListReadinessChecksRequest;
import software.amazon.awssdk.services.route53recoveryreadiness.model.ListReadinessChecksResponse;
import software.amazon.awssdk.services.route53recoveryreadiness.model.ListRecoveryGroupsRequest;
import software.amazon.awssdk.services.route53recoveryreadiness.model.ListRecoveryGroupsResponse;
import software.amazon.awssdk.services.route53recoveryreadiness.model.ListResourceSetsRequest;
import software.amazon.awssdk.services.route53recoveryreadiness.model.ListResourceSetsResponse;
import software.amazon.awssdk.services.route53recoveryreadiness.model.ListRulesRequest;
import software.amazon.awssdk.services.route53recoveryreadiness.model.ListRulesResponse;
import software.amazon.awssdk.services.route53recoveryreadiness.model.ListTagsForResourcesRequest;
import software.amazon.awssdk.services.route53recoveryreadiness.model.ListTagsForResourcesResponse;
import software.amazon.awssdk.services.route53recoveryreadiness.model.ResourceNotFoundException;
import software.amazon.awssdk.services.route53recoveryreadiness.model.Route53RecoveryReadinessException;
import software.amazon.awssdk.services.route53recoveryreadiness.model.TagResourceRequest;
import software.amazon.awssdk.services.route53recoveryreadiness.model.TagResourceResponse;
import software.amazon.awssdk.services.route53recoveryreadiness.model.ThrottlingException;
import software.amazon.awssdk.services.route53recoveryreadiness.model.UntagResourceRequest;
import software.amazon.awssdk.services.route53recoveryreadiness.model.UntagResourceResponse;
import software.amazon.awssdk.services.route53recoveryreadiness.model.UpdateCellRequest;
import software.amazon.awssdk.services.route53recoveryreadiness.model.UpdateCellResponse;
import software.amazon.awssdk.services.route53recoveryreadiness.model.UpdateReadinessCheckRequest;
import software.amazon.awssdk.services.route53recoveryreadiness.model.UpdateReadinessCheckResponse;
import software.amazon.awssdk.services.route53recoveryreadiness.model.UpdateRecoveryGroupRequest;
import software.amazon.awssdk.services.route53recoveryreadiness.model.UpdateRecoveryGroupResponse;
import software.amazon.awssdk.services.route53recoveryreadiness.model.UpdateResourceSetRequest;
import software.amazon.awssdk.services.route53recoveryreadiness.model.UpdateResourceSetResponse;
import software.amazon.awssdk.services.route53recoveryreadiness.model.ValidationException;
import software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetCellReadinessSummaryIterable;
import software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetReadinessCheckResourceStatusIterable;
import software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetReadinessCheckStatusIterable;
import software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetRecoveryGroupReadinessSummaryIterable;
import software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListCellsIterable;
import software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListCrossAccountAuthorizationsIterable;
import software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListReadinessChecksIterable;
import software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListRecoveryGroupsIterable;
import software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListResourceSetsIterable;
import software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListRulesIterable;
/**
* Service client for accessing AWS Route53 Recovery Readiness. This can be created using the static {@link #builder()}
* method.
*
*
* Recovery readiness
*
*/
@Generated("software.amazon.awssdk:codegen")
@SdkPublicApi
@ThreadSafe
public interface Route53RecoveryReadinessClient extends SdkClient {
String SERVICE_NAME = "route53-recovery-readiness";
/**
* Value for looking up the service's metadata from the
* {@link software.amazon.awssdk.regions.ServiceMetadataProvider}.
*/
String SERVICE_METADATA_ID = "route53-recovery-readiness";
/**
* Create a {@link Route53RecoveryReadinessClient} with the region loaded from the
* {@link software.amazon.awssdk.regions.providers.DefaultAwsRegionProviderChain} and credentials loaded from the
* {@link software.amazon.awssdk.auth.credentials.DefaultCredentialsProvider}.
*/
static Route53RecoveryReadinessClient create() {
return builder().build();
}
/**
* Create a builder that can be used to configure and create a {@link Route53RecoveryReadinessClient}.
*/
static Route53RecoveryReadinessClientBuilder builder() {
return new DefaultRoute53RecoveryReadinessClientBuilder();
}
/**
*
* Creates a cell in an account.
*
*
* @param createCellRequest
* @return Result of the CreateCell operation returned by the service.
* @throws ThrottlingException
* 429 response - Limit exceeded exception or too many requests exception.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws ConflictException
* 409 response - Conflict exception. You might be using a predefined variable.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.CreateCell
* @see AWS API Documentation
*/
default CreateCellResponse createCell(CreateCellRequest createCellRequest) throws ThrottlingException, ValidationException,
InternalServerException, ConflictException, AccessDeniedException, AwsServiceException, SdkClientException,
Route53RecoveryReadinessException {
throw new UnsupportedOperationException();
}
/**
*
* Creates a cell in an account.
*
*
*
* This is a convenience which creates an instance of the {@link CreateCellRequest.Builder} avoiding the need to
* create one manually via {@link CreateCellRequest#builder()}
*
*
* @param createCellRequest
* A {@link Consumer} that will call methods on {@link CreateCellRequest.Builder} to create a request.
* @return Result of the CreateCell operation returned by the service.
* @throws ThrottlingException
* 429 response - Limit exceeded exception or too many requests exception.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws ConflictException
* 409 response - Conflict exception. You might be using a predefined variable.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.CreateCell
* @see AWS API Documentation
*/
default CreateCellResponse createCell(Consumer createCellRequest) throws ThrottlingException,
ValidationException, InternalServerException, ConflictException, AccessDeniedException, AwsServiceException,
SdkClientException, Route53RecoveryReadinessException {
return createCell(CreateCellRequest.builder().applyMutation(createCellRequest).build());
}
/**
*
* 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.
*
*
* @param createCrossAccountAuthorizationRequest
* @return Result of the CreateCrossAccountAuthorization operation returned by the service.
* @throws ThrottlingException
* 429 response - Limit exceeded exception or too many requests exception.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws ConflictException
* 409 response - Conflict exception. You might be using a predefined variable.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.CreateCrossAccountAuthorization
* @see AWS API Documentation
*/
default CreateCrossAccountAuthorizationResponse createCrossAccountAuthorization(
CreateCrossAccountAuthorizationRequest createCrossAccountAuthorizationRequest) throws ThrottlingException,
ValidationException, InternalServerException, ConflictException, AccessDeniedException, AwsServiceException,
SdkClientException, Route53RecoveryReadinessException {
throw new UnsupportedOperationException();
}
/**
*
* 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 {@link CreateCrossAccountAuthorizationRequest.Builder}
* avoiding the need to create one manually via {@link CreateCrossAccountAuthorizationRequest#builder()}
*
*
* @param createCrossAccountAuthorizationRequest
* A {@link Consumer} that will call methods on {@link CreateCrossAccountAuthorizationRequest.Builder} to
* create a request.
* @return Result of the CreateCrossAccountAuthorization operation returned by the service.
* @throws ThrottlingException
* 429 response - Limit exceeded exception or too many requests exception.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws ConflictException
* 409 response - Conflict exception. You might be using a predefined variable.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.CreateCrossAccountAuthorization
* @see AWS API Documentation
*/
default CreateCrossAccountAuthorizationResponse createCrossAccountAuthorization(
Consumer createCrossAccountAuthorizationRequest)
throws ThrottlingException, ValidationException, InternalServerException, ConflictException, AccessDeniedException,
AwsServiceException, SdkClientException, Route53RecoveryReadinessException {
return createCrossAccountAuthorization(CreateCrossAccountAuthorizationRequest.builder()
.applyMutation(createCrossAccountAuthorizationRequest).build());
}
/**
*
* 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.
*
*
* @param createReadinessCheckRequest
* @return Result of the CreateReadinessCheck operation returned by the service.
* @throws ThrottlingException
* 429 response - Limit exceeded exception or too many requests exception.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws ConflictException
* 409 response - Conflict exception. You might be using a predefined variable.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.CreateReadinessCheck
* @see AWS API Documentation
*/
default CreateReadinessCheckResponse createReadinessCheck(CreateReadinessCheckRequest createReadinessCheckRequest)
throws ThrottlingException, ValidationException, InternalServerException, ConflictException, AccessDeniedException,
AwsServiceException, SdkClientException, Route53RecoveryReadinessException {
throw new UnsupportedOperationException();
}
/**
*
* 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 {@link CreateReadinessCheckRequest.Builder} avoiding the
* need to create one manually via {@link CreateReadinessCheckRequest#builder()}
*
*
* @param createReadinessCheckRequest
* A {@link Consumer} that will call methods on {@link CreateReadinessCheckRequest.Builder} to create a
* request.
* @return Result of the CreateReadinessCheck operation returned by the service.
* @throws ThrottlingException
* 429 response - Limit exceeded exception or too many requests exception.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws ConflictException
* 409 response - Conflict exception. You might be using a predefined variable.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.CreateReadinessCheck
* @see AWS API Documentation
*/
default CreateReadinessCheckResponse createReadinessCheck(
Consumer createReadinessCheckRequest) throws ThrottlingException,
ValidationException, InternalServerException, ConflictException, AccessDeniedException, AwsServiceException,
SdkClientException, Route53RecoveryReadinessException {
return createReadinessCheck(CreateReadinessCheckRequest.builder().applyMutation(createReadinessCheckRequest).build());
}
/**
*
* 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.
*
*
* @param createRecoveryGroupRequest
* @return Result of the CreateRecoveryGroup operation returned by the service.
* @throws ThrottlingException
* 429 response - Limit exceeded exception or too many requests exception.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws ConflictException
* 409 response - Conflict exception. You might be using a predefined variable.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.CreateRecoveryGroup
* @see AWS API Documentation
*/
default CreateRecoveryGroupResponse createRecoveryGroup(CreateRecoveryGroupRequest createRecoveryGroupRequest)
throws ThrottlingException, ValidationException, InternalServerException, ConflictException, AccessDeniedException,
AwsServiceException, SdkClientException, Route53RecoveryReadinessException {
throw new UnsupportedOperationException();
}
/**
*
* 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 {@link CreateRecoveryGroupRequest.Builder} avoiding the
* need to create one manually via {@link CreateRecoveryGroupRequest#builder()}
*
*
* @param createRecoveryGroupRequest
* A {@link Consumer} that will call methods on {@link CreateRecoveryGroupRequest.Builder} to create a
* request.
* @return Result of the CreateRecoveryGroup operation returned by the service.
* @throws ThrottlingException
* 429 response - Limit exceeded exception or too many requests exception.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws ConflictException
* 409 response - Conflict exception. You might be using a predefined variable.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.CreateRecoveryGroup
* @see AWS API Documentation
*/
default CreateRecoveryGroupResponse createRecoveryGroup(
Consumer createRecoveryGroupRequest) throws ThrottlingException,
ValidationException, InternalServerException, ConflictException, AccessDeniedException, AwsServiceException,
SdkClientException, Route53RecoveryReadinessException {
return createRecoveryGroup(CreateRecoveryGroupRequest.builder().applyMutation(createRecoveryGroupRequest).build());
}
/**
*
* 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.
*
*
* @param createResourceSetRequest
* @return Result of the CreateResourceSet operation returned by the service.
* @throws ThrottlingException
* 429 response - Limit exceeded exception or too many requests exception.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws ConflictException
* 409 response - Conflict exception. You might be using a predefined variable.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.CreateResourceSet
* @see AWS API Documentation
*/
default CreateResourceSetResponse createResourceSet(CreateResourceSetRequest createResourceSetRequest)
throws ThrottlingException, ValidationException, InternalServerException, ConflictException, AccessDeniedException,
AwsServiceException, SdkClientException, Route53RecoveryReadinessException {
throw new UnsupportedOperationException();
}
/**
*
* 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 {@link CreateResourceSetRequest.Builder} avoiding the need
* to create one manually via {@link CreateResourceSetRequest#builder()}
*
*
* @param createResourceSetRequest
* A {@link Consumer} that will call methods on {@link CreateResourceSetRequest.Builder} to create a request.
* @return Result of the CreateResourceSet operation returned by the service.
* @throws ThrottlingException
* 429 response - Limit exceeded exception or too many requests exception.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws ConflictException
* 409 response - Conflict exception. You might be using a predefined variable.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.CreateResourceSet
* @see AWS API Documentation
*/
default CreateResourceSetResponse createResourceSet(Consumer createResourceSetRequest)
throws ThrottlingException, ValidationException, InternalServerException, ConflictException, AccessDeniedException,
AwsServiceException, SdkClientException, Route53RecoveryReadinessException {
return createResourceSet(CreateResourceSetRequest.builder().applyMutation(createResourceSetRequest).build());
}
/**
*
* Delete a cell. When successful, the response code is 204, with no response body.
*
*
* @param deleteCellRequest
* @return 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.
* @throws ThrottlingException
* 429 response - Limit exceeded exception or too many requests exception.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.DeleteCell
* @see AWS API Documentation
*/
default DeleteCellResponse deleteCell(DeleteCellRequest deleteCellRequest) throws ResourceNotFoundException,
ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException,
SdkClientException, Route53RecoveryReadinessException {
throw new UnsupportedOperationException();
}
/**
*
* Delete a cell. When successful, the response code is 204, with no response body.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteCellRequest.Builder} avoiding the need to
* create one manually via {@link DeleteCellRequest#builder()}
*
*
* @param deleteCellRequest
* A {@link Consumer} that will call methods on {@link DeleteCellRequest.Builder} to create a request.
* @return 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.
* @throws ThrottlingException
* 429 response - Limit exceeded exception or too many requests exception.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.DeleteCell
* @see AWS API Documentation
*/
default DeleteCellResponse deleteCell(Consumer deleteCellRequest)
throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException,
AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException {
return deleteCell(DeleteCellRequest.builder().applyMutation(deleteCellRequest).build());
}
/**
*
* Deletes cross account readiness authorization.
*
*
* @param deleteCrossAccountAuthorizationRequest
* @return Result of the DeleteCrossAccountAuthorization operation returned by the service.
* @throws ThrottlingException
* 429 response - Limit exceeded exception or too many requests exception.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.DeleteCrossAccountAuthorization
* @see AWS API Documentation
*/
default DeleteCrossAccountAuthorizationResponse deleteCrossAccountAuthorization(
DeleteCrossAccountAuthorizationRequest deleteCrossAccountAuthorizationRequest) throws ThrottlingException,
ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException,
Route53RecoveryReadinessException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes cross account readiness authorization.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteCrossAccountAuthorizationRequest.Builder}
* avoiding the need to create one manually via {@link DeleteCrossAccountAuthorizationRequest#builder()}
*
*
* @param deleteCrossAccountAuthorizationRequest
* A {@link Consumer} that will call methods on {@link DeleteCrossAccountAuthorizationRequest.Builder} to
* create a request.
* @return Result of the DeleteCrossAccountAuthorization operation returned by the service.
* @throws ThrottlingException
* 429 response - Limit exceeded exception or too many requests exception.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.DeleteCrossAccountAuthorization
* @see AWS API Documentation
*/
default DeleteCrossAccountAuthorizationResponse deleteCrossAccountAuthorization(
Consumer deleteCrossAccountAuthorizationRequest)
throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException,
SdkClientException, Route53RecoveryReadinessException {
return deleteCrossAccountAuthorization(DeleteCrossAccountAuthorizationRequest.builder()
.applyMutation(deleteCrossAccountAuthorizationRequest).build());
}
/**
*
* Deletes a readiness check.
*
*
* @param deleteReadinessCheckRequest
* @return 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.
* @throws ThrottlingException
* 429 response - Limit exceeded exception or too many requests exception.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.DeleteReadinessCheck
* @see AWS API Documentation
*/
default DeleteReadinessCheckResponse deleteReadinessCheck(DeleteReadinessCheckRequest deleteReadinessCheckRequest)
throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException,
AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes a readiness check.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteReadinessCheckRequest.Builder} avoiding the
* need to create one manually via {@link DeleteReadinessCheckRequest#builder()}
*
*
* @param deleteReadinessCheckRequest
* A {@link Consumer} that will call methods on {@link DeleteReadinessCheckRequest.Builder} to create a
* request.
* @return 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.
* @throws ThrottlingException
* 429 response - Limit exceeded exception or too many requests exception.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.DeleteReadinessCheck
* @see AWS API Documentation
*/
default DeleteReadinessCheckResponse deleteReadinessCheck(
Consumer deleteReadinessCheckRequest) throws ResourceNotFoundException,
ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException,
SdkClientException, Route53RecoveryReadinessException {
return deleteReadinessCheck(DeleteReadinessCheckRequest.builder().applyMutation(deleteReadinessCheckRequest).build());
}
/**
*
* Deletes a recovery group.
*
*
* @param deleteRecoveryGroupRequest
* @return 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.
* @throws ThrottlingException
* 429 response - Limit exceeded exception or too many requests exception.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.DeleteRecoveryGroup
* @see AWS API Documentation
*/
default DeleteRecoveryGroupResponse deleteRecoveryGroup(DeleteRecoveryGroupRequest deleteRecoveryGroupRequest)
throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException,
AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes a recovery group.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteRecoveryGroupRequest.Builder} avoiding the
* need to create one manually via {@link DeleteRecoveryGroupRequest#builder()}
*
*
* @param deleteRecoveryGroupRequest
* A {@link Consumer} that will call methods on {@link DeleteRecoveryGroupRequest.Builder} to create a
* request.
* @return 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.
* @throws ThrottlingException
* 429 response - Limit exceeded exception or too many requests exception.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.DeleteRecoveryGroup
* @see AWS API Documentation
*/
default DeleteRecoveryGroupResponse deleteRecoveryGroup(
Consumer deleteRecoveryGroupRequest) throws ResourceNotFoundException,
ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException,
SdkClientException, Route53RecoveryReadinessException {
return deleteRecoveryGroup(DeleteRecoveryGroupRequest.builder().applyMutation(deleteRecoveryGroupRequest).build());
}
/**
*
* Deletes a resource set.
*
*
* @param deleteResourceSetRequest
* @return 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.
* @throws ThrottlingException
* 429 response - Limit exceeded exception or too many requests exception.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.DeleteResourceSet
* @see AWS API Documentation
*/
default DeleteResourceSetResponse deleteResourceSet(DeleteResourceSetRequest deleteResourceSetRequest)
throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException,
AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes a resource set.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteResourceSetRequest.Builder} avoiding the need
* to create one manually via {@link DeleteResourceSetRequest#builder()}
*
*
* @param deleteResourceSetRequest
* A {@link Consumer} that will call methods on {@link DeleteResourceSetRequest.Builder} to create a request.
* @return 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.
* @throws ThrottlingException
* 429 response - Limit exceeded exception or too many requests exception.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.DeleteResourceSet
* @see AWS API Documentation
*/
default DeleteResourceSetResponse deleteResourceSet(Consumer deleteResourceSetRequest)
throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException,
AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException {
return deleteResourceSet(DeleteResourceSetRequest.builder().applyMutation(deleteResourceSetRequest).build());
}
/**
*
* Gets recommendations about architecture designs for improving resiliency for an application, based on a recovery
* group.
*
*
* @param getArchitectureRecommendationsRequest
* @return 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.
* @throws ThrottlingException
* 429 response - Limit exceeded exception or too many requests exception.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.GetArchitectureRecommendations
* @see AWS API Documentation
*/
default GetArchitectureRecommendationsResponse getArchitectureRecommendations(
GetArchitectureRecommendationsRequest getArchitectureRecommendationsRequest) throws ResourceNotFoundException,
ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException,
SdkClientException, Route53RecoveryReadinessException {
throw new UnsupportedOperationException();
}
/**
*
* 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 {@link GetArchitectureRecommendationsRequest.Builder}
* avoiding the need to create one manually via {@link GetArchitectureRecommendationsRequest#builder()}
*
*
* @param getArchitectureRecommendationsRequest
* A {@link Consumer} that will call methods on {@link GetArchitectureRecommendationsRequest.Builder} to
* create a request.
* @return 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.
* @throws ThrottlingException
* 429 response - Limit exceeded exception or too many requests exception.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.GetArchitectureRecommendations
* @see AWS API Documentation
*/
default GetArchitectureRecommendationsResponse getArchitectureRecommendations(
Consumer getArchitectureRecommendationsRequest)
throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException,
AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException {
return getArchitectureRecommendations(GetArchitectureRecommendationsRequest.builder()
.applyMutation(getArchitectureRecommendationsRequest).build());
}
/**
*
* 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.
*
*
* @param getCellRequest
* @return 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.
* @throws ThrottlingException
* 429 response - Limit exceeded exception or too many requests exception.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.GetCell
* @see AWS API Documentation
*/
default GetCellResponse getCell(GetCellRequest getCellRequest) throws ResourceNotFoundException, ThrottlingException,
ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException,
Route53RecoveryReadinessException {
throw new UnsupportedOperationException();
}
/**
*
* 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 {@link GetCellRequest.Builder} avoiding the need to create
* one manually via {@link GetCellRequest#builder()}
*
*
* @param getCellRequest
* A {@link Consumer} that will call methods on {@link GetCellRequest.Builder} to create a request.
* @return 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.
* @throws ThrottlingException
* 429 response - Limit exceeded exception or too many requests exception.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.GetCell
* @see AWS API Documentation
*/
default GetCellResponse getCell(Consumer getCellRequest) throws ResourceNotFoundException,
ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException,
SdkClientException, Route53RecoveryReadinessException {
return getCell(GetCellRequest.builder().applyMutation(getCellRequest).build());
}
/**
*
* Gets readiness for a cell. Aggregates the readiness of all the resources that are associated with the cell into a
* single value.
*
*
* @param getCellReadinessSummaryRequest
* @return 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.
* @throws ThrottlingException
* 429 response - Limit exceeded exception or too many requests exception.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.GetCellReadinessSummary
* @see AWS API Documentation
*/
default GetCellReadinessSummaryResponse getCellReadinessSummary(GetCellReadinessSummaryRequest getCellReadinessSummaryRequest)
throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException,
AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException {
throw new UnsupportedOperationException();
}
/**
*
* 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 {@link GetCellReadinessSummaryRequest.Builder} avoiding
* the need to create one manually via {@link GetCellReadinessSummaryRequest#builder()}
*
*
* @param getCellReadinessSummaryRequest
* A {@link Consumer} that will call methods on {@link GetCellReadinessSummaryRequest.Builder} to create a
* request.
* @return 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.
* @throws ThrottlingException
* 429 response - Limit exceeded exception or too many requests exception.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.GetCellReadinessSummary
* @see AWS API Documentation
*/
default GetCellReadinessSummaryResponse getCellReadinessSummary(
Consumer getCellReadinessSummaryRequest) throws ResourceNotFoundException,
ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException,
SdkClientException, Route53RecoveryReadinessException {
return getCellReadinessSummary(GetCellReadinessSummaryRequest.builder().applyMutation(getCellReadinessSummaryRequest)
.build());
}
/**
*
* 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 variant of
* {@link #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
*
*
* {@code
* software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetCellReadinessSummaryIterable responses = client.getCellReadinessSummaryPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @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 directly
*
*
* {@code
* software.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
* {@link #getCellReadinessSummary(software.amazon.awssdk.services.route53recoveryreadiness.model.GetCellReadinessSummaryRequest)}
* operation.
*
*
* @param getCellReadinessSummaryRequest
* @return 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.
* @throws ThrottlingException
* 429 response - Limit exceeded exception or too many requests exception.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.GetCellReadinessSummary
* @see AWS API Documentation
*/
default GetCellReadinessSummaryIterable getCellReadinessSummaryPaginator(
GetCellReadinessSummaryRequest getCellReadinessSummaryRequest) throws ResourceNotFoundException, ThrottlingException,
ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException,
Route53RecoveryReadinessException {
throw new UnsupportedOperationException();
}
/**
*
* 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 variant of
* {@link #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
*
*
* {@code
* software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetCellReadinessSummaryIterable responses = client.getCellReadinessSummaryPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @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 directly
*
*
* {@code
* software.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
* {@link #getCellReadinessSummary(software.amazon.awssdk.services.route53recoveryreadiness.model.GetCellReadinessSummaryRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link GetCellReadinessSummaryRequest.Builder} avoiding
* the need to create one manually via {@link GetCellReadinessSummaryRequest#builder()}
*
*
* @param getCellReadinessSummaryRequest
* A {@link Consumer} that will call methods on {@link GetCellReadinessSummaryRequest.Builder} to create a
* request.
* @return 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.
* @throws ThrottlingException
* 429 response - Limit exceeded exception or too many requests exception.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.GetCellReadinessSummary
* @see AWS API Documentation
*/
default GetCellReadinessSummaryIterable getCellReadinessSummaryPaginator(
Consumer getCellReadinessSummaryRequest) throws ResourceNotFoundException,
ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException,
SdkClientException, Route53RecoveryReadinessException {
return getCellReadinessSummaryPaginator(GetCellReadinessSummaryRequest.builder()
.applyMutation(getCellReadinessSummaryRequest).build());
}
/**
*
* Gets details about a readiness check.
*
*
* @param getReadinessCheckRequest
* @return 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.
* @throws ThrottlingException
* 429 response - Limit exceeded exception or too many requests exception.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.GetReadinessCheck
* @see AWS API Documentation
*/
default GetReadinessCheckResponse getReadinessCheck(GetReadinessCheckRequest getReadinessCheckRequest)
throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException,
AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException {
throw new UnsupportedOperationException();
}
/**
*
* Gets details about a readiness check.
*
*
*
* This is a convenience which creates an instance of the {@link GetReadinessCheckRequest.Builder} avoiding the need
* to create one manually via {@link GetReadinessCheckRequest#builder()}
*
*
* @param getReadinessCheckRequest
* A {@link Consumer} that will call methods on {@link GetReadinessCheckRequest.Builder} to create a request.
* @return 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.
* @throws ThrottlingException
* 429 response - Limit exceeded exception or too many requests exception.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.GetReadinessCheck
* @see AWS API Documentation
*/
default GetReadinessCheckResponse getReadinessCheck(Consumer getReadinessCheckRequest)
throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException,
AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException {
return getReadinessCheck(GetReadinessCheckRequest.builder().applyMutation(getReadinessCheckRequest).build());
}
/**
*
* 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.
*
*
* @param getReadinessCheckResourceStatusRequest
* @return 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.
* @throws ThrottlingException
* 429 response - Limit exceeded exception or too many requests exception.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.GetReadinessCheckResourceStatus
* @see AWS API Documentation
*/
default GetReadinessCheckResourceStatusResponse getReadinessCheckResourceStatus(
GetReadinessCheckResourceStatusRequest getReadinessCheckResourceStatusRequest) throws ResourceNotFoundException,
ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException,
SdkClientException, Route53RecoveryReadinessException {
throw new UnsupportedOperationException();
}
/**
*
* 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 {@link GetReadinessCheckResourceStatusRequest.Builder}
* avoiding the need to create one manually via {@link GetReadinessCheckResourceStatusRequest#builder()}
*
*
* @param getReadinessCheckResourceStatusRequest
* A {@link Consumer} that will call methods on {@link GetReadinessCheckResourceStatusRequest.Builder} to
* create a request.
* @return 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.
* @throws ThrottlingException
* 429 response - Limit exceeded exception or too many requests exception.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.GetReadinessCheckResourceStatus
* @see AWS API Documentation
*/
default GetReadinessCheckResourceStatusResponse getReadinessCheckResourceStatus(
Consumer getReadinessCheckResourceStatusRequest)
throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException,
AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException {
return getReadinessCheckResourceStatus(GetReadinessCheckResourceStatusRequest.builder()
.applyMutation(getReadinessCheckResourceStatusRequest).build());
}
/**
*
* 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 variant of
* {@link #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
*
*
* {@code
* software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetReadinessCheckResourceStatusIterable responses = client.getReadinessCheckResourceStatusPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @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 directly
*
*
* {@code
* software.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
* {@link #getReadinessCheckResourceStatus(software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckResourceStatusRequest)}
* operation.
*
*
* @param getReadinessCheckResourceStatusRequest
* @return 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.
* @throws ThrottlingException
* 429 response - Limit exceeded exception or too many requests exception.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.GetReadinessCheckResourceStatus
* @see AWS API Documentation
*/
default GetReadinessCheckResourceStatusIterable getReadinessCheckResourceStatusPaginator(
GetReadinessCheckResourceStatusRequest getReadinessCheckResourceStatusRequest) throws ResourceNotFoundException,
ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException,
SdkClientException, Route53RecoveryReadinessException {
throw new UnsupportedOperationException();
}
/**
*
* 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 variant of
* {@link #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
*
*
* {@code
* software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetReadinessCheckResourceStatusIterable responses = client.getReadinessCheckResourceStatusPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @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 directly
*
*
* {@code
* software.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
* {@link #getReadinessCheckResourceStatus(software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckResourceStatusRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link GetReadinessCheckResourceStatusRequest.Builder}
* avoiding the need to create one manually via {@link GetReadinessCheckResourceStatusRequest#builder()}
*
*
* @param getReadinessCheckResourceStatusRequest
* A {@link Consumer} that will call methods on {@link GetReadinessCheckResourceStatusRequest.Builder} to
* create a request.
* @return 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.
* @throws ThrottlingException
* 429 response - Limit exceeded exception or too many requests exception.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.GetReadinessCheckResourceStatus
* @see AWS API Documentation
*/
default GetReadinessCheckResourceStatusIterable getReadinessCheckResourceStatusPaginator(
Consumer getReadinessCheckResourceStatusRequest)
throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException,
AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException {
return getReadinessCheckResourceStatusPaginator(GetReadinessCheckResourceStatusRequest.builder()
.applyMutation(getReadinessCheckResourceStatusRequest).build());
}
/**
*
* 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.
*
*
* @param getReadinessCheckStatusRequest
* @return 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.
* @throws ThrottlingException
* 429 response - Limit exceeded exception or too many requests exception.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.GetReadinessCheckStatus
* @see AWS API Documentation
*/
default GetReadinessCheckStatusResponse getReadinessCheckStatus(GetReadinessCheckStatusRequest getReadinessCheckStatusRequest)
throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException,
AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException {
throw new UnsupportedOperationException();
}
/**
*
* 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 {@link GetReadinessCheckStatusRequest.Builder} avoiding
* the need to create one manually via {@link GetReadinessCheckStatusRequest#builder()}
*
*
* @param getReadinessCheckStatusRequest
* A {@link Consumer} that will call methods on {@link GetReadinessCheckStatusRequest.Builder} to create a
* request.
* @return 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.
* @throws ThrottlingException
* 429 response - Limit exceeded exception or too many requests exception.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.GetReadinessCheckStatus
* @see AWS API Documentation
*/
default GetReadinessCheckStatusResponse getReadinessCheckStatus(
Consumer getReadinessCheckStatusRequest) throws ResourceNotFoundException,
ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException,
SdkClientException, Route53RecoveryReadinessException {
return getReadinessCheckStatus(GetReadinessCheckStatusRequest.builder().applyMutation(getReadinessCheckStatusRequest)
.build());
}
/**
*
* 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 variant of
* {@link #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
*
*
* {@code
* software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetReadinessCheckStatusIterable responses = client.getReadinessCheckStatusPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @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 directly
*
*
* {@code
* software.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
* {@link #getReadinessCheckStatus(software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckStatusRequest)}
* operation.
*
*
* @param getReadinessCheckStatusRequest
* @return 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.
* @throws ThrottlingException
* 429 response - Limit exceeded exception or too many requests exception.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.GetReadinessCheckStatus
* @see AWS API Documentation
*/
default GetReadinessCheckStatusIterable getReadinessCheckStatusPaginator(
GetReadinessCheckStatusRequest getReadinessCheckStatusRequest) throws ResourceNotFoundException, ThrottlingException,
ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException,
Route53RecoveryReadinessException {
throw new UnsupportedOperationException();
}
/**
*
* 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 variant of
* {@link #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
*
*
* {@code
* software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetReadinessCheckStatusIterable responses = client.getReadinessCheckStatusPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @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 directly
*
*
* {@code
* software.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
* {@link #getReadinessCheckStatus(software.amazon.awssdk.services.route53recoveryreadiness.model.GetReadinessCheckStatusRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link GetReadinessCheckStatusRequest.Builder} avoiding
* the need to create one manually via {@link GetReadinessCheckStatusRequest#builder()}
*
*
* @param getReadinessCheckStatusRequest
* A {@link Consumer} that will call methods on {@link GetReadinessCheckStatusRequest.Builder} to create a
* request.
* @return 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.
* @throws ThrottlingException
* 429 response - Limit exceeded exception or too many requests exception.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.GetReadinessCheckStatus
* @see AWS API Documentation
*/
default GetReadinessCheckStatusIterable getReadinessCheckStatusPaginator(
Consumer getReadinessCheckStatusRequest) throws ResourceNotFoundException,
ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException,
SdkClientException, Route53RecoveryReadinessException {
return getReadinessCheckStatusPaginator(GetReadinessCheckStatusRequest.builder()
.applyMutation(getReadinessCheckStatusRequest).build());
}
/**
*
* Gets details about a recovery group, including a list of the cells that are included in it.
*
*
* @param getRecoveryGroupRequest
* @return 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.
* @throws ThrottlingException
* 429 response - Limit exceeded exception or too many requests exception.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.GetRecoveryGroup
* @see AWS API Documentation
*/
default GetRecoveryGroupResponse getRecoveryGroup(GetRecoveryGroupRequest getRecoveryGroupRequest)
throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException,
AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException {
throw new UnsupportedOperationException();
}
/**
*
* 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 {@link GetRecoveryGroupRequest.Builder} avoiding the need
* to create one manually via {@link GetRecoveryGroupRequest#builder()}
*
*
* @param getRecoveryGroupRequest
* A {@link Consumer} that will call methods on {@link GetRecoveryGroupRequest.Builder} to create a request.
* @return 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.
* @throws ThrottlingException
* 429 response - Limit exceeded exception or too many requests exception.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.GetRecoveryGroup
* @see AWS API Documentation
*/
default GetRecoveryGroupResponse getRecoveryGroup(Consumer getRecoveryGroupRequest)
throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException,
AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException {
return getRecoveryGroup(GetRecoveryGroupRequest.builder().applyMutation(getRecoveryGroupRequest).build());
}
/**
*
* 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.
*
*
* @param getRecoveryGroupReadinessSummaryRequest
* @return 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.
* @throws ThrottlingException
* 429 response - Limit exceeded exception or too many requests exception.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.GetRecoveryGroupReadinessSummary
* @see AWS API Documentation
*/
default GetRecoveryGroupReadinessSummaryResponse getRecoveryGroupReadinessSummary(
GetRecoveryGroupReadinessSummaryRequest getRecoveryGroupReadinessSummaryRequest) throws ResourceNotFoundException,
ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException,
SdkClientException, Route53RecoveryReadinessException {
throw new UnsupportedOperationException();
}
/**
*
* 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 {@link GetRecoveryGroupReadinessSummaryRequest.Builder}
* avoiding the need to create one manually via {@link GetRecoveryGroupReadinessSummaryRequest#builder()}
*
*
* @param getRecoveryGroupReadinessSummaryRequest
* A {@link Consumer} that will call methods on {@link GetRecoveryGroupReadinessSummaryRequest.Builder} to
* create a request.
* @return 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.
* @throws ThrottlingException
* 429 response - Limit exceeded exception or too many requests exception.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.GetRecoveryGroupReadinessSummary
* @see AWS API Documentation
*/
default GetRecoveryGroupReadinessSummaryResponse getRecoveryGroupReadinessSummary(
Consumer getRecoveryGroupReadinessSummaryRequest)
throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException,
AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException {
return getRecoveryGroupReadinessSummary(GetRecoveryGroupReadinessSummaryRequest.builder()
.applyMutation(getRecoveryGroupReadinessSummaryRequest).build());
}
/**
*
* 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 variant of
* {@link #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
*
*
* {@code
* software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetRecoveryGroupReadinessSummaryIterable responses = client.getRecoveryGroupReadinessSummaryPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @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 directly
*
*
* {@code
* software.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
* {@link #getRecoveryGroupReadinessSummary(software.amazon.awssdk.services.route53recoveryreadiness.model.GetRecoveryGroupReadinessSummaryRequest)}
* operation.
*
*
* @param getRecoveryGroupReadinessSummaryRequest
* @return 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.
* @throws ThrottlingException
* 429 response - Limit exceeded exception or too many requests exception.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.GetRecoveryGroupReadinessSummary
* @see AWS API Documentation
*/
default GetRecoveryGroupReadinessSummaryIterable getRecoveryGroupReadinessSummaryPaginator(
GetRecoveryGroupReadinessSummaryRequest getRecoveryGroupReadinessSummaryRequest) throws ResourceNotFoundException,
ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException,
SdkClientException, Route53RecoveryReadinessException {
throw new UnsupportedOperationException();
}
/**
*
* 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 variant of
* {@link #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
*
*
* {@code
* software.amazon.awssdk.services.route53recoveryreadiness.paginators.GetRecoveryGroupReadinessSummaryIterable responses = client.getRecoveryGroupReadinessSummaryPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @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 directly
*
*
* {@code
* software.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
* {@link #getRecoveryGroupReadinessSummary(software.amazon.awssdk.services.route53recoveryreadiness.model.GetRecoveryGroupReadinessSummaryRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link GetRecoveryGroupReadinessSummaryRequest.Builder}
* avoiding the need to create one manually via {@link GetRecoveryGroupReadinessSummaryRequest#builder()}
*
*
* @param getRecoveryGroupReadinessSummaryRequest
* A {@link Consumer} that will call methods on {@link GetRecoveryGroupReadinessSummaryRequest.Builder} to
* create a request.
* @return 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.
* @throws ThrottlingException
* 429 response - Limit exceeded exception or too many requests exception.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.GetRecoveryGroupReadinessSummary
* @see AWS API Documentation
*/
default GetRecoveryGroupReadinessSummaryIterable getRecoveryGroupReadinessSummaryPaginator(
Consumer getRecoveryGroupReadinessSummaryRequest)
throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException,
AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException {
return getRecoveryGroupReadinessSummaryPaginator(GetRecoveryGroupReadinessSummaryRequest.builder()
.applyMutation(getRecoveryGroupReadinessSummaryRequest).build());
}
/**
*
* Displays the details about a resource set, including a list of the resources in the set.
*
*
* @param getResourceSetRequest
* @return 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.
* @throws ThrottlingException
* 429 response - Limit exceeded exception or too many requests exception.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.GetResourceSet
* @see AWS API Documentation
*/
default GetResourceSetResponse getResourceSet(GetResourceSetRequest getResourceSetRequest) throws ResourceNotFoundException,
ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException,
SdkClientException, Route53RecoveryReadinessException {
throw new UnsupportedOperationException();
}
/**
*
* 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 {@link GetResourceSetRequest.Builder} avoiding the need to
* create one manually via {@link GetResourceSetRequest#builder()}
*
*
* @param getResourceSetRequest
* A {@link Consumer} that will call methods on {@link GetResourceSetRequest.Builder} to create a request.
* @return 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.
* @throws ThrottlingException
* 429 response - Limit exceeded exception or too many requests exception.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.GetResourceSet
* @see AWS API Documentation
*/
default GetResourceSetResponse getResourceSet(Consumer getResourceSetRequest)
throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException,
AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException {
return getResourceSet(GetResourceSetRequest.builder().applyMutation(getResourceSetRequest).build());
}
/**
*
* Lists the cells for an account.
*
*
* @param listCellsRequest
* @return Result of the ListCells operation returned by the service.
* @throws ThrottlingException
* 429 response - Limit exceeded exception or too many requests exception.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.ListCells
* @see AWS API Documentation
*/
default ListCellsResponse listCells(ListCellsRequest listCellsRequest) throws ThrottlingException, ValidationException,
InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException,
Route53RecoveryReadinessException {
throw new UnsupportedOperationException();
}
/**
*
* Lists the cells for an account.
*
*
*
* This is a convenience which creates an instance of the {@link ListCellsRequest.Builder} avoiding the need to
* create one manually via {@link ListCellsRequest#builder()}
*
*
* @param listCellsRequest
* A {@link Consumer} that will call methods on {@link ListCellsRequest.Builder} to create a request.
* @return Result of the ListCells operation returned by the service.
* @throws ThrottlingException
* 429 response - Limit exceeded exception or too many requests exception.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.ListCells
* @see AWS API Documentation
*/
default ListCellsResponse listCells(Consumer listCellsRequest) throws ThrottlingException,
ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException,
Route53RecoveryReadinessException {
return listCells(ListCellsRequest.builder().applyMutation(listCellsRequest).build());
}
/**
*
* Lists the cells for an account.
*
*
*
* This is a variant of
* {@link #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
*
*
* {@code
* software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListCellsIterable responses = client.listCellsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @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 directly
*
*
* {@code
* software.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
* {@link #listCells(software.amazon.awssdk.services.route53recoveryreadiness.model.ListCellsRequest)}
* operation.
*
*
* @param listCellsRequest
* @return 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.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.ListCells
* @see AWS API Documentation
*/
default ListCellsIterable listCellsPaginator(ListCellsRequest listCellsRequest) throws ThrottlingException,
ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException,
Route53RecoveryReadinessException {
throw new UnsupportedOperationException();
}
/**
*
* Lists the cells for an account.
*
*
*
* This is a variant of
* {@link #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
*
*
* {@code
* software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListCellsIterable responses = client.listCellsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @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 directly
*
*
* {@code
* software.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
* {@link #listCells(software.amazon.awssdk.services.route53recoveryreadiness.model.ListCellsRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link ListCellsRequest.Builder} avoiding the need to
* create one manually via {@link ListCellsRequest#builder()}
*
*
* @param listCellsRequest
* A {@link Consumer} that will call methods on {@link ListCellsRequest.Builder} to create a request.
* @return 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.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.ListCells
* @see AWS API Documentation
*/
default ListCellsIterable listCellsPaginator(Consumer listCellsRequest) throws ThrottlingException,
ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException,
Route53RecoveryReadinessException {
return listCellsPaginator(ListCellsRequest.builder().applyMutation(listCellsRequest).build());
}
/**
*
* Lists the cross-account readiness authorizations that are in place for an account.
*
*
* @param listCrossAccountAuthorizationsRequest
* @return Result of the ListCrossAccountAuthorizations operation returned by the service.
* @throws ThrottlingException
* 429 response - Limit exceeded exception or too many requests exception.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.ListCrossAccountAuthorizations
* @see AWS API Documentation
*/
default ListCrossAccountAuthorizationsResponse listCrossAccountAuthorizations(
ListCrossAccountAuthorizationsRequest listCrossAccountAuthorizationsRequest) throws ThrottlingException,
ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException,
Route53RecoveryReadinessException {
throw new UnsupportedOperationException();
}
/**
*
* Lists the cross-account readiness authorizations that are in place for an account.
*
*
*
* This is a convenience which creates an instance of the {@link ListCrossAccountAuthorizationsRequest.Builder}
* avoiding the need to create one manually via {@link ListCrossAccountAuthorizationsRequest#builder()}
*
*
* @param listCrossAccountAuthorizationsRequest
* A {@link Consumer} that will call methods on {@link ListCrossAccountAuthorizationsRequest.Builder} to
* create a request.
* @return Result of the ListCrossAccountAuthorizations operation returned by the service.
* @throws ThrottlingException
* 429 response - Limit exceeded exception or too many requests exception.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.ListCrossAccountAuthorizations
* @see AWS API Documentation
*/
default ListCrossAccountAuthorizationsResponse listCrossAccountAuthorizations(
Consumer listCrossAccountAuthorizationsRequest)
throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException,
SdkClientException, Route53RecoveryReadinessException {
return listCrossAccountAuthorizations(ListCrossAccountAuthorizationsRequest.builder()
.applyMutation(listCrossAccountAuthorizationsRequest).build());
}
/**
*
* Lists the cross-account readiness authorizations that are in place for an account.
*
*
*
* This is a variant of
* {@link #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
*
*
* {@code
* software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListCrossAccountAuthorizationsIterable responses = client.listCrossAccountAuthorizationsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @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 directly
*
*
* {@code
* software.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
* {@link #listCrossAccountAuthorizations(software.amazon.awssdk.services.route53recoveryreadiness.model.ListCrossAccountAuthorizationsRequest)}
* operation.
*
*
* @param listCrossAccountAuthorizationsRequest
* @return 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.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.ListCrossAccountAuthorizations
* @see AWS API Documentation
*/
default ListCrossAccountAuthorizationsIterable listCrossAccountAuthorizationsPaginator(
ListCrossAccountAuthorizationsRequest listCrossAccountAuthorizationsRequest) throws ThrottlingException,
ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException,
Route53RecoveryReadinessException {
throw new UnsupportedOperationException();
}
/**
*
* Lists the cross-account readiness authorizations that are in place for an account.
*
*
*
* This is a variant of
* {@link #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
*
*
* {@code
* software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListCrossAccountAuthorizationsIterable responses = client.listCrossAccountAuthorizationsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @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 directly
*
*
* {@code
* software.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
* {@link #listCrossAccountAuthorizations(software.amazon.awssdk.services.route53recoveryreadiness.model.ListCrossAccountAuthorizationsRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link ListCrossAccountAuthorizationsRequest.Builder}
* avoiding the need to create one manually via {@link ListCrossAccountAuthorizationsRequest#builder()}
*
*
* @param listCrossAccountAuthorizationsRequest
* A {@link Consumer} that will call methods on {@link ListCrossAccountAuthorizationsRequest.Builder} to
* create a request.
* @return 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.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.ListCrossAccountAuthorizations
* @see AWS API Documentation
*/
default ListCrossAccountAuthorizationsIterable listCrossAccountAuthorizationsPaginator(
Consumer listCrossAccountAuthorizationsRequest)
throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException,
SdkClientException, Route53RecoveryReadinessException {
return listCrossAccountAuthorizationsPaginator(ListCrossAccountAuthorizationsRequest.builder()
.applyMutation(listCrossAccountAuthorizationsRequest).build());
}
/**
*
* Lists the readiness checks for an account.
*
*
* @param listReadinessChecksRequest
* @return Result of the ListReadinessChecks operation returned by the service.
* @throws ThrottlingException
* 429 response - Limit exceeded exception or too many requests exception.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.ListReadinessChecks
* @see AWS API Documentation
*/
default ListReadinessChecksResponse listReadinessChecks(ListReadinessChecksRequest listReadinessChecksRequest)
throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException,
SdkClientException, Route53RecoveryReadinessException {
throw new UnsupportedOperationException();
}
/**
*
* Lists the readiness checks for an account.
*
*
*
* This is a convenience which creates an instance of the {@link ListReadinessChecksRequest.Builder} avoiding the
* need to create one manually via {@link ListReadinessChecksRequest#builder()}
*
*
* @param listReadinessChecksRequest
* A {@link Consumer} that will call methods on {@link ListReadinessChecksRequest.Builder} to create a
* request.
* @return Result of the ListReadinessChecks operation returned by the service.
* @throws ThrottlingException
* 429 response - Limit exceeded exception or too many requests exception.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.ListReadinessChecks
* @see AWS API Documentation
*/
default ListReadinessChecksResponse listReadinessChecks(
Consumer listReadinessChecksRequest) throws ThrottlingException,
ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException,
Route53RecoveryReadinessException {
return listReadinessChecks(ListReadinessChecksRequest.builder().applyMutation(listReadinessChecksRequest).build());
}
/**
*
* Lists the readiness checks for an account.
*
*
*
* This is a variant of
* {@link #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
*
*
* {@code
* software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListReadinessChecksIterable responses = client.listReadinessChecksPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @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 directly
*
*
* {@code
* software.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
* {@link #listReadinessChecks(software.amazon.awssdk.services.route53recoveryreadiness.model.ListReadinessChecksRequest)}
* operation.
*
*
* @param listReadinessChecksRequest
* @return 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.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.ListReadinessChecks
* @see AWS API Documentation
*/
default ListReadinessChecksIterable listReadinessChecksPaginator(ListReadinessChecksRequest listReadinessChecksRequest)
throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException,
SdkClientException, Route53RecoveryReadinessException {
throw new UnsupportedOperationException();
}
/**
*
* Lists the readiness checks for an account.
*
*
*
* This is a variant of
* {@link #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
*
*
* {@code
* software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListReadinessChecksIterable responses = client.listReadinessChecksPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @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 directly
*
*
* {@code
* software.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
* {@link #listReadinessChecks(software.amazon.awssdk.services.route53recoveryreadiness.model.ListReadinessChecksRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link ListReadinessChecksRequest.Builder} avoiding the
* need to create one manually via {@link ListReadinessChecksRequest#builder()}
*
*
* @param listReadinessChecksRequest
* A {@link Consumer} that will call methods on {@link ListReadinessChecksRequest.Builder} to create a
* request.
* @return 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.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.ListReadinessChecks
* @see AWS API Documentation
*/
default ListReadinessChecksIterable listReadinessChecksPaginator(
Consumer listReadinessChecksRequest) throws ThrottlingException,
ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException,
Route53RecoveryReadinessException {
return listReadinessChecksPaginator(ListReadinessChecksRequest.builder().applyMutation(listReadinessChecksRequest)
.build());
}
/**
*
* Lists the recovery groups in an account.
*
*
* @param listRecoveryGroupsRequest
* @return Result of the ListRecoveryGroups operation returned by the service.
* @throws ThrottlingException
* 429 response - Limit exceeded exception or too many requests exception.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.ListRecoveryGroups
* @see AWS API Documentation
*/
default ListRecoveryGroupsResponse listRecoveryGroups(ListRecoveryGroupsRequest listRecoveryGroupsRequest)
throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException,
SdkClientException, Route53RecoveryReadinessException {
throw new UnsupportedOperationException();
}
/**
*
* Lists the recovery groups in an account.
*
*
*
* This is a convenience which creates an instance of the {@link ListRecoveryGroupsRequest.Builder} avoiding the
* need to create one manually via {@link ListRecoveryGroupsRequest#builder()}
*
*
* @param listRecoveryGroupsRequest
* A {@link Consumer} that will call methods on {@link ListRecoveryGroupsRequest.Builder} to create a
* request.
* @return Result of the ListRecoveryGroups operation returned by the service.
* @throws ThrottlingException
* 429 response - Limit exceeded exception or too many requests exception.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.ListRecoveryGroups
* @see AWS API Documentation
*/
default ListRecoveryGroupsResponse listRecoveryGroups(Consumer listRecoveryGroupsRequest)
throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException,
SdkClientException, Route53RecoveryReadinessException {
return listRecoveryGroups(ListRecoveryGroupsRequest.builder().applyMutation(listRecoveryGroupsRequest).build());
}
/**
*
* Lists the recovery groups in an account.
*
*
*
* This is a variant of
* {@link #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
*
*
* {@code
* software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListRecoveryGroupsIterable responses = client.listRecoveryGroupsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @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 directly
*
*
* {@code
* software.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
* {@link #listRecoveryGroups(software.amazon.awssdk.services.route53recoveryreadiness.model.ListRecoveryGroupsRequest)}
* operation.
*
*
* @param listRecoveryGroupsRequest
* @return 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.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.ListRecoveryGroups
* @see AWS API Documentation
*/
default ListRecoveryGroupsIterable listRecoveryGroupsPaginator(ListRecoveryGroupsRequest listRecoveryGroupsRequest)
throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException,
SdkClientException, Route53RecoveryReadinessException {
throw new UnsupportedOperationException();
}
/**
*
* Lists the recovery groups in an account.
*
*
*
* This is a variant of
* {@link #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
*
*
* {@code
* software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListRecoveryGroupsIterable responses = client.listRecoveryGroupsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @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 directly
*
*
* {@code
* software.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
* {@link #listRecoveryGroups(software.amazon.awssdk.services.route53recoveryreadiness.model.ListRecoveryGroupsRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link ListRecoveryGroupsRequest.Builder} avoiding the
* need to create one manually via {@link ListRecoveryGroupsRequest#builder()}
*
*
* @param listRecoveryGroupsRequest
* A {@link Consumer} that will call methods on {@link ListRecoveryGroupsRequest.Builder} to create a
* request.
* @return 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.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.ListRecoveryGroups
* @see AWS API Documentation
*/
default ListRecoveryGroupsIterable listRecoveryGroupsPaginator(
Consumer listRecoveryGroupsRequest) throws ThrottlingException,
ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException,
Route53RecoveryReadinessException {
return listRecoveryGroupsPaginator(ListRecoveryGroupsRequest.builder().applyMutation(listRecoveryGroupsRequest).build());
}
/**
*
* Lists the resource sets in an account.
*
*
* @param listResourceSetsRequest
* @return Result of the ListResourceSets operation returned by the service.
* @throws ThrottlingException
* 429 response - Limit exceeded exception or too many requests exception.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.ListResourceSets
* @see AWS API Documentation
*/
default ListResourceSetsResponse listResourceSets(ListResourceSetsRequest listResourceSetsRequest)
throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException,
SdkClientException, Route53RecoveryReadinessException {
throw new UnsupportedOperationException();
}
/**
*
* Lists the resource sets in an account.
*
*
*
* This is a convenience which creates an instance of the {@link ListResourceSetsRequest.Builder} avoiding the need
* to create one manually via {@link ListResourceSetsRequest#builder()}
*
*
* @param listResourceSetsRequest
* A {@link Consumer} that will call methods on {@link ListResourceSetsRequest.Builder} to create a request.
* @return Result of the ListResourceSets operation returned by the service.
* @throws ThrottlingException
* 429 response - Limit exceeded exception or too many requests exception.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.ListResourceSets
* @see AWS API Documentation
*/
default ListResourceSetsResponse listResourceSets(Consumer listResourceSetsRequest)
throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException,
SdkClientException, Route53RecoveryReadinessException {
return listResourceSets(ListResourceSetsRequest.builder().applyMutation(listResourceSetsRequest).build());
}
/**
*
* Lists the resource sets in an account.
*
*
*
* This is a variant of
* {@link #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
*
*
* {@code
* software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListResourceSetsIterable responses = client.listResourceSetsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @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 directly
*
*
* {@code
* software.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
* {@link #listResourceSets(software.amazon.awssdk.services.route53recoveryreadiness.model.ListResourceSetsRequest)}
* operation.
*
*
* @param listResourceSetsRequest
* @return 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.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.ListResourceSets
* @see AWS API Documentation
*/
default ListResourceSetsIterable listResourceSetsPaginator(ListResourceSetsRequest listResourceSetsRequest)
throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException,
SdkClientException, Route53RecoveryReadinessException {
throw new UnsupportedOperationException();
}
/**
*
* Lists the resource sets in an account.
*
*
*
* This is a variant of
* {@link #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
*
*
* {@code
* software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListResourceSetsIterable responses = client.listResourceSetsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @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 directly
*
*
* {@code
* software.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
* {@link #listResourceSets(software.amazon.awssdk.services.route53recoveryreadiness.model.ListResourceSetsRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link ListResourceSetsRequest.Builder} avoiding the need
* to create one manually via {@link ListResourceSetsRequest#builder()}
*
*
* @param listResourceSetsRequest
* A {@link Consumer} that will call methods on {@link ListResourceSetsRequest.Builder} to create a request.
* @return 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.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.ListResourceSets
* @see AWS API Documentation
*/
default ListResourceSetsIterable listResourceSetsPaginator(Consumer listResourceSetsRequest)
throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException,
SdkClientException, Route53RecoveryReadinessException {
return listResourceSetsPaginator(ListResourceSetsRequest.builder().applyMutation(listResourceSetsRequest).build());
}
/**
*
* Lists all readiness rules, or lists the readiness rules for a specific resource type.
*
*
* @param listRulesRequest
* @return Result of the ListRules operation returned by the service.
* @throws ThrottlingException
* 429 response - Limit exceeded exception or too many requests exception.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.ListRules
* @see AWS API Documentation
*/
default ListRulesResponse listRules(ListRulesRequest listRulesRequest) throws ThrottlingException, ValidationException,
InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException,
Route53RecoveryReadinessException {
throw new UnsupportedOperationException();
}
/**
*
* Lists all readiness rules, or lists the readiness rules for a specific resource type.
*
*
*
* This is a convenience which creates an instance of the {@link ListRulesRequest.Builder} avoiding the need to
* create one manually via {@link ListRulesRequest#builder()}
*
*
* @param listRulesRequest
* A {@link Consumer} that will call methods on {@link ListRulesRequest.Builder} to create a request.
* @return Result of the ListRules operation returned by the service.
* @throws ThrottlingException
* 429 response - Limit exceeded exception or too many requests exception.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.ListRules
* @see AWS API Documentation
*/
default ListRulesResponse listRules(Consumer listRulesRequest) throws ThrottlingException,
ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException,
Route53RecoveryReadinessException {
return listRules(ListRulesRequest.builder().applyMutation(listRulesRequest).build());
}
/**
*
* Lists all readiness rules, or lists the readiness rules for a specific resource type.
*
*
*
* This is a variant of
* {@link #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
*
*
* {@code
* software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListRulesIterable responses = client.listRulesPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @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 directly
*
*
* {@code
* software.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
* {@link #listRules(software.amazon.awssdk.services.route53recoveryreadiness.model.ListRulesRequest)}
* operation.
*
*
* @param listRulesRequest
* @return 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.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.ListRules
* @see AWS API Documentation
*/
default ListRulesIterable listRulesPaginator(ListRulesRequest listRulesRequest) throws ThrottlingException,
ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException,
Route53RecoveryReadinessException {
throw new UnsupportedOperationException();
}
/**
*
* Lists all readiness rules, or lists the readiness rules for a specific resource type.
*
*
*
* This is a variant of
* {@link #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
*
*
* {@code
* software.amazon.awssdk.services.route53recoveryreadiness.paginators.ListRulesIterable responses = client.listRulesPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @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 directly
*
*
* {@code
* software.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
* {@link #listRules(software.amazon.awssdk.services.route53recoveryreadiness.model.ListRulesRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link ListRulesRequest.Builder} avoiding the need to
* create one manually via {@link ListRulesRequest#builder()}
*
*
* @param listRulesRequest
* A {@link Consumer} that will call methods on {@link ListRulesRequest.Builder} to create a request.
* @return 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.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.ListRules
* @see AWS API Documentation
*/
default ListRulesIterable listRulesPaginator(Consumer listRulesRequest) throws ThrottlingException,
ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException,
Route53RecoveryReadinessException {
return listRulesPaginator(ListRulesRequest.builder().applyMutation(listRulesRequest).build());
}
/**
*
* Lists the tags for a resource.
*
*
* @param listTagsForResourcesRequest
* @return 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.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.ListTagsForResources
* @see AWS API Documentation
*/
default ListTagsForResourcesResponse listTagsForResources(ListTagsForResourcesRequest listTagsForResourcesRequest)
throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException,
SdkClientException, Route53RecoveryReadinessException {
throw new UnsupportedOperationException();
}
/**
*
* Lists the tags for a resource.
*
*
*
* This is a convenience which creates an instance of the {@link ListTagsForResourcesRequest.Builder} avoiding the
* need to create one manually via {@link ListTagsForResourcesRequest#builder()}
*
*
* @param listTagsForResourcesRequest
* A {@link Consumer} that will call methods on {@link ListTagsForResourcesRequest.Builder} to create a
* request.
* @return 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.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.ListTagsForResources
* @see AWS API Documentation
*/
default ListTagsForResourcesResponse listTagsForResources(
Consumer listTagsForResourcesRequest) throws ResourceNotFoundException,
ValidationException, InternalServerException, AwsServiceException, SdkClientException,
Route53RecoveryReadinessException {
return listTagsForResources(ListTagsForResourcesRequest.builder().applyMutation(listTagsForResourcesRequest).build());
}
/**
*
* Adds a tag to a resource.
*
*
* @param tagResourceRequest
* @return 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.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.TagResource
* @see AWS API Documentation
*/
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws ResourceNotFoundException,
ValidationException, InternalServerException, AwsServiceException, SdkClientException,
Route53RecoveryReadinessException {
throw new UnsupportedOperationException();
}
/**
*
* Adds a tag to a resource.
*
*
*
* This is a convenience which creates an instance of the {@link TagResourceRequest.Builder} avoiding the need to
* create one manually via {@link TagResourceRequest#builder()}
*
*
* @param tagResourceRequest
* A {@link Consumer} that will call methods on {@link TagResourceRequest.Builder} to create a request.
* @return 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.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.TagResource
* @see AWS API Documentation
*/
default TagResourceResponse tagResource(Consumer tagResourceRequest)
throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException,
SdkClientException, Route53RecoveryReadinessException {
return tagResource(TagResourceRequest.builder().applyMutation(tagResourceRequest).build());
}
/**
*
* Removes a tag from a resource.
*
*
* @param untagResourceRequest
* @return 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.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.UntagResource
* @see AWS API Documentation
*/
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ResourceNotFoundException,
ValidationException, InternalServerException, AwsServiceException, SdkClientException,
Route53RecoveryReadinessException {
throw new UnsupportedOperationException();
}
/**
*
* Removes a tag from a resource.
*
*
*
* This is a convenience which creates an instance of the {@link UntagResourceRequest.Builder} avoiding the need to
* create one manually via {@link UntagResourceRequest#builder()}
*
*
* @param untagResourceRequest
* A {@link Consumer} that will call methods on {@link UntagResourceRequest.Builder} to create a request.
* @return 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.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.UntagResource
* @see AWS API Documentation
*/
default UntagResourceResponse untagResource(Consumer untagResourceRequest)
throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException,
SdkClientException, Route53RecoveryReadinessException {
return untagResource(UntagResourceRequest.builder().applyMutation(untagResourceRequest).build());
}
/**
*
* Updates a cell to replace the list of nested cells with a new list of nested cells.
*
*
* @param updateCellRequest
* @return 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.
* @throws ThrottlingException
* 429 response - Limit exceeded exception or too many requests exception.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.UpdateCell
* @see AWS API Documentation
*/
default UpdateCellResponse updateCell(UpdateCellRequest updateCellRequest) throws ResourceNotFoundException,
ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException,
SdkClientException, Route53RecoveryReadinessException {
throw new UnsupportedOperationException();
}
/**
*
* 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 {@link UpdateCellRequest.Builder} avoiding the need to
* create one manually via {@link UpdateCellRequest#builder()}
*
*
* @param updateCellRequest
* A {@link Consumer} that will call methods on {@link UpdateCellRequest.Builder} to create a request.
* @return 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.
* @throws ThrottlingException
* 429 response - Limit exceeded exception or too many requests exception.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.UpdateCell
* @see AWS API Documentation
*/
default UpdateCellResponse updateCell(Consumer updateCellRequest)
throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException,
AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException {
return updateCell(UpdateCellRequest.builder().applyMutation(updateCellRequest).build());
}
/**
*
* Updates a readiness check.
*
*
* @param updateReadinessCheckRequest
* Name of a readiness check to describe.
* @return 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.
* @throws ThrottlingException
* 429 response - Limit exceeded exception or too many requests exception.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.UpdateReadinessCheck
* @see AWS API Documentation
*/
default UpdateReadinessCheckResponse updateReadinessCheck(UpdateReadinessCheckRequest updateReadinessCheckRequest)
throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException,
AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException {
throw new UnsupportedOperationException();
}
/**
*
* Updates a readiness check.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateReadinessCheckRequest.Builder} avoiding the
* need to create one manually via {@link UpdateReadinessCheckRequest#builder()}
*
*
* @param updateReadinessCheckRequest
* A {@link Consumer} that will call methods on {@link UpdateReadinessCheckRequest.Builder} to create a
* request. Name of a readiness check to describe.
* @return 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.
* @throws ThrottlingException
* 429 response - Limit exceeded exception or too many requests exception.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.UpdateReadinessCheck
* @see AWS API Documentation
*/
default UpdateReadinessCheckResponse updateReadinessCheck(
Consumer updateReadinessCheckRequest) throws ResourceNotFoundException,
ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException,
SdkClientException, Route53RecoveryReadinessException {
return updateReadinessCheck(UpdateReadinessCheckRequest.builder().applyMutation(updateReadinessCheckRequest).build());
}
/**
*
* Updates a recovery group.
*
*
* @param updateRecoveryGroupRequest
* Name of a recovery group.
* @return 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.
* @throws ThrottlingException
* 429 response - Limit exceeded exception or too many requests exception.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.UpdateRecoveryGroup
* @see AWS API Documentation
*/
default UpdateRecoveryGroupResponse updateRecoveryGroup(UpdateRecoveryGroupRequest updateRecoveryGroupRequest)
throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException,
AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException {
throw new UnsupportedOperationException();
}
/**
*
* Updates a recovery group.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateRecoveryGroupRequest.Builder} avoiding the
* need to create one manually via {@link UpdateRecoveryGroupRequest#builder()}
*
*
* @param updateRecoveryGroupRequest
* A {@link Consumer} that will call methods on {@link UpdateRecoveryGroupRequest.Builder} to create a
* request. Name of a recovery group.
* @return 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.
* @throws ThrottlingException
* 429 response - Limit exceeded exception or too many requests exception.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.UpdateRecoveryGroup
* @see AWS API Documentation
*/
default UpdateRecoveryGroupResponse updateRecoveryGroup(
Consumer updateRecoveryGroupRequest) throws ResourceNotFoundException,
ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException,
SdkClientException, Route53RecoveryReadinessException {
return updateRecoveryGroup(UpdateRecoveryGroupRequest.builder().applyMutation(updateRecoveryGroupRequest).build());
}
/**
*
* Updates a resource set.
*
*
* @param updateResourceSetRequest
* Name of a resource set.
* @return 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.
* @throws ThrottlingException
* 429 response - Limit exceeded exception or too many requests exception.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.UpdateResourceSet
* @see AWS API Documentation
*/
default UpdateResourceSetResponse updateResourceSet(UpdateResourceSetRequest updateResourceSetRequest)
throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException,
AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException {
throw new UnsupportedOperationException();
}
/**
*
* Updates a resource set.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateResourceSetRequest.Builder} avoiding the need
* to create one manually via {@link UpdateResourceSetRequest#builder()}
*
*
* @param updateResourceSetRequest
* A {@link Consumer} that will call methods on {@link UpdateResourceSetRequest.Builder} to create a request.
* Name of a resource set.
* @return 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.
* @throws ThrottlingException
* 429 response - Limit exceeded exception or too many requests exception.
* @throws 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.
* @throws InternalServerException
* 500 response - Internal service error or temporary service error. Retry the request.
* @throws AccessDeniedException
* 403 response - Access denied exception. You do not have sufficient access to perform this action.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws Route53RecoveryReadinessException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample Route53RecoveryReadinessClient.UpdateResourceSet
* @see AWS API Documentation
*/
default UpdateResourceSetResponse updateResourceSet(Consumer updateResourceSetRequest)
throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException,
AccessDeniedException, AwsServiceException, SdkClientException, Route53RecoveryReadinessException {
return updateResourceSet(UpdateResourceSetRequest.builder().applyMutation(updateResourceSetRequest).build());
}
static ServiceMetadata serviceMetadata() {
return ServiceMetadata.of(SERVICE_METADATA_ID);
}
}