Interface DaxClient
-
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface DaxClient extends AwsClient
Service client for accessing Amazon DAX. This can be created using the staticbuilder()method.DAX is a managed caching service engineered for Amazon DynamoDB. DAX dramatically speeds up database reads by caching frequently-accessed data from DynamoDB, so applications can access that data with sub-millisecond latency. You can create a DAX cluster easily, using the AWS Management Console. With a few simple modifications to your code, your application can begin taking advantage of the DAX cluster and realize significant improvements in read performance.
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERVICE_METADATA_IDValue for looking up the service's metadata from theServiceMetadataProvider.static StringSERVICE_NAME
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static DaxClientBuilderbuilder()Create a builder that can be used to configure and create aDaxClient.static DaxClientcreate()Create aDaxClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CreateClusterResponsecreateCluster(Consumer<CreateClusterRequest.Builder> createClusterRequest)Creates a DAX cluster.default CreateClusterResponsecreateCluster(CreateClusterRequest createClusterRequest)Creates a DAX cluster.default CreateParameterGroupResponsecreateParameterGroup(Consumer<CreateParameterGroupRequest.Builder> createParameterGroupRequest)Creates a new parameter group.default CreateParameterGroupResponsecreateParameterGroup(CreateParameterGroupRequest createParameterGroupRequest)Creates a new parameter group.default CreateSubnetGroupResponsecreateSubnetGroup(Consumer<CreateSubnetGroupRequest.Builder> createSubnetGroupRequest)Creates a new subnet group.default CreateSubnetGroupResponsecreateSubnetGroup(CreateSubnetGroupRequest createSubnetGroupRequest)Creates a new subnet group.default DecreaseReplicationFactorResponsedecreaseReplicationFactor(Consumer<DecreaseReplicationFactorRequest.Builder> decreaseReplicationFactorRequest)Removes one or more nodes from a DAX cluster.default DecreaseReplicationFactorResponsedecreaseReplicationFactor(DecreaseReplicationFactorRequest decreaseReplicationFactorRequest)Removes one or more nodes from a DAX cluster.default DeleteClusterResponsedeleteCluster(Consumer<DeleteClusterRequest.Builder> deleteClusterRequest)Deletes a previously provisioned DAX cluster.default DeleteClusterResponsedeleteCluster(DeleteClusterRequest deleteClusterRequest)Deletes a previously provisioned DAX cluster.default DeleteParameterGroupResponsedeleteParameterGroup(Consumer<DeleteParameterGroupRequest.Builder> deleteParameterGroupRequest)Deletes the specified parameter group.default DeleteParameterGroupResponsedeleteParameterGroup(DeleteParameterGroupRequest deleteParameterGroupRequest)Deletes the specified parameter group.default DeleteSubnetGroupResponsedeleteSubnetGroup(Consumer<DeleteSubnetGroupRequest.Builder> deleteSubnetGroupRequest)Deletes a subnet group.default DeleteSubnetGroupResponsedeleteSubnetGroup(DeleteSubnetGroupRequest deleteSubnetGroupRequest)Deletes a subnet group.default DescribeClustersResponsedescribeClusters()Returns information about all provisioned DAX clusters if no cluster identifier is specified, or about a specific DAX cluster if a cluster identifier is supplied.default DescribeClustersResponsedescribeClusters(Consumer<DescribeClustersRequest.Builder> describeClustersRequest)Returns information about all provisioned DAX clusters if no cluster identifier is specified, or about a specific DAX cluster if a cluster identifier is supplied.default DescribeClustersResponsedescribeClusters(DescribeClustersRequest describeClustersRequest)Returns information about all provisioned DAX clusters if no cluster identifier is specified, or about a specific DAX cluster if a cluster identifier is supplied.default DescribeDefaultParametersResponsedescribeDefaultParameters()Returns the default system parameter information for the DAX caching software.default DescribeDefaultParametersResponsedescribeDefaultParameters(Consumer<DescribeDefaultParametersRequest.Builder> describeDefaultParametersRequest)Returns the default system parameter information for the DAX caching software.default DescribeDefaultParametersResponsedescribeDefaultParameters(DescribeDefaultParametersRequest describeDefaultParametersRequest)Returns the default system parameter information for the DAX caching software.default DescribeEventsResponsedescribeEvents()Returns events related to DAX clusters and parameter groups.default DescribeEventsResponsedescribeEvents(Consumer<DescribeEventsRequest.Builder> describeEventsRequest)Returns events related to DAX clusters and parameter groups.default DescribeEventsResponsedescribeEvents(DescribeEventsRequest describeEventsRequest)Returns events related to DAX clusters and parameter groups.default DescribeParameterGroupsResponsedescribeParameterGroups()Returns a list of parameter group descriptions.default DescribeParameterGroupsResponsedescribeParameterGroups(Consumer<DescribeParameterGroupsRequest.Builder> describeParameterGroupsRequest)Returns a list of parameter group descriptions.default DescribeParameterGroupsResponsedescribeParameterGroups(DescribeParameterGroupsRequest describeParameterGroupsRequest)Returns a list of parameter group descriptions.default DescribeParametersResponsedescribeParameters(Consumer<DescribeParametersRequest.Builder> describeParametersRequest)Returns the detailed parameter list for a particular parameter group.default DescribeParametersResponsedescribeParameters(DescribeParametersRequest describeParametersRequest)Returns the detailed parameter list for a particular parameter group.default DescribeSubnetGroupsResponsedescribeSubnetGroups()Returns a list of subnet group descriptions.default DescribeSubnetGroupsResponsedescribeSubnetGroups(Consumer<DescribeSubnetGroupsRequest.Builder> describeSubnetGroupsRequest)Returns a list of subnet group descriptions.default DescribeSubnetGroupsResponsedescribeSubnetGroups(DescribeSubnetGroupsRequest describeSubnetGroupsRequest)Returns a list of subnet group descriptions.default IncreaseReplicationFactorResponseincreaseReplicationFactor(Consumer<IncreaseReplicationFactorRequest.Builder> increaseReplicationFactorRequest)Adds one or more nodes to a DAX cluster.default IncreaseReplicationFactorResponseincreaseReplicationFactor(IncreaseReplicationFactorRequest increaseReplicationFactorRequest)Adds one or more nodes to a DAX cluster.default ListTagsResponselistTags(Consumer<ListTagsRequest.Builder> listTagsRequest)List all of the tags for a DAX cluster.default ListTagsResponselistTags(ListTagsRequest listTagsRequest)List all of the tags for a DAX cluster.default RebootNodeResponserebootNode(Consumer<RebootNodeRequest.Builder> rebootNodeRequest)Reboots a single node of a DAX cluster.default RebootNodeResponserebootNode(RebootNodeRequest rebootNodeRequest)Reboots a single node of a DAX cluster.default DaxServiceClientConfigurationserviceClientConfiguration()static ServiceMetadataserviceMetadata()default TagResourceResponsetagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)Associates a set of tags with a DAX resource.default TagResourceResponsetagResource(TagResourceRequest tagResourceRequest)Associates a set of tags with a DAX resource.default UntagResourceResponseuntagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)Removes the association of tags from a DAX resource.default UntagResourceResponseuntagResource(UntagResourceRequest untagResourceRequest)Removes the association of tags from a DAX resource.default UpdateClusterResponseupdateCluster(Consumer<UpdateClusterRequest.Builder> updateClusterRequest)Modifies the settings for a DAX cluster.default UpdateClusterResponseupdateCluster(UpdateClusterRequest updateClusterRequest)Modifies the settings for a DAX cluster.default UpdateParameterGroupResponseupdateParameterGroup(Consumer<UpdateParameterGroupRequest.Builder> updateParameterGroupRequest)Modifies the parameters of a parameter group.default UpdateParameterGroupResponseupdateParameterGroup(UpdateParameterGroupRequest updateParameterGroupRequest)Modifies the parameters of a parameter group.default UpdateSubnetGroupResponseupdateSubnetGroup(Consumer<UpdateSubnetGroupRequest.Builder> updateSubnetGroupRequest)Modifies an existing subnet group.default UpdateSubnetGroupResponseupdateSubnetGroup(UpdateSubnetGroupRequest updateSubnetGroupRequest)Modifies an existing subnet group.-
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
SERVICE_METADATA_ID
static final String SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
- Constant Field Values
-
-
Method Detail
-
createCluster
default CreateClusterResponse createCluster(CreateClusterRequest createClusterRequest) throws ClusterAlreadyExistsException, InvalidClusterStateException, InsufficientClusterCapacityException, SubnetGroupNotFoundException, InvalidParameterGroupStateException, ParameterGroupNotFoundException, ClusterQuotaForCustomerExceededException, NodeQuotaForClusterExceededException, NodeQuotaForCustomerExceededException, InvalidVpcNetworkStateException, TagQuotaPerResourceExceededException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, DaxException
Creates a DAX cluster. All nodes in the cluster run the same DAX caching software.
- Parameters:
createClusterRequest-- Returns:
- Result of the CreateCluster operation returned by the service.
- Throws:
ClusterAlreadyExistsException- You already have a DAX cluster with the given identifier.InvalidClusterStateException- The requested DAX cluster is not in the available state.InsufficientClusterCapacityException- There are not enough system resources to create the cluster you requested (or to resize an already-existing cluster).SubnetGroupNotFoundException- The requested subnet group name does not refer to an existing subnet group.InvalidParameterGroupStateException- One or more parameters in a parameter group are in an invalid state.ParameterGroupNotFoundException- The specified parameter group does not exist.ClusterQuotaForCustomerExceededException- You have attempted to exceed the maximum number of DAX clusters for your AWS account.NodeQuotaForClusterExceededException- You have attempted to exceed the maximum number of nodes for a DAX cluster.NodeQuotaForCustomerExceededException- You have attempted to exceed the maximum number of nodes for your AWS account.InvalidVpcNetworkStateException- The VPC network is in an invalid state.TagQuotaPerResourceExceededException- You have exceeded the maximum number of tags for this DAX cluster.ServiceLinkedRoleNotFoundException- The specified service linked role (SLR) was not found.InvalidParameterValueException- The value for a parameter is invalid.InvalidParameterCombinationException- Two or more incompatible parameters were specified.ServiceQuotaExceededException- You have reached the maximum number of x509 certificates that can be created for encrypted clusters in a 30 day period. Contact AWS customer support to discuss options for continuing to create encrypted clusters.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DaxException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createCluster
default CreateClusterResponse createCluster(Consumer<CreateClusterRequest.Builder> createClusterRequest) throws ClusterAlreadyExistsException, InvalidClusterStateException, InsufficientClusterCapacityException, SubnetGroupNotFoundException, InvalidParameterGroupStateException, ParameterGroupNotFoundException, ClusterQuotaForCustomerExceededException, NodeQuotaForClusterExceededException, NodeQuotaForCustomerExceededException, InvalidVpcNetworkStateException, TagQuotaPerResourceExceededException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, DaxException
Creates a DAX cluster. All nodes in the cluster run the same DAX caching software.
This is a convenience which creates an instance of the
CreateClusterRequest.Builderavoiding the need to create one manually viaCreateClusterRequest.builder()- Parameters:
createClusterRequest- AConsumerthat will call methods onCreateClusterRequest.Builderto create a request.- Returns:
- Result of the CreateCluster operation returned by the service.
- Throws:
ClusterAlreadyExistsException- You already have a DAX cluster with the given identifier.InvalidClusterStateException- The requested DAX cluster is not in the available state.InsufficientClusterCapacityException- There are not enough system resources to create the cluster you requested (or to resize an already-existing cluster).SubnetGroupNotFoundException- The requested subnet group name does not refer to an existing subnet group.InvalidParameterGroupStateException- One or more parameters in a parameter group are in an invalid state.ParameterGroupNotFoundException- The specified parameter group does not exist.ClusterQuotaForCustomerExceededException- You have attempted to exceed the maximum number of DAX clusters for your AWS account.NodeQuotaForClusterExceededException- You have attempted to exceed the maximum number of nodes for a DAX cluster.NodeQuotaForCustomerExceededException- You have attempted to exceed the maximum number of nodes for your AWS account.InvalidVpcNetworkStateException- The VPC network is in an invalid state.TagQuotaPerResourceExceededException- You have exceeded the maximum number of tags for this DAX cluster.ServiceLinkedRoleNotFoundException- The specified service linked role (SLR) was not found.InvalidParameterValueException- The value for a parameter is invalid.InvalidParameterCombinationException- Two or more incompatible parameters were specified.ServiceQuotaExceededException- You have reached the maximum number of x509 certificates that can be created for encrypted clusters in a 30 day period. Contact AWS customer support to discuss options for continuing to create encrypted clusters.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DaxException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createParameterGroup
default CreateParameterGroupResponse createParameterGroup(CreateParameterGroupRequest createParameterGroupRequest) throws ParameterGroupQuotaExceededException, ParameterGroupAlreadyExistsException, InvalidParameterGroupStateException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, DaxException
Creates a new parameter group. A parameter group is a collection of parameters that you apply to all of the nodes in a DAX cluster.
- Parameters:
createParameterGroupRequest-- Returns:
- Result of the CreateParameterGroup operation returned by the service.
- Throws:
ParameterGroupQuotaExceededException- You have attempted to exceed the maximum number of parameter groups.ParameterGroupAlreadyExistsException- The specified parameter group already exists.InvalidParameterGroupStateException- One or more parameters in a parameter group are in an invalid state.ServiceLinkedRoleNotFoundException- The specified service linked role (SLR) was not found.InvalidParameterValueException- The value for a parameter is invalid.InvalidParameterCombinationException- Two or more incompatible parameters were specified.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DaxException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createParameterGroup
default CreateParameterGroupResponse createParameterGroup(Consumer<CreateParameterGroupRequest.Builder> createParameterGroupRequest) throws ParameterGroupQuotaExceededException, ParameterGroupAlreadyExistsException, InvalidParameterGroupStateException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, DaxException
Creates a new parameter group. A parameter group is a collection of parameters that you apply to all of the nodes in a DAX cluster.
This is a convenience which creates an instance of the
CreateParameterGroupRequest.Builderavoiding the need to create one manually viaCreateParameterGroupRequest.builder()- Parameters:
createParameterGroupRequest- AConsumerthat will call methods onCreateParameterGroupRequest.Builderto create a request.- Returns:
- Result of the CreateParameterGroup operation returned by the service.
- Throws:
ParameterGroupQuotaExceededException- You have attempted to exceed the maximum number of parameter groups.ParameterGroupAlreadyExistsException- The specified parameter group already exists.InvalidParameterGroupStateException- One or more parameters in a parameter group are in an invalid state.ServiceLinkedRoleNotFoundException- The specified service linked role (SLR) was not found.InvalidParameterValueException- The value for a parameter is invalid.InvalidParameterCombinationException- Two or more incompatible parameters were specified.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DaxException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createSubnetGroup
default CreateSubnetGroupResponse createSubnetGroup(CreateSubnetGroupRequest createSubnetGroupRequest) throws SubnetGroupAlreadyExistsException, SubnetGroupQuotaExceededException, SubnetQuotaExceededException, InvalidSubnetException, ServiceLinkedRoleNotFoundException, AwsServiceException, SdkClientException, DaxException
Creates a new subnet group.
- Parameters:
createSubnetGroupRequest-- Returns:
- Result of the CreateSubnetGroup operation returned by the service.
- Throws:
SubnetGroupAlreadyExistsException- The specified subnet group already exists.SubnetGroupQuotaExceededException- The request cannot be processed because it would exceed the allowed number of subnets in a subnet group.SubnetQuotaExceededException- The request cannot be processed because it would exceed the allowed number of subnets in a subnet group.InvalidSubnetException- An invalid subnet identifier was specified.ServiceLinkedRoleNotFoundException- The specified service linked role (SLR) was not found.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DaxException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createSubnetGroup
default CreateSubnetGroupResponse createSubnetGroup(Consumer<CreateSubnetGroupRequest.Builder> createSubnetGroupRequest) throws SubnetGroupAlreadyExistsException, SubnetGroupQuotaExceededException, SubnetQuotaExceededException, InvalidSubnetException, ServiceLinkedRoleNotFoundException, AwsServiceException, SdkClientException, DaxException
Creates a new subnet group.
This is a convenience which creates an instance of the
CreateSubnetGroupRequest.Builderavoiding the need to create one manually viaCreateSubnetGroupRequest.builder()- Parameters:
createSubnetGroupRequest- AConsumerthat will call methods onCreateSubnetGroupRequest.Builderto create a request.- Returns:
- Result of the CreateSubnetGroup operation returned by the service.
- Throws:
SubnetGroupAlreadyExistsException- The specified subnet group already exists.SubnetGroupQuotaExceededException- The request cannot be processed because it would exceed the allowed number of subnets in a subnet group.SubnetQuotaExceededException- The request cannot be processed because it would exceed the allowed number of subnets in a subnet group.InvalidSubnetException- An invalid subnet identifier was specified.ServiceLinkedRoleNotFoundException- The specified service linked role (SLR) was not found.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DaxException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
decreaseReplicationFactor
default DecreaseReplicationFactorResponse decreaseReplicationFactor(DecreaseReplicationFactorRequest decreaseReplicationFactorRequest) throws ClusterNotFoundException, NodeNotFoundException, InvalidClusterStateException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, DaxException
Removes one or more nodes from a DAX cluster.
You cannot use
DecreaseReplicationFactorto remove the last node in a DAX cluster. If you need to do this, useDeleteClusterinstead.- Parameters:
decreaseReplicationFactorRequest-- Returns:
- Result of the DecreaseReplicationFactor operation returned by the service.
- Throws:
ClusterNotFoundException- The requested cluster ID does not refer to an existing DAX cluster.NodeNotFoundException- None of the nodes in the cluster have the given node ID.InvalidClusterStateException- The requested DAX cluster is not in the available state.ServiceLinkedRoleNotFoundException- The specified service linked role (SLR) was not found.InvalidParameterValueException- The value for a parameter is invalid.InvalidParameterCombinationException- Two or more incompatible parameters were specified.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DaxException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
decreaseReplicationFactor
default DecreaseReplicationFactorResponse decreaseReplicationFactor(Consumer<DecreaseReplicationFactorRequest.Builder> decreaseReplicationFactorRequest) throws ClusterNotFoundException, NodeNotFoundException, InvalidClusterStateException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, DaxException
Removes one or more nodes from a DAX cluster.
You cannot use
DecreaseReplicationFactorto remove the last node in a DAX cluster. If you need to do this, useDeleteClusterinstead.
This is a convenience which creates an instance of the
DecreaseReplicationFactorRequest.Builderavoiding the need to create one manually viaDecreaseReplicationFactorRequest.builder()- Parameters:
decreaseReplicationFactorRequest- AConsumerthat will call methods onDecreaseReplicationFactorRequest.Builderto create a request.- Returns:
- Result of the DecreaseReplicationFactor operation returned by the service.
- Throws:
ClusterNotFoundException- The requested cluster ID does not refer to an existing DAX cluster.NodeNotFoundException- None of the nodes in the cluster have the given node ID.InvalidClusterStateException- The requested DAX cluster is not in the available state.ServiceLinkedRoleNotFoundException- The specified service linked role (SLR) was not found.InvalidParameterValueException- The value for a parameter is invalid.InvalidParameterCombinationException- Two or more incompatible parameters were specified.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DaxException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteCluster
default DeleteClusterResponse deleteCluster(DeleteClusterRequest deleteClusterRequest) throws ClusterNotFoundException, InvalidClusterStateException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, DaxException
Deletes a previously provisioned DAX cluster. DeleteCluster deletes all associated nodes, node endpoints and the DAX cluster itself. When you receive a successful response from this action, DAX immediately begins deleting the cluster; you cannot cancel or revert this action.
- Parameters:
deleteClusterRequest-- Returns:
- Result of the DeleteCluster operation returned by the service.
- Throws:
ClusterNotFoundException- The requested cluster ID does not refer to an existing DAX cluster.InvalidClusterStateException- The requested DAX cluster is not in the available state.ServiceLinkedRoleNotFoundException- The specified service linked role (SLR) was not found.InvalidParameterValueException- The value for a parameter is invalid.InvalidParameterCombinationException- Two or more incompatible parameters were specified.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DaxException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteCluster
default DeleteClusterResponse deleteCluster(Consumer<DeleteClusterRequest.Builder> deleteClusterRequest) throws ClusterNotFoundException, InvalidClusterStateException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, DaxException
Deletes a previously provisioned DAX cluster. DeleteCluster deletes all associated nodes, node endpoints and the DAX cluster itself. When you receive a successful response from this action, DAX immediately begins deleting the cluster; you cannot cancel or revert this action.
This is a convenience which creates an instance of the
DeleteClusterRequest.Builderavoiding the need to create one manually viaDeleteClusterRequest.builder()- Parameters:
deleteClusterRequest- AConsumerthat will call methods onDeleteClusterRequest.Builderto create a request.- Returns:
- Result of the DeleteCluster operation returned by the service.
- Throws:
ClusterNotFoundException- The requested cluster ID does not refer to an existing DAX cluster.InvalidClusterStateException- The requested DAX cluster is not in the available state.ServiceLinkedRoleNotFoundException- The specified service linked role (SLR) was not found.InvalidParameterValueException- The value for a parameter is invalid.InvalidParameterCombinationException- Two or more incompatible parameters were specified.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DaxException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteParameterGroup
default DeleteParameterGroupResponse deleteParameterGroup(DeleteParameterGroupRequest deleteParameterGroupRequest) throws InvalidParameterGroupStateException, ParameterGroupNotFoundException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, DaxException
Deletes the specified parameter group. You cannot delete a parameter group if it is associated with any DAX clusters.
- Parameters:
deleteParameterGroupRequest-- Returns:
- Result of the DeleteParameterGroup operation returned by the service.
- Throws:
InvalidParameterGroupStateException- One or more parameters in a parameter group are in an invalid state.ParameterGroupNotFoundException- The specified parameter group does not exist.ServiceLinkedRoleNotFoundException- The specified service linked role (SLR) was not found.InvalidParameterValueException- The value for a parameter is invalid.InvalidParameterCombinationException- Two or more incompatible parameters were specified.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DaxException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteParameterGroup
default DeleteParameterGroupResponse deleteParameterGroup(Consumer<DeleteParameterGroupRequest.Builder> deleteParameterGroupRequest) throws InvalidParameterGroupStateException, ParameterGroupNotFoundException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, DaxException
Deletes the specified parameter group. You cannot delete a parameter group if it is associated with any DAX clusters.
This is a convenience which creates an instance of the
DeleteParameterGroupRequest.Builderavoiding the need to create one manually viaDeleteParameterGroupRequest.builder()- Parameters:
deleteParameterGroupRequest- AConsumerthat will call methods onDeleteParameterGroupRequest.Builderto create a request.- Returns:
- Result of the DeleteParameterGroup operation returned by the service.
- Throws:
InvalidParameterGroupStateException- One or more parameters in a parameter group are in an invalid state.ParameterGroupNotFoundException- The specified parameter group does not exist.ServiceLinkedRoleNotFoundException- The specified service linked role (SLR) was not found.InvalidParameterValueException- The value for a parameter is invalid.InvalidParameterCombinationException- Two or more incompatible parameters were specified.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DaxException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteSubnetGroup
default DeleteSubnetGroupResponse deleteSubnetGroup(DeleteSubnetGroupRequest deleteSubnetGroupRequest) throws SubnetGroupInUseException, SubnetGroupNotFoundException, ServiceLinkedRoleNotFoundException, AwsServiceException, SdkClientException, DaxException
Deletes a subnet group.
You cannot delete a subnet group if it is associated with any DAX clusters.
- Parameters:
deleteSubnetGroupRequest-- Returns:
- Result of the DeleteSubnetGroup operation returned by the service.
- Throws:
SubnetGroupInUseException- The specified subnet group is currently in use.SubnetGroupNotFoundException- The requested subnet group name does not refer to an existing subnet group.ServiceLinkedRoleNotFoundException- The specified service linked role (SLR) was not found.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DaxException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteSubnetGroup
default DeleteSubnetGroupResponse deleteSubnetGroup(Consumer<DeleteSubnetGroupRequest.Builder> deleteSubnetGroupRequest) throws SubnetGroupInUseException, SubnetGroupNotFoundException, ServiceLinkedRoleNotFoundException, AwsServiceException, SdkClientException, DaxException
Deletes a subnet group.
You cannot delete a subnet group if it is associated with any DAX clusters.
This is a convenience which creates an instance of the
DeleteSubnetGroupRequest.Builderavoiding the need to create one manually viaDeleteSubnetGroupRequest.builder()- Parameters:
deleteSubnetGroupRequest- AConsumerthat will call methods onDeleteSubnetGroupRequest.Builderto create a request.- Returns:
- Result of the DeleteSubnetGroup operation returned by the service.
- Throws:
SubnetGroupInUseException- The specified subnet group is currently in use.SubnetGroupNotFoundException- The requested subnet group name does not refer to an existing subnet group.ServiceLinkedRoleNotFoundException- The specified service linked role (SLR) was not found.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DaxException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeClusters
default DescribeClustersResponse describeClusters(DescribeClustersRequest describeClustersRequest) throws ClusterNotFoundException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, DaxException
Returns information about all provisioned DAX clusters if no cluster identifier is specified, or about a specific DAX cluster if a cluster identifier is supplied.
If the cluster is in the CREATING state, only cluster level information will be displayed until all of the nodes are successfully provisioned.
If the cluster is in the DELETING state, only cluster level information will be displayed.
If nodes are currently being added to the DAX cluster, node endpoint information and creation time for the additional nodes will not be displayed until they are completely provisioned. When the DAX cluster state is available, the cluster is ready for use.
If nodes are currently being removed from the DAX cluster, no endpoint information for the removed nodes is displayed.
- Parameters:
describeClustersRequest-- Returns:
- Result of the DescribeClusters operation returned by the service.
- Throws:
ClusterNotFoundException- The requested cluster ID does not refer to an existing DAX cluster.ServiceLinkedRoleNotFoundException- The specified service linked role (SLR) was not found.InvalidParameterValueException- The value for a parameter is invalid.InvalidParameterCombinationException- Two or more incompatible parameters were specified.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DaxException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeClusters
default DescribeClustersResponse describeClusters(Consumer<DescribeClustersRequest.Builder> describeClustersRequest) throws ClusterNotFoundException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, DaxException
Returns information about all provisioned DAX clusters if no cluster identifier is specified, or about a specific DAX cluster if a cluster identifier is supplied.
If the cluster is in the CREATING state, only cluster level information will be displayed until all of the nodes are successfully provisioned.
If the cluster is in the DELETING state, only cluster level information will be displayed.
If nodes are currently being added to the DAX cluster, node endpoint information and creation time for the additional nodes will not be displayed until they are completely provisioned. When the DAX cluster state is available, the cluster is ready for use.
If nodes are currently being removed from the DAX cluster, no endpoint information for the removed nodes is displayed.
This is a convenience which creates an instance of the
DescribeClustersRequest.Builderavoiding the need to create one manually viaDescribeClustersRequest.builder()- Parameters:
describeClustersRequest- AConsumerthat will call methods onDescribeClustersRequest.Builderto create a request.- Returns:
- Result of the DescribeClusters operation returned by the service.
- Throws:
ClusterNotFoundException- The requested cluster ID does not refer to an existing DAX cluster.ServiceLinkedRoleNotFoundException- The specified service linked role (SLR) was not found.InvalidParameterValueException- The value for a parameter is invalid.InvalidParameterCombinationException- Two or more incompatible parameters were specified.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DaxException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeClusters
default DescribeClustersResponse describeClusters() throws ClusterNotFoundException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, DaxException
Returns information about all provisioned DAX clusters if no cluster identifier is specified, or about a specific DAX cluster if a cluster identifier is supplied.
If the cluster is in the CREATING state, only cluster level information will be displayed until all of the nodes are successfully provisioned.
If the cluster is in the DELETING state, only cluster level information will be displayed.
If nodes are currently being added to the DAX cluster, node endpoint information and creation time for the additional nodes will not be displayed until they are completely provisioned. When the DAX cluster state is available, the cluster is ready for use.
If nodes are currently being removed from the DAX cluster, no endpoint information for the removed nodes is displayed.
- Returns:
- Result of the DescribeClusters operation returned by the service.
- Throws:
ClusterNotFoundException- The requested cluster ID does not refer to an existing DAX cluster.ServiceLinkedRoleNotFoundException- The specified service linked role (SLR) was not found.InvalidParameterValueException- The value for a parameter is invalid.InvalidParameterCombinationException- Two or more incompatible parameters were specified.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DaxException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
describeClusters(DescribeClustersRequest), AWS API Documentation
-
describeDefaultParameters
default DescribeDefaultParametersResponse describeDefaultParameters(DescribeDefaultParametersRequest describeDefaultParametersRequest) throws ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, DaxException
Returns the default system parameter information for the DAX caching software.
- Parameters:
describeDefaultParametersRequest-- Returns:
- Result of the DescribeDefaultParameters operation returned by the service.
- Throws:
ServiceLinkedRoleNotFoundException- The specified service linked role (SLR) was not found.InvalidParameterValueException- The value for a parameter is invalid.InvalidParameterCombinationException- Two or more incompatible parameters were specified.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DaxException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeDefaultParameters
default DescribeDefaultParametersResponse describeDefaultParameters(Consumer<DescribeDefaultParametersRequest.Builder> describeDefaultParametersRequest) throws ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, DaxException
Returns the default system parameter information for the DAX caching software.
This is a convenience which creates an instance of the
DescribeDefaultParametersRequest.Builderavoiding the need to create one manually viaDescribeDefaultParametersRequest.builder()- Parameters:
describeDefaultParametersRequest- AConsumerthat will call methods onDescribeDefaultParametersRequest.Builderto create a request.- Returns:
- Result of the DescribeDefaultParameters operation returned by the service.
- Throws:
ServiceLinkedRoleNotFoundException- The specified service linked role (SLR) was not found.InvalidParameterValueException- The value for a parameter is invalid.InvalidParameterCombinationException- Two or more incompatible parameters were specified.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DaxException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeDefaultParameters
default DescribeDefaultParametersResponse describeDefaultParameters() throws ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, DaxException
Returns the default system parameter information for the DAX caching software.
- Returns:
- Result of the DescribeDefaultParameters operation returned by the service.
- Throws:
ServiceLinkedRoleNotFoundException- The specified service linked role (SLR) was not found.InvalidParameterValueException- The value for a parameter is invalid.InvalidParameterCombinationException- Two or more incompatible parameters were specified.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DaxException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
describeDefaultParameters(DescribeDefaultParametersRequest), AWS API Documentation
-
describeEvents
default DescribeEventsResponse describeEvents(DescribeEventsRequest describeEventsRequest) throws ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, DaxException
Returns events related to DAX clusters and parameter groups. You can obtain events specific to a particular DAX cluster or parameter group by providing the name as a parameter.
By default, only the events occurring within the last 24 hours are returned; however, you can retrieve up to 14 days' worth of events if necessary.
- Parameters:
describeEventsRequest-- Returns:
- Result of the DescribeEvents operation returned by the service.
- Throws:
ServiceLinkedRoleNotFoundException- The specified service linked role (SLR) was not found.InvalidParameterValueException- The value for a parameter is invalid.InvalidParameterCombinationException- Two or more incompatible parameters were specified.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DaxException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeEvents
default DescribeEventsResponse describeEvents(Consumer<DescribeEventsRequest.Builder> describeEventsRequest) throws ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, DaxException
Returns events related to DAX clusters and parameter groups. You can obtain events specific to a particular DAX cluster or parameter group by providing the name as a parameter.
By default, only the events occurring within the last 24 hours 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.Builderavoiding the need to create one manually viaDescribeEventsRequest.builder()- Parameters:
describeEventsRequest- AConsumerthat will call methods onDescribeEventsRequest.Builderto create a request.- Returns:
- Result of the DescribeEvents operation returned by the service.
- Throws:
ServiceLinkedRoleNotFoundException- The specified service linked role (SLR) was not found.InvalidParameterValueException- The value for a parameter is invalid.InvalidParameterCombinationException- Two or more incompatible parameters were specified.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DaxException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeEvents
default DescribeEventsResponse describeEvents() throws ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, DaxException
Returns events related to DAX clusters and parameter groups. You can obtain events specific to a particular DAX cluster or parameter group by providing the name as a parameter.
By default, only the events occurring within the last 24 hours are returned; however, you can retrieve up to 14 days' worth of events if necessary.
- Returns:
- Result of the DescribeEvents operation returned by the service.
- Throws:
ServiceLinkedRoleNotFoundException- The specified service linked role (SLR) was not found.InvalidParameterValueException- The value for a parameter is invalid.InvalidParameterCombinationException- Two or more incompatible parameters were specified.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DaxException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
describeEvents(DescribeEventsRequest), AWS API Documentation
-
describeParameterGroups
default DescribeParameterGroupsResponse describeParameterGroups(DescribeParameterGroupsRequest describeParameterGroupsRequest) throws ParameterGroupNotFoundException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, DaxException
Returns a list of parameter group descriptions. If a parameter group name is specified, the list will contain only the descriptions for that group.
- Parameters:
describeParameterGroupsRequest-- Returns:
- Result of the DescribeParameterGroups operation returned by the service.
- Throws:
ParameterGroupNotFoundException- The specified parameter group does not exist.ServiceLinkedRoleNotFoundException- The specified service linked role (SLR) was not found.InvalidParameterValueException- The value for a parameter is invalid.InvalidParameterCombinationException- Two or more incompatible parameters were specified.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DaxException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeParameterGroups
default DescribeParameterGroupsResponse describeParameterGroups(Consumer<DescribeParameterGroupsRequest.Builder> describeParameterGroupsRequest) throws ParameterGroupNotFoundException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, DaxException
Returns a list of parameter group descriptions. If a parameter group name is specified, the list will contain only the descriptions for that group.
This is a convenience which creates an instance of the
DescribeParameterGroupsRequest.Builderavoiding the need to create one manually viaDescribeParameterGroupsRequest.builder()- Parameters:
describeParameterGroupsRequest- AConsumerthat will call methods onDescribeParameterGroupsRequest.Builderto create a request.- Returns:
- Result of the DescribeParameterGroups operation returned by the service.
- Throws:
ParameterGroupNotFoundException- The specified parameter group does not exist.ServiceLinkedRoleNotFoundException- The specified service linked role (SLR) was not found.InvalidParameterValueException- The value for a parameter is invalid.InvalidParameterCombinationException- Two or more incompatible parameters were specified.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DaxException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeParameterGroups
default DescribeParameterGroupsResponse describeParameterGroups() throws ParameterGroupNotFoundException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, DaxException
Returns a list of parameter group descriptions. If a parameter group name is specified, the list will contain only the descriptions for that group.
- Returns:
- Result of the DescribeParameterGroups operation returned by the service.
- Throws:
ParameterGroupNotFoundException- The specified parameter group does not exist.ServiceLinkedRoleNotFoundException- The specified service linked role (SLR) was not found.InvalidParameterValueException- The value for a parameter is invalid.InvalidParameterCombinationException- Two or more incompatible parameters were specified.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DaxException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
describeParameterGroups(DescribeParameterGroupsRequest), AWS API Documentation
-
describeParameters
default DescribeParametersResponse describeParameters(DescribeParametersRequest describeParametersRequest) throws ParameterGroupNotFoundException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, DaxException
Returns the detailed parameter list for a particular parameter group.
- Parameters:
describeParametersRequest-- Returns:
- Result of the DescribeParameters operation returned by the service.
- Throws:
ParameterGroupNotFoundException- The specified parameter group does not exist.ServiceLinkedRoleNotFoundException- The specified service linked role (SLR) was not found.InvalidParameterValueException- The value for a parameter is invalid.InvalidParameterCombinationException- Two or more incompatible parameters were specified.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DaxException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeParameters
default DescribeParametersResponse describeParameters(Consumer<DescribeParametersRequest.Builder> describeParametersRequest) throws ParameterGroupNotFoundException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, DaxException
Returns the detailed parameter list for a particular parameter group.
This is a convenience which creates an instance of the
DescribeParametersRequest.Builderavoiding the need to create one manually viaDescribeParametersRequest.builder()- Parameters:
describeParametersRequest- AConsumerthat will call methods onDescribeParametersRequest.Builderto create a request.- Returns:
- Result of the DescribeParameters operation returned by the service.
- Throws:
ParameterGroupNotFoundException- The specified parameter group does not exist.ServiceLinkedRoleNotFoundException- The specified service linked role (SLR) was not found.InvalidParameterValueException- The value for a parameter is invalid.InvalidParameterCombinationException- Two or more incompatible parameters were specified.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DaxException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeSubnetGroups
default DescribeSubnetGroupsResponse describeSubnetGroups(DescribeSubnetGroupsRequest describeSubnetGroupsRequest) throws SubnetGroupNotFoundException, ServiceLinkedRoleNotFoundException, AwsServiceException, SdkClientException, DaxException
Returns a list of subnet group descriptions. If a subnet group name is specified, the list will contain only the description of that group.
- Parameters:
describeSubnetGroupsRequest-- Returns:
- Result of the DescribeSubnetGroups operation returned by the service.
- Throws:
SubnetGroupNotFoundException- The requested subnet group name does not refer to an existing subnet group.ServiceLinkedRoleNotFoundException- The specified service linked role (SLR) was not found.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DaxException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeSubnetGroups
default DescribeSubnetGroupsResponse describeSubnetGroups(Consumer<DescribeSubnetGroupsRequest.Builder> describeSubnetGroupsRequest) throws SubnetGroupNotFoundException, ServiceLinkedRoleNotFoundException, AwsServiceException, SdkClientException, DaxException
Returns a list of subnet group descriptions. If a subnet group name is specified, the list will contain only the description of that group.
This is a convenience which creates an instance of the
DescribeSubnetGroupsRequest.Builderavoiding the need to create one manually viaDescribeSubnetGroupsRequest.builder()- Parameters:
describeSubnetGroupsRequest- AConsumerthat will call methods onDescribeSubnetGroupsRequest.Builderto create a request.- Returns:
- Result of the DescribeSubnetGroups operation returned by the service.
- Throws:
SubnetGroupNotFoundException- The requested subnet group name does not refer to an existing subnet group.ServiceLinkedRoleNotFoundException- The specified service linked role (SLR) was not found.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DaxException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeSubnetGroups
default DescribeSubnetGroupsResponse describeSubnetGroups() throws SubnetGroupNotFoundException, ServiceLinkedRoleNotFoundException, AwsServiceException, SdkClientException, DaxException
Returns a list of subnet group descriptions. If a subnet group name is specified, the list will contain only the description of that group.
- Returns:
- Result of the DescribeSubnetGroups operation returned by the service.
- Throws:
SubnetGroupNotFoundException- The requested subnet group name does not refer to an existing subnet group.ServiceLinkedRoleNotFoundException- The specified service linked role (SLR) was not found.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DaxException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
describeSubnetGroups(DescribeSubnetGroupsRequest), AWS API Documentation
-
increaseReplicationFactor
default IncreaseReplicationFactorResponse increaseReplicationFactor(IncreaseReplicationFactorRequest increaseReplicationFactorRequest) throws ClusterNotFoundException, InvalidClusterStateException, InsufficientClusterCapacityException, InvalidVpcNetworkStateException, NodeQuotaForClusterExceededException, NodeQuotaForCustomerExceededException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, DaxException
Adds one or more nodes to a DAX cluster.
- Parameters:
increaseReplicationFactorRequest-- Returns:
- Result of the IncreaseReplicationFactor operation returned by the service.
- Throws:
ClusterNotFoundException- The requested cluster ID does not refer to an existing DAX cluster.InvalidClusterStateException- The requested DAX cluster is not in the available state.InsufficientClusterCapacityException- There are not enough system resources to create the cluster you requested (or to resize an already-existing cluster).InvalidVpcNetworkStateException- The VPC network is in an invalid state.NodeQuotaForClusterExceededException- You have attempted to exceed the maximum number of nodes for a DAX cluster.NodeQuotaForCustomerExceededException- You have attempted to exceed the maximum number of nodes for your AWS account.ServiceLinkedRoleNotFoundException- The specified service linked role (SLR) was not found.InvalidParameterValueException- The value for a parameter is invalid.InvalidParameterCombinationException- Two or more incompatible parameters were specified.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DaxException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
increaseReplicationFactor
default IncreaseReplicationFactorResponse increaseReplicationFactor(Consumer<IncreaseReplicationFactorRequest.Builder> increaseReplicationFactorRequest) throws ClusterNotFoundException, InvalidClusterStateException, InsufficientClusterCapacityException, InvalidVpcNetworkStateException, NodeQuotaForClusterExceededException, NodeQuotaForCustomerExceededException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, DaxException
Adds one or more nodes to a DAX cluster.
This is a convenience which creates an instance of the
IncreaseReplicationFactorRequest.Builderavoiding the need to create one manually viaIncreaseReplicationFactorRequest.builder()- Parameters:
increaseReplicationFactorRequest- AConsumerthat will call methods onIncreaseReplicationFactorRequest.Builderto create a request.- Returns:
- Result of the IncreaseReplicationFactor operation returned by the service.
- Throws:
ClusterNotFoundException- The requested cluster ID does not refer to an existing DAX cluster.InvalidClusterStateException- The requested DAX cluster is not in the available state.InsufficientClusterCapacityException- There are not enough system resources to create the cluster you requested (or to resize an already-existing cluster).InvalidVpcNetworkStateException- The VPC network is in an invalid state.NodeQuotaForClusterExceededException- You have attempted to exceed the maximum number of nodes for a DAX cluster.NodeQuotaForCustomerExceededException- You have attempted to exceed the maximum number of nodes for your AWS account.ServiceLinkedRoleNotFoundException- The specified service linked role (SLR) was not found.InvalidParameterValueException- The value for a parameter is invalid.InvalidParameterCombinationException- Two or more incompatible parameters were specified.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DaxException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTags
default ListTagsResponse listTags(ListTagsRequest listTagsRequest) throws ClusterNotFoundException, InvalidArnException, InvalidClusterStateException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, DaxException
List all of the tags for a DAX cluster. You can call
ListTagsup to 10 times per second, per account.- Parameters:
listTagsRequest-- Returns:
- Result of the ListTags operation returned by the service.
- Throws:
ClusterNotFoundException- The requested cluster ID does not refer to an existing DAX cluster.InvalidArnException- The Amazon Resource Name (ARN) supplied in the request is not valid.InvalidClusterStateException- The requested DAX cluster is not in the available state.ServiceLinkedRoleNotFoundException- The specified service linked role (SLR) was not found.InvalidParameterValueException- The value for a parameter is invalid.InvalidParameterCombinationException- Two or more incompatible parameters were specified.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DaxException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTags
default ListTagsResponse listTags(Consumer<ListTagsRequest.Builder> listTagsRequest) throws ClusterNotFoundException, InvalidArnException, InvalidClusterStateException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, DaxException
List all of the tags for a DAX cluster. You can call
ListTagsup to 10 times per second, per account.
This is a convenience which creates an instance of the
ListTagsRequest.Builderavoiding the need to create one manually viaListTagsRequest.builder()- Parameters:
listTagsRequest- AConsumerthat will call methods onListTagsRequest.Builderto create a request.- Returns:
- Result of the ListTags operation returned by the service.
- Throws:
ClusterNotFoundException- The requested cluster ID does not refer to an existing DAX cluster.InvalidArnException- The Amazon Resource Name (ARN) supplied in the request is not valid.InvalidClusterStateException- The requested DAX cluster is not in the available state.ServiceLinkedRoleNotFoundException- The specified service linked role (SLR) was not found.InvalidParameterValueException- The value for a parameter is invalid.InvalidParameterCombinationException- Two or more incompatible parameters were specified.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DaxException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
rebootNode
default RebootNodeResponse rebootNode(RebootNodeRequest rebootNodeRequest) throws ClusterNotFoundException, NodeNotFoundException, InvalidClusterStateException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, DaxException
Reboots a single node of a DAX cluster. The reboot action takes place as soon as possible. During the reboot, the node status is set to REBOOTING.
RebootNoderestarts the DAX engine process and does not remove the contents of the cache.- Parameters:
rebootNodeRequest-- Returns:
- Result of the RebootNode operation returned by the service.
- Throws:
ClusterNotFoundException- The requested cluster ID does not refer to an existing DAX cluster.NodeNotFoundException- None of the nodes in the cluster have the given node ID.InvalidClusterStateException- The requested DAX cluster is not in the available state.ServiceLinkedRoleNotFoundException- The specified service linked role (SLR) was not found.InvalidParameterValueException- The value for a parameter is invalid.InvalidParameterCombinationException- Two or more incompatible parameters were specified.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DaxException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
rebootNode
default RebootNodeResponse rebootNode(Consumer<RebootNodeRequest.Builder> rebootNodeRequest) throws ClusterNotFoundException, NodeNotFoundException, InvalidClusterStateException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, DaxException
Reboots a single node of a DAX cluster. The reboot action takes place as soon as possible. During the reboot, the node status is set to REBOOTING.
RebootNoderestarts the DAX engine process and does not remove the contents of the cache.
This is a convenience which creates an instance of the
RebootNodeRequest.Builderavoiding the need to create one manually viaRebootNodeRequest.builder()- Parameters:
rebootNodeRequest- AConsumerthat will call methods onRebootNodeRequest.Builderto create a request.- Returns:
- Result of the RebootNode operation returned by the service.
- Throws:
ClusterNotFoundException- The requested cluster ID does not refer to an existing DAX cluster.NodeNotFoundException- None of the nodes in the cluster have the given node ID.InvalidClusterStateException- The requested DAX cluster is not in the available state.ServiceLinkedRoleNotFoundException- The specified service linked role (SLR) was not found.InvalidParameterValueException- The value for a parameter is invalid.InvalidParameterCombinationException- Two or more incompatible parameters were specified.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DaxException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws ClusterNotFoundException, TagQuotaPerResourceExceededException, InvalidArnException, InvalidClusterStateException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, DaxException
Associates a set of tags with a DAX resource. You can call
TagResourceup to 5 times per second, per account.- Parameters:
tagResourceRequest-- Returns:
- Result of the TagResource operation returned by the service.
- Throws:
ClusterNotFoundException- The requested cluster ID does not refer to an existing DAX cluster.TagQuotaPerResourceExceededException- You have exceeded the maximum number of tags for this DAX cluster.InvalidArnException- The Amazon Resource Name (ARN) supplied in the request is not valid.InvalidClusterStateException- The requested DAX cluster is not in the available state.ServiceLinkedRoleNotFoundException- The specified service linked role (SLR) was not found.InvalidParameterValueException- The value for a parameter is invalid.InvalidParameterCombinationException- Two or more incompatible parameters were specified.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DaxException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws ClusterNotFoundException, TagQuotaPerResourceExceededException, InvalidArnException, InvalidClusterStateException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, DaxException
Associates a set of tags with a DAX resource. You can call
TagResourceup to 5 times per second, per account.
This is a convenience which creates an instance of the
TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- Result of the TagResource operation returned by the service.
- Throws:
ClusterNotFoundException- The requested cluster ID does not refer to an existing DAX cluster.TagQuotaPerResourceExceededException- You have exceeded the maximum number of tags for this DAX cluster.InvalidArnException- The Amazon Resource Name (ARN) supplied in the request is not valid.InvalidClusterStateException- The requested DAX cluster is not in the available state.ServiceLinkedRoleNotFoundException- The specified service linked role (SLR) was not found.InvalidParameterValueException- The value for a parameter is invalid.InvalidParameterCombinationException- Two or more incompatible parameters were specified.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DaxException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ClusterNotFoundException, InvalidArnException, TagNotFoundException, InvalidClusterStateException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, DaxException
Removes the association of tags from a DAX resource. You can call
UntagResourceup to 5 times per second, per account.- Parameters:
untagResourceRequest-- Returns:
- Result of the UntagResource operation returned by the service.
- Throws:
ClusterNotFoundException- The requested cluster ID does not refer to an existing DAX cluster.InvalidArnException- The Amazon Resource Name (ARN) supplied in the request is not valid.TagNotFoundException- The tag does not exist.InvalidClusterStateException- The requested DAX cluster is not in the available state.ServiceLinkedRoleNotFoundException- The specified service linked role (SLR) was not found.InvalidParameterValueException- The value for a parameter is invalid.InvalidParameterCombinationException- Two or more incompatible parameters were specified.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DaxException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws ClusterNotFoundException, InvalidArnException, TagNotFoundException, InvalidClusterStateException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, DaxException
Removes the association of tags from a DAX resource. You can call
UntagResourceup to 5 times per second, per account.
This is a convenience which creates an instance of the
UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- Throws:
ClusterNotFoundException- The requested cluster ID does not refer to an existing DAX cluster.InvalidArnException- The Amazon Resource Name (ARN) supplied in the request is not valid.TagNotFoundException- The tag does not exist.InvalidClusterStateException- The requested DAX cluster is not in the available state.ServiceLinkedRoleNotFoundException- The specified service linked role (SLR) was not found.InvalidParameterValueException- The value for a parameter is invalid.InvalidParameterCombinationException- Two or more incompatible parameters were specified.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DaxException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateCluster
default UpdateClusterResponse updateCluster(UpdateClusterRequest updateClusterRequest) throws InvalidClusterStateException, ClusterNotFoundException, InvalidParameterGroupStateException, ParameterGroupNotFoundException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, DaxException
Modifies the settings for a DAX cluster. You can use this action to change one or more cluster configuration parameters by specifying the parameters and the new values.
- Parameters:
updateClusterRequest-- Returns:
- Result of the UpdateCluster operation returned by the service.
- Throws:
InvalidClusterStateException- The requested DAX cluster is not in the available state.ClusterNotFoundException- The requested cluster ID does not refer to an existing DAX cluster.InvalidParameterGroupStateException- One or more parameters in a parameter group are in an invalid state.ParameterGroupNotFoundException- The specified parameter group does not exist.ServiceLinkedRoleNotFoundException- The specified service linked role (SLR) was not found.InvalidParameterValueException- The value for a parameter is invalid.InvalidParameterCombinationException- Two or more incompatible parameters were specified.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DaxException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateCluster
default UpdateClusterResponse updateCluster(Consumer<UpdateClusterRequest.Builder> updateClusterRequest) throws InvalidClusterStateException, ClusterNotFoundException, InvalidParameterGroupStateException, ParameterGroupNotFoundException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, DaxException
Modifies the settings for a DAX cluster. You can use this action to change one or more cluster configuration parameters by specifying the parameters and the new values.
This is a convenience which creates an instance of the
UpdateClusterRequest.Builderavoiding the need to create one manually viaUpdateClusterRequest.builder()- Parameters:
updateClusterRequest- AConsumerthat will call methods onUpdateClusterRequest.Builderto create a request.- Returns:
- Result of the UpdateCluster operation returned by the service.
- Throws:
InvalidClusterStateException- The requested DAX cluster is not in the available state.ClusterNotFoundException- The requested cluster ID does not refer to an existing DAX cluster.InvalidParameterGroupStateException- One or more parameters in a parameter group are in an invalid state.ParameterGroupNotFoundException- The specified parameter group does not exist.ServiceLinkedRoleNotFoundException- The specified service linked role (SLR) was not found.InvalidParameterValueException- The value for a parameter is invalid.InvalidParameterCombinationException- Two or more incompatible parameters were specified.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DaxException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateParameterGroup
default UpdateParameterGroupResponse updateParameterGroup(UpdateParameterGroupRequest updateParameterGroupRequest) throws InvalidParameterGroupStateException, ParameterGroupNotFoundException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, DaxException
Modifies the parameters of a parameter group. You can modify up to 20 parameters in a single request by submitting a list parameter name and value pairs.
- Parameters:
updateParameterGroupRequest-- Returns:
- Result of the UpdateParameterGroup operation returned by the service.
- Throws:
InvalidParameterGroupStateException- One or more parameters in a parameter group are in an invalid state.ParameterGroupNotFoundException- The specified parameter group does not exist.ServiceLinkedRoleNotFoundException- The specified service linked role (SLR) was not found.InvalidParameterValueException- The value for a parameter is invalid.InvalidParameterCombinationException- Two or more incompatible parameters were specified.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DaxException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateParameterGroup
default UpdateParameterGroupResponse updateParameterGroup(Consumer<UpdateParameterGroupRequest.Builder> updateParameterGroupRequest) throws InvalidParameterGroupStateException, ParameterGroupNotFoundException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, DaxException
Modifies 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.Builderavoiding the need to create one manually viaUpdateParameterGroupRequest.builder()- Parameters:
updateParameterGroupRequest- AConsumerthat will call methods onUpdateParameterGroupRequest.Builderto create a request.- Returns:
- Result of the UpdateParameterGroup operation returned by the service.
- Throws:
InvalidParameterGroupStateException- One or more parameters in a parameter group are in an invalid state.ParameterGroupNotFoundException- The specified parameter group does not exist.ServiceLinkedRoleNotFoundException- The specified service linked role (SLR) was not found.InvalidParameterValueException- The value for a parameter is invalid.InvalidParameterCombinationException- Two or more incompatible parameters were specified.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DaxException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateSubnetGroup
default UpdateSubnetGroupResponse updateSubnetGroup(UpdateSubnetGroupRequest updateSubnetGroupRequest) throws SubnetGroupNotFoundException, SubnetQuotaExceededException, SubnetInUseException, InvalidSubnetException, ServiceLinkedRoleNotFoundException, AwsServiceException, SdkClientException, DaxException
Modifies an existing subnet group.
- Parameters:
updateSubnetGroupRequest-- Returns:
- Result of the UpdateSubnetGroup operation returned by the service.
- Throws:
SubnetGroupNotFoundException- The requested subnet group name does not refer to an existing subnet group.SubnetQuotaExceededException- The request cannot be processed because it would exceed the allowed number of subnets in a subnet group.SubnetInUseException- The requested subnet is being used by another subnet group.InvalidSubnetException- An invalid subnet identifier was specified.ServiceLinkedRoleNotFoundException- The specified service linked role (SLR) was not found.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DaxException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateSubnetGroup
default UpdateSubnetGroupResponse updateSubnetGroup(Consumer<UpdateSubnetGroupRequest.Builder> updateSubnetGroupRequest) throws SubnetGroupNotFoundException, SubnetQuotaExceededException, SubnetInUseException, InvalidSubnetException, ServiceLinkedRoleNotFoundException, AwsServiceException, SdkClientException, DaxException
Modifies an existing subnet group.
This is a convenience which creates an instance of the
UpdateSubnetGroupRequest.Builderavoiding the need to create one manually viaUpdateSubnetGroupRequest.builder()- Parameters:
updateSubnetGroupRequest- AConsumerthat will call methods onUpdateSubnetGroupRequest.Builderto create a request.- Returns:
- Result of the UpdateSubnetGroup operation returned by the service.
- Throws:
SubnetGroupNotFoundException- The requested subnet group name does not refer to an existing subnet group.SubnetQuotaExceededException- The request cannot be processed because it would exceed the allowed number of subnets in a subnet group.SubnetInUseException- The requested subnet is being used by another subnet group.InvalidSubnetException- An invalid subnet identifier was specified.ServiceLinkedRoleNotFoundException- The specified service linked role (SLR) was not found.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DaxException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
create
static DaxClient create()
Create aDaxClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.
-
builder
static DaxClientBuilder builder()
Create a builder that can be used to configure and create aDaxClient.
-
serviceMetadata
static ServiceMetadata serviceMetadata()
-
serviceClientConfiguration
default DaxServiceClientConfiguration serviceClientConfiguration()
- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient
-
-