Interface Route53ProfilesAsyncClient

All Superinterfaces:
AutoCloseable, AwsClient, SdkAutoCloseable, SdkClient

@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface Route53ProfilesAsyncClient extends AwsClient
Service client for accessing Route 53 Profiles asynchronously. This can be created using the static builder() method.The asynchronous client performs non-blocking I/O when configured with any SdkAsyncHttpClient supported in the SDK. However, full non-blocking is not guaranteed as the async client may perform blocking calls in some cases such as credentials retrieval and endpoint discovery as part of the async API call.

With Amazon Route 53 Profiles you can share Route 53 configurations with VPCs and AWS accounts

  • Field Details

  • Method Details

    • associateProfile

      default CompletableFuture<AssociateProfileResponse> associateProfile(AssociateProfileRequest associateProfileRequest)

      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:
      A Java Future containing the result of the AssociateProfile operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • associateProfile

      default CompletableFuture<AssociateProfileResponse> associateProfile(Consumer<AssociateProfileRequest.Builder> associateProfileRequest)

      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.Builder avoiding the need to create one manually via AssociateProfileRequest.builder()

      Parameters:
      associateProfileRequest - A Consumer that will call methods on AssociateProfileRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the AssociateProfile operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • associateResourceToProfile

      default CompletableFuture<AssociateResourceToProfileResponse> associateResourceToProfile(AssociateResourceToProfileRequest associateResourceToProfileRequest)

      Associates a DNS reource configuration to a Route 53 Profile.

      Parameters:
      associateResourceToProfileRequest -
      Returns:
      A Java Future containing the result of the AssociateResourceToProfile operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • associateResourceToProfile

      default CompletableFuture<AssociateResourceToProfileResponse> associateResourceToProfile(Consumer<AssociateResourceToProfileRequest.Builder> associateResourceToProfileRequest)

      Associates a DNS reource configuration to a Route 53 Profile.


      This is a convenience which creates an instance of the AssociateResourceToProfileRequest.Builder avoiding the need to create one manually via AssociateResourceToProfileRequest.builder()

      Parameters:
      associateResourceToProfileRequest - A Consumer that will call methods on AssociateResourceToProfileRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the AssociateResourceToProfile operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • createProfile

      default CompletableFuture<CreateProfileResponse> createProfile(CreateProfileRequest createProfileRequest)

      Creates an empty Route 53 Profile.

      Parameters:
      createProfileRequest -
      Returns:
      A Java Future containing the result of the CreateProfile operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • createProfile

      default CompletableFuture<CreateProfileResponse> createProfile(Consumer<CreateProfileRequest.Builder> createProfileRequest)

      Creates an empty Route 53 Profile.


      This is a convenience which creates an instance of the CreateProfileRequest.Builder avoiding the need to create one manually via CreateProfileRequest.builder()

      Parameters:
      createProfileRequest - A Consumer that will call methods on CreateProfileRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateProfile operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • deleteProfile

      default CompletableFuture<DeleteProfileResponse> deleteProfile(DeleteProfileRequest deleteProfileRequest)

      Deletes the specified Route 53 Profile. Before you can delete a profile, you must first disassociate it from all VPCs.

      Parameters:
      deleteProfileRequest -
      Returns:
      A Java Future containing the result of the DeleteProfile operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • deleteProfile

      default CompletableFuture<DeleteProfileResponse> deleteProfile(Consumer<DeleteProfileRequest.Builder> deleteProfileRequest)

      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.Builder avoiding the need to create one manually via DeleteProfileRequest.builder()

      Parameters:
      deleteProfileRequest - A Consumer that will call methods on DeleteProfileRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteProfile operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • disassociateProfile

      default CompletableFuture<DisassociateProfileResponse> disassociateProfile(DisassociateProfileRequest disassociateProfileRequest)

      Dissociates a specified Route 53 Profile from the specified VPC.

      Parameters:
      disassociateProfileRequest -
      Returns:
      A Java Future containing the result of the DisassociateProfile operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • disassociateProfile

      default CompletableFuture<DisassociateProfileResponse> disassociateProfile(Consumer<DisassociateProfileRequest.Builder> disassociateProfileRequest)

      Dissociates a specified Route 53 Profile from the specified VPC.


      This is a convenience which creates an instance of the DisassociateProfileRequest.Builder avoiding the need to create one manually via DisassociateProfileRequest.builder()

      Parameters:
      disassociateProfileRequest - A Consumer that will call methods on DisassociateProfileRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DisassociateProfile operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • disassociateResourceFromProfile

      default CompletableFuture<DisassociateResourceFromProfileResponse> disassociateResourceFromProfile(DisassociateResourceFromProfileRequest disassociateResourceFromProfileRequest)

      Dissoaciated a specified resource, from the Route 53 Profile.

      Parameters:
      disassociateResourceFromProfileRequest -
      Returns:
      A Java Future containing the result of the DisassociateResourceFromProfile operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • disassociateResourceFromProfile

      default CompletableFuture<DisassociateResourceFromProfileResponse> disassociateResourceFromProfile(Consumer<DisassociateResourceFromProfileRequest.Builder> disassociateResourceFromProfileRequest)

      Dissoaciated a specified resource, from the Route 53 Profile.


      This is a convenience which creates an instance of the DisassociateResourceFromProfileRequest.Builder avoiding the need to create one manually via DisassociateResourceFromProfileRequest.builder()

      Parameters:
      disassociateResourceFromProfileRequest - A Consumer that will call methods on DisassociateResourceFromProfileRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DisassociateResourceFromProfile operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getProfile

      default CompletableFuture<GetProfileResponse> getProfile(GetProfileRequest getProfileRequest)

      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:
      A Java Future containing the result of the GetProfile operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getProfile

      default CompletableFuture<GetProfileResponse> getProfile(Consumer<GetProfileRequest.Builder> getProfileRequest)

      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.Builder avoiding the need to create one manually via GetProfileRequest.builder()

      Parameters:
      getProfileRequest - A Consumer that will call methods on GetProfileRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetProfile operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getProfileAssociation

      default CompletableFuture<GetProfileAssociationResponse> getProfileAssociation(GetProfileAssociationRequest getProfileAssociationRequest)

      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:
      A Java Future containing the result of the GetProfileAssociation operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getProfileAssociation

      default CompletableFuture<GetProfileAssociationResponse> getProfileAssociation(Consumer<GetProfileAssociationRequest.Builder> getProfileAssociationRequest)

      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.Builder avoiding the need to create one manually via GetProfileAssociationRequest.builder()

      Parameters:
      getProfileAssociationRequest - A Consumer that will call methods on GetProfileAssociationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetProfileAssociation operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getProfileResourceAssociation

      default CompletableFuture<GetProfileResourceAssociationResponse> getProfileResourceAssociation(GetProfileResourceAssociationRequest getProfileResourceAssociationRequest)

      Returns information about a specified Route 53 Profile resource association.

      Parameters:
      getProfileResourceAssociationRequest -
      Returns:
      A Java Future containing the result of the GetProfileResourceAssociation operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getProfileResourceAssociation

      default CompletableFuture<GetProfileResourceAssociationResponse> getProfileResourceAssociation(Consumer<GetProfileResourceAssociationRequest.Builder> getProfileResourceAssociationRequest)

      Returns information about a specified Route 53 Profile resource association.


      This is a convenience which creates an instance of the GetProfileResourceAssociationRequest.Builder avoiding the need to create one manually via GetProfileResourceAssociationRequest.builder()

      Parameters:
      getProfileResourceAssociationRequest - A Consumer that will call methods on GetProfileResourceAssociationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetProfileResourceAssociation operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listProfileAssociations

      default CompletableFuture<ListProfileAssociationsResponse> listProfileAssociations(ListProfileAssociationsRequest listProfileAssociationsRequest)

      Lists all the VPCs that the specified Route 53 Profile is associated with.

      Parameters:
      listProfileAssociationsRequest -
      Returns:
      A Java Future containing the result of the ListProfileAssociations operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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 The NextToken you 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.
      See Also:
    • listProfileAssociations

      default CompletableFuture<ListProfileAssociationsResponse> listProfileAssociations(Consumer<ListProfileAssociationsRequest.Builder> listProfileAssociationsRequest)

      Lists all the VPCs that the specified Route 53 Profile is associated with.


      This is a convenience which creates an instance of the ListProfileAssociationsRequest.Builder avoiding the need to create one manually via ListProfileAssociationsRequest.builder()

      Parameters:
      listProfileAssociationsRequest - A Consumer that will call methods on ListProfileAssociationsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListProfileAssociations operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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 The NextToken you 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.
      See Also:
    • listProfileAssociationsPaginator

      default ListProfileAssociationsPublisher listProfileAssociationsPaginator(ListProfileAssociationsRequest listProfileAssociationsRequest)

      This is a variant of listProfileAssociations(software.amazon.awssdk.services.route53profiles.model.ListProfileAssociationsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.route53profiles.paginators.ListProfileAssociationsPublisher publisher = client.listProfileAssociationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.route53profiles.paginators.ListProfileAssociationsPublisher publisher = client.listProfileAssociationsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53profiles.model.ListProfileAssociationsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.route53profiles.model.ListProfileAssociationsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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 The NextToken you 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.
      See Also:
    • listProfileAssociationsPaginator

      default ListProfileAssociationsPublisher listProfileAssociationsPaginator(Consumer<ListProfileAssociationsRequest.Builder> listProfileAssociationsRequest)

      This is a variant of listProfileAssociations(software.amazon.awssdk.services.route53profiles.model.ListProfileAssociationsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.route53profiles.paginators.ListProfileAssociationsPublisher publisher = client.listProfileAssociationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.route53profiles.paginators.ListProfileAssociationsPublisher publisher = client.listProfileAssociationsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53profiles.model.ListProfileAssociationsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.route53profiles.model.ListProfileAssociationsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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.Builder avoiding the need to create one manually via ListProfileAssociationsRequest.builder()

      Parameters:
      listProfileAssociationsRequest - A Consumer that will call methods on ListProfileAssociationsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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 The NextToken you 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.
      See Also:
    • listProfileResourceAssociations

      default CompletableFuture<ListProfileResourceAssociationsResponse> listProfileResourceAssociations(ListProfileResourceAssociationsRequest listProfileResourceAssociationsRequest)

      Lists all the resource associations for the specified Route 53 Profile.

      Parameters:
      listProfileResourceAssociationsRequest -
      Returns:
      A Java Future containing the result of the ListProfileResourceAssociations operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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 The NextToken you 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.
      See Also:
    • listProfileResourceAssociations

      default CompletableFuture<ListProfileResourceAssociationsResponse> listProfileResourceAssociations(Consumer<ListProfileResourceAssociationsRequest.Builder> listProfileResourceAssociationsRequest)

      Lists all the resource associations for the specified Route 53 Profile.


      This is a convenience which creates an instance of the ListProfileResourceAssociationsRequest.Builder avoiding the need to create one manually via ListProfileResourceAssociationsRequest.builder()

      Parameters:
      listProfileResourceAssociationsRequest - A Consumer that will call methods on ListProfileResourceAssociationsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListProfileResourceAssociations operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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 The NextToken you 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.
      See Also:
    • listProfileResourceAssociationsPaginator

      default ListProfileResourceAssociationsPublisher listProfileResourceAssociationsPaginator(ListProfileResourceAssociationsRequest listProfileResourceAssociationsRequest)

      This is a variant of listProfileResourceAssociations(software.amazon.awssdk.services.route53profiles.model.ListProfileResourceAssociationsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.route53profiles.paginators.ListProfileResourceAssociationsPublisher publisher = client.listProfileResourceAssociationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.route53profiles.paginators.ListProfileResourceAssociationsPublisher publisher = client.listProfileResourceAssociationsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53profiles.model.ListProfileResourceAssociationsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.route53profiles.model.ListProfileResourceAssociationsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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 The NextToken you 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.
      See Also:
    • listProfileResourceAssociationsPaginator

      default ListProfileResourceAssociationsPublisher listProfileResourceAssociationsPaginator(Consumer<ListProfileResourceAssociationsRequest.Builder> listProfileResourceAssociationsRequest)

      This is a variant of listProfileResourceAssociations(software.amazon.awssdk.services.route53profiles.model.ListProfileResourceAssociationsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.route53profiles.paginators.ListProfileResourceAssociationsPublisher publisher = client.listProfileResourceAssociationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.route53profiles.paginators.ListProfileResourceAssociationsPublisher publisher = client.listProfileResourceAssociationsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53profiles.model.ListProfileResourceAssociationsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.route53profiles.model.ListProfileResourceAssociationsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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.Builder avoiding the need to create one manually via ListProfileResourceAssociationsRequest.builder()

      Parameters:
      listProfileResourceAssociationsRequest - A Consumer that will call methods on ListProfileResourceAssociationsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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 The NextToken you 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.
      See Also:
    • listProfiles

      default CompletableFuture<ListProfilesResponse> listProfiles(ListProfilesRequest listProfilesRequest)

      Lists all the Route 53 Profiles associated with your Amazon Web Services account.

      Parameters:
      listProfilesRequest -
      Returns:
      A Java Future containing the result of the ListProfiles operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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 The NextToken you 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.
      See Also:
    • listProfiles

      default CompletableFuture<ListProfilesResponse> listProfiles(Consumer<ListProfilesRequest.Builder> listProfilesRequest)

      Lists all the Route 53 Profiles associated with your Amazon Web Services account.


      This is a convenience which creates an instance of the ListProfilesRequest.Builder avoiding the need to create one manually via ListProfilesRequest.builder()

      Parameters:
      listProfilesRequest - A Consumer that will call methods on ListProfilesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListProfiles operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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 The NextToken you 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.
      See Also:
    • listProfilesPaginator

      default ListProfilesPublisher listProfilesPaginator(ListProfilesRequest listProfilesRequest)

      This is a variant of listProfiles(software.amazon.awssdk.services.route53profiles.model.ListProfilesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.route53profiles.paginators.ListProfilesPublisher publisher = client.listProfilesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.route53profiles.paginators.ListProfilesPublisher publisher = client.listProfilesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53profiles.model.ListProfilesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.route53profiles.model.ListProfilesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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 The NextToken you 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.
      See Also:
    • listProfilesPaginator

      default ListProfilesPublisher listProfilesPaginator(Consumer<ListProfilesRequest.Builder> listProfilesRequest)

      This is a variant of listProfiles(software.amazon.awssdk.services.route53profiles.model.ListProfilesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.route53profiles.paginators.ListProfilesPublisher publisher = client.listProfilesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.route53profiles.paginators.ListProfilesPublisher publisher = client.listProfilesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53profiles.model.ListProfilesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.route53profiles.model.ListProfilesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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.Builder avoiding the need to create one manually via ListProfilesRequest.builder()

      Parameters:
      listProfilesRequest - A Consumer that will call methods on ListProfilesRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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 The NextToken you 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.
      See Also:
    • listTagsForResource

      default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)

      Lists the tags that you associated with the specified resource.

      Parameters:
      listTagsForResourceRequest -
      Returns:
      A Java Future containing the result of the ListTagsForResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listTagsForResource

      default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)

      Lists the tags that you associated with the specified resource.


      This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder avoiding the need to create one manually via ListTagsForResourceRequest.builder()

      Parameters:
      listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListTagsForResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • tagResource

      default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest)

      Adds one or more tags to a specified resource.

      Parameters:
      tagResourceRequest -
      Returns:
      A Java Future containing the result of the TagResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • tagResource

      default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)

      Adds one or more tags to a specified resource.


      This is a convenience which creates an instance of the TagResourceRequest.Builder avoiding the need to create one manually via TagResourceRequest.builder()

      Parameters:
      tagResourceRequest - A Consumer that will call methods on TagResourceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the TagResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • untagResource

      default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest)

      Removes one or more tags from a specified resource.

      Parameters:
      untagResourceRequest -
      Returns:
      A Java Future containing the result of the UntagResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • untagResource

      default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)

      Removes one or more tags from a specified resource.


      This is a convenience which creates an instance of the UntagResourceRequest.Builder avoiding the need to create one manually via UntagResourceRequest.builder()

      Parameters:
      untagResourceRequest - A Consumer that will call methods on UntagResourceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UntagResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • updateProfileResourceAssociation

      default CompletableFuture<UpdateProfileResourceAssociationResponse> updateProfileResourceAssociation(UpdateProfileResourceAssociationRequest updateProfileResourceAssociationRequest)

      Updates the specified Route 53 Profile resourse association.

      Parameters:
      updateProfileResourceAssociationRequest -
      Returns:
      A Java Future containing the result of the UpdateProfileResourceAssociation operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • updateProfileResourceAssociation

      default CompletableFuture<UpdateProfileResourceAssociationResponse> updateProfileResourceAssociation(Consumer<UpdateProfileResourceAssociationRequest.Builder> updateProfileResourceAssociationRequest)

      Updates the specified Route 53 Profile resourse association.


      This is a convenience which creates an instance of the UpdateProfileResourceAssociationRequest.Builder avoiding the need to create one manually via UpdateProfileResourceAssociationRequest.builder()

      Parameters:
      updateProfileResourceAssociationRequest - A Consumer that will call methods on UpdateProfileResourceAssociationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateProfileResourceAssociation operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • serviceClientConfiguration

      default Route53ProfilesServiceClientConfiguration serviceClientConfiguration()
      Description copied from interface: SdkClient
      The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration
      Specified by:
      serviceClientConfiguration in interface AwsClient
      Specified by:
      serviceClientConfiguration in interface SdkClient
      Returns:
      SdkServiceClientConfiguration
    • create

      static Route53ProfilesAsyncClient create()
      Create a Route53ProfilesAsyncClient with the region loaded from the DefaultAwsRegionProviderChain and credentials loaded from the DefaultCredentialsProvider.
    • builder

      Create a builder that can be used to configure and create a Route53ProfilesAsyncClient.