Struct rusoto_dax::DynamodbAcceleratorClient
source · [−]pub struct DynamodbAcceleratorClient { /* private fields */ }
Expand description
A client for the Amazon DAX API.
Implementations
sourceimpl DynamodbAcceleratorClient
impl DynamodbAcceleratorClient
sourcepub fn new(region: Region) -> DynamodbAcceleratorClient
pub fn new(region: Region) -> DynamodbAcceleratorClient
Creates a client backed by the default tokio event loop.
The client will use the default credentials provider and tls client.
pub fn new_with<P, D>(
request_dispatcher: D,
credentials_provider: P,
region: Region
) -> DynamodbAcceleratorClient where
P: ProvideAwsCredentials + Send + Sync + 'static,
D: DispatchSignedRequest + Send + Sync + 'static,
pub fn new_with_client(
client: Client,
region: Region
) -> DynamodbAcceleratorClient
Trait Implementations
sourceimpl Clone for DynamodbAcceleratorClient
impl Clone for DynamodbAcceleratorClient
sourcefn clone(&self) -> DynamodbAcceleratorClient
fn clone(&self) -> DynamodbAcceleratorClient
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl DynamodbAccelerator for DynamodbAcceleratorClient
impl DynamodbAccelerator for DynamodbAcceleratorClient
sourcefn create_cluster<'life0, 'async_trait>(
&'life0 self,
input: CreateClusterRequest
) -> Pin<Box<dyn Future<Output = Result<CreateClusterResponse, RusotoError<CreateClusterError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_cluster<'life0, 'async_trait>(
&'life0 self,
input: CreateClusterRequest
) -> Pin<Box<dyn Future<Output = Result<CreateClusterResponse, RusotoError<CreateClusterError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Creates a DAX cluster. All nodes in the cluster run the same DAX caching software.
sourcefn create_parameter_group<'life0, 'async_trait>(
&'life0 self,
input: CreateParameterGroupRequest
) -> Pin<Box<dyn Future<Output = Result<CreateParameterGroupResponse, RusotoError<CreateParameterGroupError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_parameter_group<'life0, 'async_trait>(
&'life0 self,
input: CreateParameterGroupRequest
) -> Pin<Box<dyn Future<Output = Result<CreateParameterGroupResponse, RusotoError<CreateParameterGroupError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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.
sourcefn create_subnet_group<'life0, 'async_trait>(
&'life0 self,
input: CreateSubnetGroupRequest
) -> Pin<Box<dyn Future<Output = Result<CreateSubnetGroupResponse, RusotoError<CreateSubnetGroupError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_subnet_group<'life0, 'async_trait>(
&'life0 self,
input: CreateSubnetGroupRequest
) -> Pin<Box<dyn Future<Output = Result<CreateSubnetGroupResponse, RusotoError<CreateSubnetGroupError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Creates a new subnet group.
sourcefn decrease_replication_factor<'life0, 'async_trait>(
&'life0 self,
input: DecreaseReplicationFactorRequest
) -> Pin<Box<dyn Future<Output = Result<DecreaseReplicationFactorResponse, RusotoError<DecreaseReplicationFactorError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn decrease_replication_factor<'life0, 'async_trait>(
&'life0 self,
input: DecreaseReplicationFactorRequest
) -> Pin<Box<dyn Future<Output = Result<DecreaseReplicationFactorResponse, RusotoError<DecreaseReplicationFactorError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Removes one or more nodes from a DAX cluster.
You cannot use DecreaseReplicationFactor
to remove the last node in a DAX cluster. If you need to do this, use DeleteCluster
instead.
sourcefn delete_cluster<'life0, 'async_trait>(
&'life0 self,
input: DeleteClusterRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteClusterResponse, RusotoError<DeleteClusterError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_cluster<'life0, 'async_trait>(
&'life0 self,
input: DeleteClusterRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteClusterResponse, RusotoError<DeleteClusterError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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.
sourcefn delete_parameter_group<'life0, 'async_trait>(
&'life0 self,
input: DeleteParameterGroupRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteParameterGroupResponse, RusotoError<DeleteParameterGroupError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_parameter_group<'life0, 'async_trait>(
&'life0 self,
input: DeleteParameterGroupRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteParameterGroupResponse, RusotoError<DeleteParameterGroupError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Deletes the specified parameter group. You cannot delete a parameter group if it is associated with any DAX clusters.
sourcefn delete_subnet_group<'life0, 'async_trait>(
&'life0 self,
input: DeleteSubnetGroupRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteSubnetGroupResponse, RusotoError<DeleteSubnetGroupError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_subnet_group<'life0, 'async_trait>(
&'life0 self,
input: DeleteSubnetGroupRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteSubnetGroupResponse, RusotoError<DeleteSubnetGroupError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Deletes a subnet group.
You cannot delete a subnet group if it is associated with any DAX clusters.
sourcefn describe_clusters<'life0, 'async_trait>(
&'life0 self,
input: DescribeClustersRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeClustersResponse, RusotoError<DescribeClustersError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_clusters<'life0, 'async_trait>(
&'life0 self,
input: DescribeClustersRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeClustersResponse, RusotoError<DescribeClustersError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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.
sourcefn describe_default_parameters<'life0, 'async_trait>(
&'life0 self,
input: DescribeDefaultParametersRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeDefaultParametersResponse, RusotoError<DescribeDefaultParametersError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_default_parameters<'life0, 'async_trait>(
&'life0 self,
input: DescribeDefaultParametersRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeDefaultParametersResponse, RusotoError<DescribeDefaultParametersError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns the default system parameter information for the DAX caching software.
sourcefn describe_events<'life0, 'async_trait>(
&'life0 self,
input: DescribeEventsRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeEventsResponse, RusotoError<DescribeEventsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_events<'life0, 'async_trait>(
&'life0 self,
input: DescribeEventsRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeEventsResponse, RusotoError<DescribeEventsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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.
sourcefn describe_parameter_groups<'life0, 'async_trait>(
&'life0 self,
input: DescribeParameterGroupsRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeParameterGroupsResponse, RusotoError<DescribeParameterGroupsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_parameter_groups<'life0, 'async_trait>(
&'life0 self,
input: DescribeParameterGroupsRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeParameterGroupsResponse, RusotoError<DescribeParameterGroupsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns a list of parameter group descriptions. If a parameter group name is specified, the list will contain only the descriptions for that group.
sourcefn describe_parameters<'life0, 'async_trait>(
&'life0 self,
input: DescribeParametersRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeParametersResponse, RusotoError<DescribeParametersError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_parameters<'life0, 'async_trait>(
&'life0 self,
input: DescribeParametersRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeParametersResponse, RusotoError<DescribeParametersError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns the detailed parameter list for a particular parameter group.
sourcefn describe_subnet_groups<'life0, 'async_trait>(
&'life0 self,
input: DescribeSubnetGroupsRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeSubnetGroupsResponse, RusotoError<DescribeSubnetGroupsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_subnet_groups<'life0, 'async_trait>(
&'life0 self,
input: DescribeSubnetGroupsRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeSubnetGroupsResponse, RusotoError<DescribeSubnetGroupsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns a list of subnet group descriptions. If a subnet group name is specified, the list will contain only the description of that group.
sourcefn increase_replication_factor<'life0, 'async_trait>(
&'life0 self,
input: IncreaseReplicationFactorRequest
) -> Pin<Box<dyn Future<Output = Result<IncreaseReplicationFactorResponse, RusotoError<IncreaseReplicationFactorError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn increase_replication_factor<'life0, 'async_trait>(
&'life0 self,
input: IncreaseReplicationFactorRequest
) -> Pin<Box<dyn Future<Output = Result<IncreaseReplicationFactorResponse, RusotoError<IncreaseReplicationFactorError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Adds one or more nodes to a DAX cluster.
List all of the tags for a DAX cluster. You can call ListTags
up to 10 times per second, per account.
sourcefn reboot_node<'life0, 'async_trait>(
&'life0 self,
input: RebootNodeRequest
) -> Pin<Box<dyn Future<Output = Result<RebootNodeResponse, RusotoError<RebootNodeError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn reboot_node<'life0, 'async_trait>(
&'life0 self,
input: RebootNodeRequest
) -> Pin<Box<dyn Future<Output = Result<RebootNodeResponse, RusotoError<RebootNodeError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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.
RebootNode
restarts the DAX engine process and does not remove the contents of the cache.
sourcefn tag_resource<'life0, 'async_trait>(
&'life0 self,
input: TagResourceRequest
) -> Pin<Box<dyn Future<Output = Result<TagResourceResponse, RusotoError<TagResourceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn tag_resource<'life0, 'async_trait>(
&'life0 self,
input: TagResourceRequest
) -> Pin<Box<dyn Future<Output = Result<TagResourceResponse, RusotoError<TagResourceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Associates a set of tags with a DAX resource. You can call TagResource
up to 5 times per second, per account.
sourcefn untag_resource<'life0, 'async_trait>(
&'life0 self,
input: UntagResourceRequest
) -> Pin<Box<dyn Future<Output = Result<UntagResourceResponse, RusotoError<UntagResourceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn untag_resource<'life0, 'async_trait>(
&'life0 self,
input: UntagResourceRequest
) -> Pin<Box<dyn Future<Output = Result<UntagResourceResponse, RusotoError<UntagResourceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Removes the association of tags from a DAX resource. You can call UntagResource
up to 5 times per second, per account.
sourcefn update_cluster<'life0, 'async_trait>(
&'life0 self,
input: UpdateClusterRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateClusterResponse, RusotoError<UpdateClusterError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_cluster<'life0, 'async_trait>(
&'life0 self,
input: UpdateClusterRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateClusterResponse, RusotoError<UpdateClusterError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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.
sourcefn update_parameter_group<'life0, 'async_trait>(
&'life0 self,
input: UpdateParameterGroupRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateParameterGroupResponse, RusotoError<UpdateParameterGroupError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_parameter_group<'life0, 'async_trait>(
&'life0 self,
input: UpdateParameterGroupRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateParameterGroupResponse, RusotoError<UpdateParameterGroupError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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.
sourcefn update_subnet_group<'life0, 'async_trait>(
&'life0 self,
input: UpdateSubnetGroupRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateSubnetGroupResponse, RusotoError<UpdateSubnetGroupError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_subnet_group<'life0, 'async_trait>(
&'life0 self,
input: UpdateSubnetGroupRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateSubnetGroupResponse, RusotoError<UpdateSubnetGroupError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Modifies an existing subnet group.
Auto Trait Implementations
impl !RefUnwindSafe for DynamodbAcceleratorClient
impl Send for DynamodbAcceleratorClient
impl Sync for DynamodbAcceleratorClient
impl Unpin for DynamodbAcceleratorClient
impl !UnwindSafe for DynamodbAcceleratorClient
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more