Interface MemoryDbAsyncClient

All Superinterfaces:
AutoCloseable, AwsClient, SdkAutoCloseable, SdkClient

@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface MemoryDbAsyncClient extends AwsClient
Service client for accessing Amazon MemoryDB 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.

MemoryDB for Redis is a fully managed, Redis-compatible, in-memory database that delivers ultra-fast performance and Multi-AZ durability for modern applications built using microservices architectures. MemoryDB stores the entire database in-memory, enabling low latency and high throughput data access. It is compatible with Redis, a popular open source data store, enabling you to leverage Redis’ flexible and friendly data structures, APIs, and commands.

  • Field Details

  • Method Details

    • batchUpdateCluster

      default CompletableFuture<BatchUpdateClusterResponse> batchUpdateCluster(BatchUpdateClusterRequest batchUpdateClusterRequest)

      Apply the service update to a list of clusters supplied. For more information on service updates and applying them, see Applying the service updates.

      Parameters:
      batchUpdateClusterRequest -
      Returns:
      A Java Future containing the result of the BatchUpdateCluster 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.
      • ServiceUpdateNotFoundException
      • InvalidParameterValueException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchUpdateCluster

      default CompletableFuture<BatchUpdateClusterResponse> batchUpdateCluster(Consumer<BatchUpdateClusterRequest.Builder> batchUpdateClusterRequest)

      Apply the service update to a list of clusters supplied. For more information on service updates and applying them, see Applying the service updates.


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

      Parameters:
      batchUpdateClusterRequest - A Consumer that will call methods on BatchUpdateClusterRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the BatchUpdateCluster 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.
      • ServiceUpdateNotFoundException
      • InvalidParameterValueException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • copySnapshot

      default CompletableFuture<CopySnapshotResponse> copySnapshot(CopySnapshotRequest copySnapshotRequest)

      Makes a copy of an existing snapshot.

      Parameters:
      copySnapshotRequest -
      Returns:
      A Java Future containing the result of the CopySnapshot 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.
      • SnapshotAlreadyExistsException
      • SnapshotNotFoundException
      • SnapshotQuotaExceededException
      • InvalidSnapshotStateException
      • ServiceLinkedRoleNotFoundException
      • InvalidParameterValueException
      • InvalidParameterCombinationException
      • TagQuotaPerResourceExceededException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • copySnapshot

      default CompletableFuture<CopySnapshotResponse> copySnapshot(Consumer<CopySnapshotRequest.Builder> copySnapshotRequest)

      Makes a copy of an existing snapshot.


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

      Parameters:
      copySnapshotRequest - A Consumer that will call methods on CopySnapshotRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CopySnapshot 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.
      • SnapshotAlreadyExistsException
      • SnapshotNotFoundException
      • SnapshotQuotaExceededException
      • InvalidSnapshotStateException
      • ServiceLinkedRoleNotFoundException
      • InvalidParameterValueException
      • InvalidParameterCombinationException
      • TagQuotaPerResourceExceededException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createACL

      default CompletableFuture<CreateAclResponse> createACL(CreateAclRequest createAclRequest)

      Creates an Access Control List. For more information, see Authenticating users with Access Contol Lists (ACLs).

      Parameters:
      createAclRequest -
      Returns:
      A Java Future containing the result of the CreateACL 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.
      • UserNotFoundException
      • DuplicateUserNameException
      • AclAlreadyExistsException
      • DefaultUserRequiredException
      • AclQuotaExceededException
      • InvalidParameterValueException
      • TagQuotaPerResourceExceededException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createACL

      default CompletableFuture<CreateAclResponse> createACL(Consumer<CreateAclRequest.Builder> createAclRequest)

      Creates an Access Control List. For more information, see Authenticating users with Access Contol Lists (ACLs).


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

      Parameters:
      createAclRequest - A Consumer that will call methods on CreateAclRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateACL 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.
      • UserNotFoundException
      • DuplicateUserNameException
      • AclAlreadyExistsException
      • DefaultUserRequiredException
      • AclQuotaExceededException
      • InvalidParameterValueException
      • TagQuotaPerResourceExceededException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createCluster

      default CompletableFuture<CreateClusterResponse> createCluster(CreateClusterRequest createClusterRequest)

      Creates a cluster. All nodes in the cluster run the same protocol-compliant engine software.

      Parameters:
      createClusterRequest -
      Returns:
      A Java Future containing the result of the CreateCluster 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.
      • ClusterAlreadyExistsException
      • SubnetGroupNotFoundException
      • ClusterQuotaForCustomerExceededException
      • NodeQuotaForClusterExceededException
      • NodeQuotaForCustomerExceededException
      • ParameterGroupNotFoundException
      • InsufficientClusterCapacityException
      • InvalidVpcNetworkStateException
      • ServiceLinkedRoleNotFoundException
      • ShardsPerClusterQuotaExceededException
      • InvalidParameterValueException
      • InvalidParameterCombinationException
      • InvalidCredentialsException
      • TagQuotaPerResourceExceededException
      • AclNotFoundException
      • InvalidAclStateException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createCluster

      default CompletableFuture<CreateClusterResponse> createCluster(Consumer<CreateClusterRequest.Builder> createClusterRequest)

      Creates a cluster. All nodes in the cluster run the same protocol-compliant engine software.


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

      Parameters:
      createClusterRequest - A Consumer that will call methods on CreateClusterRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateCluster 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.
      • ClusterAlreadyExistsException
      • SubnetGroupNotFoundException
      • ClusterQuotaForCustomerExceededException
      • NodeQuotaForClusterExceededException
      • NodeQuotaForCustomerExceededException
      • ParameterGroupNotFoundException
      • InsufficientClusterCapacityException
      • InvalidVpcNetworkStateException
      • ServiceLinkedRoleNotFoundException
      • ShardsPerClusterQuotaExceededException
      • InvalidParameterValueException
      • InvalidParameterCombinationException
      • InvalidCredentialsException
      • TagQuotaPerResourceExceededException
      • AclNotFoundException
      • InvalidAclStateException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createParameterGroup

      default CompletableFuture<CreateParameterGroupResponse> createParameterGroup(CreateParameterGroupRequest createParameterGroupRequest)

      Creates a new MemoryDB parameter group. A parameter group is a collection of parameters and their values that are applied to all of the nodes in any cluster. For more information, see Configuring engine parameters using parameter groups.

      Parameters:
      createParameterGroupRequest -
      Returns:
      A Java Future containing the result of the CreateParameterGroup 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.
      • ParameterGroupQuotaExceededException
      • ParameterGroupAlreadyExistsException
      • InvalidParameterGroupStateException
      • ServiceLinkedRoleNotFoundException
      • TagQuotaPerResourceExceededException
      • InvalidParameterValueException
      • InvalidParameterCombinationException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createParameterGroup

      default CompletableFuture<CreateParameterGroupResponse> createParameterGroup(Consumer<CreateParameterGroupRequest.Builder> createParameterGroupRequest)

      Creates a new MemoryDB parameter group. A parameter group is a collection of parameters and their values that are applied to all of the nodes in any cluster. For more information, see Configuring engine parameters using parameter groups.


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

      Parameters:
      createParameterGroupRequest - A Consumer that will call methods on CreateParameterGroupRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateParameterGroup 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.
      • ParameterGroupQuotaExceededException
      • ParameterGroupAlreadyExistsException
      • InvalidParameterGroupStateException
      • ServiceLinkedRoleNotFoundException
      • TagQuotaPerResourceExceededException
      • InvalidParameterValueException
      • InvalidParameterCombinationException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createSnapshot

      default CompletableFuture<CreateSnapshotResponse> createSnapshot(CreateSnapshotRequest createSnapshotRequest)

      Creates a copy of an entire cluster at a specific moment in time.

      Parameters:
      createSnapshotRequest -
      Returns:
      A Java Future containing the result of the CreateSnapshot 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.
      • SnapshotAlreadyExistsException
      • ClusterNotFoundException
      • InvalidClusterStateException
      • SnapshotQuotaExceededException
      • ServiceLinkedRoleNotFoundException
      • InvalidParameterCombinationException
      • InvalidParameterValueException
      • TagQuotaPerResourceExceededException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createSnapshot

      default CompletableFuture<CreateSnapshotResponse> createSnapshot(Consumer<CreateSnapshotRequest.Builder> createSnapshotRequest)

      Creates a copy of an entire cluster at a specific moment in time.


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

      Parameters:
      createSnapshotRequest - A Consumer that will call methods on CreateSnapshotRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateSnapshot 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.
      • SnapshotAlreadyExistsException
      • ClusterNotFoundException
      • InvalidClusterStateException
      • SnapshotQuotaExceededException
      • ServiceLinkedRoleNotFoundException
      • InvalidParameterCombinationException
      • InvalidParameterValueException
      • TagQuotaPerResourceExceededException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createSubnetGroup

      default CompletableFuture<CreateSubnetGroupResponse> createSubnetGroup(CreateSubnetGroupRequest createSubnetGroupRequest)

      Creates a subnet group. A subnet group is a collection of subnets (typically private) that you can designate for your clusters running in an Amazon Virtual Private Cloud (VPC) environment. When you create a cluster in an Amazon VPC, you must specify a subnet group. MemoryDB uses that subnet group to choose a subnet and IP addresses within that subnet to associate with your nodes. For more information, see Subnets and subnet groups.

      Parameters:
      createSubnetGroupRequest -
      Returns:
      A Java Future containing the result of the CreateSubnetGroup 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.
      • SubnetGroupAlreadyExistsException
      • SubnetGroupQuotaExceededException
      • SubnetQuotaExceededException
      • InvalidSubnetException
      • ServiceLinkedRoleNotFoundException
      • SubnetNotAllowedException
      • TagQuotaPerResourceExceededException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createSubnetGroup

      default CompletableFuture<CreateSubnetGroupResponse> createSubnetGroup(Consumer<CreateSubnetGroupRequest.Builder> createSubnetGroupRequest)

      Creates a subnet group. A subnet group is a collection of subnets (typically private) that you can designate for your clusters running in an Amazon Virtual Private Cloud (VPC) environment. When you create a cluster in an Amazon VPC, you must specify a subnet group. MemoryDB uses that subnet group to choose a subnet and IP addresses within that subnet to associate with your nodes. For more information, see Subnets and subnet groups.


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

      Parameters:
      createSubnetGroupRequest - A Consumer that will call methods on CreateSubnetGroupRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateSubnetGroup 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.
      • SubnetGroupAlreadyExistsException
      • SubnetGroupQuotaExceededException
      • SubnetQuotaExceededException
      • InvalidSubnetException
      • ServiceLinkedRoleNotFoundException
      • SubnetNotAllowedException
      • TagQuotaPerResourceExceededException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createUser

      default CompletableFuture<CreateUserResponse> createUser(CreateUserRequest createUserRequest)

      Creates a MemoryDB user. For more information, see Authenticating users with Access Contol Lists (ACLs).

      Parameters:
      createUserRequest -
      Returns:
      A Java Future containing the result of the CreateUser 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.
      • UserAlreadyExistsException
      • UserQuotaExceededException
      • DuplicateUserNameException
      • InvalidParameterValueException
      • InvalidParameterCombinationException
      • TagQuotaPerResourceExceededException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createUser

      default CompletableFuture<CreateUserResponse> createUser(Consumer<CreateUserRequest.Builder> createUserRequest)

      Creates a MemoryDB user. For more information, see Authenticating users with Access Contol Lists (ACLs).


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

      Parameters:
      createUserRequest - A Consumer that will call methods on CreateUserRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateUser 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.
      • UserAlreadyExistsException
      • UserQuotaExceededException
      • DuplicateUserNameException
      • InvalidParameterValueException
      • InvalidParameterCombinationException
      • TagQuotaPerResourceExceededException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteACL

      default CompletableFuture<DeleteAclResponse> deleteACL(DeleteAclRequest deleteAclRequest)

      Deletes an Access Control List. The ACL must first be disassociated from the cluster before it can be deleted. For more information, see Authenticating users with Access Contol Lists (ACLs).

      Parameters:
      deleteAclRequest -
      Returns:
      A Java Future containing the result of the DeleteACL 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.
      • AclNotFoundException
      • InvalidAclStateException
      • InvalidParameterValueException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteACL

      default CompletableFuture<DeleteAclResponse> deleteACL(Consumer<DeleteAclRequest.Builder> deleteAclRequest)

      Deletes an Access Control List. The ACL must first be disassociated from the cluster before it can be deleted. For more information, see Authenticating users with Access Contol Lists (ACLs).


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

      Parameters:
      deleteAclRequest - A Consumer that will call methods on DeleteAclRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteACL 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.
      • AclNotFoundException
      • InvalidAclStateException
      • InvalidParameterValueException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteCluster

      default CompletableFuture<DeleteClusterResponse> deleteCluster(DeleteClusterRequest deleteClusterRequest)

      Deletes a cluster. It also deletes all associated nodes and node endpoints

      Parameters:
      deleteClusterRequest -
      Returns:
      A Java Future containing the result of the DeleteCluster 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.
      • ClusterNotFoundException
      • InvalidClusterStateException
      • SnapshotAlreadyExistsException
      • ServiceLinkedRoleNotFoundException
      • InvalidParameterValueException
      • InvalidParameterCombinationException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteCluster

      default CompletableFuture<DeleteClusterResponse> deleteCluster(Consumer<DeleteClusterRequest.Builder> deleteClusterRequest)

      Deletes a cluster. It also deletes all associated nodes and node endpoints


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

      Parameters:
      deleteClusterRequest - A Consumer that will call methods on DeleteClusterRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteCluster 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.
      • ClusterNotFoundException
      • InvalidClusterStateException
      • SnapshotAlreadyExistsException
      • ServiceLinkedRoleNotFoundException
      • InvalidParameterValueException
      • InvalidParameterCombinationException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteParameterGroup

      default CompletableFuture<DeleteParameterGroupResponse> deleteParameterGroup(DeleteParameterGroupRequest deleteParameterGroupRequest)

      Deletes the specified parameter group. You cannot delete a parameter group if it is associated with any clusters. You cannot delete the default parameter groups in your account.

      Parameters:
      deleteParameterGroupRequest -
      Returns:
      A Java Future containing the result of the DeleteParameterGroup 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.
      • InvalidParameterGroupStateException
      • ParameterGroupNotFoundException
      • ServiceLinkedRoleNotFoundException
      • InvalidParameterValueException
      • InvalidParameterCombinationException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteParameterGroup

      default CompletableFuture<DeleteParameterGroupResponse> deleteParameterGroup(Consumer<DeleteParameterGroupRequest.Builder> deleteParameterGroupRequest)

      Deletes the specified parameter group. You cannot delete a parameter group if it is associated with any clusters. You cannot delete the default parameter groups in your account.


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

      Parameters:
      deleteParameterGroupRequest - A Consumer that will call methods on DeleteParameterGroupRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteParameterGroup 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.
      • InvalidParameterGroupStateException
      • ParameterGroupNotFoundException
      • ServiceLinkedRoleNotFoundException
      • InvalidParameterValueException
      • InvalidParameterCombinationException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteSnapshot

      default CompletableFuture<DeleteSnapshotResponse> deleteSnapshot(DeleteSnapshotRequest deleteSnapshotRequest)

      Deletes an existing snapshot. When you receive a successful response from this operation, MemoryDB immediately begins deleting the snapshot; you cannot cancel or revert this operation.

      Parameters:
      deleteSnapshotRequest -
      Returns:
      A Java Future containing the result of the DeleteSnapshot 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.
      • SnapshotNotFoundException
      • InvalidSnapshotStateException
      • ServiceLinkedRoleNotFoundException
      • InvalidParameterValueException
      • InvalidParameterCombinationException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteSnapshot

      default CompletableFuture<DeleteSnapshotResponse> deleteSnapshot(Consumer<DeleteSnapshotRequest.Builder> deleteSnapshotRequest)

      Deletes an existing snapshot. When you receive a successful response from this operation, MemoryDB immediately begins deleting the snapshot; you cannot cancel or revert this operation.


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

      Parameters:
      deleteSnapshotRequest - A Consumer that will call methods on DeleteSnapshotRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteSnapshot 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.
      • SnapshotNotFoundException
      • InvalidSnapshotStateException
      • ServiceLinkedRoleNotFoundException
      • InvalidParameterValueException
      • InvalidParameterCombinationException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteSubnetGroup

      default CompletableFuture<DeleteSubnetGroupResponse> deleteSubnetGroup(DeleteSubnetGroupRequest deleteSubnetGroupRequest)

      Deletes a subnet group. You cannot delete a default subnet group or one that is associated with any clusters.

      Parameters:
      deleteSubnetGroupRequest -
      Returns:
      A Java Future containing the result of the DeleteSubnetGroup 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.
      • SubnetGroupInUseException
      • SubnetGroupNotFoundException
      • ServiceLinkedRoleNotFoundException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteSubnetGroup

      default CompletableFuture<DeleteSubnetGroupResponse> deleteSubnetGroup(Consumer<DeleteSubnetGroupRequest.Builder> deleteSubnetGroupRequest)

      Deletes a subnet group. You cannot delete a default subnet group or one that is associated with any clusters.


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

      Parameters:
      deleteSubnetGroupRequest - A Consumer that will call methods on DeleteSubnetGroupRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteSubnetGroup 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.
      • SubnetGroupInUseException
      • SubnetGroupNotFoundException
      • ServiceLinkedRoleNotFoundException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteUser

      default CompletableFuture<DeleteUserResponse> deleteUser(DeleteUserRequest deleteUserRequest)

      Deletes a user. The user will be removed from all ACLs and in turn removed from all clusters.

      Parameters:
      deleteUserRequest -
      Returns:
      A Java Future containing the result of the DeleteUser 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.
      • InvalidUserStateException
      • UserNotFoundException
      • InvalidParameterValueException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteUser

      default CompletableFuture<DeleteUserResponse> deleteUser(Consumer<DeleteUserRequest.Builder> deleteUserRequest)

      Deletes a user. The user will be removed from all ACLs and in turn removed from all clusters.


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

      Parameters:
      deleteUserRequest - A Consumer that will call methods on DeleteUserRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteUser 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.
      • InvalidUserStateException
      • UserNotFoundException
      • InvalidParameterValueException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeACLs

      default CompletableFuture<DescribeAcLsResponse> describeACLs(DescribeAcLsRequest describeAcLsRequest)

      Returns a list of ACLs

      Parameters:
      describeAcLsRequest -
      Returns:
      A Java Future containing the result of the DescribeACLs 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.
      • AclNotFoundException
      • InvalidParameterCombinationException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeACLs

      default CompletableFuture<DescribeAcLsResponse> describeACLs(Consumer<DescribeAcLsRequest.Builder> describeAcLsRequest)

      Returns a list of ACLs


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

      Parameters:
      describeAcLsRequest - A Consumer that will call methods on DescribeAcLsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeACLs 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.
      • AclNotFoundException
      • InvalidParameterCombinationException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeACLsPaginator

      default DescribeACLsPublisher describeACLsPaginator(DescribeAcLsRequest describeAcLsRequest)

      This is a variant of describeACLs(software.amazon.awssdk.services.memorydb.model.DescribeAcLsRequest) 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.memorydb.paginators.DescribeACLsPublisher publisher = client.describeACLsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.memorydb.paginators.DescribeACLsPublisher publisher = client.describeACLsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.memorydb.model.DescribeAcLsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.memorydb.model.DescribeAcLsResponse 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 describeACLs(software.amazon.awssdk.services.memorydb.model.DescribeAcLsRequest) operation.

      Parameters:
      describeAcLsRequest -
      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.
      • AclNotFoundException
      • InvalidParameterCombinationException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeACLsPaginator

      default DescribeACLsPublisher describeACLsPaginator(Consumer<DescribeAcLsRequest.Builder> describeAcLsRequest)

      This is a variant of describeACLs(software.amazon.awssdk.services.memorydb.model.DescribeAcLsRequest) 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.memorydb.paginators.DescribeACLsPublisher publisher = client.describeACLsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.memorydb.paginators.DescribeACLsPublisher publisher = client.describeACLsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.memorydb.model.DescribeAcLsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.memorydb.model.DescribeAcLsResponse 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 describeACLs(software.amazon.awssdk.services.memorydb.model.DescribeAcLsRequest) operation.


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

      Parameters:
      describeAcLsRequest - A Consumer that will call methods on DescribeAcLsRequest.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.
      • AclNotFoundException
      • InvalidParameterCombinationException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeClusters

      default CompletableFuture<DescribeClustersResponse> describeClusters(DescribeClustersRequest describeClustersRequest)

      Returns information about all provisioned clusters if no cluster identifier is specified, or about a specific cluster if a cluster name is supplied.

      Parameters:
      describeClustersRequest -
      Returns:
      A Java Future containing the result of the DescribeClusters 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.
      • ClusterNotFoundException
      • ServiceLinkedRoleNotFoundException
      • InvalidParameterValueException
      • InvalidParameterCombinationException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeClusters

      default CompletableFuture<DescribeClustersResponse> describeClusters(Consumer<DescribeClustersRequest.Builder> describeClustersRequest)

      Returns information about all provisioned clusters if no cluster identifier is specified, or about a specific cluster if a cluster name is supplied.


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

      Parameters:
      describeClustersRequest - A Consumer that will call methods on DescribeClustersRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeClusters 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.
      • ClusterNotFoundException
      • ServiceLinkedRoleNotFoundException
      • InvalidParameterValueException
      • InvalidParameterCombinationException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeClustersPaginator

      default DescribeClustersPublisher describeClustersPaginator(DescribeClustersRequest describeClustersRequest)

      This is a variant of describeClusters(software.amazon.awssdk.services.memorydb.model.DescribeClustersRequest) 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.memorydb.paginators.DescribeClustersPublisher publisher = client.describeClustersPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.memorydb.paginators.DescribeClustersPublisher publisher = client.describeClustersPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.memorydb.model.DescribeClustersResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.memorydb.model.DescribeClustersResponse 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 describeClusters(software.amazon.awssdk.services.memorydb.model.DescribeClustersRequest) operation.

      Parameters:
      describeClustersRequest -
      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.
      • ClusterNotFoundException
      • ServiceLinkedRoleNotFoundException
      • InvalidParameterValueException
      • InvalidParameterCombinationException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeClustersPaginator

      default DescribeClustersPublisher describeClustersPaginator(Consumer<DescribeClustersRequest.Builder> describeClustersRequest)

      This is a variant of describeClusters(software.amazon.awssdk.services.memorydb.model.DescribeClustersRequest) 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.memorydb.paginators.DescribeClustersPublisher publisher = client.describeClustersPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.memorydb.paginators.DescribeClustersPublisher publisher = client.describeClustersPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.memorydb.model.DescribeClustersResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.memorydb.model.DescribeClustersResponse 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 describeClusters(software.amazon.awssdk.services.memorydb.model.DescribeClustersRequest) operation.


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

      Parameters:
      describeClustersRequest - A Consumer that will call methods on DescribeClustersRequest.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.
      • ClusterNotFoundException
      • ServiceLinkedRoleNotFoundException
      • InvalidParameterValueException
      • InvalidParameterCombinationException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeEngineVersions

      default CompletableFuture<DescribeEngineVersionsResponse> describeEngineVersions(DescribeEngineVersionsRequest describeEngineVersionsRequest)

      Returns a list of the available Redis engine versions.

      Parameters:
      describeEngineVersionsRequest -
      Returns:
      A Java Future containing the result of the DescribeEngineVersions 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.
      • ServiceLinkedRoleNotFoundException
      • InvalidParameterValueException
      • InvalidParameterCombinationException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeEngineVersions

      default CompletableFuture<DescribeEngineVersionsResponse> describeEngineVersions(Consumer<DescribeEngineVersionsRequest.Builder> describeEngineVersionsRequest)

      Returns a list of the available Redis engine versions.


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

      Parameters:
      describeEngineVersionsRequest - A Consumer that will call methods on DescribeEngineVersionsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeEngineVersions 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.
      • ServiceLinkedRoleNotFoundException
      • InvalidParameterValueException
      • InvalidParameterCombinationException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeEngineVersionsPaginator

      default DescribeEngineVersionsPublisher describeEngineVersionsPaginator(DescribeEngineVersionsRequest describeEngineVersionsRequest)

      This is a variant of describeEngineVersions(software.amazon.awssdk.services.memorydb.model.DescribeEngineVersionsRequest) 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.memorydb.paginators.DescribeEngineVersionsPublisher publisher = client.describeEngineVersionsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.memorydb.paginators.DescribeEngineVersionsPublisher publisher = client.describeEngineVersionsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.memorydb.model.DescribeEngineVersionsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.memorydb.model.DescribeEngineVersionsResponse 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 describeEngineVersions(software.amazon.awssdk.services.memorydb.model.DescribeEngineVersionsRequest) operation.

      Parameters:
      describeEngineVersionsRequest -
      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.
      • ServiceLinkedRoleNotFoundException
      • InvalidParameterValueException
      • InvalidParameterCombinationException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeEngineVersionsPaginator

      default DescribeEngineVersionsPublisher describeEngineVersionsPaginator(Consumer<DescribeEngineVersionsRequest.Builder> describeEngineVersionsRequest)

      This is a variant of describeEngineVersions(software.amazon.awssdk.services.memorydb.model.DescribeEngineVersionsRequest) 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.memorydb.paginators.DescribeEngineVersionsPublisher publisher = client.describeEngineVersionsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.memorydb.paginators.DescribeEngineVersionsPublisher publisher = client.describeEngineVersionsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.memorydb.model.DescribeEngineVersionsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.memorydb.model.DescribeEngineVersionsResponse 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 describeEngineVersions(software.amazon.awssdk.services.memorydb.model.DescribeEngineVersionsRequest) operation.


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

      Parameters:
      describeEngineVersionsRequest - A Consumer that will call methods on DescribeEngineVersionsRequest.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.
      • ServiceLinkedRoleNotFoundException
      • InvalidParameterValueException
      • InvalidParameterCombinationException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeEvents

      default CompletableFuture<DescribeEventsResponse> describeEvents(DescribeEventsRequest describeEventsRequest)

      Returns events related to clusters, security groups, and parameter groups. You can obtain events specific to a particular cluster, security group, or parameter group by providing the name as a parameter. By default, only the events occurring within the last hour are returned; however, you can retrieve up to 14 days' worth of events if necessary.

      Parameters:
      describeEventsRequest -
      Returns:
      A Java Future containing the result of the DescribeEvents 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.
      • ServiceLinkedRoleNotFoundException
      • InvalidParameterValueException
      • InvalidParameterCombinationException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeEvents

      default CompletableFuture<DescribeEventsResponse> describeEvents(Consumer<DescribeEventsRequest.Builder> describeEventsRequest)

      Returns events related to clusters, security groups, and parameter groups. You can obtain events specific to a particular cluster, security group, or parameter group by providing the name as a parameter. By default, only the events occurring within the last hour are returned; however, you can retrieve up to 14 days' worth of events if necessary.


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

      Parameters:
      describeEventsRequest - A Consumer that will call methods on DescribeEventsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeEvents 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.
      • ServiceLinkedRoleNotFoundException
      • InvalidParameterValueException
      • InvalidParameterCombinationException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeEventsPaginator

      default DescribeEventsPublisher describeEventsPaginator(DescribeEventsRequest describeEventsRequest)

      This is a variant of describeEvents(software.amazon.awssdk.services.memorydb.model.DescribeEventsRequest) 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.memorydb.paginators.DescribeEventsPublisher publisher = client.describeEventsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.memorydb.paginators.DescribeEventsPublisher publisher = client.describeEventsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.memorydb.model.DescribeEventsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.memorydb.model.DescribeEventsResponse 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 describeEvents(software.amazon.awssdk.services.memorydb.model.DescribeEventsRequest) operation.

      Parameters:
      describeEventsRequest -
      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.
      • ServiceLinkedRoleNotFoundException
      • InvalidParameterValueException
      • InvalidParameterCombinationException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeEventsPaginator

      default DescribeEventsPublisher describeEventsPaginator(Consumer<DescribeEventsRequest.Builder> describeEventsRequest)

      This is a variant of describeEvents(software.amazon.awssdk.services.memorydb.model.DescribeEventsRequest) 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.memorydb.paginators.DescribeEventsPublisher publisher = client.describeEventsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.memorydb.paginators.DescribeEventsPublisher publisher = client.describeEventsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.memorydb.model.DescribeEventsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.memorydb.model.DescribeEventsResponse 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 describeEvents(software.amazon.awssdk.services.memorydb.model.DescribeEventsRequest) operation.


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

      Parameters:
      describeEventsRequest - A Consumer that will call methods on DescribeEventsRequest.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.
      • ServiceLinkedRoleNotFoundException
      • InvalidParameterValueException
      • InvalidParameterCombinationException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeParameterGroups

      default CompletableFuture<DescribeParameterGroupsResponse> describeParameterGroups(DescribeParameterGroupsRequest describeParameterGroupsRequest)

      Returns a list of parameter group descriptions. If a parameter group name is specified, the list contains only the descriptions for that group.

      Parameters:
      describeParameterGroupsRequest -
      Returns:
      A Java Future containing the result of the DescribeParameterGroups 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.
      • ParameterGroupNotFoundException
      • ServiceLinkedRoleNotFoundException
      • InvalidParameterValueException
      • InvalidParameterCombinationException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeParameterGroups

      default CompletableFuture<DescribeParameterGroupsResponse> describeParameterGroups(Consumer<DescribeParameterGroupsRequest.Builder> describeParameterGroupsRequest)

      Returns a list of parameter group descriptions. If a parameter group name is specified, the list contains only the descriptions for that group.


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

      Parameters:
      describeParameterGroupsRequest - A Consumer that will call methods on DescribeParameterGroupsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeParameterGroups 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.
      • ParameterGroupNotFoundException
      • ServiceLinkedRoleNotFoundException
      • InvalidParameterValueException
      • InvalidParameterCombinationException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeParameterGroupsPaginator

      default DescribeParameterGroupsPublisher describeParameterGroupsPaginator(DescribeParameterGroupsRequest describeParameterGroupsRequest)

      This is a variant of describeParameterGroups(software.amazon.awssdk.services.memorydb.model.DescribeParameterGroupsRequest) 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.memorydb.paginators.DescribeParameterGroupsPublisher publisher = client.describeParameterGroupsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.memorydb.paginators.DescribeParameterGroupsPublisher publisher = client.describeParameterGroupsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.memorydb.model.DescribeParameterGroupsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.memorydb.model.DescribeParameterGroupsResponse 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 describeParameterGroups(software.amazon.awssdk.services.memorydb.model.DescribeParameterGroupsRequest) operation.

      Parameters:
      describeParameterGroupsRequest -
      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.
      • ParameterGroupNotFoundException
      • ServiceLinkedRoleNotFoundException
      • InvalidParameterValueException
      • InvalidParameterCombinationException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeParameterGroupsPaginator

      default DescribeParameterGroupsPublisher describeParameterGroupsPaginator(Consumer<DescribeParameterGroupsRequest.Builder> describeParameterGroupsRequest)

      This is a variant of describeParameterGroups(software.amazon.awssdk.services.memorydb.model.DescribeParameterGroupsRequest) 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.memorydb.paginators.DescribeParameterGroupsPublisher publisher = client.describeParameterGroupsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.memorydb.paginators.DescribeParameterGroupsPublisher publisher = client.describeParameterGroupsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.memorydb.model.DescribeParameterGroupsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.memorydb.model.DescribeParameterGroupsResponse 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 describeParameterGroups(software.amazon.awssdk.services.memorydb.model.DescribeParameterGroupsRequest) operation.


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

      Parameters:
      describeParameterGroupsRequest - A Consumer that will call methods on DescribeParameterGroupsRequest.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.
      • ParameterGroupNotFoundException
      • ServiceLinkedRoleNotFoundException
      • InvalidParameterValueException
      • InvalidParameterCombinationException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeParameters

      default CompletableFuture<DescribeParametersResponse> describeParameters(DescribeParametersRequest describeParametersRequest)

      Returns the detailed parameter list for a particular parameter group.

      Parameters:
      describeParametersRequest -
      Returns:
      A Java Future containing the result of the DescribeParameters 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.
      • ParameterGroupNotFoundException
      • ServiceLinkedRoleNotFoundException
      • InvalidParameterValueException
      • InvalidParameterCombinationException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeParameters

      default CompletableFuture<DescribeParametersResponse> describeParameters(Consumer<DescribeParametersRequest.Builder> describeParametersRequest)

      Returns the detailed parameter list for a particular parameter group.


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

      Parameters:
      describeParametersRequest - A Consumer that will call methods on DescribeParametersRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeParameters 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.
      • ParameterGroupNotFoundException
      • ServiceLinkedRoleNotFoundException
      • InvalidParameterValueException
      • InvalidParameterCombinationException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeParametersPaginator

      default DescribeParametersPublisher describeParametersPaginator(DescribeParametersRequest describeParametersRequest)

      This is a variant of describeParameters(software.amazon.awssdk.services.memorydb.model.DescribeParametersRequest) 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.memorydb.paginators.DescribeParametersPublisher publisher = client.describeParametersPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.memorydb.paginators.DescribeParametersPublisher publisher = client.describeParametersPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.memorydb.model.DescribeParametersResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.memorydb.model.DescribeParametersResponse 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 describeParameters(software.amazon.awssdk.services.memorydb.model.DescribeParametersRequest) operation.

      Parameters:
      describeParametersRequest -
      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.
      • ParameterGroupNotFoundException
      • ServiceLinkedRoleNotFoundException
      • InvalidParameterValueException
      • InvalidParameterCombinationException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeParametersPaginator

      default DescribeParametersPublisher describeParametersPaginator(Consumer<DescribeParametersRequest.Builder> describeParametersRequest)

      This is a variant of describeParameters(software.amazon.awssdk.services.memorydb.model.DescribeParametersRequest) 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.memorydb.paginators.DescribeParametersPublisher publisher = client.describeParametersPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.memorydb.paginators.DescribeParametersPublisher publisher = client.describeParametersPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.memorydb.model.DescribeParametersResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.memorydb.model.DescribeParametersResponse 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 describeParameters(software.amazon.awssdk.services.memorydb.model.DescribeParametersRequest) operation.


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

      Parameters:
      describeParametersRequest - A Consumer that will call methods on DescribeParametersRequest.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.
      • ParameterGroupNotFoundException
      • ServiceLinkedRoleNotFoundException
      • InvalidParameterValueException
      • InvalidParameterCombinationException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeReservedNodes

      default CompletableFuture<DescribeReservedNodesResponse> describeReservedNodes(DescribeReservedNodesRequest describeReservedNodesRequest)

      Returns information about reserved nodes for this account, or about a specified reserved node.

      Parameters:
      describeReservedNodesRequest -
      Returns:
      A Java Future containing the result of the DescribeReservedNodes 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.
      • ReservedNodeNotFoundException The requested node does not exist.
      • ServiceLinkedRoleNotFoundException
      • InvalidParameterValueException
      • InvalidParameterCombinationException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeReservedNodes

      default CompletableFuture<DescribeReservedNodesResponse> describeReservedNodes(Consumer<DescribeReservedNodesRequest.Builder> describeReservedNodesRequest)

      Returns information about reserved nodes for this account, or about a specified reserved node.


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

      Parameters:
      describeReservedNodesRequest - A Consumer that will call methods on DescribeReservedNodesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeReservedNodes 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.
      • ReservedNodeNotFoundException The requested node does not exist.
      • ServiceLinkedRoleNotFoundException
      • InvalidParameterValueException
      • InvalidParameterCombinationException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeReservedNodesOfferings

      default CompletableFuture<DescribeReservedNodesOfferingsResponse> describeReservedNodesOfferings(DescribeReservedNodesOfferingsRequest describeReservedNodesOfferingsRequest)

      Lists available reserved node offerings.

      Parameters:
      describeReservedNodesOfferingsRequest -
      Returns:
      A Java Future containing the result of the DescribeReservedNodesOfferings 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.
      • ReservedNodesOfferingNotFoundException The requested node offering does not exist.
      • ServiceLinkedRoleNotFoundException
      • InvalidParameterValueException
      • InvalidParameterCombinationException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeReservedNodesOfferings

      default CompletableFuture<DescribeReservedNodesOfferingsResponse> describeReservedNodesOfferings(Consumer<DescribeReservedNodesOfferingsRequest.Builder> describeReservedNodesOfferingsRequest)

      Lists available reserved node offerings.


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

      Parameters:
      describeReservedNodesOfferingsRequest - A Consumer that will call methods on DescribeReservedNodesOfferingsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeReservedNodesOfferings 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.
      • ReservedNodesOfferingNotFoundException The requested node offering does not exist.
      • ServiceLinkedRoleNotFoundException
      • InvalidParameterValueException
      • InvalidParameterCombinationException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeReservedNodesOfferingsPaginator

      default DescribeReservedNodesOfferingsPublisher describeReservedNodesOfferingsPaginator(DescribeReservedNodesOfferingsRequest describeReservedNodesOfferingsRequest)

      This is a variant of describeReservedNodesOfferings(software.amazon.awssdk.services.memorydb.model.DescribeReservedNodesOfferingsRequest) 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.memorydb.paginators.DescribeReservedNodesOfferingsPublisher publisher = client.describeReservedNodesOfferingsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.memorydb.paginators.DescribeReservedNodesOfferingsPublisher publisher = client.describeReservedNodesOfferingsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.memorydb.model.DescribeReservedNodesOfferingsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.memorydb.model.DescribeReservedNodesOfferingsResponse 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 describeReservedNodesOfferings(software.amazon.awssdk.services.memorydb.model.DescribeReservedNodesOfferingsRequest) operation.

      Parameters:
      describeReservedNodesOfferingsRequest -
      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.
      • ReservedNodesOfferingNotFoundException The requested node offering does not exist.
      • ServiceLinkedRoleNotFoundException
      • InvalidParameterValueException
      • InvalidParameterCombinationException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeReservedNodesOfferingsPaginator

      default DescribeReservedNodesOfferingsPublisher describeReservedNodesOfferingsPaginator(Consumer<DescribeReservedNodesOfferingsRequest.Builder> describeReservedNodesOfferingsRequest)

      This is a variant of describeReservedNodesOfferings(software.amazon.awssdk.services.memorydb.model.DescribeReservedNodesOfferingsRequest) 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.memorydb.paginators.DescribeReservedNodesOfferingsPublisher publisher = client.describeReservedNodesOfferingsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.memorydb.paginators.DescribeReservedNodesOfferingsPublisher publisher = client.describeReservedNodesOfferingsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.memorydb.model.DescribeReservedNodesOfferingsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.memorydb.model.DescribeReservedNodesOfferingsResponse 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 describeReservedNodesOfferings(software.amazon.awssdk.services.memorydb.model.DescribeReservedNodesOfferingsRequest) operation.


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

      Parameters:
      describeReservedNodesOfferingsRequest - A Consumer that will call methods on DescribeReservedNodesOfferingsRequest.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.
      • ReservedNodesOfferingNotFoundException The requested node offering does not exist.
      • ServiceLinkedRoleNotFoundException
      • InvalidParameterValueException
      • InvalidParameterCombinationException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeReservedNodesPaginator

      default DescribeReservedNodesPublisher describeReservedNodesPaginator(DescribeReservedNodesRequest describeReservedNodesRequest)

      This is a variant of describeReservedNodes(software.amazon.awssdk.services.memorydb.model.DescribeReservedNodesRequest) 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.memorydb.paginators.DescribeReservedNodesPublisher publisher = client.describeReservedNodesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.memorydb.paginators.DescribeReservedNodesPublisher publisher = client.describeReservedNodesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.memorydb.model.DescribeReservedNodesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.memorydb.model.DescribeReservedNodesResponse 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 describeReservedNodes(software.amazon.awssdk.services.memorydb.model.DescribeReservedNodesRequest) operation.

      Parameters:
      describeReservedNodesRequest -
      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.
      • ReservedNodeNotFoundException The requested node does not exist.
      • ServiceLinkedRoleNotFoundException
      • InvalidParameterValueException
      • InvalidParameterCombinationException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeReservedNodesPaginator

      default DescribeReservedNodesPublisher describeReservedNodesPaginator(Consumer<DescribeReservedNodesRequest.Builder> describeReservedNodesRequest)

      This is a variant of describeReservedNodes(software.amazon.awssdk.services.memorydb.model.DescribeReservedNodesRequest) 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.memorydb.paginators.DescribeReservedNodesPublisher publisher = client.describeReservedNodesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.memorydb.paginators.DescribeReservedNodesPublisher publisher = client.describeReservedNodesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.memorydb.model.DescribeReservedNodesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.memorydb.model.DescribeReservedNodesResponse 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 describeReservedNodes(software.amazon.awssdk.services.memorydb.model.DescribeReservedNodesRequest) operation.


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

      Parameters:
      describeReservedNodesRequest - A Consumer that will call methods on DescribeReservedNodesRequest.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.
      • ReservedNodeNotFoundException The requested node does not exist.
      • ServiceLinkedRoleNotFoundException
      • InvalidParameterValueException
      • InvalidParameterCombinationException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeServiceUpdates

      default CompletableFuture<DescribeServiceUpdatesResponse> describeServiceUpdates(DescribeServiceUpdatesRequest describeServiceUpdatesRequest)

      Returns details of the service updates

      Parameters:
      describeServiceUpdatesRequest -
      Returns:
      A Java Future containing the result of the DescribeServiceUpdates 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.
      • InvalidParameterValueException
      • InvalidParameterCombinationException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeServiceUpdates

      default CompletableFuture<DescribeServiceUpdatesResponse> describeServiceUpdates(Consumer<DescribeServiceUpdatesRequest.Builder> describeServiceUpdatesRequest)

      Returns details of the service updates


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

      Parameters:
      describeServiceUpdatesRequest - A Consumer that will call methods on DescribeServiceUpdatesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeServiceUpdates 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.
      • InvalidParameterValueException
      • InvalidParameterCombinationException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeServiceUpdatesPaginator

      default DescribeServiceUpdatesPublisher describeServiceUpdatesPaginator(DescribeServiceUpdatesRequest describeServiceUpdatesRequest)

      This is a variant of describeServiceUpdates(software.amazon.awssdk.services.memorydb.model.DescribeServiceUpdatesRequest) 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.memorydb.paginators.DescribeServiceUpdatesPublisher publisher = client.describeServiceUpdatesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.memorydb.paginators.DescribeServiceUpdatesPublisher publisher = client.describeServiceUpdatesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.memorydb.model.DescribeServiceUpdatesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.memorydb.model.DescribeServiceUpdatesResponse 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 describeServiceUpdates(software.amazon.awssdk.services.memorydb.model.DescribeServiceUpdatesRequest) operation.

      Parameters:
      describeServiceUpdatesRequest -
      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.
      • InvalidParameterValueException
      • InvalidParameterCombinationException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeServiceUpdatesPaginator

      default DescribeServiceUpdatesPublisher describeServiceUpdatesPaginator(Consumer<DescribeServiceUpdatesRequest.Builder> describeServiceUpdatesRequest)

      This is a variant of describeServiceUpdates(software.amazon.awssdk.services.memorydb.model.DescribeServiceUpdatesRequest) 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.memorydb.paginators.DescribeServiceUpdatesPublisher publisher = client.describeServiceUpdatesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.memorydb.paginators.DescribeServiceUpdatesPublisher publisher = client.describeServiceUpdatesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.memorydb.model.DescribeServiceUpdatesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.memorydb.model.DescribeServiceUpdatesResponse 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 describeServiceUpdates(software.amazon.awssdk.services.memorydb.model.DescribeServiceUpdatesRequest) operation.


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

      Parameters:
      describeServiceUpdatesRequest - A Consumer that will call methods on DescribeServiceUpdatesRequest.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.
      • InvalidParameterValueException
      • InvalidParameterCombinationException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeSnapshots

      default CompletableFuture<DescribeSnapshotsResponse> describeSnapshots(DescribeSnapshotsRequest describeSnapshotsRequest)

      Returns information about cluster snapshots. By default, DescribeSnapshots lists all of your snapshots; it can optionally describe a single snapshot, or just the snapshots associated with a particular cluster.

      Parameters:
      describeSnapshotsRequest -
      Returns:
      A Java Future containing the result of the DescribeSnapshots 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.
      • SnapshotNotFoundException
      • ServiceLinkedRoleNotFoundException
      • InvalidParameterValueException
      • InvalidParameterCombinationException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeSnapshots

      default CompletableFuture<DescribeSnapshotsResponse> describeSnapshots(Consumer<DescribeSnapshotsRequest.Builder> describeSnapshotsRequest)

      Returns information about cluster snapshots. By default, DescribeSnapshots lists all of your snapshots; it can optionally describe a single snapshot, or just the snapshots associated with a particular cluster.


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

      Parameters:
      describeSnapshotsRequest - A Consumer that will call methods on DescribeSnapshotsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeSnapshots 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.
      • SnapshotNotFoundException
      • ServiceLinkedRoleNotFoundException
      • InvalidParameterValueException
      • InvalidParameterCombinationException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeSnapshotsPaginator

      default DescribeSnapshotsPublisher describeSnapshotsPaginator(DescribeSnapshotsRequest describeSnapshotsRequest)

      This is a variant of describeSnapshots(software.amazon.awssdk.services.memorydb.model.DescribeSnapshotsRequest) 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.memorydb.paginators.DescribeSnapshotsPublisher publisher = client.describeSnapshotsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.memorydb.paginators.DescribeSnapshotsPublisher publisher = client.describeSnapshotsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.memorydb.model.DescribeSnapshotsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.memorydb.model.DescribeSnapshotsResponse 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 describeSnapshots(software.amazon.awssdk.services.memorydb.model.DescribeSnapshotsRequest) operation.

      Parameters:
      describeSnapshotsRequest -
      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.
      • SnapshotNotFoundException
      • ServiceLinkedRoleNotFoundException
      • InvalidParameterValueException
      • InvalidParameterCombinationException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeSnapshotsPaginator

      default DescribeSnapshotsPublisher describeSnapshotsPaginator(Consumer<DescribeSnapshotsRequest.Builder> describeSnapshotsRequest)

      This is a variant of describeSnapshots(software.amazon.awssdk.services.memorydb.model.DescribeSnapshotsRequest) 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.memorydb.paginators.DescribeSnapshotsPublisher publisher = client.describeSnapshotsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.memorydb.paginators.DescribeSnapshotsPublisher publisher = client.describeSnapshotsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.memorydb.model.DescribeSnapshotsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.memorydb.model.DescribeSnapshotsResponse 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 describeSnapshots(software.amazon.awssdk.services.memorydb.model.DescribeSnapshotsRequest) operation.


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

      Parameters:
      describeSnapshotsRequest - A Consumer that will call methods on DescribeSnapshotsRequest.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.
      • SnapshotNotFoundException
      • ServiceLinkedRoleNotFoundException
      • InvalidParameterValueException
      • InvalidParameterCombinationException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeSubnetGroups

      default CompletableFuture<DescribeSubnetGroupsResponse> describeSubnetGroups(DescribeSubnetGroupsRequest describeSubnetGroupsRequest)

      Returns a list of subnet group descriptions. If a subnet group name is specified, the list contains only the description of that group.

      Parameters:
      describeSubnetGroupsRequest -
      Returns:
      A Java Future containing the result of the DescribeSubnetGroups 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.
      • SubnetGroupNotFoundException
      • ServiceLinkedRoleNotFoundException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeSubnetGroups

      default CompletableFuture<DescribeSubnetGroupsResponse> describeSubnetGroups(Consumer<DescribeSubnetGroupsRequest.Builder> describeSubnetGroupsRequest)

      Returns a list of subnet group descriptions. If a subnet group name is specified, the list contains only the description of that group.


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

      Parameters:
      describeSubnetGroupsRequest - A Consumer that will call methods on DescribeSubnetGroupsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeSubnetGroups 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.
      • SubnetGroupNotFoundException
      • ServiceLinkedRoleNotFoundException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeSubnetGroupsPaginator

      default DescribeSubnetGroupsPublisher describeSubnetGroupsPaginator(DescribeSubnetGroupsRequest describeSubnetGroupsRequest)

      This is a variant of describeSubnetGroups(software.amazon.awssdk.services.memorydb.model.DescribeSubnetGroupsRequest) 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.memorydb.paginators.DescribeSubnetGroupsPublisher publisher = client.describeSubnetGroupsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.memorydb.paginators.DescribeSubnetGroupsPublisher publisher = client.describeSubnetGroupsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.memorydb.model.DescribeSubnetGroupsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.memorydb.model.DescribeSubnetGroupsResponse 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 describeSubnetGroups(software.amazon.awssdk.services.memorydb.model.DescribeSubnetGroupsRequest) operation.

      Parameters:
      describeSubnetGroupsRequest -
      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.
      • SubnetGroupNotFoundException
      • ServiceLinkedRoleNotFoundException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeSubnetGroupsPaginator

      default DescribeSubnetGroupsPublisher describeSubnetGroupsPaginator(Consumer<DescribeSubnetGroupsRequest.Builder> describeSubnetGroupsRequest)

      This is a variant of describeSubnetGroups(software.amazon.awssdk.services.memorydb.model.DescribeSubnetGroupsRequest) 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.memorydb.paginators.DescribeSubnetGroupsPublisher publisher = client.describeSubnetGroupsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.memorydb.paginators.DescribeSubnetGroupsPublisher publisher = client.describeSubnetGroupsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.memorydb.model.DescribeSubnetGroupsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.memorydb.model.DescribeSubnetGroupsResponse 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 describeSubnetGroups(software.amazon.awssdk.services.memorydb.model.DescribeSubnetGroupsRequest) operation.


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

      Parameters:
      describeSubnetGroupsRequest - A Consumer that will call methods on DescribeSubnetGroupsRequest.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.
      • SubnetGroupNotFoundException
      • ServiceLinkedRoleNotFoundException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeUsers

      default CompletableFuture<DescribeUsersResponse> describeUsers(DescribeUsersRequest describeUsersRequest)

      Returns a list of users.

      Parameters:
      describeUsersRequest -
      Returns:
      A Java Future containing the result of the DescribeUsers 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.
      • UserNotFoundException
      • InvalidParameterCombinationException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeUsers

      default CompletableFuture<DescribeUsersResponse> describeUsers(Consumer<DescribeUsersRequest.Builder> describeUsersRequest)

      Returns a list of users.


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

      Parameters:
      describeUsersRequest - A Consumer that will call methods on DescribeUsersRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeUsers 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.
      • UserNotFoundException
      • InvalidParameterCombinationException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeUsersPaginator

      default DescribeUsersPublisher describeUsersPaginator(DescribeUsersRequest describeUsersRequest)

      This is a variant of describeUsers(software.amazon.awssdk.services.memorydb.model.DescribeUsersRequest) 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.memorydb.paginators.DescribeUsersPublisher publisher = client.describeUsersPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.memorydb.paginators.DescribeUsersPublisher publisher = client.describeUsersPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.memorydb.model.DescribeUsersResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.memorydb.model.DescribeUsersResponse 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 describeUsers(software.amazon.awssdk.services.memorydb.model.DescribeUsersRequest) operation.

      Parameters:
      describeUsersRequest -
      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.
      • UserNotFoundException
      • InvalidParameterCombinationException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeUsersPaginator

      default DescribeUsersPublisher describeUsersPaginator(Consumer<DescribeUsersRequest.Builder> describeUsersRequest)

      This is a variant of describeUsers(software.amazon.awssdk.services.memorydb.model.DescribeUsersRequest) 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.memorydb.paginators.DescribeUsersPublisher publisher = client.describeUsersPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.memorydb.paginators.DescribeUsersPublisher publisher = client.describeUsersPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.memorydb.model.DescribeUsersResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.memorydb.model.DescribeUsersResponse 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 describeUsers(software.amazon.awssdk.services.memorydb.model.DescribeUsersRequest) operation.


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

      Parameters:
      describeUsersRequest - A Consumer that will call methods on DescribeUsersRequest.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.
      • UserNotFoundException
      • InvalidParameterCombinationException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • failoverShard

      default CompletableFuture<FailoverShardResponse> failoverShard(FailoverShardRequest failoverShardRequest)

      Used to failover a shard. This API is designed for testing the behavior of your application in case of MemoryDB failover. It is not designed to be used as a production-level tool for initiating a failover to overcome a problem you may have with the cluster. Moreover, in certain conditions such as large scale operational events, Amazon may block this API.

      Parameters:
      failoverShardRequest -
      Returns:
      A Java Future containing the result of the FailoverShard 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.
      • ApiCallRateForCustomerExceededException
      • InvalidClusterStateException
      • ShardNotFoundException
      • ClusterNotFoundException
      • TestFailoverNotAvailableException
      • InvalidKmsKeyException
      • InvalidParameterValueException
      • InvalidParameterCombinationException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • failoverShard

      default CompletableFuture<FailoverShardResponse> failoverShard(Consumer<FailoverShardRequest.Builder> failoverShardRequest)

      Used to failover a shard. This API is designed for testing the behavior of your application in case of MemoryDB failover. It is not designed to be used as a production-level tool for initiating a failover to overcome a problem you may have with the cluster. Moreover, in certain conditions such as large scale operational events, Amazon may block this API.


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

      Parameters:
      failoverShardRequest - A Consumer that will call methods on FailoverShardRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the FailoverShard 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.
      • ApiCallRateForCustomerExceededException
      • InvalidClusterStateException
      • ShardNotFoundException
      • ClusterNotFoundException
      • TestFailoverNotAvailableException
      • InvalidKmsKeyException
      • InvalidParameterValueException
      • InvalidParameterCombinationException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAllowedNodeTypeUpdates

      default CompletableFuture<ListAllowedNodeTypeUpdatesResponse> listAllowedNodeTypeUpdates(ListAllowedNodeTypeUpdatesRequest listAllowedNodeTypeUpdatesRequest)

      Lists all available node types that you can scale to from your cluster's current node type. When you use the UpdateCluster operation to scale your cluster, the value of the NodeType parameter must be one of the node types returned by this operation.

      Parameters:
      listAllowedNodeTypeUpdatesRequest -
      Returns:
      A Java Future containing the result of the ListAllowedNodeTypeUpdates 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.
      • ClusterNotFoundException
      • ServiceLinkedRoleNotFoundException
      • InvalidParameterCombinationException
      • InvalidParameterValueException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAllowedNodeTypeUpdates

      default CompletableFuture<ListAllowedNodeTypeUpdatesResponse> listAllowedNodeTypeUpdates(Consumer<ListAllowedNodeTypeUpdatesRequest.Builder> listAllowedNodeTypeUpdatesRequest)

      Lists all available node types that you can scale to from your cluster's current node type. When you use the UpdateCluster operation to scale your cluster, the value of the NodeType parameter must be one of the node types returned by this operation.


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

      Parameters:
      listAllowedNodeTypeUpdatesRequest - A Consumer that will call methods on ListAllowedNodeTypeUpdatesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListAllowedNodeTypeUpdates 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.
      • ClusterNotFoundException
      • ServiceLinkedRoleNotFoundException
      • InvalidParameterCombinationException
      • InvalidParameterValueException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTags

      default CompletableFuture<ListTagsResponse> listTags(ListTagsRequest listTagsRequest)

      Lists all tags currently on a named resource. A tag is a key-value pair where the key and value are case-sensitive. You can use tags to categorize and track your MemoryDB resources. For more information, see Tagging your MemoryDB resources

      Parameters:
      listTagsRequest -
      Returns:
      A Java Future containing the result of the ListTags 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.
      • ClusterNotFoundException
      • InvalidClusterStateException
      • ParameterGroupNotFoundException
      • SubnetGroupNotFoundException
      • SnapshotNotFoundException
      • InvalidArnException
      • ServiceLinkedRoleNotFoundException
      • UserNotFoundException
      • AclNotFoundException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTags

      Lists all tags currently on a named resource. A tag is a key-value pair where the key and value are case-sensitive. You can use tags to categorize and track your MemoryDB resources. For more information, see Tagging your MemoryDB resources


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

      Parameters:
      listTagsRequest - A Consumer that will call methods on ListTagsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListTags 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.
      • ClusterNotFoundException
      • InvalidClusterStateException
      • ParameterGroupNotFoundException
      • SubnetGroupNotFoundException
      • SnapshotNotFoundException
      • InvalidArnException
      • ServiceLinkedRoleNotFoundException
      • UserNotFoundException
      • AclNotFoundException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • purchaseReservedNodesOffering

      default CompletableFuture<PurchaseReservedNodesOfferingResponse> purchaseReservedNodesOffering(PurchaseReservedNodesOfferingRequest purchaseReservedNodesOfferingRequest)

      Allows you to purchase a reserved node offering. Reserved nodes are not eligible for cancellation and are non-refundable.

      Parameters:
      purchaseReservedNodesOfferingRequest -
      Returns:
      A Java Future containing the result of the PurchaseReservedNodesOffering 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.
      • ReservedNodesOfferingNotFoundException The requested node offering does not exist.
      • ReservedNodeAlreadyExistsException You already have a reservation with the given identifier.
      • ReservedNodeQuotaExceededException The request cannot be processed because it would exceed the user's node quota.
      • ServiceLinkedRoleNotFoundException
      • TagQuotaPerResourceExceededException
      • InvalidParameterValueException
      • InvalidParameterCombinationException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • purchaseReservedNodesOffering

      default CompletableFuture<PurchaseReservedNodesOfferingResponse> purchaseReservedNodesOffering(Consumer<PurchaseReservedNodesOfferingRequest.Builder> purchaseReservedNodesOfferingRequest)

      Allows you to purchase a reserved node offering. Reserved nodes are not eligible for cancellation and are non-refundable.


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

      Parameters:
      purchaseReservedNodesOfferingRequest - A Consumer that will call methods on PurchaseReservedNodesOfferingRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the PurchaseReservedNodesOffering 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.
      • ReservedNodesOfferingNotFoundException The requested node offering does not exist.
      • ReservedNodeAlreadyExistsException You already have a reservation with the given identifier.
      • ReservedNodeQuotaExceededException The request cannot be processed because it would exceed the user's node quota.
      • ServiceLinkedRoleNotFoundException
      • TagQuotaPerResourceExceededException
      • InvalidParameterValueException
      • InvalidParameterCombinationException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • resetParameterGroup

      default CompletableFuture<ResetParameterGroupResponse> resetParameterGroup(ResetParameterGroupRequest resetParameterGroupRequest)

      Modifies the parameters of a parameter group to the engine or system default value. You can reset specific parameters by submitting a list of parameter names. To reset the entire parameter group, specify the AllParameters and ParameterGroupName parameters.

      Parameters:
      resetParameterGroupRequest -
      Returns:
      A Java Future containing the result of the ResetParameterGroup 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.
      • InvalidParameterGroupStateException
      • ParameterGroupNotFoundException
      • ServiceLinkedRoleNotFoundException
      • InvalidParameterValueException
      • InvalidParameterCombinationException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • resetParameterGroup

      default CompletableFuture<ResetParameterGroupResponse> resetParameterGroup(Consumer<ResetParameterGroupRequest.Builder> resetParameterGroupRequest)

      Modifies the parameters of a parameter group to the engine or system default value. You can reset specific parameters by submitting a list of parameter names. To reset the entire parameter group, specify the AllParameters and ParameterGroupName parameters.


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

      Parameters:
      resetParameterGroupRequest - A Consumer that will call methods on ResetParameterGroupRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ResetParameterGroup 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.
      • InvalidParameterGroupStateException
      • ParameterGroupNotFoundException
      • ServiceLinkedRoleNotFoundException
      • InvalidParameterValueException
      • InvalidParameterCombinationException
      • 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.
      • MemoryDbException 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)

      A tag is a key-value pair where the key and value are case-sensitive. You can use tags to categorize and track all your MemoryDB resources. When you add or remove tags on clusters, those actions will be replicated to all nodes in the cluster. For more information, see Resource-level permissions.

      For example, you can use cost-allocation tags to your MemoryDB resources, Amazon generates a cost allocation report as a comma-separated value (CSV) file with your usage and costs aggregated by your tags. You can apply tags that represent business categories (such as cost centers, application names, or owners) to organize your costs across multiple services. For more information, see Using Cost Allocation Tags.

      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.
      • ClusterNotFoundException
      • ParameterGroupNotFoundException
      • SubnetGroupNotFoundException
      • InvalidClusterStateException
      • SnapshotNotFoundException
      • UserNotFoundException
      • AclNotFoundException
      • TagQuotaPerResourceExceededException
      • InvalidArnException
      • ServiceLinkedRoleNotFoundException
      • 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.
      • MemoryDbException 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)

      A tag is a key-value pair where the key and value are case-sensitive. You can use tags to categorize and track all your MemoryDB resources. When you add or remove tags on clusters, those actions will be replicated to all nodes in the cluster. For more information, see Resource-level permissions.

      For example, you can use cost-allocation tags to your MemoryDB resources, Amazon generates a cost allocation report as a comma-separated value (CSV) file with your usage and costs aggregated by your tags. You can apply tags that represent business categories (such as cost centers, application names, or owners) to organize your costs across multiple services. For more information, see Using Cost Allocation Tags.


      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.
      • ClusterNotFoundException
      • ParameterGroupNotFoundException
      • SubnetGroupNotFoundException
      • InvalidClusterStateException
      • SnapshotNotFoundException
      • UserNotFoundException
      • AclNotFoundException
      • TagQuotaPerResourceExceededException
      • InvalidArnException
      • ServiceLinkedRoleNotFoundException
      • 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.
      • MemoryDbException 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)

      Use this operation to remove tags on a resource

      Parameters:
      untagResourceRequest -
      Returns:
      A Java Future containing the result of the UntagResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ClusterNotFoundException
      • InvalidClusterStateException
      • ParameterGroupNotFoundException
      • SubnetGroupNotFoundException
      • SnapshotNotFoundException
      • InvalidArnException
      • TagNotFoundException
      • ServiceLinkedRoleNotFoundException
      • UserNotFoundException
      • AclNotFoundException
      • 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.
      • MemoryDbException 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)

      Use this operation to remove tags on a 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.
      • ClusterNotFoundException
      • InvalidClusterStateException
      • ParameterGroupNotFoundException
      • SubnetGroupNotFoundException
      • SnapshotNotFoundException
      • InvalidArnException
      • TagNotFoundException
      • ServiceLinkedRoleNotFoundException
      • UserNotFoundException
      • AclNotFoundException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateACL

      default CompletableFuture<UpdateAclResponse> updateACL(UpdateAclRequest updateAclRequest)

      Changes the list of users that belong to the Access Control List.

      Parameters:
      updateAclRequest -
      Returns:
      A Java Future containing the result of the UpdateACL 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.
      • AclNotFoundException
      • UserNotFoundException
      • DuplicateUserNameException
      • DefaultUserRequiredException
      • InvalidAclStateException
      • InvalidParameterValueException
      • InvalidParameterCombinationException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateACL

      default CompletableFuture<UpdateAclResponse> updateACL(Consumer<UpdateAclRequest.Builder> updateAclRequest)

      Changes the list of users that belong to the Access Control List.


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

      Parameters:
      updateAclRequest - A Consumer that will call methods on UpdateAclRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateACL 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.
      • AclNotFoundException
      • UserNotFoundException
      • DuplicateUserNameException
      • DefaultUserRequiredException
      • InvalidAclStateException
      • InvalidParameterValueException
      • InvalidParameterCombinationException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateCluster

      default CompletableFuture<UpdateClusterResponse> updateCluster(UpdateClusterRequest updateClusterRequest)

      Modifies the settings for a cluster. You can use this operation to change one or more cluster configuration settings by specifying the settings and the new values.

      Parameters:
      updateClusterRequest -
      Returns:
      A Java Future containing the result of the UpdateCluster 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.
      • ClusterNotFoundException
      • InvalidClusterStateException
      • InvalidNodeStateException
      • ParameterGroupNotFoundException
      • InvalidVpcNetworkStateException
      • ServiceLinkedRoleNotFoundException
      • InvalidKmsKeyException
      • NodeQuotaForClusterExceededException
      • ClusterQuotaForCustomerExceededException
      • ShardsPerClusterQuotaExceededException
      • NodeQuotaForCustomerExceededException
      • NoOperationException
      • InvalidAclStateException
      • AclNotFoundException
      • InvalidParameterValueException
      • InvalidParameterCombinationException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateCluster

      default CompletableFuture<UpdateClusterResponse> updateCluster(Consumer<UpdateClusterRequest.Builder> updateClusterRequest)

      Modifies the settings for a cluster. You can use this operation to change one or more cluster configuration settings by specifying the settings and the new values.


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

      Parameters:
      updateClusterRequest - A Consumer that will call methods on UpdateClusterRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateCluster 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.
      • ClusterNotFoundException
      • InvalidClusterStateException
      • InvalidNodeStateException
      • ParameterGroupNotFoundException
      • InvalidVpcNetworkStateException
      • ServiceLinkedRoleNotFoundException
      • InvalidKmsKeyException
      • NodeQuotaForClusterExceededException
      • ClusterQuotaForCustomerExceededException
      • ShardsPerClusterQuotaExceededException
      • NodeQuotaForCustomerExceededException
      • NoOperationException
      • InvalidAclStateException
      • AclNotFoundException
      • InvalidParameterValueException
      • InvalidParameterCombinationException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateParameterGroup

      default CompletableFuture<UpdateParameterGroupResponse> updateParameterGroup(UpdateParameterGroupRequest updateParameterGroupRequest)

      Updates the parameters of a parameter group. You can modify up to 20 parameters in a single request by submitting a list parameter name and value pairs.

      Parameters:
      updateParameterGroupRequest -
      Returns:
      A Java Future containing the result of the UpdateParameterGroup 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.
      • ParameterGroupNotFoundException
      • InvalidParameterGroupStateException
      • ServiceLinkedRoleNotFoundException
      • InvalidParameterValueException
      • InvalidParameterCombinationException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateParameterGroup

      default CompletableFuture<UpdateParameterGroupResponse> updateParameterGroup(Consumer<UpdateParameterGroupRequest.Builder> updateParameterGroupRequest)

      Updates the parameters of a parameter group. You can modify up to 20 parameters in a single request by submitting a list parameter name and value pairs.


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

      Parameters:
      updateParameterGroupRequest - A Consumer that will call methods on UpdateParameterGroupRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateParameterGroup 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.
      • ParameterGroupNotFoundException
      • InvalidParameterGroupStateException
      • ServiceLinkedRoleNotFoundException
      • InvalidParameterValueException
      • InvalidParameterCombinationException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateSubnetGroup

      default CompletableFuture<UpdateSubnetGroupResponse> updateSubnetGroup(UpdateSubnetGroupRequest updateSubnetGroupRequest)

      Updates a subnet group. For more information, see Updating a subnet group

      Parameters:
      updateSubnetGroupRequest -
      Returns:
      A Java Future containing the result of the UpdateSubnetGroup 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.
      • SubnetGroupNotFoundException
      • SubnetQuotaExceededException
      • SubnetInUseException
      • InvalidSubnetException
      • ServiceLinkedRoleNotFoundException
      • SubnetNotAllowedException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateSubnetGroup

      default CompletableFuture<UpdateSubnetGroupResponse> updateSubnetGroup(Consumer<UpdateSubnetGroupRequest.Builder> updateSubnetGroupRequest)

      Updates a subnet group. For more information, see Updating a subnet group


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

      Parameters:
      updateSubnetGroupRequest - A Consumer that will call methods on UpdateSubnetGroupRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateSubnetGroup 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.
      • SubnetGroupNotFoundException
      • SubnetQuotaExceededException
      • SubnetInUseException
      • InvalidSubnetException
      • ServiceLinkedRoleNotFoundException
      • SubnetNotAllowedException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateUser

      default CompletableFuture<UpdateUserResponse> updateUser(UpdateUserRequest updateUserRequest)

      Changes user password(s) and/or access string.

      Parameters:
      updateUserRequest -
      Returns:
      A Java Future containing the result of the UpdateUser 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.
      • UserNotFoundException
      • InvalidUserStateException
      • InvalidParameterValueException
      • InvalidParameterCombinationException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateUser

      default CompletableFuture<UpdateUserResponse> updateUser(Consumer<UpdateUserRequest.Builder> updateUserRequest)

      Changes user password(s) and/or access string.


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

      Parameters:
      updateUserRequest - A Consumer that will call methods on UpdateUserRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateUser 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.
      • UserNotFoundException
      • InvalidUserStateException
      • InvalidParameterValueException
      • InvalidParameterCombinationException
      • 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.
      • MemoryDbException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • serviceClientConfiguration

      default MemoryDbServiceClientConfiguration 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 MemoryDbAsyncClient create()
      Create a MemoryDbAsyncClient with the region loaded from the DefaultAwsRegionProviderChain and credentials loaded from the DefaultCredentialsProvider.
    • builder

      static MemoryDbAsyncClientBuilder builder()
      Create a builder that can be used to configure and create a MemoryDbAsyncClient.