@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface MemoryDbClient extends SdkClient
builder() method.
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.
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider. |
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
default BatchUpdateClusterResponse |
batchUpdateCluster(BatchUpdateClusterRequest batchUpdateClusterRequest)
Apply the service update to a list of clusters supplied.
|
default BatchUpdateClusterResponse |
batchUpdateCluster(Consumer<BatchUpdateClusterRequest.Builder> batchUpdateClusterRequest)
Apply the service update to a list of clusters supplied.
|
static MemoryDbClientBuilder |
builder()
Create a builder that can be used to configure and create a
MemoryDbClient. |
default CopySnapshotResponse |
copySnapshot(Consumer<CopySnapshotRequest.Builder> copySnapshotRequest)
Makes a copy of an existing snapshot.
|
default CopySnapshotResponse |
copySnapshot(CopySnapshotRequest copySnapshotRequest)
Makes a copy of an existing snapshot.
|
static MemoryDbClient |
create()
Create a
MemoryDbClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default CreateAclResponse |
createACL(Consumer<CreateAclRequest.Builder> createAclRequest)
Creates an Access Control List.
|
default CreateAclResponse |
createACL(CreateAclRequest createAclRequest)
Creates an Access Control List.
|
default CreateClusterResponse |
createCluster(Consumer<CreateClusterRequest.Builder> createClusterRequest)
Creates a cluster.
|
default CreateClusterResponse |
createCluster(CreateClusterRequest createClusterRequest)
Creates a cluster.
|
default CreateParameterGroupResponse |
createParameterGroup(Consumer<CreateParameterGroupRequest.Builder> createParameterGroupRequest)
Creates a new MemoryDB parameter group.
|
default CreateParameterGroupResponse |
createParameterGroup(CreateParameterGroupRequest createParameterGroupRequest)
Creates a new MemoryDB parameter group.
|
default CreateSnapshotResponse |
createSnapshot(Consumer<CreateSnapshotRequest.Builder> createSnapshotRequest)
Creates a copy of an entire cluster at a specific moment in time.
|
default CreateSnapshotResponse |
createSnapshot(CreateSnapshotRequest createSnapshotRequest)
Creates a copy of an entire cluster at a specific moment in time.
|
default CreateSubnetGroupResponse |
createSubnetGroup(Consumer<CreateSubnetGroupRequest.Builder> createSubnetGroupRequest)
Creates a subnet group.
|
default CreateSubnetGroupResponse |
createSubnetGroup(CreateSubnetGroupRequest createSubnetGroupRequest)
Creates a subnet group.
|
default CreateUserResponse |
createUser(Consumer<CreateUserRequest.Builder> createUserRequest)
Creates a MemoryDB user.
|
default CreateUserResponse |
createUser(CreateUserRequest createUserRequest)
Creates a MemoryDB user.
|
default DeleteAclResponse |
deleteACL(Consumer<DeleteAclRequest.Builder> deleteAclRequest)
Deletes an Access Control List.
|
default DeleteAclResponse |
deleteACL(DeleteAclRequest deleteAclRequest)
Deletes an Access Control List.
|
default DeleteClusterResponse |
deleteCluster(Consumer<DeleteClusterRequest.Builder> deleteClusterRequest)
Deletes a cluster.
|
default DeleteClusterResponse |
deleteCluster(DeleteClusterRequest deleteClusterRequest)
Deletes a cluster.
|
default DeleteParameterGroupResponse |
deleteParameterGroup(Consumer<DeleteParameterGroupRequest.Builder> deleteParameterGroupRequest)
Deletes the specified parameter group.
|
default DeleteParameterGroupResponse |
deleteParameterGroup(DeleteParameterGroupRequest deleteParameterGroupRequest)
Deletes the specified parameter group.
|
default DeleteSnapshotResponse |
deleteSnapshot(Consumer<DeleteSnapshotRequest.Builder> deleteSnapshotRequest)
Deletes an existing snapshot.
|
default DeleteSnapshotResponse |
deleteSnapshot(DeleteSnapshotRequest deleteSnapshotRequest)
Deletes an existing snapshot.
|
default DeleteSubnetGroupResponse |
deleteSubnetGroup(Consumer<DeleteSubnetGroupRequest.Builder> deleteSubnetGroupRequest)
Deletes a subnet group.
|
default DeleteSubnetGroupResponse |
deleteSubnetGroup(DeleteSubnetGroupRequest deleteSubnetGroupRequest)
Deletes a subnet group.
|
default DeleteUserResponse |
deleteUser(Consumer<DeleteUserRequest.Builder> deleteUserRequest)
Deletes a user.
|
default DeleteUserResponse |
deleteUser(DeleteUserRequest deleteUserRequest)
Deletes a user.
|
default DescribeAcLsResponse |
describeACLs(Consumer<DescribeAcLsRequest.Builder> describeAcLsRequest)
Returns a list of ACLs
|
default DescribeAcLsResponse |
describeACLs(DescribeAcLsRequest describeAcLsRequest)
Returns a list of ACLs
|
default 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.
|
default 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.
|
default DescribeEngineVersionsResponse |
describeEngineVersions(Consumer<DescribeEngineVersionsRequest.Builder> describeEngineVersionsRequest)
Returns a list of the available Redis engine versions.
|
default DescribeEngineVersionsResponse |
describeEngineVersions(DescribeEngineVersionsRequest describeEngineVersionsRequest)
Returns a list of the available Redis engine versions.
|
default DescribeEventsResponse |
describeEvents(Consumer<DescribeEventsRequest.Builder> describeEventsRequest)
Returns events related to clusters, security groups, and parameter groups.
|
default DescribeEventsResponse |
describeEvents(DescribeEventsRequest describeEventsRequest)
Returns events related to clusters, security groups, and parameter groups.
|
default DescribeParameterGroupsResponse |
describeParameterGroups(Consumer<DescribeParameterGroupsRequest.Builder> describeParameterGroupsRequest)
Returns a list of parameter group descriptions.
|
default DescribeParameterGroupsResponse |
describeParameterGroups(DescribeParameterGroupsRequest describeParameterGroupsRequest)
Returns a list of parameter group descriptions.
|
default DescribeParametersResponse |
describeParameters(Consumer<DescribeParametersRequest.Builder> describeParametersRequest)
Returns the detailed parameter list for a particular parameter group.
|
default DescribeParametersResponse |
describeParameters(DescribeParametersRequest describeParametersRequest)
Returns the detailed parameter list for a particular parameter group.
|
default DescribeServiceUpdatesResponse |
describeServiceUpdates(Consumer<DescribeServiceUpdatesRequest.Builder> describeServiceUpdatesRequest)
Returns details of the service updates
|
default DescribeServiceUpdatesResponse |
describeServiceUpdates(DescribeServiceUpdatesRequest describeServiceUpdatesRequest)
Returns details of the service updates
|
default DescribeSnapshotsResponse |
describeSnapshots(Consumer<DescribeSnapshotsRequest.Builder> describeSnapshotsRequest)
Returns information about cluster snapshots.
|
default DescribeSnapshotsResponse |
describeSnapshots(DescribeSnapshotsRequest describeSnapshotsRequest)
Returns information about cluster snapshots.
|
default DescribeSubnetGroupsResponse |
describeSubnetGroups(Consumer<DescribeSubnetGroupsRequest.Builder> describeSubnetGroupsRequest)
Returns a list of subnet group descriptions.
|
default DescribeSubnetGroupsResponse |
describeSubnetGroups(DescribeSubnetGroupsRequest describeSubnetGroupsRequest)
Returns a list of subnet group descriptions.
|
default DescribeUsersResponse |
describeUsers(Consumer<DescribeUsersRequest.Builder> describeUsersRequest)
Returns a list of users.
|
default DescribeUsersResponse |
describeUsers(DescribeUsersRequest describeUsersRequest)
Returns a list of users.
|
default FailoverShardResponse |
failoverShard(Consumer<FailoverShardRequest.Builder> failoverShardRequest)
Used to failover a shard.
|
default FailoverShardResponse |
failoverShard(FailoverShardRequest failoverShardRequest)
Used to failover a shard.
|
default ListAllowedNodeTypeUpdatesResponse |
listAllowedNodeTypeUpdates(Consumer<ListAllowedNodeTypeUpdatesRequest.Builder> listAllowedNodeTypeUpdatesRequest)
Lists all available node types that you can scale to from your cluster's current node type.
|
default ListAllowedNodeTypeUpdatesResponse |
listAllowedNodeTypeUpdates(ListAllowedNodeTypeUpdatesRequest listAllowedNodeTypeUpdatesRequest)
Lists all available node types that you can scale to from your cluster's current node type.
|
default ListTagsResponse |
listTags(Consumer<ListTagsRequest.Builder> listTagsRequest)
Lists all tags currently on a named resource.
|
default ListTagsResponse |
listTags(ListTagsRequest listTagsRequest)
Lists all tags currently on a named resource.
|
default ResetParameterGroupResponse |
resetParameterGroup(Consumer<ResetParameterGroupRequest.Builder> resetParameterGroupRequest)
Modifies the parameters of a parameter group to the engine or system default value.
|
default ResetParameterGroupResponse |
resetParameterGroup(ResetParameterGroupRequest resetParameterGroupRequest)
Modifies the parameters of a parameter group to the engine or system default value.
|
static ServiceMetadata |
serviceMetadata() |
default TagResourceResponse |
tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
A tag is a key-value pair where the key and value are case-sensitive.
|
default TagResourceResponse |
tagResource(TagResourceRequest tagResourceRequest)
A tag is a key-value pair where the key and value are case-sensitive.
|
default UntagResourceResponse |
untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Use this operation to remove tags on a resource
|
default UntagResourceResponse |
untagResource(UntagResourceRequest untagResourceRequest)
Use this operation to remove tags on a resource
|
default UpdateAclResponse |
updateACL(Consumer<UpdateAclRequest.Builder> updateAclRequest)
Changes the list of users that belong to the Access Control List.
|
default UpdateAclResponse |
updateACL(UpdateAclRequest updateAclRequest)
Changes the list of users that belong to the Access Control List.
|
default UpdateClusterResponse |
updateCluster(Consumer<UpdateClusterRequest.Builder> updateClusterRequest)
Modifies the settings for a cluster.
|
default UpdateClusterResponse |
updateCluster(UpdateClusterRequest updateClusterRequest)
Modifies the settings for a cluster.
|
default UpdateParameterGroupResponse |
updateParameterGroup(Consumer<UpdateParameterGroupRequest.Builder> updateParameterGroupRequest)
Updates the parameters of a parameter group.
|
default UpdateParameterGroupResponse |
updateParameterGroup(UpdateParameterGroupRequest updateParameterGroupRequest)
Updates the parameters of a parameter group.
|
default UpdateSubnetGroupResponse |
updateSubnetGroup(Consumer<UpdateSubnetGroupRequest.Builder> updateSubnetGroupRequest)
Updates a subnet group.
|
default UpdateSubnetGroupResponse |
updateSubnetGroup(UpdateSubnetGroupRequest updateSubnetGroupRequest)
Updates a subnet group.
|
default UpdateUserResponse |
updateUser(Consumer<UpdateUserRequest.Builder> updateUserRequest)
Changes user password(s) and/or access string.
|
default UpdateUserResponse |
updateUser(UpdateUserRequest updateUserRequest)
Changes user password(s) and/or access string.
|
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.static MemoryDbClient create()
MemoryDbClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static MemoryDbClientBuilder builder()
MemoryDbClient.default BatchUpdateClusterResponse batchUpdateCluster(BatchUpdateClusterRequest batchUpdateClusterRequest) throws ServiceUpdateNotFoundException, InvalidParameterValueException, AwsServiceException, SdkClientException, MemoryDbException
Apply the service update to a list of clusters supplied. For more information on service updates and applying them, see Applying the service updates.
batchUpdateClusterRequest - ServiceUpdateNotFoundExceptionInvalidParameterValueExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptiondefault BatchUpdateClusterResponse batchUpdateCluster(Consumer<BatchUpdateClusterRequest.Builder> batchUpdateClusterRequest) throws ServiceUpdateNotFoundException, InvalidParameterValueException, AwsServiceException, SdkClientException, MemoryDbException
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()
batchUpdateClusterRequest - A Consumer that will call methods on BatchUpdateClusterRequest.Builder to create a
request.ServiceUpdateNotFoundExceptionInvalidParameterValueExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptiondefault CopySnapshotResponse copySnapshot(CopySnapshotRequest copySnapshotRequest) throws SnapshotAlreadyExistsException, SnapshotNotFoundException, SnapshotQuotaExceededException, InvalidSnapshotStateException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, TagQuotaPerResourceExceededException, AwsServiceException, SdkClientException, MemoryDbException
Makes a copy of an existing snapshot.
copySnapshotRequest - SnapshotAlreadyExistsExceptionSnapshotNotFoundExceptionSnapshotQuotaExceededExceptionInvalidSnapshotStateExceptionServiceLinkedRoleNotFoundExceptionInvalidParameterValueExceptionInvalidParameterCombinationExceptionTagQuotaPerResourceExceededExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptiondefault CopySnapshotResponse copySnapshot(Consumer<CopySnapshotRequest.Builder> copySnapshotRequest) throws SnapshotAlreadyExistsException, SnapshotNotFoundException, SnapshotQuotaExceededException, InvalidSnapshotStateException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, TagQuotaPerResourceExceededException, AwsServiceException, SdkClientException, MemoryDbException
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()
copySnapshotRequest - A Consumer that will call methods on CopySnapshotRequest.Builder to create a request.SnapshotAlreadyExistsExceptionSnapshotNotFoundExceptionSnapshotQuotaExceededExceptionInvalidSnapshotStateExceptionServiceLinkedRoleNotFoundExceptionInvalidParameterValueExceptionInvalidParameterCombinationExceptionTagQuotaPerResourceExceededExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptiondefault CreateAclResponse createACL(CreateAclRequest createAclRequest) throws UserNotFoundException, DuplicateUserNameException, AclAlreadyExistsException, DefaultUserRequiredException, AclQuotaExceededException, InvalidParameterValueException, TagQuotaPerResourceExceededException, AwsServiceException, SdkClientException, MemoryDbException
Creates an Access Control List. For more information, see Authenticating users with Access Contol Lists (ACLs).
createAclRequest - UserNotFoundExceptionDuplicateUserNameExceptionAclAlreadyExistsExceptionDefaultUserRequiredExceptionAclQuotaExceededExceptionInvalidParameterValueExceptionTagQuotaPerResourceExceededExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptiondefault CreateAclResponse createACL(Consumer<CreateAclRequest.Builder> createAclRequest) throws UserNotFoundException, DuplicateUserNameException, AclAlreadyExistsException, DefaultUserRequiredException, AclQuotaExceededException, InvalidParameterValueException, TagQuotaPerResourceExceededException, AwsServiceException, SdkClientException, MemoryDbException
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()
createAclRequest - A Consumer that will call methods on CreateACLRequest.Builder to create a request.UserNotFoundExceptionDuplicateUserNameExceptionAclAlreadyExistsExceptionDefaultUserRequiredExceptionAclQuotaExceededExceptionInvalidParameterValueExceptionTagQuotaPerResourceExceededExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptiondefault CreateClusterResponse createCluster(CreateClusterRequest createClusterRequest) throws ClusterAlreadyExistsException, SubnetGroupNotFoundException, ClusterQuotaForCustomerExceededException, NodeQuotaForClusterExceededException, NodeQuotaForCustomerExceededException, ParameterGroupNotFoundException, InsufficientClusterCapacityException, InvalidVpcNetworkStateException, ServiceLinkedRoleNotFoundException, ShardsPerClusterQuotaExceededException, InvalidParameterValueException, InvalidParameterCombinationException, InvalidCredentialsException, TagQuotaPerResourceExceededException, AclNotFoundException, InvalidAclStateException, AwsServiceException, SdkClientException, MemoryDbException
Creates a cluster. All nodes in the cluster run the same protocol-compliant engine software.
createClusterRequest - ClusterAlreadyExistsExceptionSubnetGroupNotFoundExceptionClusterQuotaForCustomerExceededExceptionNodeQuotaForClusterExceededExceptionNodeQuotaForCustomerExceededExceptionParameterGroupNotFoundExceptionInsufficientClusterCapacityExceptionInvalidVpcNetworkStateExceptionServiceLinkedRoleNotFoundExceptionShardsPerClusterQuotaExceededExceptionInvalidParameterValueExceptionInvalidParameterCombinationExceptionInvalidCredentialsExceptionTagQuotaPerResourceExceededExceptionAclNotFoundExceptionInvalidAclStateExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptiondefault CreateClusterResponse createCluster(Consumer<CreateClusterRequest.Builder> createClusterRequest) throws ClusterAlreadyExistsException, SubnetGroupNotFoundException, ClusterQuotaForCustomerExceededException, NodeQuotaForClusterExceededException, NodeQuotaForCustomerExceededException, ParameterGroupNotFoundException, InsufficientClusterCapacityException, InvalidVpcNetworkStateException, ServiceLinkedRoleNotFoundException, ShardsPerClusterQuotaExceededException, InvalidParameterValueException, InvalidParameterCombinationException, InvalidCredentialsException, TagQuotaPerResourceExceededException, AclNotFoundException, InvalidAclStateException, AwsServiceException, SdkClientException, MemoryDbException
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()
createClusterRequest - A Consumer that will call methods on CreateClusterRequest.Builder to create a request.ClusterAlreadyExistsExceptionSubnetGroupNotFoundExceptionClusterQuotaForCustomerExceededExceptionNodeQuotaForClusterExceededExceptionNodeQuotaForCustomerExceededExceptionParameterGroupNotFoundExceptionInsufficientClusterCapacityExceptionInvalidVpcNetworkStateExceptionServiceLinkedRoleNotFoundExceptionShardsPerClusterQuotaExceededExceptionInvalidParameterValueExceptionInvalidParameterCombinationExceptionInvalidCredentialsExceptionTagQuotaPerResourceExceededExceptionAclNotFoundExceptionInvalidAclStateExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptiondefault CreateParameterGroupResponse createParameterGroup(CreateParameterGroupRequest createParameterGroupRequest) throws ParameterGroupQuotaExceededException, ParameterGroupAlreadyExistsException, InvalidParameterGroupStateException, ServiceLinkedRoleNotFoundException, TagQuotaPerResourceExceededException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException
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.
createParameterGroupRequest - ParameterGroupQuotaExceededExceptionParameterGroupAlreadyExistsExceptionInvalidParameterGroupStateExceptionServiceLinkedRoleNotFoundExceptionTagQuotaPerResourceExceededExceptionInvalidParameterValueExceptionInvalidParameterCombinationExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptiondefault CreateParameterGroupResponse createParameterGroup(Consumer<CreateParameterGroupRequest.Builder> createParameterGroupRequest) throws ParameterGroupQuotaExceededException, ParameterGroupAlreadyExistsException, InvalidParameterGroupStateException, ServiceLinkedRoleNotFoundException, TagQuotaPerResourceExceededException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException
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()
createParameterGroupRequest - A Consumer that will call methods on CreateParameterGroupRequest.Builder to create a
request.ParameterGroupQuotaExceededExceptionParameterGroupAlreadyExistsExceptionInvalidParameterGroupStateExceptionServiceLinkedRoleNotFoundExceptionTagQuotaPerResourceExceededExceptionInvalidParameterValueExceptionInvalidParameterCombinationExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptiondefault CreateSnapshotResponse createSnapshot(CreateSnapshotRequest createSnapshotRequest) throws SnapshotAlreadyExistsException, ClusterNotFoundException, InvalidClusterStateException, SnapshotQuotaExceededException, ServiceLinkedRoleNotFoundException, InvalidParameterCombinationException, InvalidParameterValueException, TagQuotaPerResourceExceededException, AwsServiceException, SdkClientException, MemoryDbException
Creates a copy of an entire cluster at a specific moment in time.
createSnapshotRequest - SnapshotAlreadyExistsExceptionClusterNotFoundExceptionInvalidClusterStateExceptionSnapshotQuotaExceededExceptionServiceLinkedRoleNotFoundExceptionInvalidParameterCombinationExceptionInvalidParameterValueExceptionTagQuotaPerResourceExceededExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptiondefault CreateSnapshotResponse createSnapshot(Consumer<CreateSnapshotRequest.Builder> createSnapshotRequest) throws SnapshotAlreadyExistsException, ClusterNotFoundException, InvalidClusterStateException, SnapshotQuotaExceededException, ServiceLinkedRoleNotFoundException, InvalidParameterCombinationException, InvalidParameterValueException, TagQuotaPerResourceExceededException, AwsServiceException, SdkClientException, MemoryDbException
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()
createSnapshotRequest - A Consumer that will call methods on CreateSnapshotRequest.Builder to create a request.SnapshotAlreadyExistsExceptionClusterNotFoundExceptionInvalidClusterStateExceptionSnapshotQuotaExceededExceptionServiceLinkedRoleNotFoundExceptionInvalidParameterCombinationExceptionInvalidParameterValueExceptionTagQuotaPerResourceExceededExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptiondefault CreateSubnetGroupResponse createSubnetGroup(CreateSubnetGroupRequest createSubnetGroupRequest) throws SubnetGroupAlreadyExistsException, SubnetGroupQuotaExceededException, SubnetQuotaExceededException, InvalidSubnetException, ServiceLinkedRoleNotFoundException, SubnetNotAllowedException, TagQuotaPerResourceExceededException, AwsServiceException, SdkClientException, MemoryDbException
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.
createSubnetGroupRequest - SubnetGroupAlreadyExistsExceptionSubnetGroupQuotaExceededExceptionSubnetQuotaExceededExceptionInvalidSubnetExceptionServiceLinkedRoleNotFoundExceptionSubnetNotAllowedExceptionTagQuotaPerResourceExceededExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptiondefault CreateSubnetGroupResponse createSubnetGroup(Consumer<CreateSubnetGroupRequest.Builder> createSubnetGroupRequest) throws SubnetGroupAlreadyExistsException, SubnetGroupQuotaExceededException, SubnetQuotaExceededException, InvalidSubnetException, ServiceLinkedRoleNotFoundException, SubnetNotAllowedException, TagQuotaPerResourceExceededException, AwsServiceException, SdkClientException, MemoryDbException
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()
createSubnetGroupRequest - A Consumer that will call methods on CreateSubnetGroupRequest.Builder to create a request.SubnetGroupAlreadyExistsExceptionSubnetGroupQuotaExceededExceptionSubnetQuotaExceededExceptionInvalidSubnetExceptionServiceLinkedRoleNotFoundExceptionSubnetNotAllowedExceptionTagQuotaPerResourceExceededExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptiondefault CreateUserResponse createUser(CreateUserRequest createUserRequest) throws UserAlreadyExistsException, UserQuotaExceededException, DuplicateUserNameException, InvalidParameterValueException, InvalidParameterCombinationException, TagQuotaPerResourceExceededException, AwsServiceException, SdkClientException, MemoryDbException
Creates a MemoryDB user. For more information, see Authenticating users with Access Contol Lists (ACLs).
createUserRequest - UserAlreadyExistsExceptionUserQuotaExceededExceptionDuplicateUserNameExceptionInvalidParameterValueExceptionInvalidParameterCombinationExceptionTagQuotaPerResourceExceededExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptiondefault CreateUserResponse createUser(Consumer<CreateUserRequest.Builder> createUserRequest) throws UserAlreadyExistsException, UserQuotaExceededException, DuplicateUserNameException, InvalidParameterValueException, InvalidParameterCombinationException, TagQuotaPerResourceExceededException, AwsServiceException, SdkClientException, MemoryDbException
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()
createUserRequest - A Consumer that will call methods on CreateUserRequest.Builder to create a request.UserAlreadyExistsExceptionUserQuotaExceededExceptionDuplicateUserNameExceptionInvalidParameterValueExceptionInvalidParameterCombinationExceptionTagQuotaPerResourceExceededExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptiondefault DeleteAclResponse deleteACL(DeleteAclRequest deleteAclRequest) throws AclNotFoundException, InvalidAclStateException, InvalidParameterValueException, AwsServiceException, SdkClientException, MemoryDbException
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).
deleteAclRequest - AclNotFoundExceptionInvalidAclStateExceptionInvalidParameterValueExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptiondefault DeleteAclResponse deleteACL(Consumer<DeleteAclRequest.Builder> deleteAclRequest) throws AclNotFoundException, InvalidAclStateException, InvalidParameterValueException, AwsServiceException, SdkClientException, MemoryDbException
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()
deleteAclRequest - A Consumer that will call methods on DeleteACLRequest.Builder to create a request.AclNotFoundExceptionInvalidAclStateExceptionInvalidParameterValueExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptiondefault DeleteClusterResponse deleteCluster(DeleteClusterRequest deleteClusterRequest) throws ClusterNotFoundException, InvalidClusterStateException, SnapshotAlreadyExistsException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException
Deletes a cluster. It also deletes all associated nodes and node endpoints
deleteClusterRequest - ClusterNotFoundExceptionInvalidClusterStateExceptionSnapshotAlreadyExistsExceptionServiceLinkedRoleNotFoundExceptionInvalidParameterValueExceptionInvalidParameterCombinationExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptiondefault DeleteClusterResponse deleteCluster(Consumer<DeleteClusterRequest.Builder> deleteClusterRequest) throws ClusterNotFoundException, InvalidClusterStateException, SnapshotAlreadyExistsException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException
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()
deleteClusterRequest - A Consumer that will call methods on DeleteClusterRequest.Builder to create a request.ClusterNotFoundExceptionInvalidClusterStateExceptionSnapshotAlreadyExistsExceptionServiceLinkedRoleNotFoundExceptionInvalidParameterValueExceptionInvalidParameterCombinationExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptiondefault DeleteParameterGroupResponse deleteParameterGroup(DeleteParameterGroupRequest deleteParameterGroupRequest) throws InvalidParameterGroupStateException, ParameterGroupNotFoundException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException
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.
deleteParameterGroupRequest - InvalidParameterGroupStateExceptionParameterGroupNotFoundExceptionServiceLinkedRoleNotFoundExceptionInvalidParameterValueExceptionInvalidParameterCombinationExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptiondefault DeleteParameterGroupResponse deleteParameterGroup(Consumer<DeleteParameterGroupRequest.Builder> deleteParameterGroupRequest) throws InvalidParameterGroupStateException, ParameterGroupNotFoundException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException
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()
deleteParameterGroupRequest - A Consumer that will call methods on DeleteParameterGroupRequest.Builder to create a
request.InvalidParameterGroupStateExceptionParameterGroupNotFoundExceptionServiceLinkedRoleNotFoundExceptionInvalidParameterValueExceptionInvalidParameterCombinationExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptiondefault DeleteSnapshotResponse deleteSnapshot(DeleteSnapshotRequest deleteSnapshotRequest) throws SnapshotNotFoundException, InvalidSnapshotStateException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException
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.
deleteSnapshotRequest - SnapshotNotFoundExceptionInvalidSnapshotStateExceptionServiceLinkedRoleNotFoundExceptionInvalidParameterValueExceptionInvalidParameterCombinationExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptiondefault DeleteSnapshotResponse deleteSnapshot(Consumer<DeleteSnapshotRequest.Builder> deleteSnapshotRequest) throws SnapshotNotFoundException, InvalidSnapshotStateException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException
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()
deleteSnapshotRequest - A Consumer that will call methods on DeleteSnapshotRequest.Builder to create a request.SnapshotNotFoundExceptionInvalidSnapshotStateExceptionServiceLinkedRoleNotFoundExceptionInvalidParameterValueExceptionInvalidParameterCombinationExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptiondefault DeleteSubnetGroupResponse deleteSubnetGroup(DeleteSubnetGroupRequest deleteSubnetGroupRequest) throws SubnetGroupInUseException, SubnetGroupNotFoundException, ServiceLinkedRoleNotFoundException, AwsServiceException, SdkClientException, MemoryDbException
Deletes a subnet group. You cannot delete a default subnet group or one that is associated with any clusters.
deleteSubnetGroupRequest - SubnetGroupInUseExceptionSubnetGroupNotFoundExceptionServiceLinkedRoleNotFoundExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptiondefault DeleteSubnetGroupResponse deleteSubnetGroup(Consumer<DeleteSubnetGroupRequest.Builder> deleteSubnetGroupRequest) throws SubnetGroupInUseException, SubnetGroupNotFoundException, ServiceLinkedRoleNotFoundException, AwsServiceException, SdkClientException, MemoryDbException
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()
deleteSubnetGroupRequest - A Consumer that will call methods on DeleteSubnetGroupRequest.Builder to create a request.SubnetGroupInUseExceptionSubnetGroupNotFoundExceptionServiceLinkedRoleNotFoundExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptiondefault DeleteUserResponse deleteUser(DeleteUserRequest deleteUserRequest) throws InvalidUserStateException, UserNotFoundException, InvalidParameterValueException, AwsServiceException, SdkClientException, MemoryDbException
Deletes a user. The user will be removed from all ACLs and in turn removed from all clusters.
deleteUserRequest - InvalidUserStateExceptionUserNotFoundExceptionInvalidParameterValueExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptiondefault DeleteUserResponse deleteUser(Consumer<DeleteUserRequest.Builder> deleteUserRequest) throws InvalidUserStateException, UserNotFoundException, InvalidParameterValueException, AwsServiceException, SdkClientException, MemoryDbException
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()
deleteUserRequest - A Consumer that will call methods on DeleteUserRequest.Builder to create a request.InvalidUserStateExceptionUserNotFoundExceptionInvalidParameterValueExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptiondefault DescribeAcLsResponse describeACLs(DescribeAcLsRequest describeAcLsRequest) throws AclNotFoundException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException
Returns a list of ACLs
describeAcLsRequest - AclNotFoundExceptionInvalidParameterCombinationExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptiondefault DescribeAcLsResponse describeACLs(Consumer<DescribeAcLsRequest.Builder> describeAcLsRequest) throws AclNotFoundException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException
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()
describeAcLsRequest - A Consumer that will call methods on DescribeACLsRequest.Builder to create a request.AclNotFoundExceptionInvalidParameterCombinationExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptiondefault DescribeClustersResponse describeClusters(DescribeClustersRequest describeClustersRequest) throws ClusterNotFoundException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException
Returns information about all provisioned clusters if no cluster identifier is specified, or about a specific cluster if a cluster name is supplied.
describeClustersRequest - ClusterNotFoundExceptionServiceLinkedRoleNotFoundExceptionInvalidParameterValueExceptionInvalidParameterCombinationExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptiondefault DescribeClustersResponse describeClusters(Consumer<DescribeClustersRequest.Builder> describeClustersRequest) throws ClusterNotFoundException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException
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()
describeClustersRequest - A Consumer that will call methods on DescribeClustersRequest.Builder to create a request.ClusterNotFoundExceptionServiceLinkedRoleNotFoundExceptionInvalidParameterValueExceptionInvalidParameterCombinationExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptiondefault DescribeEngineVersionsResponse describeEngineVersions(DescribeEngineVersionsRequest describeEngineVersionsRequest) throws ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException
Returns a list of the available Redis engine versions.
describeEngineVersionsRequest - ServiceLinkedRoleNotFoundExceptionInvalidParameterValueExceptionInvalidParameterCombinationExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptiondefault DescribeEngineVersionsResponse describeEngineVersions(Consumer<DescribeEngineVersionsRequest.Builder> describeEngineVersionsRequest) throws ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException
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()
describeEngineVersionsRequest - A Consumer that will call methods on DescribeEngineVersionsRequest.Builder to create a
request.ServiceLinkedRoleNotFoundExceptionInvalidParameterValueExceptionInvalidParameterCombinationExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptiondefault DescribeEventsResponse describeEvents(DescribeEventsRequest describeEventsRequest) throws ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException
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.
describeEventsRequest - ServiceLinkedRoleNotFoundExceptionInvalidParameterValueExceptionInvalidParameterCombinationExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptiondefault DescribeEventsResponse describeEvents(Consumer<DescribeEventsRequest.Builder> describeEventsRequest) throws ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException
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()
describeEventsRequest - A Consumer that will call methods on DescribeEventsRequest.Builder to create a request.ServiceLinkedRoleNotFoundExceptionInvalidParameterValueExceptionInvalidParameterCombinationExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptiondefault DescribeParameterGroupsResponse describeParameterGroups(DescribeParameterGroupsRequest describeParameterGroupsRequest) throws ParameterGroupNotFoundException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException
Returns a list of parameter group descriptions. If a parameter group name is specified, the list contains only the descriptions for that group.
describeParameterGroupsRequest - ParameterGroupNotFoundExceptionServiceLinkedRoleNotFoundExceptionInvalidParameterValueExceptionInvalidParameterCombinationExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptiondefault DescribeParameterGroupsResponse describeParameterGroups(Consumer<DescribeParameterGroupsRequest.Builder> describeParameterGroupsRequest) throws ParameterGroupNotFoundException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException
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()
describeParameterGroupsRequest - A Consumer that will call methods on DescribeParameterGroupsRequest.Builder to create a
request.ParameterGroupNotFoundExceptionServiceLinkedRoleNotFoundExceptionInvalidParameterValueExceptionInvalidParameterCombinationExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptiondefault DescribeParametersResponse describeParameters(DescribeParametersRequest describeParametersRequest) throws ParameterGroupNotFoundException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException
Returns the detailed parameter list for a particular parameter group.
describeParametersRequest - ParameterGroupNotFoundExceptionServiceLinkedRoleNotFoundExceptionInvalidParameterValueExceptionInvalidParameterCombinationExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptiondefault DescribeParametersResponse describeParameters(Consumer<DescribeParametersRequest.Builder> describeParametersRequest) throws ParameterGroupNotFoundException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException
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()
describeParametersRequest - A Consumer that will call methods on DescribeParametersRequest.Builder to create a
request.ParameterGroupNotFoundExceptionServiceLinkedRoleNotFoundExceptionInvalidParameterValueExceptionInvalidParameterCombinationExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptiondefault DescribeServiceUpdatesResponse describeServiceUpdates(DescribeServiceUpdatesRequest describeServiceUpdatesRequest) throws InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException
Returns details of the service updates
describeServiceUpdatesRequest - InvalidParameterValueExceptionInvalidParameterCombinationExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptiondefault DescribeServiceUpdatesResponse describeServiceUpdates(Consumer<DescribeServiceUpdatesRequest.Builder> describeServiceUpdatesRequest) throws InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException
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()
describeServiceUpdatesRequest - A Consumer that will call methods on DescribeServiceUpdatesRequest.Builder to create a
request.InvalidParameterValueExceptionInvalidParameterCombinationExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptiondefault DescribeSnapshotsResponse describeSnapshots(DescribeSnapshotsRequest describeSnapshotsRequest) throws SnapshotNotFoundException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException
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.
describeSnapshotsRequest - SnapshotNotFoundExceptionServiceLinkedRoleNotFoundExceptionInvalidParameterValueExceptionInvalidParameterCombinationExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptiondefault DescribeSnapshotsResponse describeSnapshots(Consumer<DescribeSnapshotsRequest.Builder> describeSnapshotsRequest) throws SnapshotNotFoundException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException
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()
describeSnapshotsRequest - A Consumer that will call methods on DescribeSnapshotsRequest.Builder to create a request.SnapshotNotFoundExceptionServiceLinkedRoleNotFoundExceptionInvalidParameterValueExceptionInvalidParameterCombinationExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptiondefault DescribeSubnetGroupsResponse describeSubnetGroups(DescribeSubnetGroupsRequest describeSubnetGroupsRequest) throws SubnetGroupNotFoundException, ServiceLinkedRoleNotFoundException, AwsServiceException, SdkClientException, MemoryDbException
Returns a list of subnet group descriptions. If a subnet group name is specified, the list contains only the description of that group.
describeSubnetGroupsRequest - SubnetGroupNotFoundExceptionServiceLinkedRoleNotFoundExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptiondefault DescribeSubnetGroupsResponse describeSubnetGroups(Consumer<DescribeSubnetGroupsRequest.Builder> describeSubnetGroupsRequest) throws SubnetGroupNotFoundException, ServiceLinkedRoleNotFoundException, AwsServiceException, SdkClientException, MemoryDbException
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()
describeSubnetGroupsRequest - A Consumer that will call methods on DescribeSubnetGroupsRequest.Builder to create a
request.SubnetGroupNotFoundExceptionServiceLinkedRoleNotFoundExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptiondefault DescribeUsersResponse describeUsers(DescribeUsersRequest describeUsersRequest) throws UserNotFoundException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException
Returns a list of users.
describeUsersRequest - UserNotFoundExceptionInvalidParameterCombinationExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptiondefault DescribeUsersResponse describeUsers(Consumer<DescribeUsersRequest.Builder> describeUsersRequest) throws UserNotFoundException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException
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()
describeUsersRequest - A Consumer that will call methods on DescribeUsersRequest.Builder to create a request.UserNotFoundExceptionInvalidParameterCombinationExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptiondefault FailoverShardResponse failoverShard(FailoverShardRequest failoverShardRequest) throws ApiCallRateForCustomerExceededException, InvalidClusterStateException, ShardNotFoundException, ClusterNotFoundException, TestFailoverNotAvailableException, InvalidKmsKeyException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException
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.
failoverShardRequest - ApiCallRateForCustomerExceededExceptionInvalidClusterStateExceptionShardNotFoundExceptionClusterNotFoundExceptionTestFailoverNotAvailableExceptionInvalidKmsKeyExceptionInvalidParameterValueExceptionInvalidParameterCombinationExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptiondefault FailoverShardResponse failoverShard(Consumer<FailoverShardRequest.Builder> failoverShardRequest) throws ApiCallRateForCustomerExceededException, InvalidClusterStateException, ShardNotFoundException, ClusterNotFoundException, TestFailoverNotAvailableException, InvalidKmsKeyException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException
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()
failoverShardRequest - A Consumer that will call methods on FailoverShardRequest.Builder to create a request.ApiCallRateForCustomerExceededExceptionInvalidClusterStateExceptionShardNotFoundExceptionClusterNotFoundExceptionTestFailoverNotAvailableExceptionInvalidKmsKeyExceptionInvalidParameterValueExceptionInvalidParameterCombinationExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptiondefault ListAllowedNodeTypeUpdatesResponse listAllowedNodeTypeUpdates(ListAllowedNodeTypeUpdatesRequest listAllowedNodeTypeUpdatesRequest) throws ClusterNotFoundException, ServiceLinkedRoleNotFoundException, InvalidParameterCombinationException, InvalidParameterValueException, AwsServiceException, SdkClientException, MemoryDbException
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.
listAllowedNodeTypeUpdatesRequest - ClusterNotFoundExceptionServiceLinkedRoleNotFoundExceptionInvalidParameterCombinationExceptionInvalidParameterValueExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptiondefault ListAllowedNodeTypeUpdatesResponse listAllowedNodeTypeUpdates(Consumer<ListAllowedNodeTypeUpdatesRequest.Builder> listAllowedNodeTypeUpdatesRequest) throws ClusterNotFoundException, ServiceLinkedRoleNotFoundException, InvalidParameterCombinationException, InvalidParameterValueException, AwsServiceException, SdkClientException, MemoryDbException
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()
listAllowedNodeTypeUpdatesRequest - A Consumer that will call methods on ListAllowedNodeTypeUpdatesRequest.Builder to create a
request.ClusterNotFoundExceptionServiceLinkedRoleNotFoundExceptionInvalidParameterCombinationExceptionInvalidParameterValueExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptiondefault ListTagsResponse listTags(ListTagsRequest listTagsRequest) throws ClusterNotFoundException, InvalidClusterStateException, ParameterGroupNotFoundException, SubnetGroupNotFoundException, SnapshotNotFoundException, InvalidArnException, ServiceLinkedRoleNotFoundException, UserNotFoundException, AclNotFoundException, AwsServiceException, SdkClientException, MemoryDbException
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
listTagsRequest - ClusterNotFoundExceptionInvalidClusterStateExceptionParameterGroupNotFoundExceptionSubnetGroupNotFoundExceptionSnapshotNotFoundExceptionInvalidArnExceptionServiceLinkedRoleNotFoundExceptionUserNotFoundExceptionAclNotFoundExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptiondefault ListTagsResponse listTags(Consumer<ListTagsRequest.Builder> listTagsRequest) throws ClusterNotFoundException, InvalidClusterStateException, ParameterGroupNotFoundException, SubnetGroupNotFoundException, SnapshotNotFoundException, InvalidArnException, ServiceLinkedRoleNotFoundException, UserNotFoundException, AclNotFoundException, AwsServiceException, SdkClientException, MemoryDbException
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()
listTagsRequest - A Consumer that will call methods on ListTagsRequest.Builder to create a request.ClusterNotFoundExceptionInvalidClusterStateExceptionParameterGroupNotFoundExceptionSubnetGroupNotFoundExceptionSnapshotNotFoundExceptionInvalidArnExceptionServiceLinkedRoleNotFoundExceptionUserNotFoundExceptionAclNotFoundExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptiondefault ResetParameterGroupResponse resetParameterGroup(ResetParameterGroupRequest resetParameterGroupRequest) throws InvalidParameterGroupStateException, ParameterGroupNotFoundException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException
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.
resetParameterGroupRequest - InvalidParameterGroupStateExceptionParameterGroupNotFoundExceptionServiceLinkedRoleNotFoundExceptionInvalidParameterValueExceptionInvalidParameterCombinationExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptiondefault ResetParameterGroupResponse resetParameterGroup(Consumer<ResetParameterGroupRequest.Builder> resetParameterGroupRequest) throws InvalidParameterGroupStateException, ParameterGroupNotFoundException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException
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()
resetParameterGroupRequest - A Consumer that will call methods on ResetParameterGroupRequest.Builder to create a
request.InvalidParameterGroupStateExceptionParameterGroupNotFoundExceptionServiceLinkedRoleNotFoundExceptionInvalidParameterValueExceptionInvalidParameterCombinationExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptiondefault TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws ClusterNotFoundException, ParameterGroupNotFoundException, SubnetGroupNotFoundException, InvalidClusterStateException, SnapshotNotFoundException, UserNotFoundException, AclNotFoundException, TagQuotaPerResourceExceededException, InvalidArnException, ServiceLinkedRoleNotFoundException, AwsServiceException, SdkClientException, MemoryDbException
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.
tagResourceRequest - ClusterNotFoundExceptionParameterGroupNotFoundExceptionSubnetGroupNotFoundExceptionInvalidClusterStateExceptionSnapshotNotFoundExceptionUserNotFoundExceptionAclNotFoundExceptionTagQuotaPerResourceExceededExceptionInvalidArnExceptionServiceLinkedRoleNotFoundExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptiondefault TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws ClusterNotFoundException, ParameterGroupNotFoundException, SubnetGroupNotFoundException, InvalidClusterStateException, SnapshotNotFoundException, UserNotFoundException, AclNotFoundException, TagQuotaPerResourceExceededException, InvalidArnException, ServiceLinkedRoleNotFoundException, AwsServiceException, SdkClientException, MemoryDbException
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()
tagResourceRequest - A Consumer that will call methods on TagResourceRequest.Builder to create a request.ClusterNotFoundExceptionParameterGroupNotFoundExceptionSubnetGroupNotFoundExceptionInvalidClusterStateExceptionSnapshotNotFoundExceptionUserNotFoundExceptionAclNotFoundExceptionTagQuotaPerResourceExceededExceptionInvalidArnExceptionServiceLinkedRoleNotFoundExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptiondefault UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ClusterNotFoundException, InvalidClusterStateException, ParameterGroupNotFoundException, SubnetGroupNotFoundException, SnapshotNotFoundException, InvalidArnException, TagNotFoundException, ServiceLinkedRoleNotFoundException, UserNotFoundException, AclNotFoundException, AwsServiceException, SdkClientException, MemoryDbException
Use this operation to remove tags on a resource
untagResourceRequest - ClusterNotFoundExceptionInvalidClusterStateExceptionParameterGroupNotFoundExceptionSubnetGroupNotFoundExceptionSnapshotNotFoundExceptionInvalidArnExceptionTagNotFoundExceptionServiceLinkedRoleNotFoundExceptionUserNotFoundExceptionAclNotFoundExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptiondefault UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws ClusterNotFoundException, InvalidClusterStateException, ParameterGroupNotFoundException, SubnetGroupNotFoundException, SnapshotNotFoundException, InvalidArnException, TagNotFoundException, ServiceLinkedRoleNotFoundException, UserNotFoundException, AclNotFoundException, AwsServiceException, SdkClientException, MemoryDbException
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()
untagResourceRequest - A Consumer that will call methods on UntagResourceRequest.Builder to create a request.ClusterNotFoundExceptionInvalidClusterStateExceptionParameterGroupNotFoundExceptionSubnetGroupNotFoundExceptionSnapshotNotFoundExceptionInvalidArnExceptionTagNotFoundExceptionServiceLinkedRoleNotFoundExceptionUserNotFoundExceptionAclNotFoundExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptiondefault UpdateAclResponse updateACL(UpdateAclRequest updateAclRequest) throws AclNotFoundException, UserNotFoundException, DuplicateUserNameException, DefaultUserRequiredException, InvalidAclStateException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException
Changes the list of users that belong to the Access Control List.
updateAclRequest - AclNotFoundExceptionUserNotFoundExceptionDuplicateUserNameExceptionDefaultUserRequiredExceptionInvalidAclStateExceptionInvalidParameterValueExceptionInvalidParameterCombinationExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptiondefault UpdateAclResponse updateACL(Consumer<UpdateAclRequest.Builder> updateAclRequest) throws AclNotFoundException, UserNotFoundException, DuplicateUserNameException, DefaultUserRequiredException, InvalidAclStateException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException
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()
updateAclRequest - A Consumer that will call methods on UpdateACLRequest.Builder to create a request.AclNotFoundExceptionUserNotFoundExceptionDuplicateUserNameExceptionDefaultUserRequiredExceptionInvalidAclStateExceptionInvalidParameterValueExceptionInvalidParameterCombinationExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptiondefault UpdateClusterResponse updateCluster(UpdateClusterRequest updateClusterRequest) throws ClusterNotFoundException, InvalidClusterStateException, InvalidNodeStateException, ParameterGroupNotFoundException, InvalidVpcNetworkStateException, ServiceLinkedRoleNotFoundException, InvalidKmsKeyException, NodeQuotaForClusterExceededException, ClusterQuotaForCustomerExceededException, ShardsPerClusterQuotaExceededException, NodeQuotaForCustomerExceededException, NoOperationException, InvalidAclStateException, AclNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException
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.
updateClusterRequest - ClusterNotFoundExceptionInvalidClusterStateExceptionInvalidNodeStateExceptionParameterGroupNotFoundExceptionInvalidVpcNetworkStateExceptionServiceLinkedRoleNotFoundExceptionInvalidKmsKeyExceptionNodeQuotaForClusterExceededExceptionClusterQuotaForCustomerExceededExceptionShardsPerClusterQuotaExceededExceptionNodeQuotaForCustomerExceededExceptionNoOperationExceptionInvalidAclStateExceptionAclNotFoundExceptionInvalidParameterValueExceptionInvalidParameterCombinationExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptiondefault UpdateClusterResponse updateCluster(Consumer<UpdateClusterRequest.Builder> updateClusterRequest) throws ClusterNotFoundException, InvalidClusterStateException, InvalidNodeStateException, ParameterGroupNotFoundException, InvalidVpcNetworkStateException, ServiceLinkedRoleNotFoundException, InvalidKmsKeyException, NodeQuotaForClusterExceededException, ClusterQuotaForCustomerExceededException, ShardsPerClusterQuotaExceededException, NodeQuotaForCustomerExceededException, NoOperationException, InvalidAclStateException, AclNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException
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()
updateClusterRequest - A Consumer that will call methods on UpdateClusterRequest.Builder to create a request.ClusterNotFoundExceptionInvalidClusterStateExceptionInvalidNodeStateExceptionParameterGroupNotFoundExceptionInvalidVpcNetworkStateExceptionServiceLinkedRoleNotFoundExceptionInvalidKmsKeyExceptionNodeQuotaForClusterExceededExceptionClusterQuotaForCustomerExceededExceptionShardsPerClusterQuotaExceededExceptionNodeQuotaForCustomerExceededExceptionNoOperationExceptionInvalidAclStateExceptionAclNotFoundExceptionInvalidParameterValueExceptionInvalidParameterCombinationExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptiondefault UpdateParameterGroupResponse updateParameterGroup(UpdateParameterGroupRequest updateParameterGroupRequest) throws ParameterGroupNotFoundException, InvalidParameterGroupStateException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException
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.
updateParameterGroupRequest - ParameterGroupNotFoundExceptionInvalidParameterGroupStateExceptionServiceLinkedRoleNotFoundExceptionInvalidParameterValueExceptionInvalidParameterCombinationExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptiondefault UpdateParameterGroupResponse updateParameterGroup(Consumer<UpdateParameterGroupRequest.Builder> updateParameterGroupRequest) throws ParameterGroupNotFoundException, InvalidParameterGroupStateException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException
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()
updateParameterGroupRequest - A Consumer that will call methods on UpdateParameterGroupRequest.Builder to create a
request.ParameterGroupNotFoundExceptionInvalidParameterGroupStateExceptionServiceLinkedRoleNotFoundExceptionInvalidParameterValueExceptionInvalidParameterCombinationExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptiondefault UpdateSubnetGroupResponse updateSubnetGroup(UpdateSubnetGroupRequest updateSubnetGroupRequest) throws SubnetGroupNotFoundException, SubnetQuotaExceededException, SubnetInUseException, InvalidSubnetException, ServiceLinkedRoleNotFoundException, SubnetNotAllowedException, AwsServiceException, SdkClientException, MemoryDbException
Updates a subnet group. For more information, see Updating a subnet group
updateSubnetGroupRequest - SubnetGroupNotFoundExceptionSubnetQuotaExceededExceptionSubnetInUseExceptionInvalidSubnetExceptionServiceLinkedRoleNotFoundExceptionSubnetNotAllowedExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptiondefault UpdateSubnetGroupResponse updateSubnetGroup(Consumer<UpdateSubnetGroupRequest.Builder> updateSubnetGroupRequest) throws SubnetGroupNotFoundException, SubnetQuotaExceededException, SubnetInUseException, InvalidSubnetException, ServiceLinkedRoleNotFoundException, SubnetNotAllowedException, AwsServiceException, SdkClientException, MemoryDbException
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()
updateSubnetGroupRequest - A Consumer that will call methods on UpdateSubnetGroupRequest.Builder to create a request.SubnetGroupNotFoundExceptionSubnetQuotaExceededExceptionSubnetInUseExceptionInvalidSubnetExceptionServiceLinkedRoleNotFoundExceptionSubnetNotAllowedExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptiondefault UpdateUserResponse updateUser(UpdateUserRequest updateUserRequest) throws UserNotFoundException, InvalidUserStateException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException
Changes user password(s) and/or access string.
updateUserRequest - UserNotFoundExceptionInvalidUserStateExceptionInvalidParameterValueExceptionInvalidParameterCombinationExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptiondefault UpdateUserResponse updateUser(Consumer<UpdateUserRequest.Builder> updateUserRequest) throws UserNotFoundException, InvalidUserStateException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException
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()
updateUserRequest - A Consumer that will call methods on UpdateUserRequest.Builder to create a request.UserNotFoundExceptionInvalidUserStateExceptionInvalidParameterValueExceptionInvalidParameterCombinationExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceExceptionstatic ServiceMetadata serviceMetadata()
Copyright © 2022. All rights reserved.