Skip to content

Typed dictionaries

Index > MemoryDB > Typed dictionaries

Auto-generated documentation for MemoryDB type annotations stubs module mypy-boto3-memorydb.

ACLPendingChangesTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import ACLPendingChangesTypeDef

def get_value() -> ACLPendingChangesTypeDef:
    return {
        "UserNamesToRemove": ...,
    }
Definition
class ACLPendingChangesTypeDef(TypedDict):
    UserNamesToRemove: NotRequired[List[str]],
    UserNamesToAdd: NotRequired[List[str]],

ACLsUpdateStatusTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import ACLsUpdateStatusTypeDef

def get_value() -> ACLsUpdateStatusTypeDef:
    return {
        "ACLToApply": ...,
    }
Definition
class ACLsUpdateStatusTypeDef(TypedDict):
    ACLToApply: NotRequired[str],

AuthenticationModeTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import AuthenticationModeTypeDef

def get_value() -> AuthenticationModeTypeDef:
    return {
        "Type": ...,
    }
Definition
class AuthenticationModeTypeDef(TypedDict):
    Type: NotRequired[InputAuthenticationTypeType],  # (1)
    Passwords: NotRequired[Sequence[str]],
  1. See InputAuthenticationTypeType

AuthenticationTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import AuthenticationTypeDef

def get_value() -> AuthenticationTypeDef:
    return {
        "Type": ...,
    }
Definition
class AuthenticationTypeDef(TypedDict):
    Type: NotRequired[AuthenticationTypeType],  # (1)
    PasswordCount: NotRequired[int],
  1. See AuthenticationTypeType

AvailabilityZoneTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import AvailabilityZoneTypeDef

def get_value() -> AvailabilityZoneTypeDef:
    return {
        "Name": ...,
    }
Definition
class AvailabilityZoneTypeDef(TypedDict):
    Name: NotRequired[str],

ServiceUpdateRequestTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import ServiceUpdateRequestTypeDef

def get_value() -> ServiceUpdateRequestTypeDef:
    return {
        "ServiceUpdateNameToApply": ...,
    }
Definition
class ServiceUpdateRequestTypeDef(TypedDict):
    ServiceUpdateNameToApply: NotRequired[str],

ResponseMetadataTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import ResponseMetadataTypeDef

def get_value() -> ResponseMetadataTypeDef:
    return {
        "RequestId": ...,
        "HostId": ...,
        "HTTPStatusCode": ...,
        "HTTPHeaders": ...,
        "RetryAttempts": ...,
    }
Definition
class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HostId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,

UnprocessedClusterTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import UnprocessedClusterTypeDef

def get_value() -> UnprocessedClusterTypeDef:
    return {
        "ClusterName": ...,
    }
Definition
class UnprocessedClusterTypeDef(TypedDict):
    ClusterName: NotRequired[str],
    ErrorType: NotRequired[str],
    ErrorMessage: NotRequired[str],

PendingModifiedServiceUpdateTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import PendingModifiedServiceUpdateTypeDef

def get_value() -> PendingModifiedServiceUpdateTypeDef:
    return {
        "ServiceUpdateName": ...,
    }
Definition
class PendingModifiedServiceUpdateTypeDef(TypedDict):
    ServiceUpdateName: NotRequired[str],
    Status: NotRequired[ServiceUpdateStatusType],  # (1)
  1. See ServiceUpdateStatusType

EndpointTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import EndpointTypeDef

def get_value() -> EndpointTypeDef:
    return {
        "Address": ...,
    }
Definition
class EndpointTypeDef(TypedDict):
    Address: NotRequired[str],
    Port: NotRequired[int],

SecurityGroupMembershipTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import SecurityGroupMembershipTypeDef

def get_value() -> SecurityGroupMembershipTypeDef:
    return {
        "SecurityGroupId": ...,
    }
Definition
class SecurityGroupMembershipTypeDef(TypedDict):
    SecurityGroupId: NotRequired[str],
    Status: NotRequired[str],

TagTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import TagTypeDef

def get_value() -> TagTypeDef:
    return {
        "Key": ...,
    }
Definition
class TagTypeDef(TypedDict):
    Key: NotRequired[str],
    Value: NotRequired[str],

ParameterGroupTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import ParameterGroupTypeDef

def get_value() -> ParameterGroupTypeDef:
    return {
        "Name": ...,
    }
Definition
class ParameterGroupTypeDef(TypedDict):
    Name: NotRequired[str],
    Family: NotRequired[str],
    Description: NotRequired[str],
    ARN: NotRequired[str],

DeleteACLRequestRequestTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import DeleteACLRequestRequestTypeDef

def get_value() -> DeleteACLRequestRequestTypeDef:
    return {
        "ACLName": ...,
    }
Definition
class DeleteACLRequestRequestTypeDef(TypedDict):
    ACLName: str,

DeleteClusterRequestRequestTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import DeleteClusterRequestRequestTypeDef

def get_value() -> DeleteClusterRequestRequestTypeDef:
    return {
        "ClusterName": ...,
    }
Definition
class DeleteClusterRequestRequestTypeDef(TypedDict):
    ClusterName: str,
    FinalSnapshotName: NotRequired[str],

DeleteParameterGroupRequestRequestTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import DeleteParameterGroupRequestRequestTypeDef

def get_value() -> DeleteParameterGroupRequestRequestTypeDef:
    return {
        "ParameterGroupName": ...,
    }
Definition
class DeleteParameterGroupRequestRequestTypeDef(TypedDict):
    ParameterGroupName: str,

DeleteSnapshotRequestRequestTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import DeleteSnapshotRequestRequestTypeDef

def get_value() -> DeleteSnapshotRequestRequestTypeDef:
    return {
        "SnapshotName": ...,
    }
Definition
class DeleteSnapshotRequestRequestTypeDef(TypedDict):
    SnapshotName: str,

DeleteSubnetGroupRequestRequestTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import DeleteSubnetGroupRequestRequestTypeDef

def get_value() -> DeleteSubnetGroupRequestRequestTypeDef:
    return {
        "SubnetGroupName": ...,
    }
Definition
class DeleteSubnetGroupRequestRequestTypeDef(TypedDict):
    SubnetGroupName: str,

DeleteUserRequestRequestTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import DeleteUserRequestRequestTypeDef

def get_value() -> DeleteUserRequestRequestTypeDef:
    return {
        "UserName": ...,
    }
Definition
class DeleteUserRequestRequestTypeDef(TypedDict):
    UserName: str,

DescribeACLsRequestRequestTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import DescribeACLsRequestRequestTypeDef

def get_value() -> DescribeACLsRequestRequestTypeDef:
    return {
        "ACLName": ...,
    }
Definition
class DescribeACLsRequestRequestTypeDef(TypedDict):
    ACLName: NotRequired[str],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

DescribeClustersRequestRequestTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import DescribeClustersRequestRequestTypeDef

def get_value() -> DescribeClustersRequestRequestTypeDef:
    return {
        "ClusterName": ...,
    }
Definition
class DescribeClustersRequestRequestTypeDef(TypedDict):
    ClusterName: NotRequired[str],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    ShowShardDetails: NotRequired[bool],

DescribeEngineVersionsRequestRequestTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import DescribeEngineVersionsRequestRequestTypeDef

def get_value() -> DescribeEngineVersionsRequestRequestTypeDef:
    return {
        "EngineVersion": ...,
    }
Definition
class DescribeEngineVersionsRequestRequestTypeDef(TypedDict):
    EngineVersion: NotRequired[str],
    ParameterGroupFamily: NotRequired[str],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    DefaultOnly: NotRequired[bool],

EngineVersionInfoTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import EngineVersionInfoTypeDef

def get_value() -> EngineVersionInfoTypeDef:
    return {
        "EngineVersion": ...,
    }
Definition
class EngineVersionInfoTypeDef(TypedDict):
    EngineVersion: NotRequired[str],
    EnginePatchVersion: NotRequired[str],
    ParameterGroupFamily: NotRequired[str],

DescribeEventsRequestRequestTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import DescribeEventsRequestRequestTypeDef

def get_value() -> DescribeEventsRequestRequestTypeDef:
    return {
        "SourceName": ...,
    }
Definition
class DescribeEventsRequestRequestTypeDef(TypedDict):
    SourceName: NotRequired[str],
    SourceType: NotRequired[SourceTypeType],  # (1)
    StartTime: NotRequired[Union[datetime, str]],
    EndTime: NotRequired[Union[datetime, str]],
    Duration: NotRequired[int],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
  1. See SourceTypeType

EventTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import EventTypeDef

def get_value() -> EventTypeDef:
    return {
        "SourceName": ...,
    }
Definition
class EventTypeDef(TypedDict):
    SourceName: NotRequired[str],
    SourceType: NotRequired[SourceTypeType],  # (1)
    Message: NotRequired[str],
    Date: NotRequired[datetime],
  1. See SourceTypeType

DescribeParameterGroupsRequestRequestTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import DescribeParameterGroupsRequestRequestTypeDef

def get_value() -> DescribeParameterGroupsRequestRequestTypeDef:
    return {
        "ParameterGroupName": ...,
    }
Definition
class DescribeParameterGroupsRequestRequestTypeDef(TypedDict):
    ParameterGroupName: NotRequired[str],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

DescribeParametersRequestRequestTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import DescribeParametersRequestRequestTypeDef

def get_value() -> DescribeParametersRequestRequestTypeDef:
    return {
        "ParameterGroupName": ...,
    }
Definition
class DescribeParametersRequestRequestTypeDef(TypedDict):
    ParameterGroupName: str,
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ParameterTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import ParameterTypeDef

def get_value() -> ParameterTypeDef:
    return {
        "Name": ...,
    }
Definition
class ParameterTypeDef(TypedDict):
    Name: NotRequired[str],
    Value: NotRequired[str],
    Description: NotRequired[str],
    DataType: NotRequired[str],
    AllowedValues: NotRequired[str],
    MinimumEngineVersion: NotRequired[str],

DescribeServiceUpdatesRequestRequestTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import DescribeServiceUpdatesRequestRequestTypeDef

def get_value() -> DescribeServiceUpdatesRequestRequestTypeDef:
    return {
        "ServiceUpdateName": ...,
    }
Definition
class DescribeServiceUpdatesRequestRequestTypeDef(TypedDict):
    ServiceUpdateName: NotRequired[str],
    ClusterNames: NotRequired[Sequence[str]],
    Status: NotRequired[Sequence[ServiceUpdateStatusType]],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
  1. See ServiceUpdateStatusType

ServiceUpdateTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import ServiceUpdateTypeDef

def get_value() -> ServiceUpdateTypeDef:
    return {
        "ClusterName": ...,
    }
Definition
class ServiceUpdateTypeDef(TypedDict):
    ClusterName: NotRequired[str],
    ServiceUpdateName: NotRequired[str],
    ReleaseDate: NotRequired[datetime],
    Description: NotRequired[str],
    Status: NotRequired[ServiceUpdateStatusType],  # (1)
    Type: NotRequired[ServiceUpdateTypeType],  # (2)
    NodesUpdated: NotRequired[str],
    AutoUpdateStartDate: NotRequired[datetime],
  1. See ServiceUpdateStatusType
  2. See ServiceUpdateTypeType

DescribeSnapshotsRequestRequestTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import DescribeSnapshotsRequestRequestTypeDef

def get_value() -> DescribeSnapshotsRequestRequestTypeDef:
    return {
        "ClusterName": ...,
    }
Definition
class DescribeSnapshotsRequestRequestTypeDef(TypedDict):
    ClusterName: NotRequired[str],
    SnapshotName: NotRequired[str],
    Source: NotRequired[str],
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
    ShowDetail: NotRequired[bool],

DescribeSubnetGroupsRequestRequestTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import DescribeSubnetGroupsRequestRequestTypeDef

def get_value() -> DescribeSubnetGroupsRequestRequestTypeDef:
    return {
        "SubnetGroupName": ...,
    }
Definition
class DescribeSubnetGroupsRequestRequestTypeDef(TypedDict):
    SubnetGroupName: NotRequired[str],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

FilterTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import FilterTypeDef

def get_value() -> FilterTypeDef:
    return {
        "Name": ...,
        "Values": ...,
    }
Definition
class FilterTypeDef(TypedDict):
    Name: str,
    Values: Sequence[str],

FailoverShardRequestRequestTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import FailoverShardRequestRequestTypeDef

def get_value() -> FailoverShardRequestRequestTypeDef:
    return {
        "ClusterName": ...,
        "ShardName": ...,
    }
Definition
class FailoverShardRequestRequestTypeDef(TypedDict):
    ClusterName: str,
    ShardName: str,

ListAllowedNodeTypeUpdatesRequestRequestTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import ListAllowedNodeTypeUpdatesRequestRequestTypeDef

def get_value() -> ListAllowedNodeTypeUpdatesRequestRequestTypeDef:
    return {
        "ClusterName": ...,
    }
Definition
class ListAllowedNodeTypeUpdatesRequestRequestTypeDef(TypedDict):
    ClusterName: str,

ListTagsRequestRequestTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import ListTagsRequestRequestTypeDef

def get_value() -> ListTagsRequestRequestTypeDef:
    return {
        "ResourceArn": ...,
    }
Definition
class ListTagsRequestRequestTypeDef(TypedDict):
    ResourceArn: str,

ParameterNameValueTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import ParameterNameValueTypeDef

def get_value() -> ParameterNameValueTypeDef:
    return {
        "ParameterName": ...,
    }
Definition
class ParameterNameValueTypeDef(TypedDict):
    ParameterName: NotRequired[str],
    ParameterValue: NotRequired[str],

ReplicaConfigurationRequestTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import ReplicaConfigurationRequestTypeDef

def get_value() -> ReplicaConfigurationRequestTypeDef:
    return {
        "ReplicaCount": ...,
    }
Definition
class ReplicaConfigurationRequestTypeDef(TypedDict):
    ReplicaCount: NotRequired[int],

ResetParameterGroupRequestRequestTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import ResetParameterGroupRequestRequestTypeDef

def get_value() -> ResetParameterGroupRequestRequestTypeDef:
    return {
        "ParameterGroupName": ...,
    }
Definition
class ResetParameterGroupRequestRequestTypeDef(TypedDict):
    ParameterGroupName: str,
    AllParameters: NotRequired[bool],
    ParameterNames: NotRequired[Sequence[str]],

SlotMigrationTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import SlotMigrationTypeDef

def get_value() -> SlotMigrationTypeDef:
    return {
        "ProgressPercentage": ...,
    }
Definition
class SlotMigrationTypeDef(TypedDict):
    ProgressPercentage: NotRequired[float],

ShardConfigurationRequestTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import ShardConfigurationRequestTypeDef

def get_value() -> ShardConfigurationRequestTypeDef:
    return {
        "ShardCount": ...,
    }
Definition
class ShardConfigurationRequestTypeDef(TypedDict):
    ShardCount: NotRequired[int],

ShardConfigurationTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import ShardConfigurationTypeDef

def get_value() -> ShardConfigurationTypeDef:
    return {
        "Slots": ...,
    }
Definition
class ShardConfigurationTypeDef(TypedDict):
    Slots: NotRequired[str],
    ReplicaCount: NotRequired[int],

UntagResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import UntagResourceRequestRequestTypeDef

def get_value() -> UntagResourceRequestRequestTypeDef:
    return {
        "ResourceArn": ...,
        "TagKeys": ...,
    }
Definition
class UntagResourceRequestRequestTypeDef(TypedDict):
    ResourceArn: str,
    TagKeys: Sequence[str],

UpdateACLRequestRequestTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import UpdateACLRequestRequestTypeDef

def get_value() -> UpdateACLRequestRequestTypeDef:
    return {
        "ACLName": ...,
    }
Definition
class UpdateACLRequestRequestTypeDef(TypedDict):
    ACLName: str,
    UserNamesToAdd: NotRequired[Sequence[str]],
    UserNamesToRemove: NotRequired[Sequence[str]],

UpdateSubnetGroupRequestRequestTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import UpdateSubnetGroupRequestRequestTypeDef

def get_value() -> UpdateSubnetGroupRequestRequestTypeDef:
    return {
        "SubnetGroupName": ...,
    }
Definition
class UpdateSubnetGroupRequestRequestTypeDef(TypedDict):
    SubnetGroupName: str,
    Description: NotRequired[str],
    SubnetIds: NotRequired[Sequence[str]],

ACLTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import ACLTypeDef

def get_value() -> ACLTypeDef:
    return {
        "Name": ...,
    }
Definition
class ACLTypeDef(TypedDict):
    Name: NotRequired[str],
    Status: NotRequired[str],
    UserNames: NotRequired[List[str]],
    MinimumEngineVersion: NotRequired[str],
    PendingChanges: NotRequired[ACLPendingChangesTypeDef],  # (1)
    Clusters: NotRequired[List[str]],
    ARN: NotRequired[str],
  1. See ACLPendingChangesTypeDef

UpdateUserRequestRequestTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import UpdateUserRequestRequestTypeDef

def get_value() -> UpdateUserRequestRequestTypeDef:
    return {
        "UserName": ...,
    }
Definition
class UpdateUserRequestRequestTypeDef(TypedDict):
    UserName: str,
    AuthenticationMode: NotRequired[AuthenticationModeTypeDef],  # (1)
    AccessString: NotRequired[str],
  1. See AuthenticationModeTypeDef

UserTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import UserTypeDef

def get_value() -> UserTypeDef:
    return {
        "Name": ...,
    }
Definition
class UserTypeDef(TypedDict):
    Name: NotRequired[str],
    Status: NotRequired[str],
    AccessString: NotRequired[str],
    ACLNames: NotRequired[List[str]],
    MinimumEngineVersion: NotRequired[str],
    Authentication: NotRequired[AuthenticationTypeDef],  # (1)
    ARN: NotRequired[str],
  1. See AuthenticationTypeDef

SubnetTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import SubnetTypeDef

def get_value() -> SubnetTypeDef:
    return {
        "Identifier": ...,
    }
Definition
class SubnetTypeDef(TypedDict):
    Identifier: NotRequired[str],
    AvailabilityZone: NotRequired[AvailabilityZoneTypeDef],  # (1)
  1. See AvailabilityZoneTypeDef

BatchUpdateClusterRequestRequestTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import BatchUpdateClusterRequestRequestTypeDef

def get_value() -> BatchUpdateClusterRequestRequestTypeDef:
    return {
        "ClusterNames": ...,
    }
Definition
class BatchUpdateClusterRequestRequestTypeDef(TypedDict):
    ClusterNames: Sequence[str],
    ServiceUpdate: NotRequired[ServiceUpdateRequestTypeDef],  # (1)
  1. See ServiceUpdateRequestTypeDef

ListAllowedNodeTypeUpdatesResponseTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import ListAllowedNodeTypeUpdatesResponseTypeDef

def get_value() -> ListAllowedNodeTypeUpdatesResponseTypeDef:
    return {
        "ScaleUpNodeTypes": ...,
        "ScaleDownNodeTypes": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListAllowedNodeTypeUpdatesResponseTypeDef(TypedDict):
    ScaleUpNodeTypes: List[str],
    ScaleDownNodeTypes: List[str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

NodeTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import NodeTypeDef

def get_value() -> NodeTypeDef:
    return {
        "Name": ...,
    }
Definition
class NodeTypeDef(TypedDict):
    Name: NotRequired[str],
    Status: NotRequired[str],
    AvailabilityZone: NotRequired[str],
    CreateTime: NotRequired[datetime],
    Endpoint: NotRequired[EndpointTypeDef],  # (1)
  1. See EndpointTypeDef

CopySnapshotRequestRequestTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import CopySnapshotRequestRequestTypeDef

def get_value() -> CopySnapshotRequestRequestTypeDef:
    return {
        "SourceSnapshotName": ...,
        "TargetSnapshotName": ...,
    }
Definition
class CopySnapshotRequestRequestTypeDef(TypedDict):
    SourceSnapshotName: str,
    TargetSnapshotName: str,
    TargetBucket: NotRequired[str],
    KmsKeyId: NotRequired[str],
    Tags: NotRequired[Sequence[TagTypeDef]],  # (1)
  1. See TagTypeDef

CreateACLRequestRequestTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import CreateACLRequestRequestTypeDef

def get_value() -> CreateACLRequestRequestTypeDef:
    return {
        "ACLName": ...,
    }
Definition
class CreateACLRequestRequestTypeDef(TypedDict):
    ACLName: str,
    UserNames: NotRequired[Sequence[str]],
    Tags: NotRequired[Sequence[TagTypeDef]],  # (1)
  1. See TagTypeDef

CreateClusterRequestRequestTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import CreateClusterRequestRequestTypeDef

def get_value() -> CreateClusterRequestRequestTypeDef:
    return {
        "ClusterName": ...,
        "NodeType": ...,
        "ACLName": ...,
    }
Definition
class CreateClusterRequestRequestTypeDef(TypedDict):
    ClusterName: str,
    NodeType: str,
    ACLName: str,
    ParameterGroupName: NotRequired[str],
    Description: NotRequired[str],
    NumShards: NotRequired[int],
    NumReplicasPerShard: NotRequired[int],
    SubnetGroupName: NotRequired[str],
    SecurityGroupIds: NotRequired[Sequence[str]],
    MaintenanceWindow: NotRequired[str],
    Port: NotRequired[int],
    SnsTopicArn: NotRequired[str],
    TLSEnabled: NotRequired[bool],
    KmsKeyId: NotRequired[str],
    SnapshotArns: NotRequired[Sequence[str]],
    SnapshotName: NotRequired[str],
    SnapshotRetentionLimit: NotRequired[int],
    Tags: NotRequired[Sequence[TagTypeDef]],  # (1)
    SnapshotWindow: NotRequired[str],
    EngineVersion: NotRequired[str],
    AutoMinorVersionUpgrade: NotRequired[bool],
  1. See TagTypeDef

CreateParameterGroupRequestRequestTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import CreateParameterGroupRequestRequestTypeDef

def get_value() -> CreateParameterGroupRequestRequestTypeDef:
    return {
        "ParameterGroupName": ...,
        "Family": ...,
    }
Definition
class CreateParameterGroupRequestRequestTypeDef(TypedDict):
    ParameterGroupName: str,
    Family: str,
    Description: NotRequired[str],
    Tags: NotRequired[Sequence[TagTypeDef]],  # (1)
  1. See TagTypeDef

CreateSnapshotRequestRequestTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import CreateSnapshotRequestRequestTypeDef

def get_value() -> CreateSnapshotRequestRequestTypeDef:
    return {
        "ClusterName": ...,
        "SnapshotName": ...,
    }
Definition
class CreateSnapshotRequestRequestTypeDef(TypedDict):
    ClusterName: str,
    SnapshotName: str,
    KmsKeyId: NotRequired[str],
    Tags: NotRequired[Sequence[TagTypeDef]],  # (1)
  1. See TagTypeDef

CreateSubnetGroupRequestRequestTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import CreateSubnetGroupRequestRequestTypeDef

def get_value() -> CreateSubnetGroupRequestRequestTypeDef:
    return {
        "SubnetGroupName": ...,
        "SubnetIds": ...,
    }
Definition
class CreateSubnetGroupRequestRequestTypeDef(TypedDict):
    SubnetGroupName: str,
    SubnetIds: Sequence[str],
    Description: NotRequired[str],
    Tags: NotRequired[Sequence[TagTypeDef]],  # (1)
  1. See TagTypeDef

CreateUserRequestRequestTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import CreateUserRequestRequestTypeDef

def get_value() -> CreateUserRequestRequestTypeDef:
    return {
        "UserName": ...,
        "AuthenticationMode": ...,
        "AccessString": ...,
    }
Definition
class CreateUserRequestRequestTypeDef(TypedDict):
    UserName: str,
    AuthenticationMode: AuthenticationModeTypeDef,  # (1)
    AccessString: str,
    Tags: NotRequired[Sequence[TagTypeDef]],  # (2)
  1. See AuthenticationModeTypeDef
  2. See TagTypeDef

ListTagsResponseTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import ListTagsResponseTypeDef

def get_value() -> ListTagsResponseTypeDef:
    return {
        "TagList": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListTagsResponseTypeDef(TypedDict):
    TagList: List[TagTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TagTypeDef
  2. See ResponseMetadataTypeDef

TagResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import TagResourceRequestRequestTypeDef

def get_value() -> TagResourceRequestRequestTypeDef:
    return {
        "ResourceArn": ...,
        "Tags": ...,
    }
Definition
class TagResourceRequestRequestTypeDef(TypedDict):
    ResourceArn: str,
    Tags: Sequence[TagTypeDef],  # (1)
  1. See TagTypeDef

TagResourceResponseTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import TagResourceResponseTypeDef

def get_value() -> TagResourceResponseTypeDef:
    return {
        "TagList": ...,
        "ResponseMetadata": ...,
    }
Definition
class TagResourceResponseTypeDef(TypedDict):
    TagList: List[TagTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TagTypeDef
  2. See ResponseMetadataTypeDef

UntagResourceResponseTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import UntagResourceResponseTypeDef

def get_value() -> UntagResourceResponseTypeDef:
    return {
        "TagList": ...,
        "ResponseMetadata": ...,
    }
Definition
class UntagResourceResponseTypeDef(TypedDict):
    TagList: List[TagTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TagTypeDef
  2. See ResponseMetadataTypeDef

CreateParameterGroupResponseTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import CreateParameterGroupResponseTypeDef

def get_value() -> CreateParameterGroupResponseTypeDef:
    return {
        "ParameterGroup": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateParameterGroupResponseTypeDef(TypedDict):
    ParameterGroup: ParameterGroupTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ParameterGroupTypeDef
  2. See ResponseMetadataTypeDef

DeleteParameterGroupResponseTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import DeleteParameterGroupResponseTypeDef

def get_value() -> DeleteParameterGroupResponseTypeDef:
    return {
        "ParameterGroup": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteParameterGroupResponseTypeDef(TypedDict):
    ParameterGroup: ParameterGroupTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ParameterGroupTypeDef
  2. See ResponseMetadataTypeDef

DescribeParameterGroupsResponseTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import DescribeParameterGroupsResponseTypeDef

def get_value() -> DescribeParameterGroupsResponseTypeDef:
    return {
        "NextToken": ...,
        "ParameterGroups": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeParameterGroupsResponseTypeDef(TypedDict):
    NextToken: str,
    ParameterGroups: List[ParameterGroupTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ParameterGroupTypeDef
  2. See ResponseMetadataTypeDef

ResetParameterGroupResponseTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import ResetParameterGroupResponseTypeDef

def get_value() -> ResetParameterGroupResponseTypeDef:
    return {
        "ParameterGroup": ...,
        "ResponseMetadata": ...,
    }
Definition
class ResetParameterGroupResponseTypeDef(TypedDict):
    ParameterGroup: ParameterGroupTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ParameterGroupTypeDef
  2. See ResponseMetadataTypeDef

UpdateParameterGroupResponseTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import UpdateParameterGroupResponseTypeDef

def get_value() -> UpdateParameterGroupResponseTypeDef:
    return {
        "ParameterGroup": ...,
        "ResponseMetadata": ...,
    }
Definition
class UpdateParameterGroupResponseTypeDef(TypedDict):
    ParameterGroup: ParameterGroupTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ParameterGroupTypeDef
  2. See ResponseMetadataTypeDef

DescribeEngineVersionsResponseTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import DescribeEngineVersionsResponseTypeDef

def get_value() -> DescribeEngineVersionsResponseTypeDef:
    return {
        "NextToken": ...,
        "EngineVersions": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeEngineVersionsResponseTypeDef(TypedDict):
    NextToken: str,
    EngineVersions: List[EngineVersionInfoTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See EngineVersionInfoTypeDef
  2. See ResponseMetadataTypeDef

DescribeEventsResponseTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import DescribeEventsResponseTypeDef

def get_value() -> DescribeEventsResponseTypeDef:
    return {
        "NextToken": ...,
        "Events": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeEventsResponseTypeDef(TypedDict):
    NextToken: str,
    Events: List[EventTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See EventTypeDef
  2. See ResponseMetadataTypeDef

DescribeParametersResponseTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import DescribeParametersResponseTypeDef

def get_value() -> DescribeParametersResponseTypeDef:
    return {
        "NextToken": ...,
        "Parameters": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeParametersResponseTypeDef(TypedDict):
    NextToken: str,
    Parameters: List[ParameterTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ParameterTypeDef
  2. See ResponseMetadataTypeDef

DescribeServiceUpdatesResponseTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import DescribeServiceUpdatesResponseTypeDef

def get_value() -> DescribeServiceUpdatesResponseTypeDef:
    return {
        "NextToken": ...,
        "ServiceUpdates": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeServiceUpdatesResponseTypeDef(TypedDict):
    NextToken: str,
    ServiceUpdates: List[ServiceUpdateTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ServiceUpdateTypeDef
  2. See ResponseMetadataTypeDef

DescribeUsersRequestRequestTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import DescribeUsersRequestRequestTypeDef

def get_value() -> DescribeUsersRequestRequestTypeDef:
    return {
        "UserName": ...,
    }
Definition
class DescribeUsersRequestRequestTypeDef(TypedDict):
    UserName: NotRequired[str],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
  1. See FilterTypeDef

UpdateParameterGroupRequestRequestTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import UpdateParameterGroupRequestRequestTypeDef

def get_value() -> UpdateParameterGroupRequestRequestTypeDef:
    return {
        "ParameterGroupName": ...,
        "ParameterNameValues": ...,
    }
Definition
class UpdateParameterGroupRequestRequestTypeDef(TypedDict):
    ParameterGroupName: str,
    ParameterNameValues: Sequence[ParameterNameValueTypeDef],  # (1)
  1. See ParameterNameValueTypeDef

ReshardingStatusTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import ReshardingStatusTypeDef

def get_value() -> ReshardingStatusTypeDef:
    return {
        "SlotMigration": ...,
    }
Definition
class ReshardingStatusTypeDef(TypedDict):
    SlotMigration: NotRequired[SlotMigrationTypeDef],  # (1)
  1. See SlotMigrationTypeDef

UpdateClusterRequestRequestTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import UpdateClusterRequestRequestTypeDef

def get_value() -> UpdateClusterRequestRequestTypeDef:
    return {
        "ClusterName": ...,
    }
Definition
class UpdateClusterRequestRequestTypeDef(TypedDict):
    ClusterName: str,
    Description: NotRequired[str],
    SecurityGroupIds: NotRequired[Sequence[str]],
    MaintenanceWindow: NotRequired[str],
    SnsTopicArn: NotRequired[str],
    SnsTopicStatus: NotRequired[str],
    ParameterGroupName: NotRequired[str],
    SnapshotWindow: NotRequired[str],
    SnapshotRetentionLimit: NotRequired[int],
    NodeType: NotRequired[str],
    EngineVersion: NotRequired[str],
    ReplicaConfiguration: NotRequired[ReplicaConfigurationRequestTypeDef],  # (1)
    ShardConfiguration: NotRequired[ShardConfigurationRequestTypeDef],  # (2)
    ACLName: NotRequired[str],
  1. See ReplicaConfigurationRequestTypeDef
  2. See ShardConfigurationRequestTypeDef

ShardDetailTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import ShardDetailTypeDef

def get_value() -> ShardDetailTypeDef:
    return {
        "Name": ...,
    }
Definition
class ShardDetailTypeDef(TypedDict):
    Name: NotRequired[str],
    Configuration: NotRequired[ShardConfigurationTypeDef],  # (1)
    Size: NotRequired[str],
    SnapshotCreationTime: NotRequired[datetime],
  1. See ShardConfigurationTypeDef

CreateACLResponseTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import CreateACLResponseTypeDef

def get_value() -> CreateACLResponseTypeDef:
    return {
        "ACL": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateACLResponseTypeDef(TypedDict):
    ACL: ACLTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ACLTypeDef
  2. See ResponseMetadataTypeDef

DeleteACLResponseTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import DeleteACLResponseTypeDef

def get_value() -> DeleteACLResponseTypeDef:
    return {
        "ACL": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteACLResponseTypeDef(TypedDict):
    ACL: ACLTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ACLTypeDef
  2. See ResponseMetadataTypeDef

DescribeACLsResponseTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import DescribeACLsResponseTypeDef

def get_value() -> DescribeACLsResponseTypeDef:
    return {
        "ACLs": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeACLsResponseTypeDef(TypedDict):
    ACLs: List[ACLTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ACLTypeDef
  2. See ResponseMetadataTypeDef

UpdateACLResponseTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import UpdateACLResponseTypeDef

def get_value() -> UpdateACLResponseTypeDef:
    return {
        "ACL": ...,
        "ResponseMetadata": ...,
    }
Definition
class UpdateACLResponseTypeDef(TypedDict):
    ACL: ACLTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ACLTypeDef
  2. See ResponseMetadataTypeDef

CreateUserResponseTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import CreateUserResponseTypeDef

def get_value() -> CreateUserResponseTypeDef:
    return {
        "User": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateUserResponseTypeDef(TypedDict):
    User: UserTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See UserTypeDef
  2. See ResponseMetadataTypeDef

DeleteUserResponseTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import DeleteUserResponseTypeDef

def get_value() -> DeleteUserResponseTypeDef:
    return {
        "User": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteUserResponseTypeDef(TypedDict):
    User: UserTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See UserTypeDef
  2. See ResponseMetadataTypeDef

DescribeUsersResponseTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import DescribeUsersResponseTypeDef

def get_value() -> DescribeUsersResponseTypeDef:
    return {
        "Users": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeUsersResponseTypeDef(TypedDict):
    Users: List[UserTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See UserTypeDef
  2. See ResponseMetadataTypeDef

UpdateUserResponseTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import UpdateUserResponseTypeDef

def get_value() -> UpdateUserResponseTypeDef:
    return {
        "User": ...,
        "ResponseMetadata": ...,
    }
Definition
class UpdateUserResponseTypeDef(TypedDict):
    User: UserTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See UserTypeDef
  2. See ResponseMetadataTypeDef

SubnetGroupTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import SubnetGroupTypeDef

def get_value() -> SubnetGroupTypeDef:
    return {
        "Name": ...,
    }
Definition
class SubnetGroupTypeDef(TypedDict):
    Name: NotRequired[str],
    Description: NotRequired[str],
    VpcId: NotRequired[str],
    Subnets: NotRequired[List[SubnetTypeDef]],  # (1)
    ARN: NotRequired[str],
  1. See SubnetTypeDef

ShardTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import ShardTypeDef

def get_value() -> ShardTypeDef:
    return {
        "Name": ...,
    }
Definition
class ShardTypeDef(TypedDict):
    Name: NotRequired[str],
    Status: NotRequired[str],
    Slots: NotRequired[str],
    Nodes: NotRequired[List[NodeTypeDef]],  # (1)
    NumberOfNodes: NotRequired[int],
  1. See NodeTypeDef

ClusterPendingUpdatesTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import ClusterPendingUpdatesTypeDef

def get_value() -> ClusterPendingUpdatesTypeDef:
    return {
        "Resharding": ...,
    }
Definition
class ClusterPendingUpdatesTypeDef(TypedDict):
    Resharding: NotRequired[ReshardingStatusTypeDef],  # (1)
    ACLs: NotRequired[ACLsUpdateStatusTypeDef],  # (2)
    ServiceUpdates: NotRequired[List[PendingModifiedServiceUpdateTypeDef]],  # (3)
  1. See ReshardingStatusTypeDef
  2. See ACLsUpdateStatusTypeDef
  3. See PendingModifiedServiceUpdateTypeDef

ClusterConfigurationTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import ClusterConfigurationTypeDef

def get_value() -> ClusterConfigurationTypeDef:
    return {
        "Name": ...,
    }
Definition
class ClusterConfigurationTypeDef(TypedDict):
    Name: NotRequired[str],
    Description: NotRequired[str],
    NodeType: NotRequired[str],
    EngineVersion: NotRequired[str],
    MaintenanceWindow: NotRequired[str],
    TopicArn: NotRequired[str],
    Port: NotRequired[int],
    ParameterGroupName: NotRequired[str],
    SubnetGroupName: NotRequired[str],
    VpcId: NotRequired[str],
    SnapshotRetentionLimit: NotRequired[int],
    SnapshotWindow: NotRequired[str],
    NumShards: NotRequired[int],
    Shards: NotRequired[List[ShardDetailTypeDef]],  # (1)
  1. See ShardDetailTypeDef

CreateSubnetGroupResponseTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import CreateSubnetGroupResponseTypeDef

def get_value() -> CreateSubnetGroupResponseTypeDef:
    return {
        "SubnetGroup": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateSubnetGroupResponseTypeDef(TypedDict):
    SubnetGroup: SubnetGroupTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SubnetGroupTypeDef
  2. See ResponseMetadataTypeDef

DeleteSubnetGroupResponseTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import DeleteSubnetGroupResponseTypeDef

def get_value() -> DeleteSubnetGroupResponseTypeDef:
    return {
        "SubnetGroup": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteSubnetGroupResponseTypeDef(TypedDict):
    SubnetGroup: SubnetGroupTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SubnetGroupTypeDef
  2. See ResponseMetadataTypeDef

DescribeSubnetGroupsResponseTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import DescribeSubnetGroupsResponseTypeDef

def get_value() -> DescribeSubnetGroupsResponseTypeDef:
    return {
        "NextToken": ...,
        "SubnetGroups": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeSubnetGroupsResponseTypeDef(TypedDict):
    NextToken: str,
    SubnetGroups: List[SubnetGroupTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SubnetGroupTypeDef
  2. See ResponseMetadataTypeDef

UpdateSubnetGroupResponseTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import UpdateSubnetGroupResponseTypeDef

def get_value() -> UpdateSubnetGroupResponseTypeDef:
    return {
        "SubnetGroup": ...,
        "ResponseMetadata": ...,
    }
Definition
class UpdateSubnetGroupResponseTypeDef(TypedDict):
    SubnetGroup: SubnetGroupTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SubnetGroupTypeDef
  2. See ResponseMetadataTypeDef

ClusterTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import ClusterTypeDef

def get_value() -> ClusterTypeDef:
    return {
        "Name": ...,
    }
Definition
class ClusterTypeDef(TypedDict):
    Name: NotRequired[str],
    Description: NotRequired[str],
    Status: NotRequired[str],
    PendingUpdates: NotRequired[ClusterPendingUpdatesTypeDef],  # (1)
    NumberOfShards: NotRequired[int],
    Shards: NotRequired[List[ShardTypeDef]],  # (2)
    AvailabilityMode: NotRequired[AZStatusType],  # (3)
    ClusterEndpoint: NotRequired[EndpointTypeDef],  # (4)
    NodeType: NotRequired[str],
    EngineVersion: NotRequired[str],
    EnginePatchVersion: NotRequired[str],
    ParameterGroupName: NotRequired[str],
    ParameterGroupStatus: NotRequired[str],
    SecurityGroups: NotRequired[List[SecurityGroupMembershipTypeDef]],  # (5)
    SubnetGroupName: NotRequired[str],
    TLSEnabled: NotRequired[bool],
    KmsKeyId: NotRequired[str],
    ARN: NotRequired[str],
    SnsTopicArn: NotRequired[str],
    SnsTopicStatus: NotRequired[str],
    SnapshotRetentionLimit: NotRequired[int],
    MaintenanceWindow: NotRequired[str],
    SnapshotWindow: NotRequired[str],
    ACLName: NotRequired[str],
    AutoMinorVersionUpgrade: NotRequired[bool],
  1. See ClusterPendingUpdatesTypeDef
  2. See ShardTypeDef
  3. See AZStatusType
  4. See EndpointTypeDef
  5. See SecurityGroupMembershipTypeDef

SnapshotTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import SnapshotTypeDef

def get_value() -> SnapshotTypeDef:
    return {
        "Name": ...,
    }
Definition
class SnapshotTypeDef(TypedDict):
    Name: NotRequired[str],
    Status: NotRequired[str],
    Source: NotRequired[str],
    KmsKeyId: NotRequired[str],
    ARN: NotRequired[str],
    ClusterConfiguration: NotRequired[ClusterConfigurationTypeDef],  # (1)
  1. See ClusterConfigurationTypeDef

BatchUpdateClusterResponseTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import BatchUpdateClusterResponseTypeDef

def get_value() -> BatchUpdateClusterResponseTypeDef:
    return {
        "ProcessedClusters": ...,
        "UnprocessedClusters": ...,
        "ResponseMetadata": ...,
    }
Definition
class BatchUpdateClusterResponseTypeDef(TypedDict):
    ProcessedClusters: List[ClusterTypeDef],  # (1)
    UnprocessedClusters: List[UnprocessedClusterTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See ClusterTypeDef
  2. See UnprocessedClusterTypeDef
  3. See ResponseMetadataTypeDef

CreateClusterResponseTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import CreateClusterResponseTypeDef

def get_value() -> CreateClusterResponseTypeDef:
    return {
        "Cluster": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateClusterResponseTypeDef(TypedDict):
    Cluster: ClusterTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ClusterTypeDef
  2. See ResponseMetadataTypeDef

DeleteClusterResponseTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import DeleteClusterResponseTypeDef

def get_value() -> DeleteClusterResponseTypeDef:
    return {
        "Cluster": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteClusterResponseTypeDef(TypedDict):
    Cluster: ClusterTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ClusterTypeDef
  2. See ResponseMetadataTypeDef

DescribeClustersResponseTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import DescribeClustersResponseTypeDef

def get_value() -> DescribeClustersResponseTypeDef:
    return {
        "NextToken": ...,
        "Clusters": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeClustersResponseTypeDef(TypedDict):
    NextToken: str,
    Clusters: List[ClusterTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ClusterTypeDef
  2. See ResponseMetadataTypeDef

FailoverShardResponseTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import FailoverShardResponseTypeDef

def get_value() -> FailoverShardResponseTypeDef:
    return {
        "Cluster": ...,
        "ResponseMetadata": ...,
    }
Definition
class FailoverShardResponseTypeDef(TypedDict):
    Cluster: ClusterTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ClusterTypeDef
  2. See ResponseMetadataTypeDef

UpdateClusterResponseTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import UpdateClusterResponseTypeDef

def get_value() -> UpdateClusterResponseTypeDef:
    return {
        "Cluster": ...,
        "ResponseMetadata": ...,
    }
Definition
class UpdateClusterResponseTypeDef(TypedDict):
    Cluster: ClusterTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ClusterTypeDef
  2. See ResponseMetadataTypeDef

CopySnapshotResponseTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import CopySnapshotResponseTypeDef

def get_value() -> CopySnapshotResponseTypeDef:
    return {
        "Snapshot": ...,
        "ResponseMetadata": ...,
    }
Definition
class CopySnapshotResponseTypeDef(TypedDict):
    Snapshot: SnapshotTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SnapshotTypeDef
  2. See ResponseMetadataTypeDef

CreateSnapshotResponseTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import CreateSnapshotResponseTypeDef

def get_value() -> CreateSnapshotResponseTypeDef:
    return {
        "Snapshot": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateSnapshotResponseTypeDef(TypedDict):
    Snapshot: SnapshotTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SnapshotTypeDef
  2. See ResponseMetadataTypeDef

DeleteSnapshotResponseTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import DeleteSnapshotResponseTypeDef

def get_value() -> DeleteSnapshotResponseTypeDef:
    return {
        "Snapshot": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteSnapshotResponseTypeDef(TypedDict):
    Snapshot: SnapshotTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SnapshotTypeDef
  2. See ResponseMetadataTypeDef

DescribeSnapshotsResponseTypeDef

Usage Example
from mypy_boto3_memorydb.type_defs import DescribeSnapshotsResponseTypeDef

def get_value() -> DescribeSnapshotsResponseTypeDef:
    return {
        "NextToken": ...,
        "Snapshots": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeSnapshotsResponseTypeDef(TypedDict):
    NextToken: str,
    Snapshots: List[SnapshotTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SnapshotTypeDef
  2. See ResponseMetadataTypeDef