Struct aws_sdk_elasticache::client::Client
source ·
[−]pub struct Client<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Client for Amazon ElastiCache
Client for invoking operations on Amazon ElastiCache. Each operation on Amazon ElastiCache is a method on this
this struct. .send()
MUST be invoked on the generated operations to dispatch the request to the service.
Examples
Constructing a client and invoking an operation
// create a shared configuration. This can be used & shared between multiple service clients.
let shared_config = aws_config::load_from_env().await;
let client = aws_sdk_elasticache::Client::new(&shared_config);
// invoke an operation
/* let rsp = client
.<operation_name>().
.<param>("some value")
.send().await; */
Constructing a client with custom configuration
use aws_config::RetryConfig;
let shared_config = aws_config::load_from_env().await;
let config = aws_sdk_elasticache::config::Builder::from(&shared_config)
.retry_config(RetryConfig::disabled())
.build();
let client = aws_sdk_elasticache::Client::from_conf(config);
Implementations
impl<C, M, R> Client<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> Client<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
Constructs a fluent builder for the AddTagsToResource
operation.
See AddTagsToResource
for more information about the
operation and its arguments.
Constructs a fluent builder for the AuthorizeCacheSecurityGroupIngress
operation.
See AuthorizeCacheSecurityGroupIngress
for more information about the
operation and its arguments.
Constructs a fluent builder for the BatchApplyUpdateAction
operation.
See BatchApplyUpdateAction
for more information about the
operation and its arguments.
Constructs a fluent builder for the BatchStopUpdateAction
operation.
See BatchStopUpdateAction
for more information about the
operation and its arguments.
Constructs a fluent builder for the CompleteMigration
operation.
See CompleteMigration
for more information about the
operation and its arguments.
Constructs a fluent builder for the CopySnapshot
operation.
See CopySnapshot
for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateCacheCluster
operation.
See CreateCacheCluster
for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateCacheParameterGroup
operation.
See CreateCacheParameterGroup
for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateCacheSecurityGroup
operation.
See CreateCacheSecurityGroup
for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateCacheSubnetGroup
operation.
See CreateCacheSubnetGroup
for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateGlobalReplicationGroup
operation.
See CreateGlobalReplicationGroup
for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateReplicationGroup
operation.
See CreateReplicationGroup
for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateSnapshot
operation.
See CreateSnapshot
for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateUser
operation.
See CreateUser
for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateUserGroup
operation.
See CreateUserGroup
for more information about the
operation and its arguments.
pub fn decrease_node_groups_in_global_replication_group(
&self
) -> DecreaseNodeGroupsInGlobalReplicationGroup<C, M, R>
pub fn decrease_node_groups_in_global_replication_group(
&self
) -> DecreaseNodeGroupsInGlobalReplicationGroup<C, M, R>
Constructs a fluent builder for the DecreaseNodeGroupsInGlobalReplicationGroup
operation.
See DecreaseNodeGroupsInGlobalReplicationGroup
for more information about the
operation and its arguments.
Constructs a fluent builder for the DecreaseReplicaCount
operation.
See DecreaseReplicaCount
for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteCacheCluster
operation.
See DeleteCacheCluster
for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteCacheParameterGroup
operation.
See DeleteCacheParameterGroup
for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteCacheSecurityGroup
operation.
See DeleteCacheSecurityGroup
for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteCacheSubnetGroup
operation.
See DeleteCacheSubnetGroup
for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteGlobalReplicationGroup
operation.
See DeleteGlobalReplicationGroup
for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteReplicationGroup
operation.
See DeleteReplicationGroup
for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteSnapshot
operation.
See DeleteSnapshot
for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteUser
operation.
See DeleteUser
for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteUserGroup
operation.
See DeleteUserGroup
for more information about the
operation and its arguments.
Constructs a fluent builder for the DescribeCacheClusters
operation.
See DescribeCacheClusters
for more information about the
operation and its arguments.
This operation supports pagination. See into_paginator()
.
Constructs a fluent builder for the DescribeCacheEngineVersions
operation.
See DescribeCacheEngineVersions
for more information about the
operation and its arguments.
This operation supports pagination. See into_paginator()
.
Constructs a fluent builder for the DescribeCacheParameterGroups
operation.
See DescribeCacheParameterGroups
for more information about the
operation and its arguments.
This operation supports pagination. See into_paginator()
.
Constructs a fluent builder for the DescribeCacheParameters
operation.
See DescribeCacheParameters
for more information about the
operation and its arguments.
This operation supports pagination. See into_paginator()
.
Constructs a fluent builder for the DescribeCacheSecurityGroups
operation.
See DescribeCacheSecurityGroups
for more information about the
operation and its arguments.
This operation supports pagination. See into_paginator()
.
Constructs a fluent builder for the DescribeCacheSubnetGroups
operation.
See DescribeCacheSubnetGroups
for more information about the
operation and its arguments.
This operation supports pagination. See into_paginator()
.
Constructs a fluent builder for the DescribeEngineDefaultParameters
operation.
See DescribeEngineDefaultParameters
for more information about the
operation and its arguments.
This operation supports pagination. See into_paginator()
.
Constructs a fluent builder for the DescribeEvents
operation.
See DescribeEvents
for more information about the
operation and its arguments.
This operation supports pagination. See into_paginator()
.
Constructs a fluent builder for the DescribeGlobalReplicationGroups
operation.
See DescribeGlobalReplicationGroups
for more information about the
operation and its arguments.
This operation supports pagination. See into_paginator()
.
Constructs a fluent builder for the DescribeReplicationGroups
operation.
See DescribeReplicationGroups
for more information about the
operation and its arguments.
This operation supports pagination. See into_paginator()
.
Constructs a fluent builder for the DescribeReservedCacheNodes
operation.
See DescribeReservedCacheNodes
for more information about the
operation and its arguments.
This operation supports pagination. See into_paginator()
.
pub fn describe_reserved_cache_nodes_offerings(
&self
) -> DescribeReservedCacheNodesOfferings<C, M, R>
pub fn describe_reserved_cache_nodes_offerings(
&self
) -> DescribeReservedCacheNodesOfferings<C, M, R>
Constructs a fluent builder for the DescribeReservedCacheNodesOfferings
operation.
See DescribeReservedCacheNodesOfferings
for more information about the
operation and its arguments.
This operation supports pagination. See into_paginator()
.
Constructs a fluent builder for the DescribeServiceUpdates
operation.
See DescribeServiceUpdates
for more information about the
operation and its arguments.
This operation supports pagination. See into_paginator()
.
Constructs a fluent builder for the DescribeSnapshots
operation.
See DescribeSnapshots
for more information about the
operation and its arguments.
This operation supports pagination. See into_paginator()
.
Constructs a fluent builder for the DescribeUpdateActions
operation.
See DescribeUpdateActions
for more information about the
operation and its arguments.
This operation supports pagination. See into_paginator()
.
Constructs a fluent builder for the DescribeUserGroups
operation.
See DescribeUserGroups
for more information about the
operation and its arguments.
This operation supports pagination. See into_paginator()
.
Constructs a fluent builder for the DescribeUsers
operation.
See DescribeUsers
for more information about the
operation and its arguments.
This operation supports pagination. See into_paginator()
.
pub fn disassociate_global_replication_group(
&self
) -> DisassociateGlobalReplicationGroup<C, M, R>
pub fn disassociate_global_replication_group(
&self
) -> DisassociateGlobalReplicationGroup<C, M, R>
Constructs a fluent builder for the DisassociateGlobalReplicationGroup
operation.
See DisassociateGlobalReplicationGroup
for more information about the
operation and its arguments.
Constructs a fluent builder for the FailoverGlobalReplicationGroup
operation.
See FailoverGlobalReplicationGroup
for more information about the
operation and its arguments.
pub fn increase_node_groups_in_global_replication_group(
&self
) -> IncreaseNodeGroupsInGlobalReplicationGroup<C, M, R>
pub fn increase_node_groups_in_global_replication_group(
&self
) -> IncreaseNodeGroupsInGlobalReplicationGroup<C, M, R>
Constructs a fluent builder for the IncreaseNodeGroupsInGlobalReplicationGroup
operation.
See IncreaseNodeGroupsInGlobalReplicationGroup
for more information about the
operation and its arguments.
Constructs a fluent builder for the IncreaseReplicaCount
operation.
See IncreaseReplicaCount
for more information about the
operation and its arguments.
pub fn list_allowed_node_type_modifications(
&self
) -> ListAllowedNodeTypeModifications<C, M, R>
pub fn list_allowed_node_type_modifications(
&self
) -> ListAllowedNodeTypeModifications<C, M, R>
Constructs a fluent builder for the ListAllowedNodeTypeModifications
operation.
See ListAllowedNodeTypeModifications
for more information about the
operation and its arguments.
Constructs a fluent builder for the ListTagsForResource
operation.
See ListTagsForResource
for more information about the
operation and its arguments.
Constructs a fluent builder for the ModifyCacheCluster
operation.
See ModifyCacheCluster
for more information about the
operation and its arguments.
Constructs a fluent builder for the ModifyCacheParameterGroup
operation.
See ModifyCacheParameterGroup
for more information about the
operation and its arguments.
Constructs a fluent builder for the ModifyCacheSubnetGroup
operation.
See ModifyCacheSubnetGroup
for more information about the
operation and its arguments.
Constructs a fluent builder for the ModifyGlobalReplicationGroup
operation.
See ModifyGlobalReplicationGroup
for more information about the
operation and its arguments.
Constructs a fluent builder for the ModifyReplicationGroup
operation.
See ModifyReplicationGroup
for more information about the
operation and its arguments.
pub fn modify_replication_group_shard_configuration(
&self
) -> ModifyReplicationGroupShardConfiguration<C, M, R>
pub fn modify_replication_group_shard_configuration(
&self
) -> ModifyReplicationGroupShardConfiguration<C, M, R>
Constructs a fluent builder for the ModifyReplicationGroupShardConfiguration
operation.
See ModifyReplicationGroupShardConfiguration
for more information about the
operation and its arguments.
Constructs a fluent builder for the ModifyUser
operation.
See ModifyUser
for more information about the
operation and its arguments.
Constructs a fluent builder for the ModifyUserGroup
operation.
See ModifyUserGroup
for more information about the
operation and its arguments.
pub fn purchase_reserved_cache_nodes_offering(
&self
) -> PurchaseReservedCacheNodesOffering<C, M, R>
pub fn purchase_reserved_cache_nodes_offering(
&self
) -> PurchaseReservedCacheNodesOffering<C, M, R>
Constructs a fluent builder for the PurchaseReservedCacheNodesOffering
operation.
See PurchaseReservedCacheNodesOffering
for more information about the
operation and its arguments.
pub fn rebalance_slots_in_global_replication_group(
&self
) -> RebalanceSlotsInGlobalReplicationGroup<C, M, R>
pub fn rebalance_slots_in_global_replication_group(
&self
) -> RebalanceSlotsInGlobalReplicationGroup<C, M, R>
Constructs a fluent builder for the RebalanceSlotsInGlobalReplicationGroup
operation.
See RebalanceSlotsInGlobalReplicationGroup
for more information about the
operation and its arguments.
Constructs a fluent builder for the RebootCacheCluster
operation.
See RebootCacheCluster
for more information about the
operation and its arguments.
Constructs a fluent builder for the RemoveTagsFromResource
operation.
See RemoveTagsFromResource
for more information about the
operation and its arguments.
Constructs a fluent builder for the ResetCacheParameterGroup
operation.
See ResetCacheParameterGroup
for more information about the
operation and its arguments.
pub fn revoke_cache_security_group_ingress(
&self
) -> RevokeCacheSecurityGroupIngress<C, M, R>
pub fn revoke_cache_security_group_ingress(
&self
) -> RevokeCacheSecurityGroupIngress<C, M, R>
Constructs a fluent builder for the RevokeCacheSecurityGroupIngress
operation.
See RevokeCacheSecurityGroupIngress
for more information about the
operation and its arguments.
Constructs a fluent builder for the StartMigration
operation.
See StartMigration
for more information about the
operation and its arguments.
Constructs a fluent builder for the TestFailover
operation.
See TestFailover
for more information about the
operation and its arguments.
Creates a client with the given service config and connector override.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for Client<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for Client<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more