Interface Route53ProfilesClient
-
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface Route53ProfilesClient extends AwsClient
Service client for accessing Route 53 Profiles. This can be created using the staticbuilder()method.With Amazon Route 53 Profiles you can share Route 53 configurations with VPCs and AWS accounts
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERVICE_METADATA_IDValue for looking up the service's metadata from theServiceMetadataProvider.static StringSERVICE_NAME
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
SERVICE_METADATA_ID
static final String SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
- Constant Field Values
-
-
Method Detail
-
associateProfile
default AssociateProfileResponse associateProfile(AssociateProfileRequest associateProfileRequest) throws ResourceNotFoundException, ResourceExistsException, LimitExceededException, InvalidParameterException, ThrottlingException, ValidationException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, Route53ProfilesException
Associates a Route 53 Profiles profile with a VPC. A VPC can have only one Profile associated with it, but a Profile can be associated with 1000 of VPCs (and you can request a higher quota). For more information, see https:// docs.aws.amazon.com/Route53/latest/DeveloperGuide/DNSLimitations.html#limits-api-entities.
- Parameters:
associateProfileRequest-- Returns:
- Result of the AssociateProfile operation returned by the service.
- Throws:
ResourceNotFoundException- The resource you are associating is not found.ResourceExistsException- The resource you are trying to associate, has already been associated.LimitExceededException- The request caused one or more limits to be exceeded.InvalidParameterException- One or more parameters in this request are not valid.ThrottlingException- The request was throttled. Try again in a few minutes.ValidationException- You have provided an invalid command.AccessDeniedException- The current account doesn't have the IAM permissions required to perform the specified operation.ConflictException- The request you submitted conflicts with an existing request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ProfilesException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
associateProfile
default AssociateProfileResponse associateProfile(Consumer<AssociateProfileRequest.Builder> associateProfileRequest) throws ResourceNotFoundException, ResourceExistsException, LimitExceededException, InvalidParameterException, ThrottlingException, ValidationException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, Route53ProfilesException
Associates a Route 53 Profiles profile with a VPC. A VPC can have only one Profile associated with it, but a Profile can be associated with 1000 of VPCs (and you can request a higher quota). For more information, see https:// docs.aws.amazon.com/Route53/latest/DeveloperGuide/DNSLimitations.html#limits-api-entities.
This is a convenience which creates an instance of the
AssociateProfileRequest.Builderavoiding the need to create one manually viaAssociateProfileRequest.builder()- Parameters:
associateProfileRequest- AConsumerthat will call methods onAssociateProfileRequest.Builderto create a request.- Returns:
- Result of the AssociateProfile operation returned by the service.
- Throws:
ResourceNotFoundException- The resource you are associating is not found.ResourceExistsException- The resource you are trying to associate, has already been associated.LimitExceededException- The request caused one or more limits to be exceeded.InvalidParameterException- One or more parameters in this request are not valid.ThrottlingException- The request was throttled. Try again in a few minutes.ValidationException- You have provided an invalid command.AccessDeniedException- The current account doesn't have the IAM permissions required to perform the specified operation.ConflictException- The request you submitted conflicts with an existing request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ProfilesException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
associateResourceToProfile
default AssociateResourceToProfileResponse associateResourceToProfile(AssociateResourceToProfileRequest associateResourceToProfileRequest) throws ResourceNotFoundException, LimitExceededException, InternalServiceErrorException, InvalidParameterException, ThrottlingException, ValidationException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, Route53ProfilesException
Associates a DNS reource configuration to a Route 53 Profile.
- Parameters:
associateResourceToProfileRequest-- Returns:
- Result of the AssociateResourceToProfile operation returned by the service.
- Throws:
ResourceNotFoundException- The resource you are associating is not found.LimitExceededException- The request caused one or more limits to be exceeded.InternalServiceErrorException- An internal server error occured. Retry your request.InvalidParameterException- One or more parameters in this request are not valid.ThrottlingException- The request was throttled. Try again in a few minutes.ValidationException- You have provided an invalid command.AccessDeniedException- The current account doesn't have the IAM permissions required to perform the specified operation.ConflictException- The request you submitted conflicts with an existing request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ProfilesException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
associateResourceToProfile
default AssociateResourceToProfileResponse associateResourceToProfile(Consumer<AssociateResourceToProfileRequest.Builder> associateResourceToProfileRequest) throws ResourceNotFoundException, LimitExceededException, InternalServiceErrorException, InvalidParameterException, ThrottlingException, ValidationException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, Route53ProfilesException
Associates a DNS reource configuration to a Route 53 Profile.
This is a convenience which creates an instance of the
AssociateResourceToProfileRequest.Builderavoiding the need to create one manually viaAssociateResourceToProfileRequest.builder()- Parameters:
associateResourceToProfileRequest- AConsumerthat will call methods onAssociateResourceToProfileRequest.Builderto create a request.- Returns:
- Result of the AssociateResourceToProfile operation returned by the service.
- Throws:
ResourceNotFoundException- The resource you are associating is not found.LimitExceededException- The request caused one or more limits to be exceeded.InternalServiceErrorException- An internal server error occured. Retry your request.InvalidParameterException- One or more parameters in this request are not valid.ThrottlingException- The request was throttled. Try again in a few minutes.ValidationException- You have provided an invalid command.AccessDeniedException- The current account doesn't have the IAM permissions required to perform the specified operation.ConflictException- The request you submitted conflicts with an existing request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ProfilesException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createProfile
default CreateProfileResponse createProfile(CreateProfileRequest createProfileRequest) throws LimitExceededException, InvalidParameterException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Route53ProfilesException
Creates an empty Route 53 Profile.
- Parameters:
createProfileRequest-- Returns:
- Result of the CreateProfile operation returned by the service.
- Throws:
LimitExceededException- The request caused one or more limits to be exceeded.InvalidParameterException- One or more parameters in this request are not valid.ThrottlingException- The request was throttled. Try again in a few minutes.ValidationException- You have provided an invalid command.AccessDeniedException- The current account doesn't have the IAM permissions required to perform the specified operation.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ProfilesException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createProfile
default CreateProfileResponse createProfile(Consumer<CreateProfileRequest.Builder> createProfileRequest) throws LimitExceededException, InvalidParameterException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Route53ProfilesException
Creates an empty Route 53 Profile.
This is a convenience which creates an instance of the
CreateProfileRequest.Builderavoiding the need to create one manually viaCreateProfileRequest.builder()- Parameters:
createProfileRequest- AConsumerthat will call methods onCreateProfileRequest.Builderto create a request.- Returns:
- Result of the CreateProfile operation returned by the service.
- Throws:
LimitExceededException- The request caused one or more limits to be exceeded.InvalidParameterException- One or more parameters in this request are not valid.ThrottlingException- The request was throttled. Try again in a few minutes.ValidationException- You have provided an invalid command.AccessDeniedException- The current account doesn't have the IAM permissions required to perform the specified operation.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ProfilesException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteProfile
default DeleteProfileResponse deleteProfile(DeleteProfileRequest deleteProfileRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, Route53ProfilesException
Deletes the specified Route 53 Profile. Before you can delete a profile, you must first disassociate it from all VPCs.
- Parameters:
deleteProfileRequest-- Returns:
- Result of the DeleteProfile operation returned by the service.
- Throws:
ResourceNotFoundException- The resource you are associating is not found.ThrottlingException- The request was throttled. Try again in a few minutes.ValidationException- You have provided an invalid command.AccessDeniedException- The current account doesn't have the IAM permissions required to perform the specified operation.ConflictException- The request you submitted conflicts with an existing request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ProfilesException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteProfile
default DeleteProfileResponse deleteProfile(Consumer<DeleteProfileRequest.Builder> deleteProfileRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, Route53ProfilesException
Deletes the specified Route 53 Profile. Before you can delete a profile, you must first disassociate it from all VPCs.
This is a convenience which creates an instance of the
DeleteProfileRequest.Builderavoiding the need to create one manually viaDeleteProfileRequest.builder()- Parameters:
deleteProfileRequest- AConsumerthat will call methods onDeleteProfileRequest.Builderto create a request.- Returns:
- Result of the DeleteProfile operation returned by the service.
- Throws:
ResourceNotFoundException- The resource you are associating is not found.ThrottlingException- The request was throttled. Try again in a few minutes.ValidationException- You have provided an invalid command.AccessDeniedException- The current account doesn't have the IAM permissions required to perform the specified operation.ConflictException- The request you submitted conflicts with an existing request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ProfilesException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
disassociateProfile
default DisassociateProfileResponse disassociateProfile(DisassociateProfileRequest disassociateProfileRequest) throws ResourceNotFoundException, LimitExceededException, InvalidParameterException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Route53ProfilesException
Dissociates a specified Route 53 Profile from the specified VPC.
- Parameters:
disassociateProfileRequest-- Returns:
- Result of the DisassociateProfile operation returned by the service.
- Throws:
ResourceNotFoundException- The resource you are associating is not found.LimitExceededException- The request caused one or more limits to be exceeded.InvalidParameterException- One or more parameters in this request are not valid.ThrottlingException- The request was throttled. Try again in a few minutes.ValidationException- You have provided an invalid command.AccessDeniedException- The current account doesn't have the IAM permissions required to perform the specified operation.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ProfilesException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
disassociateProfile
default DisassociateProfileResponse disassociateProfile(Consumer<DisassociateProfileRequest.Builder> disassociateProfileRequest) throws ResourceNotFoundException, LimitExceededException, InvalidParameterException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Route53ProfilesException
Dissociates a specified Route 53 Profile from the specified VPC.
This is a convenience which creates an instance of the
DisassociateProfileRequest.Builderavoiding the need to create one manually viaDisassociateProfileRequest.builder()- Parameters:
disassociateProfileRequest- AConsumerthat will call methods onDisassociateProfileRequest.Builderto create a request.- Returns:
- Result of the DisassociateProfile operation returned by the service.
- Throws:
ResourceNotFoundException- The resource you are associating is not found.LimitExceededException- The request caused one or more limits to be exceeded.InvalidParameterException- One or more parameters in this request are not valid.ThrottlingException- The request was throttled. Try again in a few minutes.ValidationException- You have provided an invalid command.AccessDeniedException- The current account doesn't have the IAM permissions required to perform the specified operation.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ProfilesException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
disassociateResourceFromProfile
default DisassociateResourceFromProfileResponse disassociateResourceFromProfile(DisassociateResourceFromProfileRequest disassociateResourceFromProfileRequest) throws ResourceNotFoundException, LimitExceededException, InternalServiceErrorException, InvalidParameterException, ThrottlingException, ValidationException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, Route53ProfilesException
Dissoaciated a specified resource, from the Route 53 Profile.
- Parameters:
disassociateResourceFromProfileRequest-- Returns:
- Result of the DisassociateResourceFromProfile operation returned by the service.
- Throws:
ResourceNotFoundException- The resource you are associating is not found.LimitExceededException- The request caused one or more limits to be exceeded.InternalServiceErrorException- An internal server error occured. Retry your request.InvalidParameterException- One or more parameters in this request are not valid.ThrottlingException- The request was throttled. Try again in a few minutes.ValidationException- You have provided an invalid command.AccessDeniedException- The current account doesn't have the IAM permissions required to perform the specified operation.ConflictException- The request you submitted conflicts with an existing request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ProfilesException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
disassociateResourceFromProfile
default DisassociateResourceFromProfileResponse disassociateResourceFromProfile(Consumer<DisassociateResourceFromProfileRequest.Builder> disassociateResourceFromProfileRequest) throws ResourceNotFoundException, LimitExceededException, InternalServiceErrorException, InvalidParameterException, ThrottlingException, ValidationException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, Route53ProfilesException
Dissoaciated a specified resource, from the Route 53 Profile.
This is a convenience which creates an instance of the
DisassociateResourceFromProfileRequest.Builderavoiding the need to create one manually viaDisassociateResourceFromProfileRequest.builder()- Parameters:
disassociateResourceFromProfileRequest- AConsumerthat will call methods onDisassociateResourceFromProfileRequest.Builderto create a request.- Returns:
- Result of the DisassociateResourceFromProfile operation returned by the service.
- Throws:
ResourceNotFoundException- The resource you are associating is not found.LimitExceededException- The request caused one or more limits to be exceeded.InternalServiceErrorException- An internal server error occured. Retry your request.InvalidParameterException- One or more parameters in this request are not valid.ThrottlingException- The request was throttled. Try again in a few minutes.ValidationException- You have provided an invalid command.AccessDeniedException- The current account doesn't have the IAM permissions required to perform the specified operation.ConflictException- The request you submitted conflicts with an existing request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ProfilesException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getProfile
default GetProfileResponse getProfile(GetProfileRequest getProfileRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Route53ProfilesException
Returns information about a specified Route 53 Profile, such as whether whether the Profile is shared, and the current status of the Profile.
- Parameters:
getProfileRequest-- Returns:
- Result of the GetProfile operation returned by the service.
- Throws:
ResourceNotFoundException- The resource you are associating is not found.ThrottlingException- The request was throttled. Try again in a few minutes.ValidationException- You have provided an invalid command.AccessDeniedException- The current account doesn't have the IAM permissions required to perform the specified operation.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ProfilesException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getProfile
default GetProfileResponse getProfile(Consumer<GetProfileRequest.Builder> getProfileRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Route53ProfilesException
Returns information about a specified Route 53 Profile, such as whether whether the Profile is shared, and the current status of the Profile.
This is a convenience which creates an instance of the
GetProfileRequest.Builderavoiding the need to create one manually viaGetProfileRequest.builder()- Parameters:
getProfileRequest- AConsumerthat will call methods onGetProfileRequest.Builderto create a request.- Returns:
- Result of the GetProfile operation returned by the service.
- Throws:
ResourceNotFoundException- The resource you are associating is not found.ThrottlingException- The request was throttled. Try again in a few minutes.ValidationException- You have provided an invalid command.AccessDeniedException- The current account doesn't have the IAM permissions required to perform the specified operation.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ProfilesException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getProfileAssociation
default GetProfileAssociationResponse getProfileAssociation(GetProfileAssociationRequest getProfileAssociationRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Route53ProfilesException
Retrieves a Route 53 Profile association for a VPC. A VPC can have only one Profile association, but a Profile can be associated with up to 5000 VPCs.
- Parameters:
getProfileAssociationRequest-- Returns:
- Result of the GetProfileAssociation operation returned by the service.
- Throws:
ResourceNotFoundException- The resource you are associating is not found.ThrottlingException- The request was throttled. Try again in a few minutes.ValidationException- You have provided an invalid command.AccessDeniedException- The current account doesn't have the IAM permissions required to perform the specified operation.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ProfilesException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getProfileAssociation
default GetProfileAssociationResponse getProfileAssociation(Consumer<GetProfileAssociationRequest.Builder> getProfileAssociationRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Route53ProfilesException
Retrieves a Route 53 Profile association for a VPC. A VPC can have only one Profile association, but a Profile can be associated with up to 5000 VPCs.
This is a convenience which creates an instance of the
GetProfileAssociationRequest.Builderavoiding the need to create one manually viaGetProfileAssociationRequest.builder()- Parameters:
getProfileAssociationRequest- AConsumerthat will call methods onGetProfileAssociationRequest.Builderto create a request.- Returns:
- Result of the GetProfileAssociation operation returned by the service.
- Throws:
ResourceNotFoundException- The resource you are associating is not found.ThrottlingException- The request was throttled. Try again in a few minutes.ValidationException- You have provided an invalid command.AccessDeniedException- The current account doesn't have the IAM permissions required to perform the specified operation.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ProfilesException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getProfileResourceAssociation
default GetProfileResourceAssociationResponse getProfileResourceAssociation(GetProfileResourceAssociationRequest getProfileResourceAssociationRequest) throws ResourceNotFoundException, InvalidParameterException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Route53ProfilesException
Returns information about a specified Route 53 Profile resource association.
- Parameters:
getProfileResourceAssociationRequest-- Returns:
- Result of the GetProfileResourceAssociation operation returned by the service.
- Throws:
ResourceNotFoundException- The resource you are associating is not found.InvalidParameterException- One or more parameters in this request are not valid.ThrottlingException- The request was throttled. Try again in a few minutes.ValidationException- You have provided an invalid command.AccessDeniedException- The current account doesn't have the IAM permissions required to perform the specified operation.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ProfilesException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getProfileResourceAssociation
default GetProfileResourceAssociationResponse getProfileResourceAssociation(Consumer<GetProfileResourceAssociationRequest.Builder> getProfileResourceAssociationRequest) throws ResourceNotFoundException, InvalidParameterException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Route53ProfilesException
Returns information about a specified Route 53 Profile resource association.
This is a convenience which creates an instance of the
GetProfileResourceAssociationRequest.Builderavoiding the need to create one manually viaGetProfileResourceAssociationRequest.builder()- Parameters:
getProfileResourceAssociationRequest- AConsumerthat will call methods onGetProfileResourceAssociationRequest.Builderto create a request.- Returns:
- Result of the GetProfileResourceAssociation operation returned by the service.
- Throws:
ResourceNotFoundException- The resource you are associating is not found.InvalidParameterException- One or more parameters in this request are not valid.ThrottlingException- The request was throttled. Try again in a few minutes.ValidationException- You have provided an invalid command.AccessDeniedException- The current account doesn't have the IAM permissions required to perform the specified operation.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ProfilesException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listProfileAssociations
default ListProfileAssociationsResponse listProfileAssociations(ListProfileAssociationsRequest listProfileAssociationsRequest) throws InvalidParameterException, ThrottlingException, ValidationException, AccessDeniedException, InvalidNextTokenException, AwsServiceException, SdkClientException, Route53ProfilesException
Lists all the VPCs that the specified Route 53 Profile is associated with.
- Parameters:
listProfileAssociationsRequest-- Returns:
- Result of the ListProfileAssociations operation returned by the service.
- Throws:
InvalidParameterException- One or more parameters in this request are not valid.ThrottlingException- The request was throttled. Try again in a few minutes.ValidationException- You have provided an invalid command.AccessDeniedException- The current account doesn't have the IAM permissions required to perform the specified operation.InvalidNextTokenException- TheNextTokenyou provided isn;t valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ProfilesException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listProfileAssociations
default ListProfileAssociationsResponse listProfileAssociations(Consumer<ListProfileAssociationsRequest.Builder> listProfileAssociationsRequest) throws InvalidParameterException, ThrottlingException, ValidationException, AccessDeniedException, InvalidNextTokenException, AwsServiceException, SdkClientException, Route53ProfilesException
Lists all the VPCs that the specified Route 53 Profile is associated with.
This is a convenience which creates an instance of the
ListProfileAssociationsRequest.Builderavoiding the need to create one manually viaListProfileAssociationsRequest.builder()- Parameters:
listProfileAssociationsRequest- AConsumerthat will call methods onListProfileAssociationsRequest.Builderto create a request.- Returns:
- Result of the ListProfileAssociations operation returned by the service.
- Throws:
InvalidParameterException- One or more parameters in this request are not valid.ThrottlingException- The request was throttled. Try again in a few minutes.ValidationException- You have provided an invalid command.AccessDeniedException- The current account doesn't have the IAM permissions required to perform the specified operation.InvalidNextTokenException- TheNextTokenyou provided isn;t valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ProfilesException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listProfileAssociationsPaginator
default ListProfileAssociationsIterable listProfileAssociationsPaginator(ListProfileAssociationsRequest listProfileAssociationsRequest) throws InvalidParameterException, ThrottlingException, ValidationException, AccessDeniedException, InvalidNextTokenException, AwsServiceException, SdkClientException, Route53ProfilesException
This is a variant of
listProfileAssociations(software.amazon.awssdk.services.route53profiles.model.ListProfileAssociationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.route53profiles.paginators.ListProfileAssociationsIterable responses = client.listProfileAssociationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.route53profiles.paginators.ListProfileAssociationsIterable responses = client .listProfileAssociationsPaginator(request); for (software.amazon.awssdk.services.route53profiles.model.ListProfileAssociationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.route53profiles.paginators.ListProfileAssociationsIterable responses = client.listProfileAssociationsPaginator(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
listProfileAssociations(software.amazon.awssdk.services.route53profiles.model.ListProfileAssociationsRequest)operation.- Parameters:
listProfileAssociationsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InvalidParameterException- One or more parameters in this request are not valid.ThrottlingException- The request was throttled. Try again in a few minutes.ValidationException- You have provided an invalid command.AccessDeniedException- The current account doesn't have the IAM permissions required to perform the specified operation.InvalidNextTokenException- TheNextTokenyou provided isn;t valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ProfilesException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listProfileAssociationsPaginator
default ListProfileAssociationsIterable listProfileAssociationsPaginator(Consumer<ListProfileAssociationsRequest.Builder> listProfileAssociationsRequest) throws InvalidParameterException, ThrottlingException, ValidationException, AccessDeniedException, InvalidNextTokenException, AwsServiceException, SdkClientException, Route53ProfilesException
This is a variant of
listProfileAssociations(software.amazon.awssdk.services.route53profiles.model.ListProfileAssociationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.route53profiles.paginators.ListProfileAssociationsIterable responses = client.listProfileAssociationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.route53profiles.paginators.ListProfileAssociationsIterable responses = client .listProfileAssociationsPaginator(request); for (software.amazon.awssdk.services.route53profiles.model.ListProfileAssociationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.route53profiles.paginators.ListProfileAssociationsIterable responses = client.listProfileAssociationsPaginator(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
listProfileAssociations(software.amazon.awssdk.services.route53profiles.model.ListProfileAssociationsRequest)operation.
This is a convenience which creates an instance of the
ListProfileAssociationsRequest.Builderavoiding the need to create one manually viaListProfileAssociationsRequest.builder()- Parameters:
listProfileAssociationsRequest- AConsumerthat will call methods onListProfileAssociationsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InvalidParameterException- One or more parameters in this request are not valid.ThrottlingException- The request was throttled. Try again in a few minutes.ValidationException- You have provided an invalid command.AccessDeniedException- The current account doesn't have the IAM permissions required to perform the specified operation.InvalidNextTokenException- TheNextTokenyou provided isn;t valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ProfilesException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listProfileResourceAssociations
default ListProfileResourceAssociationsResponse listProfileResourceAssociations(ListProfileResourceAssociationsRequest listProfileResourceAssociationsRequest) throws ResourceNotFoundException, InternalServiceErrorException, InvalidParameterException, ThrottlingException, ValidationException, AccessDeniedException, InvalidNextTokenException, AwsServiceException, SdkClientException, Route53ProfilesException
Lists all the resource associations for the specified Route 53 Profile.
- Parameters:
listProfileResourceAssociationsRequest-- Returns:
- Result of the ListProfileResourceAssociations operation returned by the service.
- Throws:
ResourceNotFoundException- The resource you are associating is not found.InternalServiceErrorException- An internal server error occured. Retry your request.InvalidParameterException- One or more parameters in this request are not valid.ThrottlingException- The request was throttled. Try again in a few minutes.ValidationException- You have provided an invalid command.AccessDeniedException- The current account doesn't have the IAM permissions required to perform the specified operation.InvalidNextTokenException- TheNextTokenyou provided isn;t valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ProfilesException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listProfileResourceAssociations
default ListProfileResourceAssociationsResponse listProfileResourceAssociations(Consumer<ListProfileResourceAssociationsRequest.Builder> listProfileResourceAssociationsRequest) throws ResourceNotFoundException, InternalServiceErrorException, InvalidParameterException, ThrottlingException, ValidationException, AccessDeniedException, InvalidNextTokenException, AwsServiceException, SdkClientException, Route53ProfilesException
Lists all the resource associations for the specified Route 53 Profile.
This is a convenience which creates an instance of the
ListProfileResourceAssociationsRequest.Builderavoiding the need to create one manually viaListProfileResourceAssociationsRequest.builder()- Parameters:
listProfileResourceAssociationsRequest- AConsumerthat will call methods onListProfileResourceAssociationsRequest.Builderto create a request.- Returns:
- Result of the ListProfileResourceAssociations operation returned by the service.
- Throws:
ResourceNotFoundException- The resource you are associating is not found.InternalServiceErrorException- An internal server error occured. Retry your request.InvalidParameterException- One or more parameters in this request are not valid.ThrottlingException- The request was throttled. Try again in a few minutes.ValidationException- You have provided an invalid command.AccessDeniedException- The current account doesn't have the IAM permissions required to perform the specified operation.InvalidNextTokenException- TheNextTokenyou provided isn;t valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ProfilesException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listProfileResourceAssociationsPaginator
default ListProfileResourceAssociationsIterable listProfileResourceAssociationsPaginator(ListProfileResourceAssociationsRequest listProfileResourceAssociationsRequest) throws ResourceNotFoundException, InternalServiceErrorException, InvalidParameterException, ThrottlingException, ValidationException, AccessDeniedException, InvalidNextTokenException, AwsServiceException, SdkClientException, Route53ProfilesException
This is a variant of
listProfileResourceAssociations(software.amazon.awssdk.services.route53profiles.model.ListProfileResourceAssociationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.route53profiles.paginators.ListProfileResourceAssociationsIterable responses = client.listProfileResourceAssociationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.route53profiles.paginators.ListProfileResourceAssociationsIterable responses = client .listProfileResourceAssociationsPaginator(request); for (software.amazon.awssdk.services.route53profiles.model.ListProfileResourceAssociationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.route53profiles.paginators.ListProfileResourceAssociationsIterable responses = client.listProfileResourceAssociationsPaginator(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
listProfileResourceAssociations(software.amazon.awssdk.services.route53profiles.model.ListProfileResourceAssociationsRequest)operation.- Parameters:
listProfileResourceAssociationsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ResourceNotFoundException- The resource you are associating is not found.InternalServiceErrorException- An internal server error occured. Retry your request.InvalidParameterException- One or more parameters in this request are not valid.ThrottlingException- The request was throttled. Try again in a few minutes.ValidationException- You have provided an invalid command.AccessDeniedException- The current account doesn't have the IAM permissions required to perform the specified operation.InvalidNextTokenException- TheNextTokenyou provided isn;t valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ProfilesException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listProfileResourceAssociationsPaginator
default ListProfileResourceAssociationsIterable listProfileResourceAssociationsPaginator(Consumer<ListProfileResourceAssociationsRequest.Builder> listProfileResourceAssociationsRequest) throws ResourceNotFoundException, InternalServiceErrorException, InvalidParameterException, ThrottlingException, ValidationException, AccessDeniedException, InvalidNextTokenException, AwsServiceException, SdkClientException, Route53ProfilesException
This is a variant of
listProfileResourceAssociations(software.amazon.awssdk.services.route53profiles.model.ListProfileResourceAssociationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.route53profiles.paginators.ListProfileResourceAssociationsIterable responses = client.listProfileResourceAssociationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.route53profiles.paginators.ListProfileResourceAssociationsIterable responses = client .listProfileResourceAssociationsPaginator(request); for (software.amazon.awssdk.services.route53profiles.model.ListProfileResourceAssociationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.route53profiles.paginators.ListProfileResourceAssociationsIterable responses = client.listProfileResourceAssociationsPaginator(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
listProfileResourceAssociations(software.amazon.awssdk.services.route53profiles.model.ListProfileResourceAssociationsRequest)operation.
This is a convenience which creates an instance of the
ListProfileResourceAssociationsRequest.Builderavoiding the need to create one manually viaListProfileResourceAssociationsRequest.builder()- Parameters:
listProfileResourceAssociationsRequest- AConsumerthat will call methods onListProfileResourceAssociationsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ResourceNotFoundException- The resource you are associating is not found.InternalServiceErrorException- An internal server error occured. Retry your request.InvalidParameterException- One or more parameters in this request are not valid.ThrottlingException- The request was throttled. Try again in a few minutes.ValidationException- You have provided an invalid command.AccessDeniedException- The current account doesn't have the IAM permissions required to perform the specified operation.InvalidNextTokenException- TheNextTokenyou provided isn;t valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ProfilesException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listProfiles
default ListProfilesResponse listProfiles(ListProfilesRequest listProfilesRequest) throws InvalidParameterException, ThrottlingException, ValidationException, AccessDeniedException, InvalidNextTokenException, AwsServiceException, SdkClientException, Route53ProfilesException
Lists all the Route 53 Profiles associated with your Amazon Web Services account.
- Parameters:
listProfilesRequest-- Returns:
- Result of the ListProfiles operation returned by the service.
- Throws:
InvalidParameterException- One or more parameters in this request are not valid.ThrottlingException- The request was throttled. Try again in a few minutes.ValidationException- You have provided an invalid command.AccessDeniedException- The current account doesn't have the IAM permissions required to perform the specified operation.InvalidNextTokenException- TheNextTokenyou provided isn;t valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ProfilesException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listProfiles
default ListProfilesResponse listProfiles(Consumer<ListProfilesRequest.Builder> listProfilesRequest) throws InvalidParameterException, ThrottlingException, ValidationException, AccessDeniedException, InvalidNextTokenException, AwsServiceException, SdkClientException, Route53ProfilesException
Lists all the Route 53 Profiles associated with your Amazon Web Services account.
This is a convenience which creates an instance of the
ListProfilesRequest.Builderavoiding the need to create one manually viaListProfilesRequest.builder()- Parameters:
listProfilesRequest- AConsumerthat will call methods onListProfilesRequest.Builderto create a request.- Returns:
- Result of the ListProfiles operation returned by the service.
- Throws:
InvalidParameterException- One or more parameters in this request are not valid.ThrottlingException- The request was throttled. Try again in a few minutes.ValidationException- You have provided an invalid command.AccessDeniedException- The current account doesn't have the IAM permissions required to perform the specified operation.InvalidNextTokenException- TheNextTokenyou provided isn;t valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ProfilesException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listProfilesPaginator
default ListProfilesIterable listProfilesPaginator(ListProfilesRequest listProfilesRequest) throws InvalidParameterException, ThrottlingException, ValidationException, AccessDeniedException, InvalidNextTokenException, AwsServiceException, SdkClientException, Route53ProfilesException
This is a variant of
listProfiles(software.amazon.awssdk.services.route53profiles.model.ListProfilesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.route53profiles.paginators.ListProfilesIterable responses = client.listProfilesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.route53profiles.paginators.ListProfilesIterable responses = client .listProfilesPaginator(request); for (software.amazon.awssdk.services.route53profiles.model.ListProfilesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.route53profiles.paginators.ListProfilesIterable responses = client.listProfilesPaginator(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
listProfiles(software.amazon.awssdk.services.route53profiles.model.ListProfilesRequest)operation.- Parameters:
listProfilesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InvalidParameterException- One or more parameters in this request are not valid.ThrottlingException- The request was throttled. Try again in a few minutes.ValidationException- You have provided an invalid command.AccessDeniedException- The current account doesn't have the IAM permissions required to perform the specified operation.InvalidNextTokenException- TheNextTokenyou provided isn;t valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ProfilesException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listProfilesPaginator
default ListProfilesIterable listProfilesPaginator(Consumer<ListProfilesRequest.Builder> listProfilesRequest) throws InvalidParameterException, ThrottlingException, ValidationException, AccessDeniedException, InvalidNextTokenException, AwsServiceException, SdkClientException, Route53ProfilesException
This is a variant of
listProfiles(software.amazon.awssdk.services.route53profiles.model.ListProfilesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.route53profiles.paginators.ListProfilesIterable responses = client.listProfilesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.route53profiles.paginators.ListProfilesIterable responses = client .listProfilesPaginator(request); for (software.amazon.awssdk.services.route53profiles.model.ListProfilesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.route53profiles.paginators.ListProfilesIterable responses = client.listProfilesPaginator(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
listProfiles(software.amazon.awssdk.services.route53profiles.model.ListProfilesRequest)operation.
This is a convenience which creates an instance of the
ListProfilesRequest.Builderavoiding the need to create one manually viaListProfilesRequest.builder()- Parameters:
listProfilesRequest- AConsumerthat will call methods onListProfilesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InvalidParameterException- One or more parameters in this request are not valid.ThrottlingException- The request was throttled. Try again in a few minutes.ValidationException- You have provided an invalid command.AccessDeniedException- The current account doesn't have the IAM permissions required to perform the specified operation.InvalidNextTokenException- TheNextTokenyou provided isn;t valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ProfilesException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, Route53ProfilesException
Lists the tags that you associated with the specified resource.
- Parameters:
listTagsForResourceRequest-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- Throws:
ResourceNotFoundException- The resource you are associating is not found.ThrottlingException- The request was throttled. Try again in a few minutes.ValidationException- You have provided an invalid command.AccessDeniedException- The current account doesn't have the IAM permissions required to perform the specified operation.ConflictException- The request you submitted conflicts with an existing request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ProfilesException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, Route53ProfilesException
Lists the tags that you associated with the specified resource.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- Throws:
ResourceNotFoundException- The resource you are associating is not found.ThrottlingException- The request was throttled. Try again in a few minutes.ValidationException- You have provided an invalid command.AccessDeniedException- The current account doesn't have the IAM permissions required to perform the specified operation.ConflictException- The request you submitted conflicts with an existing request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ProfilesException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Route53ProfilesException
Adds one or more tags to a specified resource.
- Parameters:
tagResourceRequest-- Returns:
- Result of the TagResource operation returned by the service.
- Throws:
ResourceNotFoundException- The resource you are associating is not found.ThrottlingException- The request was throttled. Try again in a few minutes.ValidationException- You have provided an invalid command.AccessDeniedException- The current account doesn't have the IAM permissions required to perform the specified operation.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ProfilesException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Route53ProfilesException
Adds one or more tags to a specified resource.
This is a convenience which creates an instance of the
TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- Result of the TagResource operation returned by the service.
- Throws:
ResourceNotFoundException- The resource you are associating is not found.ThrottlingException- The request was throttled. Try again in a few minutes.ValidationException- You have provided an invalid command.AccessDeniedException- The current account doesn't have the IAM permissions required to perform the specified operation.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ProfilesException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, Route53ProfilesException
Removes one or more tags from a specified resource.
- Parameters:
untagResourceRequest-- Returns:
- Result of the UntagResource operation returned by the service.
- Throws:
ResourceNotFoundException- The resource you are associating is not found.ThrottlingException- The request was throttled. Try again in a few minutes.ValidationException- You have provided an invalid command.AccessDeniedException- The current account doesn't have the IAM permissions required to perform the specified operation.ConflictException- The request you submitted conflicts with an existing request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ProfilesException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, Route53ProfilesException
Removes one or more tags from a specified resource.
This is a convenience which creates an instance of the
UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- Throws:
ResourceNotFoundException- The resource you are associating is not found.ThrottlingException- The request was throttled. Try again in a few minutes.ValidationException- You have provided an invalid command.AccessDeniedException- The current account doesn't have the IAM permissions required to perform the specified operation.ConflictException- The request you submitted conflicts with an existing request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ProfilesException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateProfileResourceAssociation
default UpdateProfileResourceAssociationResponse updateProfileResourceAssociation(UpdateProfileResourceAssociationRequest updateProfileResourceAssociationRequest) throws ResourceNotFoundException, LimitExceededException, InternalServiceErrorException, InvalidParameterException, ThrottlingException, ValidationException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, Route53ProfilesException
Updates the specified Route 53 Profile resourse association.
- Parameters:
updateProfileResourceAssociationRequest-- Returns:
- Result of the UpdateProfileResourceAssociation operation returned by the service.
- Throws:
ResourceNotFoundException- The resource you are associating is not found.LimitExceededException- The request caused one or more limits to be exceeded.InternalServiceErrorException- An internal server error occured. Retry your request.InvalidParameterException- One or more parameters in this request are not valid.ThrottlingException- The request was throttled. Try again in a few minutes.ValidationException- You have provided an invalid command.AccessDeniedException- The current account doesn't have the IAM permissions required to perform the specified operation.ConflictException- The request you submitted conflicts with an existing request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ProfilesException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateProfileResourceAssociation
default UpdateProfileResourceAssociationResponse updateProfileResourceAssociation(Consumer<UpdateProfileResourceAssociationRequest.Builder> updateProfileResourceAssociationRequest) throws ResourceNotFoundException, LimitExceededException, InternalServiceErrorException, InvalidParameterException, ThrottlingException, ValidationException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, Route53ProfilesException
Updates the specified Route 53 Profile resourse association.
This is a convenience which creates an instance of the
UpdateProfileResourceAssociationRequest.Builderavoiding the need to create one manually viaUpdateProfileResourceAssociationRequest.builder()- Parameters:
updateProfileResourceAssociationRequest- AConsumerthat will call methods onUpdateProfileResourceAssociationRequest.Builderto create a request.- Returns:
- Result of the UpdateProfileResourceAssociation operation returned by the service.
- Throws:
ResourceNotFoundException- The resource you are associating is not found.LimitExceededException- The request caused one or more limits to be exceeded.InternalServiceErrorException- An internal server error occured. Retry your request.InvalidParameterException- One or more parameters in this request are not valid.ThrottlingException- The request was throttled. Try again in a few minutes.ValidationException- You have provided an invalid command.AccessDeniedException- The current account doesn't have the IAM permissions required to perform the specified operation.ConflictException- The request you submitted conflicts with an existing request.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.Route53ProfilesException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
create
static Route53ProfilesClient create()
Create aRoute53ProfilesClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.
-
builder
static Route53ProfilesClientBuilder builder()
Create a builder that can be used to configure and create aRoute53ProfilesClient.
-
serviceMetadata
static ServiceMetadata serviceMetadata()
-
serviceClientConfiguration
default Route53ProfilesServiceClientConfiguration serviceClientConfiguration()
- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient
-
-