MemoryDBClient#
Auto-generated documentation for MemoryDB type annotations stubs module types-boto3-memorydb.
MemoryDBClient#
Type annotations and code completion for boto3.client("memorydb").
 boto3 documentation
# MemoryDBClient usage example
from boto3.session import Session
from types_boto3_memorydb.client import MemoryDBClient
def get_memorydb_client() -> MemoryDBClient:
    return Session().client("memorydb")Exceptions#
boto3 client exceptions are generated in runtime.
This class provides code completion for boto3.client("memorydb").exceptions structure.
# Exceptions.exceptions usage example
client = boto3.client("memorydb")
try:
    do_something(client)
except (
    client.exceptions.ACLAlreadyExistsFault,
    client.exceptions.ACLNotFoundFault,
    client.exceptions.ACLQuotaExceededFault,
    client.exceptions.APICallRateForCustomerExceededFault,
    client.exceptions.ClientError,
    client.exceptions.ClusterAlreadyExistsFault,
    client.exceptions.ClusterNotFoundFault,
    client.exceptions.ClusterQuotaForCustomerExceededFault,
    client.exceptions.DefaultUserRequired,
    client.exceptions.DuplicateUserNameFault,
    client.exceptions.InsufficientClusterCapacityFault,
    client.exceptions.InvalidACLStateFault,
    client.exceptions.InvalidARNFault,
    client.exceptions.InvalidClusterStateFault,
    client.exceptions.InvalidCredentialsException,
    client.exceptions.InvalidKMSKeyFault,
    client.exceptions.InvalidMultiRegionClusterStateFault,
    client.exceptions.InvalidNodeStateFault,
    client.exceptions.InvalidParameterCombinationException,
    client.exceptions.InvalidParameterGroupStateFault,
    client.exceptions.InvalidParameterValueException,
    client.exceptions.InvalidSnapshotStateFault,
    client.exceptions.InvalidSubnet,
    client.exceptions.InvalidUserStateFault,
    client.exceptions.InvalidVPCNetworkStateFault,
    client.exceptions.MultiRegionClusterAlreadyExistsFault,
    client.exceptions.MultiRegionClusterNotFoundFault,
    client.exceptions.MultiRegionParameterGroupNotFoundFault,
    client.exceptions.NoOperationFault,
    client.exceptions.NodeQuotaForClusterExceededFault,
    client.exceptions.NodeQuotaForCustomerExceededFault,
    client.exceptions.ParameterGroupAlreadyExistsFault,
    client.exceptions.ParameterGroupNotFoundFault,
    client.exceptions.ParameterGroupQuotaExceededFault,
    client.exceptions.ReservedNodeAlreadyExistsFault,
    client.exceptions.ReservedNodeNotFoundFault,
    client.exceptions.ReservedNodeQuotaExceededFault,
    client.exceptions.ReservedNodesOfferingNotFoundFault,
    client.exceptions.ServiceLinkedRoleNotFoundFault,
    client.exceptions.ServiceUpdateNotFoundFault,
    client.exceptions.ShardNotFoundFault,
    client.exceptions.ShardsPerClusterQuotaExceededFault,
    client.exceptions.SnapshotAlreadyExistsFault,
    client.exceptions.SnapshotNotFoundFault,
    client.exceptions.SnapshotQuotaExceededFault,
    client.exceptions.SubnetGroupAlreadyExistsFault,
    client.exceptions.SubnetGroupInUseFault,
    client.exceptions.SubnetGroupNotFoundFault,
    client.exceptions.SubnetGroupQuotaExceededFault,
    client.exceptions.SubnetInUse,
    client.exceptions.SubnetNotAllowedFault,
    client.exceptions.SubnetQuotaExceededFault,
    client.exceptions.TagNotFoundFault,
    client.exceptions.TagQuotaPerResourceExceeded,
    client.exceptions.TestFailoverNotAvailableFault,
    client.exceptions.UserAlreadyExistsFault,
    client.exceptions.UserNotFoundFault,
    client.exceptions.UserQuotaExceededFault,
) as e:
    print(e)# Exceptions.exceptions type checking example
from types_boto3_memorydb.client import Exceptions
def handle_error(exc: Exceptions.ACLAlreadyExistsFault) -> None:
    ...Methods#
can_paginate#
Type annotations and code completion for boto3.client("memorydb").can_paginate method.
 boto3 documentation
# can_paginate method definition
def can_paginate(
    self,
    operation_name: str,
) -> bool:
    ...generate_presigned_url#
Type annotations and code completion for boto3.client("memorydb").generate_presigned_url method.
 boto3 documentation
# generate_presigned_url method definition
def generate_presigned_url(
    self,
    ClientMethod: str,
    Params: Mapping[str, Any] = ...,
    ExpiresIn: int = 3600,
    HttpMethod: str = ...,
) -> str:
    ...batch_update_cluster#
Apply the service update to a list of clusters supplied.
Type annotations and code completion for boto3.client("memorydb").batch_update_cluster method.
 boto3 documentation
# batch_update_cluster method definition
def batch_update_cluster(
    self,
    *,
    ClusterNames: Sequence[str],
    ServiceUpdate: ServiceUpdateRequestTypeDef = ...,  # (1)
) -> BatchUpdateClusterResponseTypeDef:  # (2)
    ...# batch_update_cluster method usage example with argument unpacking
kwargs: BatchUpdateClusterRequestTypeDef = {  # (1)
    "ClusterNames": ...,
}
parent.batch_update_cluster(**kwargs)copy_snapshot#
Makes a copy of an existing snapshot.
Type annotations and code completion for boto3.client("memorydb").copy_snapshot method.
 boto3 documentation
# copy_snapshot method definition
def copy_snapshot(
    self,
    *,
    SourceSnapshotName: str,
    TargetSnapshotName: str,
    TargetBucket: str = ...,
    KmsKeyId: str = ...,
    Tags: Sequence[TagTypeDef] = ...,  # (1)
) -> CopySnapshotResponseTypeDef:  # (2)
    ...- See Sequence[TagTypeDef]
- See CopySnapshotResponseTypeDef
# copy_snapshot method usage example with argument unpacking
kwargs: CopySnapshotRequestTypeDef = {  # (1)
    "SourceSnapshotName": ...,
    "TargetSnapshotName": ...,
}
parent.copy_snapshot(**kwargs)create_acl#
Creates an Access Control List.
Type annotations and code completion for boto3.client("memorydb").create_acl method.
 boto3 documentation
# create_acl method definition
def create_acl(
    self,
    *,
    ACLName: str,
    UserNames: Sequence[str] = ...,
    Tags: Sequence[TagTypeDef] = ...,  # (1)
) -> CreateACLResponseTypeDef:  # (2)
    ...- See Sequence[TagTypeDef]
- See CreateACLResponseTypeDef
# create_acl method usage example with argument unpacking
kwargs: CreateACLRequestTypeDef = {  # (1)
    "ACLName": ...,
}
parent.create_acl(**kwargs)create_cluster#
Creates a cluster.
Type annotations and code completion for boto3.client("memorydb").create_cluster method.
 boto3 documentation
# create_cluster method definition
def create_cluster(
    self,
    *,
    ClusterName: str,
    NodeType: str,
    ACLName: str,
    MultiRegionClusterName: str = ...,
    ParameterGroupName: str = ...,
    Description: str = ...,
    NumShards: int = ...,
    NumReplicasPerShard: int = ...,
    SubnetGroupName: str = ...,
    SecurityGroupIds: Sequence[str] = ...,
    MaintenanceWindow: str = ...,
    Port: int = ...,
    SnsTopicArn: str = ...,
    TLSEnabled: bool = ...,
    KmsKeyId: str = ...,
    SnapshotArns: Sequence[str] = ...,
    SnapshotName: str = ...,
    SnapshotRetentionLimit: int = ...,
    Tags: Sequence[TagTypeDef] = ...,  # (1)
    SnapshotWindow: str = ...,
    Engine: str = ...,
    EngineVersion: str = ...,
    AutoMinorVersionUpgrade: bool = ...,
    DataTiering: bool = ...,
    NetworkType: NetworkTypeType = ...,  # (2)
    IpDiscovery: IpDiscoveryType = ...,  # (3)
) -> CreateClusterResponseTypeDef:  # (4)
    ...- See Sequence[TagTypeDef]
- See NetworkTypeType
- See IpDiscoveryType
- See CreateClusterResponseTypeDef
# create_cluster method usage example with argument unpacking
kwargs: CreateClusterRequestTypeDef = {  # (1)
    "ClusterName": ...,
    "NodeType": ...,
    "ACLName": ...,
}
parent.create_cluster(**kwargs)create_multi_region_cluster#
Creates a new multi-Region cluster.
Type annotations and code completion for boto3.client("memorydb").create_multi_region_cluster method.
 boto3 documentation
# create_multi_region_cluster method definition
def create_multi_region_cluster(
    self,
    *,
    MultiRegionClusterNameSuffix: str,
    NodeType: str,
    Description: str = ...,
    Engine: str = ...,
    EngineVersion: str = ...,
    MultiRegionParameterGroupName: str = ...,
    NumShards: int = ...,
    TLSEnabled: bool = ...,
    Tags: Sequence[TagTypeDef] = ...,  # (1)
) -> CreateMultiRegionClusterResponseTypeDef:  # (2)
    ...- See Sequence[TagTypeDef]
- See CreateMultiRegionClusterResponseTypeDef
# create_multi_region_cluster method usage example with argument unpacking
kwargs: CreateMultiRegionClusterRequestTypeDef = {  # (1)
    "MultiRegionClusterNameSuffix": ...,
    "NodeType": ...,
}
parent.create_multi_region_cluster(**kwargs)create_parameter_group#
Creates a new MemoryDB parameter group.
Type annotations and code completion for boto3.client("memorydb").create_parameter_group method.
 boto3 documentation
# create_parameter_group method definition
def create_parameter_group(
    self,
    *,
    ParameterGroupName: str,
    Family: str,
    Description: str = ...,
    Tags: Sequence[TagTypeDef] = ...,  # (1)
) -> CreateParameterGroupResponseTypeDef:  # (2)
    ...- See Sequence[TagTypeDef]
- See CreateParameterGroupResponseTypeDef
# create_parameter_group method usage example with argument unpacking
kwargs: CreateParameterGroupRequestTypeDef = {  # (1)
    "ParameterGroupName": ...,
    "Family": ...,
}
parent.create_parameter_group(**kwargs)create_snapshot#
Creates a copy of an entire cluster at a specific moment in time.
Type annotations and code completion for boto3.client("memorydb").create_snapshot method.
 boto3 documentation
# create_snapshot method definition
def create_snapshot(
    self,
    *,
    ClusterName: str,
    SnapshotName: str,
    KmsKeyId: str = ...,
    Tags: Sequence[TagTypeDef] = ...,  # (1)
) -> CreateSnapshotResponseTypeDef:  # (2)
    ...- See Sequence[TagTypeDef]
- See CreateSnapshotResponseTypeDef
# create_snapshot method usage example with argument unpacking
kwargs: CreateSnapshotRequestTypeDef = {  # (1)
    "ClusterName": ...,
    "SnapshotName": ...,
}
parent.create_snapshot(**kwargs)create_subnet_group#
Creates a subnet group.
Type annotations and code completion for boto3.client("memorydb").create_subnet_group method.
 boto3 documentation
# create_subnet_group method definition
def create_subnet_group(
    self,
    *,
    SubnetGroupName: str,
    SubnetIds: Sequence[str],
    Description: str = ...,
    Tags: Sequence[TagTypeDef] = ...,  # (1)
) -> CreateSubnetGroupResponseTypeDef:  # (2)
    ...- See Sequence[TagTypeDef]
- See CreateSubnetGroupResponseTypeDef
# create_subnet_group method usage example with argument unpacking
kwargs: CreateSubnetGroupRequestTypeDef = {  # (1)
    "SubnetGroupName": ...,
    "SubnetIds": ...,
}
parent.create_subnet_group(**kwargs)create_user#
Creates a MemoryDB user.
Type annotations and code completion for boto3.client("memorydb").create_user method.
 boto3 documentation
# create_user method definition
def create_user(
    self,
    *,
    UserName: str,
    AuthenticationMode: AuthenticationModeTypeDef,  # (1)
    AccessString: str,
    Tags: Sequence[TagTypeDef] = ...,  # (2)
) -> CreateUserResponseTypeDef:  # (3)
    ...- See AuthenticationModeTypeDef
- See Sequence[TagTypeDef]
- See CreateUserResponseTypeDef
# create_user method usage example with argument unpacking
kwargs: CreateUserRequestTypeDef = {  # (1)
    "UserName": ...,
    "AuthenticationMode": ...,
    "AccessString": ...,
}
parent.create_user(**kwargs)delete_acl#
Deletes an Access Control List.
Type annotations and code completion for boto3.client("memorydb").delete_acl method.
 boto3 documentation
# delete_acl method definition
def delete_acl(
    self,
    *,
    ACLName: str,
) -> DeleteACLResponseTypeDef:  # (1)
    ...# delete_acl method usage example with argument unpacking
kwargs: DeleteACLRequestTypeDef = {  # (1)
    "ACLName": ...,
}
parent.delete_acl(**kwargs)delete_cluster#
Deletes a cluster.
Type annotations and code completion for boto3.client("memorydb").delete_cluster method.
 boto3 documentation
# delete_cluster method definition
def delete_cluster(
    self,
    *,
    ClusterName: str,
    MultiRegionClusterName: str = ...,
    FinalSnapshotName: str = ...,
) -> DeleteClusterResponseTypeDef:  # (1)
    ...# delete_cluster method usage example with argument unpacking
kwargs: DeleteClusterRequestTypeDef = {  # (1)
    "ClusterName": ...,
}
parent.delete_cluster(**kwargs)delete_multi_region_cluster#
Deletes an existing multi-Region cluster.
Type annotations and code completion for boto3.client("memorydb").delete_multi_region_cluster method.
 boto3 documentation
# delete_multi_region_cluster method definition
def delete_multi_region_cluster(
    self,
    *,
    MultiRegionClusterName: str,
) -> DeleteMultiRegionClusterResponseTypeDef:  # (1)
    ...# delete_multi_region_cluster method usage example with argument unpacking
kwargs: DeleteMultiRegionClusterRequestTypeDef = {  # (1)
    "MultiRegionClusterName": ...,
}
parent.delete_multi_region_cluster(**kwargs)delete_parameter_group#
Deletes the specified parameter group.
Type annotations and code completion for boto3.client("memorydb").delete_parameter_group method.
 boto3 documentation
# delete_parameter_group method definition
def delete_parameter_group(
    self,
    *,
    ParameterGroupName: str,
) -> DeleteParameterGroupResponseTypeDef:  # (1)
    ...# delete_parameter_group method usage example with argument unpacking
kwargs: DeleteParameterGroupRequestTypeDef = {  # (1)
    "ParameterGroupName": ...,
}
parent.delete_parameter_group(**kwargs)delete_snapshot#
Deletes an existing snapshot.
Type annotations and code completion for boto3.client("memorydb").delete_snapshot method.
 boto3 documentation
# delete_snapshot method definition
def delete_snapshot(
    self,
    *,
    SnapshotName: str,
) -> DeleteSnapshotResponseTypeDef:  # (1)
    ...# delete_snapshot method usage example with argument unpacking
kwargs: DeleteSnapshotRequestTypeDef = {  # (1)
    "SnapshotName": ...,
}
parent.delete_snapshot(**kwargs)delete_subnet_group#
Deletes a subnet group.
Type annotations and code completion for boto3.client("memorydb").delete_subnet_group method.
 boto3 documentation
# delete_subnet_group method definition
def delete_subnet_group(
    self,
    *,
    SubnetGroupName: str,
) -> DeleteSubnetGroupResponseTypeDef:  # (1)
    ...# delete_subnet_group method usage example with argument unpacking
kwargs: DeleteSubnetGroupRequestTypeDef = {  # (1)
    "SubnetGroupName": ...,
}
parent.delete_subnet_group(**kwargs)delete_user#
Deletes a user.
Type annotations and code completion for boto3.client("memorydb").delete_user method.
 boto3 documentation
# delete_user method definition
def delete_user(
    self,
    *,
    UserName: str,
) -> DeleteUserResponseTypeDef:  # (1)
    ...# delete_user method usage example with argument unpacking
kwargs: DeleteUserRequestTypeDef = {  # (1)
    "UserName": ...,
}
parent.delete_user(**kwargs)describe_acls#
Returns a list of ACLs.
Type annotations and code completion for boto3.client("memorydb").describe_acls method.
 boto3 documentation
# describe_acls method definition
def describe_acls(
    self,
    *,
    ACLName: str = ...,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> DescribeACLsResponseTypeDef:  # (1)
    ...# describe_acls method usage example with argument unpacking
kwargs: DescribeACLsRequestTypeDef = {  # (1)
    "ACLName": ...,
}
parent.describe_acls(**kwargs)describe_clusters#
Returns information about all provisioned clusters if no cluster identifier is specified, or about a specific cluster if a cluster name is supplied.
Type annotations and code completion for boto3.client("memorydb").describe_clusters method.
 boto3 documentation
# describe_clusters method definition
def describe_clusters(
    self,
    *,
    ClusterName: str = ...,
    MaxResults: int = ...,
    NextToken: str = ...,
    ShowShardDetails: bool = ...,
) -> DescribeClustersResponseTypeDef:  # (1)
    ...# describe_clusters method usage example with argument unpacking
kwargs: DescribeClustersRequestTypeDef = {  # (1)
    "ClusterName": ...,
}
parent.describe_clusters(**kwargs)describe_engine_versions#
Returns a list of the available Redis OSS engine versions.
Type annotations and code completion for boto3.client("memorydb").describe_engine_versions method.
 boto3 documentation
# describe_engine_versions method definition
def describe_engine_versions(
    self,
    *,
    Engine: str = ...,
    EngineVersion: str = ...,
    ParameterGroupFamily: str = ...,
    MaxResults: int = ...,
    NextToken: str = ...,
    DefaultOnly: bool = ...,
) -> DescribeEngineVersionsResponseTypeDef:  # (1)
    ...# describe_engine_versions method usage example with argument unpacking
kwargs: DescribeEngineVersionsRequestTypeDef = {  # (1)
    "Engine": ...,
}
parent.describe_engine_versions(**kwargs)describe_events#
Returns events related to clusters, security groups, and parameter groups.
Type annotations and code completion for boto3.client("memorydb").describe_events method.
 boto3 documentation
# describe_events method definition
def describe_events(
    self,
    *,
    SourceName: str = ...,
    SourceType: SourceTypeType = ...,  # (1)
    StartTime: TimestampTypeDef = ...,
    EndTime: TimestampTypeDef = ...,
    Duration: int = ...,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> DescribeEventsResponseTypeDef:  # (2)
    ...# describe_events method usage example with argument unpacking
kwargs: DescribeEventsRequestTypeDef = {  # (1)
    "SourceName": ...,
}
parent.describe_events(**kwargs)describe_multi_region_clusters#
Returns details about one or more multi-Region clusters.
Type annotations and code completion for boto3.client("memorydb").describe_multi_region_clusters method.
 boto3 documentation
# describe_multi_region_clusters method definition
def describe_multi_region_clusters(
    self,
    *,
    MultiRegionClusterName: str = ...,
    MaxResults: int = ...,
    NextToken: str = ...,
    ShowClusterDetails: bool = ...,
) -> DescribeMultiRegionClustersResponseTypeDef:  # (1)
    ...# describe_multi_region_clusters method usage example with argument unpacking
kwargs: DescribeMultiRegionClustersRequestTypeDef = {  # (1)
    "MultiRegionClusterName": ...,
}
parent.describe_multi_region_clusters(**kwargs)describe_multi_region_parameter_groups#
Returns a list of multi-region parameter groups.
Type annotations and code completion for boto3.client("memorydb").describe_multi_region_parameter_groups method.
 boto3 documentation
# describe_multi_region_parameter_groups method definition
def describe_multi_region_parameter_groups(
    self,
    *,
    MultiRegionParameterGroupName: str = ...,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> DescribeMultiRegionParameterGroupsResponseTypeDef:  # (1)
    ...# describe_multi_region_parameter_groups method usage example with argument unpacking
kwargs: DescribeMultiRegionParameterGroupsRequestTypeDef = {  # (1)
    "MultiRegionParameterGroupName": ...,
}
parent.describe_multi_region_parameter_groups(**kwargs)describe_multi_region_parameters#
Returns the detailed parameter list for a particular multi-region parameter group.
Type annotations and code completion for boto3.client("memorydb").describe_multi_region_parameters method.
 boto3 documentation
# describe_multi_region_parameters method definition
def describe_multi_region_parameters(
    self,
    *,
    MultiRegionParameterGroupName: str,
    Source: str = ...,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> DescribeMultiRegionParametersResponseTypeDef:  # (1)
    ...# describe_multi_region_parameters method usage example with argument unpacking
kwargs: DescribeMultiRegionParametersRequestTypeDef = {  # (1)
    "MultiRegionParameterGroupName": ...,
}
parent.describe_multi_region_parameters(**kwargs)describe_parameter_groups#
Returns a list of parameter group descriptions.
Type annotations and code completion for boto3.client("memorydb").describe_parameter_groups method.
 boto3 documentation
# describe_parameter_groups method definition
def describe_parameter_groups(
    self,
    *,
    ParameterGroupName: str = ...,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> DescribeParameterGroupsResponseTypeDef:  # (1)
    ...# describe_parameter_groups method usage example with argument unpacking
kwargs: DescribeParameterGroupsRequestTypeDef = {  # (1)
    "ParameterGroupName": ...,
}
parent.describe_parameter_groups(**kwargs)describe_parameters#
Returns the detailed parameter list for a particular parameter group.
Type annotations and code completion for boto3.client("memorydb").describe_parameters method.
 boto3 documentation
# describe_parameters method definition
def describe_parameters(
    self,
    *,
    ParameterGroupName: str,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> DescribeParametersResponseTypeDef:  # (1)
    ...# describe_parameters method usage example with argument unpacking
kwargs: DescribeParametersRequestTypeDef = {  # (1)
    "ParameterGroupName": ...,
}
parent.describe_parameters(**kwargs)describe_reserved_nodes#
Returns information about reserved nodes for this account, or about a specified reserved node.
Type annotations and code completion for boto3.client("memorydb").describe_reserved_nodes method.
 boto3 documentation
# describe_reserved_nodes method definition
def describe_reserved_nodes(
    self,
    *,
    ReservationId: str = ...,
    ReservedNodesOfferingId: str = ...,
    NodeType: str = ...,
    Duration: str = ...,
    OfferingType: str = ...,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> DescribeReservedNodesResponseTypeDef:  # (1)
    ...# describe_reserved_nodes method usage example with argument unpacking
kwargs: DescribeReservedNodesRequestTypeDef = {  # (1)
    "ReservationId": ...,
}
parent.describe_reserved_nodes(**kwargs)describe_reserved_nodes_offerings#
Lists available reserved node offerings.
Type annotations and code completion for boto3.client("memorydb").describe_reserved_nodes_offerings method.
 boto3 documentation
# describe_reserved_nodes_offerings method definition
def describe_reserved_nodes_offerings(
    self,
    *,
    ReservedNodesOfferingId: str = ...,
    NodeType: str = ...,
    Duration: str = ...,
    OfferingType: str = ...,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> DescribeReservedNodesOfferingsResponseTypeDef:  # (1)
    ...# describe_reserved_nodes_offerings method usage example with argument unpacking
kwargs: DescribeReservedNodesOfferingsRequestTypeDef = {  # (1)
    "ReservedNodesOfferingId": ...,
}
parent.describe_reserved_nodes_offerings(**kwargs)describe_service_updates#
Returns details of the service updates.
Type annotations and code completion for boto3.client("memorydb").describe_service_updates method.
 boto3 documentation
# describe_service_updates method definition
def describe_service_updates(
    self,
    *,
    ServiceUpdateName: str = ...,
    ClusterNames: Sequence[str] = ...,
    Status: Sequence[ServiceUpdateStatusType] = ...,  # (1)
    MaxResults: int = ...,
    NextToken: str = ...,
) -> DescribeServiceUpdatesResponseTypeDef:  # (2)
    ...- See Sequence[ServiceUpdateStatusType]
- See DescribeServiceUpdatesResponseTypeDef
# describe_service_updates method usage example with argument unpacking
kwargs: DescribeServiceUpdatesRequestTypeDef = {  # (1)
    "ServiceUpdateName": ...,
}
parent.describe_service_updates(**kwargs)describe_snapshots#
Returns information about cluster snapshots.
Type annotations and code completion for boto3.client("memorydb").describe_snapshots method.
 boto3 documentation
# describe_snapshots method definition
def describe_snapshots(
    self,
    *,
    ClusterName: str = ...,
    SnapshotName: str = ...,
    Source: str = ...,
    NextToken: str = ...,
    MaxResults: int = ...,
    ShowDetail: bool = ...,
) -> DescribeSnapshotsResponseTypeDef:  # (1)
    ...# describe_snapshots method usage example with argument unpacking
kwargs: DescribeSnapshotsRequestTypeDef = {  # (1)
    "ClusterName": ...,
}
parent.describe_snapshots(**kwargs)describe_subnet_groups#
Returns a list of subnet group descriptions.
Type annotations and code completion for boto3.client("memorydb").describe_subnet_groups method.
 boto3 documentation
# describe_subnet_groups method definition
def describe_subnet_groups(
    self,
    *,
    SubnetGroupName: str = ...,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> DescribeSubnetGroupsResponseTypeDef:  # (1)
    ...# describe_subnet_groups method usage example with argument unpacking
kwargs: DescribeSubnetGroupsRequestTypeDef = {  # (1)
    "SubnetGroupName": ...,
}
parent.describe_subnet_groups(**kwargs)describe_users#
Returns a list of users.
Type annotations and code completion for boto3.client("memorydb").describe_users method.
 boto3 documentation
# describe_users method definition
def describe_users(
    self,
    *,
    UserName: str = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    MaxResults: int = ...,
    NextToken: str = ...,
) -> DescribeUsersResponseTypeDef:  # (2)
    ...- See Sequence[FilterTypeDef]
- See DescribeUsersResponseTypeDef
# describe_users method usage example with argument unpacking
kwargs: DescribeUsersRequestTypeDef = {  # (1)
    "UserName": ...,
}
parent.describe_users(**kwargs)failover_shard#
Used to failover a shard.
Type annotations and code completion for boto3.client("memorydb").failover_shard method.
 boto3 documentation
# failover_shard method definition
def failover_shard(
    self,
    *,
    ClusterName: str,
    ShardName: str,
) -> FailoverShardResponseTypeDef:  # (1)
    ...# failover_shard method usage example with argument unpacking
kwargs: FailoverShardRequestTypeDef = {  # (1)
    "ClusterName": ...,
    "ShardName": ...,
}
parent.failover_shard(**kwargs)list_allowed_multi_region_cluster_updates#
Lists the allowed updates for a multi-Region cluster.
Type annotations and code completion for boto3.client("memorydb").list_allowed_multi_region_cluster_updates method.
 boto3 documentation
# list_allowed_multi_region_cluster_updates method definition
def list_allowed_multi_region_cluster_updates(
    self,
    *,
    MultiRegionClusterName: str,
) -> ListAllowedMultiRegionClusterUpdatesResponseTypeDef:  # (1)
    ...# list_allowed_multi_region_cluster_updates method usage example with argument unpacking
kwargs: ListAllowedMultiRegionClusterUpdatesRequestTypeDef = {  # (1)
    "MultiRegionClusterName": ...,
}
parent.list_allowed_multi_region_cluster_updates(**kwargs)list_allowed_node_type_updates#
Lists all available node types that you can scale to from your cluster's current node type.
Type annotations and code completion for boto3.client("memorydb").list_allowed_node_type_updates method.
 boto3 documentation
# list_allowed_node_type_updates method definition
def list_allowed_node_type_updates(
    self,
    *,
    ClusterName: str,
) -> ListAllowedNodeTypeUpdatesResponseTypeDef:  # (1)
    ...# list_allowed_node_type_updates method usage example with argument unpacking
kwargs: ListAllowedNodeTypeUpdatesRequestTypeDef = {  # (1)
    "ClusterName": ...,
}
parent.list_allowed_node_type_updates(**kwargs)list_tags#
Lists all tags currently on a named resource.
Type annotations and code completion for boto3.client("memorydb").list_tags method.
 boto3 documentation
# list_tags method definition
def list_tags(
    self,
    *,
    ResourceArn: str,
) -> ListTagsResponseTypeDef:  # (1)
    ...# list_tags method usage example with argument unpacking
kwargs: ListTagsRequestTypeDef = {  # (1)
    "ResourceArn": ...,
}
parent.list_tags(**kwargs)purchase_reserved_nodes_offering#
Allows you to purchase a reserved node offering.
Type annotations and code completion for boto3.client("memorydb").purchase_reserved_nodes_offering method.
 boto3 documentation
# purchase_reserved_nodes_offering method definition
def purchase_reserved_nodes_offering(
    self,
    *,
    ReservedNodesOfferingId: str,
    ReservationId: str = ...,
    NodeCount: int = ...,
    Tags: Sequence[TagTypeDef] = ...,  # (1)
) -> PurchaseReservedNodesOfferingResponseTypeDef:  # (2)
    ...- See Sequence[TagTypeDef]
- See PurchaseReservedNodesOfferingResponseTypeDef
# purchase_reserved_nodes_offering method usage example with argument unpacking
kwargs: PurchaseReservedNodesOfferingRequestTypeDef = {  # (1)
    "ReservedNodesOfferingId": ...,
}
parent.purchase_reserved_nodes_offering(**kwargs)reset_parameter_group#
Modifies the parameters of a parameter group to the engine or system default value.
Type annotations and code completion for boto3.client("memorydb").reset_parameter_group method.
 boto3 documentation
# reset_parameter_group method definition
def reset_parameter_group(
    self,
    *,
    ParameterGroupName: str,
    AllParameters: bool = ...,
    ParameterNames: Sequence[str] = ...,
) -> ResetParameterGroupResponseTypeDef:  # (1)
    ...# reset_parameter_group method usage example with argument unpacking
kwargs: ResetParameterGroupRequestTypeDef = {  # (1)
    "ParameterGroupName": ...,
}
parent.reset_parameter_group(**kwargs)tag_resource#
Use this operation to add tags to a resource.
Type annotations and code completion for boto3.client("memorydb").tag_resource method.
 boto3 documentation
# tag_resource method definition
def tag_resource(
    self,
    *,
    ResourceArn: str,
    Tags: Sequence[TagTypeDef],  # (1)
) -> TagResourceResponseTypeDef:  # (2)
    ...- See Sequence[TagTypeDef]
- See TagResourceResponseTypeDef
# tag_resource method usage example with argument unpacking
kwargs: TagResourceRequestTypeDef = {  # (1)
    "ResourceArn": ...,
    "Tags": ...,
}
parent.tag_resource(**kwargs)untag_resource#
Use this operation to remove tags on a resource.
Type annotations and code completion for boto3.client("memorydb").untag_resource method.
 boto3 documentation
# untag_resource method definition
def untag_resource(
    self,
    *,
    ResourceArn: str,
    TagKeys: Sequence[str],
) -> UntagResourceResponseTypeDef:  # (1)
    ...# untag_resource method usage example with argument unpacking
kwargs: UntagResourceRequestTypeDef = {  # (1)
    "ResourceArn": ...,
    "TagKeys": ...,
}
parent.untag_resource(**kwargs)update_acl#
Changes the list of users that belong to the Access Control List.
Type annotations and code completion for boto3.client("memorydb").update_acl method.
 boto3 documentation
# update_acl method definition
def update_acl(
    self,
    *,
    ACLName: str,
    UserNamesToAdd: Sequence[str] = ...,
    UserNamesToRemove: Sequence[str] = ...,
) -> UpdateACLResponseTypeDef:  # (1)
    ...# update_acl method usage example with argument unpacking
kwargs: UpdateACLRequestTypeDef = {  # (1)
    "ACLName": ...,
}
parent.update_acl(**kwargs)update_cluster#
Modifies the settings for a cluster.
Type annotations and code completion for boto3.client("memorydb").update_cluster method.
 boto3 documentation
# update_cluster method definition
def update_cluster(
    self,
    *,
    ClusterName: str,
    Description: str = ...,
    SecurityGroupIds: Sequence[str] = ...,
    MaintenanceWindow: str = ...,
    SnsTopicArn: str = ...,
    SnsTopicStatus: str = ...,
    ParameterGroupName: str = ...,
    SnapshotWindow: str = ...,
    SnapshotRetentionLimit: int = ...,
    NodeType: str = ...,
    Engine: str = ...,
    EngineVersion: str = ...,
    ReplicaConfiguration: ReplicaConfigurationRequestTypeDef = ...,  # (1)
    ShardConfiguration: ShardConfigurationRequestTypeDef = ...,  # (2)
    ACLName: str = ...,
    IpDiscovery: IpDiscoveryType = ...,  # (3)
) -> UpdateClusterResponseTypeDef:  # (4)
    ...- See ReplicaConfigurationRequestTypeDef
- See ShardConfigurationRequestTypeDef
- See IpDiscoveryType
- See UpdateClusterResponseTypeDef
# update_cluster method usage example with argument unpacking
kwargs: UpdateClusterRequestTypeDef = {  # (1)
    "ClusterName": ...,
}
parent.update_cluster(**kwargs)update_multi_region_cluster#
Updates the configuration of an existing multi-Region cluster.
Type annotations and code completion for boto3.client("memorydb").update_multi_region_cluster method.
 boto3 documentation
# update_multi_region_cluster method definition
def update_multi_region_cluster(
    self,
    *,
    MultiRegionClusterName: str,
    NodeType: str = ...,
    Description: str = ...,
    EngineVersion: str = ...,
    ShardConfiguration: ShardConfigurationRequestTypeDef = ...,  # (1)
    MultiRegionParameterGroupName: str = ...,
    UpdateStrategy: UpdateStrategyType = ...,  # (2)
) -> UpdateMultiRegionClusterResponseTypeDef:  # (3)
    ...- See ShardConfigurationRequestTypeDef
- See UpdateStrategyType
- See UpdateMultiRegionClusterResponseTypeDef
# update_multi_region_cluster method usage example with argument unpacking
kwargs: UpdateMultiRegionClusterRequestTypeDef = {  # (1)
    "MultiRegionClusterName": ...,
}
parent.update_multi_region_cluster(**kwargs)update_parameter_group#
Updates the parameters of a parameter group.
Type annotations and code completion for boto3.client("memorydb").update_parameter_group method.
 boto3 documentation
# update_parameter_group method definition
def update_parameter_group(
    self,
    *,
    ParameterGroupName: str,
    ParameterNameValues: Sequence[ParameterNameValueTypeDef],  # (1)
) -> UpdateParameterGroupResponseTypeDef:  # (2)
    ...- See Sequence[ParameterNameValueTypeDef]
- See UpdateParameterGroupResponseTypeDef
# update_parameter_group method usage example with argument unpacking
kwargs: UpdateParameterGroupRequestTypeDef = {  # (1)
    "ParameterGroupName": ...,
    "ParameterNameValues": ...,
}
parent.update_parameter_group(**kwargs)update_subnet_group#
Updates a subnet group.
Type annotations and code completion for boto3.client("memorydb").update_subnet_group method.
 boto3 documentation
# update_subnet_group method definition
def update_subnet_group(
    self,
    *,
    SubnetGroupName: str,
    Description: str = ...,
    SubnetIds: Sequence[str] = ...,
) -> UpdateSubnetGroupResponseTypeDef:  # (1)
    ...# update_subnet_group method usage example with argument unpacking
kwargs: UpdateSubnetGroupRequestTypeDef = {  # (1)
    "SubnetGroupName": ...,
}
parent.update_subnet_group(**kwargs)update_user#
Changes user password(s) and/or access string.
Type annotations and code completion for boto3.client("memorydb").update_user method.
 boto3 documentation
# update_user method definition
def update_user(
    self,
    *,
    UserName: str,
    AuthenticationMode: AuthenticationModeTypeDef = ...,  # (1)
    AccessString: str = ...,
) -> UpdateUserResponseTypeDef:  # (2)
    ...# update_user method usage example with argument unpacking
kwargs: UpdateUserRequestTypeDef = {  # (1)
    "UserName": ...,
}
parent.update_user(**kwargs)get_paginator#
Type annotations and code completion for boto3.client("memorydb").get_paginator method with overloads.
- client.get_paginator("describe_acls")-> DescribeACLsPaginator
- client.get_paginator("describe_clusters")-> DescribeClustersPaginator
- client.get_paginator("describe_engine_versions")-> DescribeEngineVersionsPaginator
- client.get_paginator("describe_events")-> DescribeEventsPaginator
- client.get_paginator("describe_multi_region_clusters")-> DescribeMultiRegionClustersPaginator
- client.get_paginator("describe_parameter_groups")-> DescribeParameterGroupsPaginator
- client.get_paginator("describe_parameters")-> DescribeParametersPaginator
- client.get_paginator("describe_reserved_nodes_offerings")-> DescribeReservedNodesOfferingsPaginator
- client.get_paginator("describe_reserved_nodes")-> DescribeReservedNodesPaginator
- client.get_paginator("describe_service_updates")-> DescribeServiceUpdatesPaginator
- client.get_paginator("describe_snapshots")-> DescribeSnapshotsPaginator
- client.get_paginator("describe_subnet_groups")-> DescribeSubnetGroupsPaginator
- client.get_paginator("describe_users")-> DescribeUsersPaginator