Skip to content

Typed dictionaries

Index > ElastiCache > Typed dictionaries

Auto-generated documentation for ElastiCache type annotations stubs module mypy-boto3-elasticache.

TagTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import TagTypeDef

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

ResponseMetadataTypeDef

Usage Example
from mypy_boto3_elasticache.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,

AuthenticationTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import AuthenticationTypeDef

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

AuthorizeCacheSecurityGroupIngressMessageRequestTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import AuthorizeCacheSecurityGroupIngressMessageRequestTypeDef

def get_value() -> AuthorizeCacheSecurityGroupIngressMessageRequestTypeDef:
    return {
        "CacheSecurityGroupName": ...,
        "EC2SecurityGroupName": ...,
        "EC2SecurityGroupOwnerId": ...,
    }
Definition
class AuthorizeCacheSecurityGroupIngressMessageRequestTypeDef(TypedDict):
    CacheSecurityGroupName: str,
    EC2SecurityGroupName: str,
    EC2SecurityGroupOwnerId: str,

AvailabilityZoneTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import AvailabilityZoneTypeDef

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

BatchApplyUpdateActionMessageRequestTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import BatchApplyUpdateActionMessageRequestTypeDef

def get_value() -> BatchApplyUpdateActionMessageRequestTypeDef:
    return {
        "ServiceUpdateName": ...,
    }
Definition
class BatchApplyUpdateActionMessageRequestTypeDef(TypedDict):
    ServiceUpdateName: str,
    ReplicationGroupIds: NotRequired[Sequence[str]],
    CacheClusterIds: NotRequired[Sequence[str]],

BatchStopUpdateActionMessageRequestTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import BatchStopUpdateActionMessageRequestTypeDef

def get_value() -> BatchStopUpdateActionMessageRequestTypeDef:
    return {
        "ServiceUpdateName": ...,
    }
Definition
class BatchStopUpdateActionMessageRequestTypeDef(TypedDict):
    ServiceUpdateName: str,
    ReplicationGroupIds: NotRequired[Sequence[str]],
    CacheClusterIds: NotRequired[Sequence[str]],

CacheParameterGroupStatusTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import CacheParameterGroupStatusTypeDef

def get_value() -> CacheParameterGroupStatusTypeDef:
    return {
        "CacheParameterGroupName": ...,
    }
Definition
class CacheParameterGroupStatusTypeDef(TypedDict):
    CacheParameterGroupName: NotRequired[str],
    ParameterApplyStatus: NotRequired[str],
    CacheNodeIdsToReboot: NotRequired[List[str]],

CacheSecurityGroupMembershipTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import CacheSecurityGroupMembershipTypeDef

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

EndpointTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import EndpointTypeDef

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

NotificationConfigurationTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import NotificationConfigurationTypeDef

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

SecurityGroupMembershipTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import SecurityGroupMembershipTypeDef

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

CacheEngineVersionTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import CacheEngineVersionTypeDef

def get_value() -> CacheEngineVersionTypeDef:
    return {
        "Engine": ...,
    }
Definition
class CacheEngineVersionTypeDef(TypedDict):
    Engine: NotRequired[str],
    EngineVersion: NotRequired[str],
    CacheParameterGroupFamily: NotRequired[str],
    CacheEngineDescription: NotRequired[str],
    CacheEngineVersionDescription: NotRequired[str],

CacheNodeTypeSpecificValueTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import CacheNodeTypeSpecificValueTypeDef

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

CacheNodeUpdateStatusTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import CacheNodeUpdateStatusTypeDef

def get_value() -> CacheNodeUpdateStatusTypeDef:
    return {
        "CacheNodeId": ...,
    }
Definition
class CacheNodeUpdateStatusTypeDef(TypedDict):
    CacheNodeId: NotRequired[str],
    NodeUpdateStatus: NotRequired[NodeUpdateStatusType],  # (1)
    NodeDeletionDate: NotRequired[datetime],
    NodeUpdateStartDate: NotRequired[datetime],
    NodeUpdateEndDate: NotRequired[datetime],
    NodeUpdateInitiatedBy: NotRequired[NodeUpdateInitiatedByType],  # (2)
    NodeUpdateInitiatedDate: NotRequired[datetime],
    NodeUpdateStatusModifiedDate: NotRequired[datetime],
  1. See NodeUpdateStatusType
  2. See NodeUpdateInitiatedByType

ParameterTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import ParameterTypeDef

def get_value() -> ParameterTypeDef:
    return {
        "ParameterName": ...,
    }
Definition
class ParameterTypeDef(TypedDict):
    ParameterName: NotRequired[str],
    ParameterValue: NotRequired[str],
    Description: NotRequired[str],
    Source: NotRequired[str],
    DataType: NotRequired[str],
    AllowedValues: NotRequired[str],
    IsModifiable: NotRequired[bool],
    MinimumEngineVersion: NotRequired[str],
    ChangeType: NotRequired[ChangeTypeType],  # (1)
  1. See ChangeTypeType

CacheParameterGroupTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import CacheParameterGroupTypeDef

def get_value() -> CacheParameterGroupTypeDef:
    return {
        "CacheParameterGroupName": ...,
    }
Definition
class CacheParameterGroupTypeDef(TypedDict):
    CacheParameterGroupName: NotRequired[str],
    CacheParameterGroupFamily: NotRequired[str],
    Description: NotRequired[str],
    IsGlobal: NotRequired[bool],
    ARN: NotRequired[str],

EC2SecurityGroupTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import EC2SecurityGroupTypeDef

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

CloudWatchLogsDestinationDetailsTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import CloudWatchLogsDestinationDetailsTypeDef

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

CompleteMigrationMessageRequestTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import CompleteMigrationMessageRequestTypeDef

def get_value() -> CompleteMigrationMessageRequestTypeDef:
    return {
        "ReplicationGroupId": ...,
    }
Definition
class CompleteMigrationMessageRequestTypeDef(TypedDict):
    ReplicationGroupId: str,
    Force: NotRequired[bool],

ConfigureShardTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import ConfigureShardTypeDef

def get_value() -> ConfigureShardTypeDef:
    return {
        "NodeGroupId": ...,
        "NewReplicaCount": ...,
    }
Definition
class ConfigureShardTypeDef(TypedDict):
    NodeGroupId: str,
    NewReplicaCount: int,
    PreferredAvailabilityZones: NotRequired[Sequence[str]],
    PreferredOutpostArns: NotRequired[Sequence[str]],

CreateGlobalReplicationGroupMessageRequestTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import CreateGlobalReplicationGroupMessageRequestTypeDef

def get_value() -> CreateGlobalReplicationGroupMessageRequestTypeDef:
    return {
        "GlobalReplicationGroupIdSuffix": ...,
        "PrimaryReplicationGroupId": ...,
    }
Definition
class CreateGlobalReplicationGroupMessageRequestTypeDef(TypedDict):
    GlobalReplicationGroupIdSuffix: str,
    PrimaryReplicationGroupId: str,
    GlobalReplicationGroupDescription: NotRequired[str],

NodeGroupConfigurationTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import NodeGroupConfigurationTypeDef

def get_value() -> NodeGroupConfigurationTypeDef:
    return {
        "NodeGroupId": ...,
    }
Definition
class NodeGroupConfigurationTypeDef(TypedDict):
    NodeGroupId: NotRequired[str],
    Slots: NotRequired[str],
    ReplicaCount: NotRequired[int],
    PrimaryAvailabilityZone: NotRequired[str],
    ReplicaAvailabilityZones: NotRequired[List[str]],
    PrimaryOutpostArn: NotRequired[str],
    ReplicaOutpostArns: NotRequired[List[str]],

CustomerNodeEndpointTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import CustomerNodeEndpointTypeDef

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

DecreaseNodeGroupsInGlobalReplicationGroupMessageRequestTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import DecreaseNodeGroupsInGlobalReplicationGroupMessageRequestTypeDef

def get_value() -> DecreaseNodeGroupsInGlobalReplicationGroupMessageRequestTypeDef:
    return {
        "GlobalReplicationGroupId": ...,
        "NodeGroupCount": ...,
        "ApplyImmediately": ...,
    }
Definition
class DecreaseNodeGroupsInGlobalReplicationGroupMessageRequestTypeDef(TypedDict):
    GlobalReplicationGroupId: str,
    NodeGroupCount: int,
    ApplyImmediately: bool,
    GlobalNodeGroupsToRemove: NotRequired[Sequence[str]],
    GlobalNodeGroupsToRetain: NotRequired[Sequence[str]],

DeleteCacheClusterMessageRequestTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import DeleteCacheClusterMessageRequestTypeDef

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

DeleteCacheParameterGroupMessageRequestTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import DeleteCacheParameterGroupMessageRequestTypeDef

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

DeleteCacheSecurityGroupMessageRequestTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import DeleteCacheSecurityGroupMessageRequestTypeDef

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

DeleteCacheSubnetGroupMessageRequestTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import DeleteCacheSubnetGroupMessageRequestTypeDef

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

DeleteGlobalReplicationGroupMessageRequestTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import DeleteGlobalReplicationGroupMessageRequestTypeDef

def get_value() -> DeleteGlobalReplicationGroupMessageRequestTypeDef:
    return {
        "GlobalReplicationGroupId": ...,
        "RetainPrimaryReplicationGroup": ...,
    }
Definition
class DeleteGlobalReplicationGroupMessageRequestTypeDef(TypedDict):
    GlobalReplicationGroupId: str,
    RetainPrimaryReplicationGroup: bool,

DeleteReplicationGroupMessageRequestTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import DeleteReplicationGroupMessageRequestTypeDef

def get_value() -> DeleteReplicationGroupMessageRequestTypeDef:
    return {
        "ReplicationGroupId": ...,
    }
Definition
class DeleteReplicationGroupMessageRequestTypeDef(TypedDict):
    ReplicationGroupId: str,
    RetainPrimaryCluster: NotRequired[bool],
    FinalSnapshotIdentifier: NotRequired[str],

DeleteSnapshotMessageRequestTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import DeleteSnapshotMessageRequestTypeDef

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

DeleteUserGroupMessageRequestTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import DeleteUserGroupMessageRequestTypeDef

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

DeleteUserMessageRequestTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import DeleteUserMessageRequestTypeDef

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

WaiterConfigTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import WaiterConfigTypeDef

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

PaginatorConfigTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import PaginatorConfigTypeDef

def get_value() -> PaginatorConfigTypeDef:
    return {
        "MaxItems": ...,
    }
Definition
class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

DescribeCacheClustersMessageRequestTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import DescribeCacheClustersMessageRequestTypeDef

def get_value() -> DescribeCacheClustersMessageRequestTypeDef:
    return {
        "CacheClusterId": ...,
    }
Definition
class DescribeCacheClustersMessageRequestTypeDef(TypedDict):
    CacheClusterId: NotRequired[str],
    MaxRecords: NotRequired[int],
    Marker: NotRequired[str],
    ShowCacheNodeInfo: NotRequired[bool],
    ShowCacheClustersNotInReplicationGroups: NotRequired[bool],

DescribeCacheEngineVersionsMessageRequestTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import DescribeCacheEngineVersionsMessageRequestTypeDef

def get_value() -> DescribeCacheEngineVersionsMessageRequestTypeDef:
    return {
        "Engine": ...,
    }
Definition
class DescribeCacheEngineVersionsMessageRequestTypeDef(TypedDict):
    Engine: NotRequired[str],
    EngineVersion: NotRequired[str],
    CacheParameterGroupFamily: NotRequired[str],
    MaxRecords: NotRequired[int],
    Marker: NotRequired[str],
    DefaultOnly: NotRequired[bool],

DescribeCacheParameterGroupsMessageRequestTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import DescribeCacheParameterGroupsMessageRequestTypeDef

def get_value() -> DescribeCacheParameterGroupsMessageRequestTypeDef:
    return {
        "CacheParameterGroupName": ...,
    }
Definition
class DescribeCacheParameterGroupsMessageRequestTypeDef(TypedDict):
    CacheParameterGroupName: NotRequired[str],
    MaxRecords: NotRequired[int],
    Marker: NotRequired[str],

DescribeCacheParametersMessageRequestTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import DescribeCacheParametersMessageRequestTypeDef

def get_value() -> DescribeCacheParametersMessageRequestTypeDef:
    return {
        "CacheParameterGroupName": ...,
    }
Definition
class DescribeCacheParametersMessageRequestTypeDef(TypedDict):
    CacheParameterGroupName: str,
    Source: NotRequired[str],
    MaxRecords: NotRequired[int],
    Marker: NotRequired[str],

DescribeCacheSecurityGroupsMessageRequestTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import DescribeCacheSecurityGroupsMessageRequestTypeDef

def get_value() -> DescribeCacheSecurityGroupsMessageRequestTypeDef:
    return {
        "CacheSecurityGroupName": ...,
    }
Definition
class DescribeCacheSecurityGroupsMessageRequestTypeDef(TypedDict):
    CacheSecurityGroupName: NotRequired[str],
    MaxRecords: NotRequired[int],
    Marker: NotRequired[str],

DescribeCacheSubnetGroupsMessageRequestTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import DescribeCacheSubnetGroupsMessageRequestTypeDef

def get_value() -> DescribeCacheSubnetGroupsMessageRequestTypeDef:
    return {
        "CacheSubnetGroupName": ...,
    }
Definition
class DescribeCacheSubnetGroupsMessageRequestTypeDef(TypedDict):
    CacheSubnetGroupName: NotRequired[str],
    MaxRecords: NotRequired[int],
    Marker: NotRequired[str],

DescribeEngineDefaultParametersMessageRequestTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import DescribeEngineDefaultParametersMessageRequestTypeDef

def get_value() -> DescribeEngineDefaultParametersMessageRequestTypeDef:
    return {
        "CacheParameterGroupFamily": ...,
    }
Definition
class DescribeEngineDefaultParametersMessageRequestTypeDef(TypedDict):
    CacheParameterGroupFamily: str,
    MaxRecords: NotRequired[int],
    Marker: NotRequired[str],

DescribeEventsMessageRequestTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import DescribeEventsMessageRequestTypeDef

def get_value() -> DescribeEventsMessageRequestTypeDef:
    return {
        "SourceIdentifier": ...,
    }
Definition
class DescribeEventsMessageRequestTypeDef(TypedDict):
    SourceIdentifier: NotRequired[str],
    SourceType: NotRequired[SourceTypeType],  # (1)
    StartTime: NotRequired[Union[datetime, str]],
    EndTime: NotRequired[Union[datetime, str]],
    Duration: NotRequired[int],
    MaxRecords: NotRequired[int],
    Marker: NotRequired[str],
  1. See SourceTypeType

DescribeGlobalReplicationGroupsMessageRequestTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import DescribeGlobalReplicationGroupsMessageRequestTypeDef

def get_value() -> DescribeGlobalReplicationGroupsMessageRequestTypeDef:
    return {
        "GlobalReplicationGroupId": ...,
    }
Definition
class DescribeGlobalReplicationGroupsMessageRequestTypeDef(TypedDict):
    GlobalReplicationGroupId: NotRequired[str],
    MaxRecords: NotRequired[int],
    Marker: NotRequired[str],
    ShowMemberInfo: NotRequired[bool],

DescribeReplicationGroupsMessageRequestTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import DescribeReplicationGroupsMessageRequestTypeDef

def get_value() -> DescribeReplicationGroupsMessageRequestTypeDef:
    return {
        "ReplicationGroupId": ...,
    }
Definition
class DescribeReplicationGroupsMessageRequestTypeDef(TypedDict):
    ReplicationGroupId: NotRequired[str],
    MaxRecords: NotRequired[int],
    Marker: NotRequired[str],

DescribeReservedCacheNodesMessageRequestTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import DescribeReservedCacheNodesMessageRequestTypeDef

def get_value() -> DescribeReservedCacheNodesMessageRequestTypeDef:
    return {
        "ReservedCacheNodeId": ...,
    }
Definition
class DescribeReservedCacheNodesMessageRequestTypeDef(TypedDict):
    ReservedCacheNodeId: NotRequired[str],
    ReservedCacheNodesOfferingId: NotRequired[str],
    CacheNodeType: NotRequired[str],
    Duration: NotRequired[str],
    ProductDescription: NotRequired[str],
    OfferingType: NotRequired[str],
    MaxRecords: NotRequired[int],
    Marker: NotRequired[str],

DescribeReservedCacheNodesOfferingsMessageRequestTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import DescribeReservedCacheNodesOfferingsMessageRequestTypeDef

def get_value() -> DescribeReservedCacheNodesOfferingsMessageRequestTypeDef:
    return {
        "ReservedCacheNodesOfferingId": ...,
    }
Definition
class DescribeReservedCacheNodesOfferingsMessageRequestTypeDef(TypedDict):
    ReservedCacheNodesOfferingId: NotRequired[str],
    CacheNodeType: NotRequired[str],
    Duration: NotRequired[str],
    ProductDescription: NotRequired[str],
    OfferingType: NotRequired[str],
    MaxRecords: NotRequired[int],
    Marker: NotRequired[str],

DescribeServiceUpdatesMessageRequestTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import DescribeServiceUpdatesMessageRequestTypeDef

def get_value() -> DescribeServiceUpdatesMessageRequestTypeDef:
    return {
        "ServiceUpdateName": ...,
    }
Definition
class DescribeServiceUpdatesMessageRequestTypeDef(TypedDict):
    ServiceUpdateName: NotRequired[str],
    ServiceUpdateStatus: NotRequired[Sequence[ServiceUpdateStatusType]],  # (1)
    MaxRecords: NotRequired[int],
    Marker: NotRequired[str],
  1. See ServiceUpdateStatusType

DescribeSnapshotsMessageRequestTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import DescribeSnapshotsMessageRequestTypeDef

def get_value() -> DescribeSnapshotsMessageRequestTypeDef:
    return {
        "ReplicationGroupId": ...,
    }
Definition
class DescribeSnapshotsMessageRequestTypeDef(TypedDict):
    ReplicationGroupId: NotRequired[str],
    CacheClusterId: NotRequired[str],
    SnapshotName: NotRequired[str],
    SnapshotSource: NotRequired[str],
    Marker: NotRequired[str],
    MaxRecords: NotRequired[int],
    ShowNodeGroupConfig: NotRequired[bool],

TimeRangeFilterTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import TimeRangeFilterTypeDef

def get_value() -> TimeRangeFilterTypeDef:
    return {
        "StartTime": ...,
    }
Definition
class TimeRangeFilterTypeDef(TypedDict):
    StartTime: NotRequired[Union[datetime, str]],
    EndTime: NotRequired[Union[datetime, str]],

DescribeUserGroupsMessageRequestTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import DescribeUserGroupsMessageRequestTypeDef

def get_value() -> DescribeUserGroupsMessageRequestTypeDef:
    return {
        "UserGroupId": ...,
    }
Definition
class DescribeUserGroupsMessageRequestTypeDef(TypedDict):
    UserGroupId: NotRequired[str],
    MaxRecords: NotRequired[int],
    Marker: NotRequired[str],

FilterTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import FilterTypeDef

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

KinesisFirehoseDestinationDetailsTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import KinesisFirehoseDestinationDetailsTypeDef

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

DisassociateGlobalReplicationGroupMessageRequestTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import DisassociateGlobalReplicationGroupMessageRequestTypeDef

def get_value() -> DisassociateGlobalReplicationGroupMessageRequestTypeDef:
    return {
        "GlobalReplicationGroupId": ...,
        "ReplicationGroupId": ...,
        "ReplicationGroupRegion": ...,
    }
Definition
class DisassociateGlobalReplicationGroupMessageRequestTypeDef(TypedDict):
    GlobalReplicationGroupId: str,
    ReplicationGroupId: str,
    ReplicationGroupRegion: str,

EventTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import EventTypeDef

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

FailoverGlobalReplicationGroupMessageRequestTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import FailoverGlobalReplicationGroupMessageRequestTypeDef

def get_value() -> FailoverGlobalReplicationGroupMessageRequestTypeDef:
    return {
        "GlobalReplicationGroupId": ...,
        "PrimaryRegion": ...,
        "PrimaryReplicationGroupId": ...,
    }
Definition
class FailoverGlobalReplicationGroupMessageRequestTypeDef(TypedDict):
    GlobalReplicationGroupId: str,
    PrimaryRegion: str,
    PrimaryReplicationGroupId: str,

GlobalNodeGroupTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import GlobalNodeGroupTypeDef

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

GlobalReplicationGroupInfoTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import GlobalReplicationGroupInfoTypeDef

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

GlobalReplicationGroupMemberTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import GlobalReplicationGroupMemberTypeDef

def get_value() -> GlobalReplicationGroupMemberTypeDef:
    return {
        "ReplicationGroupId": ...,
    }
Definition
class GlobalReplicationGroupMemberTypeDef(TypedDict):
    ReplicationGroupId: NotRequired[str],
    ReplicationGroupRegion: NotRequired[str],
    Role: NotRequired[str],
    AutomaticFailover: NotRequired[AutomaticFailoverStatusType],  # (1)
    Status: NotRequired[str],
  1. See AutomaticFailoverStatusType

ListAllowedNodeTypeModificationsMessageRequestTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import ListAllowedNodeTypeModificationsMessageRequestTypeDef

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

ListTagsForResourceMessageRequestTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import ListTagsForResourceMessageRequestTypeDef

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

ParameterNameValueTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import ParameterNameValueTypeDef

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

ModifyCacheSubnetGroupMessageRequestTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import ModifyCacheSubnetGroupMessageRequestTypeDef

def get_value() -> ModifyCacheSubnetGroupMessageRequestTypeDef:
    return {
        "CacheSubnetGroupName": ...,
    }
Definition
class ModifyCacheSubnetGroupMessageRequestTypeDef(TypedDict):
    CacheSubnetGroupName: str,
    CacheSubnetGroupDescription: NotRequired[str],
    SubnetIds: NotRequired[Sequence[str]],

ModifyGlobalReplicationGroupMessageRequestTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import ModifyGlobalReplicationGroupMessageRequestTypeDef

def get_value() -> ModifyGlobalReplicationGroupMessageRequestTypeDef:
    return {
        "GlobalReplicationGroupId": ...,
        "ApplyImmediately": ...,
    }
Definition
class ModifyGlobalReplicationGroupMessageRequestTypeDef(TypedDict):
    GlobalReplicationGroupId: str,
    ApplyImmediately: bool,
    CacheNodeType: NotRequired[str],
    EngineVersion: NotRequired[str],
    CacheParameterGroupName: NotRequired[str],
    GlobalReplicationGroupDescription: NotRequired[str],
    AutomaticFailoverEnabled: NotRequired[bool],

ReshardingConfigurationTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import ReshardingConfigurationTypeDef

def get_value() -> ReshardingConfigurationTypeDef:
    return {
        "NodeGroupId": ...,
    }
Definition
class ReshardingConfigurationTypeDef(TypedDict):
    NodeGroupId: NotRequired[str],
    PreferredAvailabilityZones: NotRequired[Sequence[str]],

ModifyUserGroupMessageRequestTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import ModifyUserGroupMessageRequestTypeDef

def get_value() -> ModifyUserGroupMessageRequestTypeDef:
    return {
        "UserGroupId": ...,
    }
Definition
class ModifyUserGroupMessageRequestTypeDef(TypedDict):
    UserGroupId: str,
    UserIdsToAdd: NotRequired[Sequence[str]],
    UserIdsToRemove: NotRequired[Sequence[str]],

ModifyUserMessageRequestTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import ModifyUserMessageRequestTypeDef

def get_value() -> ModifyUserMessageRequestTypeDef:
    return {
        "UserId": ...,
    }
Definition
class ModifyUserMessageRequestTypeDef(TypedDict):
    UserId: str,
    AccessString: NotRequired[str],
    AppendAccessString: NotRequired[str],
    Passwords: NotRequired[Sequence[str]],
    NoPasswordRequired: NotRequired[bool],

NodeGroupMemberUpdateStatusTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import NodeGroupMemberUpdateStatusTypeDef

def get_value() -> NodeGroupMemberUpdateStatusTypeDef:
    return {
        "CacheClusterId": ...,
    }
Definition
class NodeGroupMemberUpdateStatusTypeDef(TypedDict):
    CacheClusterId: NotRequired[str],
    CacheNodeId: NotRequired[str],
    NodeUpdateStatus: NotRequired[NodeUpdateStatusType],  # (1)
    NodeDeletionDate: NotRequired[datetime],
    NodeUpdateStartDate: NotRequired[datetime],
    NodeUpdateEndDate: NotRequired[datetime],
    NodeUpdateInitiatedBy: NotRequired[NodeUpdateInitiatedByType],  # (2)
    NodeUpdateInitiatedDate: NotRequired[datetime],
    NodeUpdateStatusModifiedDate: NotRequired[datetime],
  1. See NodeUpdateStatusType
  2. See NodeUpdateInitiatedByType

ProcessedUpdateActionTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import ProcessedUpdateActionTypeDef

def get_value() -> ProcessedUpdateActionTypeDef:
    return {
        "ReplicationGroupId": ...,
    }
Definition
class ProcessedUpdateActionTypeDef(TypedDict):
    ReplicationGroupId: NotRequired[str],
    CacheClusterId: NotRequired[str],
    ServiceUpdateName: NotRequired[str],
    UpdateActionStatus: NotRequired[UpdateActionStatusType],  # (1)
  1. See UpdateActionStatusType

RebalanceSlotsInGlobalReplicationGroupMessageRequestTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import RebalanceSlotsInGlobalReplicationGroupMessageRequestTypeDef

def get_value() -> RebalanceSlotsInGlobalReplicationGroupMessageRequestTypeDef:
    return {
        "GlobalReplicationGroupId": ...,
        "ApplyImmediately": ...,
    }
Definition
class RebalanceSlotsInGlobalReplicationGroupMessageRequestTypeDef(TypedDict):
    GlobalReplicationGroupId: str,
    ApplyImmediately: bool,

RebootCacheClusterMessageRequestTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import RebootCacheClusterMessageRequestTypeDef

def get_value() -> RebootCacheClusterMessageRequestTypeDef:
    return {
        "CacheClusterId": ...,
        "CacheNodeIdsToReboot": ...,
    }
Definition
class RebootCacheClusterMessageRequestTypeDef(TypedDict):
    CacheClusterId: str,
    CacheNodeIdsToReboot: Sequence[str],

RecurringChargeTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import RecurringChargeTypeDef

def get_value() -> RecurringChargeTypeDef:
    return {
        "RecurringChargeAmount": ...,
    }
Definition
class RecurringChargeTypeDef(TypedDict):
    RecurringChargeAmount: NotRequired[float],
    RecurringChargeFrequency: NotRequired[str],

RemoveTagsFromResourceMessageRequestTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import RemoveTagsFromResourceMessageRequestTypeDef

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

UserGroupsUpdateStatusTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import UserGroupsUpdateStatusTypeDef

def get_value() -> UserGroupsUpdateStatusTypeDef:
    return {
        "UserGroupIdsToAdd": ...,
    }
Definition
class UserGroupsUpdateStatusTypeDef(TypedDict):
    UserGroupIdsToAdd: NotRequired[List[str]],
    UserGroupIdsToRemove: NotRequired[List[str]],

SlotMigrationTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import SlotMigrationTypeDef

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

RevokeCacheSecurityGroupIngressMessageRequestTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import RevokeCacheSecurityGroupIngressMessageRequestTypeDef

def get_value() -> RevokeCacheSecurityGroupIngressMessageRequestTypeDef:
    return {
        "CacheSecurityGroupName": ...,
        "EC2SecurityGroupName": ...,
        "EC2SecurityGroupOwnerId": ...,
    }
Definition
class RevokeCacheSecurityGroupIngressMessageRequestTypeDef(TypedDict):
    CacheSecurityGroupName: str,
    EC2SecurityGroupName: str,
    EC2SecurityGroupOwnerId: str,

ServiceUpdateTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import ServiceUpdateTypeDef

def get_value() -> ServiceUpdateTypeDef:
    return {
        "ServiceUpdateName": ...,
    }
Definition
class ServiceUpdateTypeDef(TypedDict):
    ServiceUpdateName: NotRequired[str],
    ServiceUpdateReleaseDate: NotRequired[datetime],
    ServiceUpdateEndDate: NotRequired[datetime],
    ServiceUpdateSeverity: NotRequired[ServiceUpdateSeverityType],  # (1)
    ServiceUpdateRecommendedApplyByDate: NotRequired[datetime],
    ServiceUpdateStatus: NotRequired[ServiceUpdateStatusType],  # (2)
    ServiceUpdateDescription: NotRequired[str],
    ServiceUpdateType: NotRequired[ServiceUpdateTypeType],  # (3)
    Engine: NotRequired[str],
    EngineVersion: NotRequired[str],
    AutoUpdateAfterRecommendedApplyByDate: NotRequired[bool],
    EstimatedUpdateTime: NotRequired[str],
  1. See ServiceUpdateSeverityType
  2. See ServiceUpdateStatusType
  3. See ServiceUpdateTypeType

SubnetOutpostTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import SubnetOutpostTypeDef

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

TestFailoverMessageRequestTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import TestFailoverMessageRequestTypeDef

def get_value() -> TestFailoverMessageRequestTypeDef:
    return {
        "ReplicationGroupId": ...,
        "NodeGroupId": ...,
    }
Definition
class TestFailoverMessageRequestTypeDef(TypedDict):
    ReplicationGroupId: str,
    NodeGroupId: str,

UnprocessedUpdateActionTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import UnprocessedUpdateActionTypeDef

def get_value() -> UnprocessedUpdateActionTypeDef:
    return {
        "ReplicationGroupId": ...,
    }
Definition
class UnprocessedUpdateActionTypeDef(TypedDict):
    ReplicationGroupId: NotRequired[str],
    CacheClusterId: NotRequired[str],
    ServiceUpdateName: NotRequired[str],
    ErrorType: NotRequired[str],
    ErrorMessage: NotRequired[str],

UserGroupPendingChangesTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import UserGroupPendingChangesTypeDef

def get_value() -> UserGroupPendingChangesTypeDef:
    return {
        "UserIdsToRemove": ...,
    }
Definition
class UserGroupPendingChangesTypeDef(TypedDict):
    UserIdsToRemove: NotRequired[List[str]],
    UserIdsToAdd: NotRequired[List[str]],

AddTagsToResourceMessageRequestTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import AddTagsToResourceMessageRequestTypeDef

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

CopySnapshotMessageRequestTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import CopySnapshotMessageRequestTypeDef

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

CreateCacheParameterGroupMessageRequestTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import CreateCacheParameterGroupMessageRequestTypeDef

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

CreateCacheSecurityGroupMessageRequestTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import CreateCacheSecurityGroupMessageRequestTypeDef

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

CreateCacheSubnetGroupMessageRequestTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import CreateCacheSubnetGroupMessageRequestTypeDef

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

CreateSnapshotMessageRequestTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import CreateSnapshotMessageRequestTypeDef

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

CreateUserGroupMessageRequestTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import CreateUserGroupMessageRequestTypeDef

def get_value() -> CreateUserGroupMessageRequestTypeDef:
    return {
        "UserGroupId": ...,
        "Engine": ...,
    }
Definition
class CreateUserGroupMessageRequestTypeDef(TypedDict):
    UserGroupId: str,
    Engine: str,
    UserIds: NotRequired[Sequence[str]],
    Tags: NotRequired[Sequence[TagTypeDef]],  # (1)
  1. See TagTypeDef

CreateUserMessageRequestTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import CreateUserMessageRequestTypeDef

def get_value() -> CreateUserMessageRequestTypeDef:
    return {
        "UserId": ...,
        "UserName": ...,
        "Engine": ...,
        "AccessString": ...,
    }
Definition
class CreateUserMessageRequestTypeDef(TypedDict):
    UserId: str,
    UserName: str,
    Engine: str,
    AccessString: str,
    Passwords: NotRequired[Sequence[str]],
    NoPasswordRequired: NotRequired[bool],
    Tags: NotRequired[Sequence[TagTypeDef]],  # (1)
  1. See TagTypeDef

PurchaseReservedCacheNodesOfferingMessageRequestTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import PurchaseReservedCacheNodesOfferingMessageRequestTypeDef

def get_value() -> PurchaseReservedCacheNodesOfferingMessageRequestTypeDef:
    return {
        "ReservedCacheNodesOfferingId": ...,
    }
Definition
class PurchaseReservedCacheNodesOfferingMessageRequestTypeDef(TypedDict):
    ReservedCacheNodesOfferingId: str,
    ReservedCacheNodeId: NotRequired[str],
    CacheNodeCount: NotRequired[int],
    Tags: NotRequired[Sequence[TagTypeDef]],  # (1)
  1. See TagTypeDef

AllowedNodeTypeModificationsMessageTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import AllowedNodeTypeModificationsMessageTypeDef

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

CacheParameterGroupNameMessageTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import CacheParameterGroupNameMessageTypeDef

def get_value() -> CacheParameterGroupNameMessageTypeDef:
    return {
        "CacheParameterGroupName": ...,
        "ResponseMetadata": ...,
    }
Definition
class CacheParameterGroupNameMessageTypeDef(TypedDict):
    CacheParameterGroupName: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

EmptyResponseMetadataTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import EmptyResponseMetadataTypeDef

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

TagListMessageTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import TagListMessageTypeDef

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

UserResponseMetadataTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import UserResponseMetadataTypeDef

def get_value() -> UserResponseMetadataTypeDef:
    return {
        "UserId": ...,
        "UserName": ...,
        "Status": ...,
        "Engine": ...,
        "MinimumEngineVersion": ...,
        "AccessString": ...,
        "UserGroupIds": ...,
        "Authentication": ...,
        "ARN": ...,
        "ResponseMetadata": ...,
    }
Definition
class UserResponseMetadataTypeDef(TypedDict):
    UserId: str,
    UserName: str,
    Status: str,
    Engine: str,
    MinimumEngineVersion: str,
    AccessString: str,
    UserGroupIds: List[str],
    Authentication: AuthenticationTypeDef,  # (1)
    ARN: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AuthenticationTypeDef
  2. See ResponseMetadataTypeDef

UserTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import UserTypeDef

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

CacheNodeTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import CacheNodeTypeDef

def get_value() -> CacheNodeTypeDef:
    return {
        "CacheNodeId": ...,
    }
Definition
class CacheNodeTypeDef(TypedDict):
    CacheNodeId: NotRequired[str],
    CacheNodeStatus: NotRequired[str],
    CacheNodeCreateTime: NotRequired[datetime],
    Endpoint: NotRequired[EndpointTypeDef],  # (1)
    ParameterGroupStatus: NotRequired[str],
    SourceCacheNodeId: NotRequired[str],
    CustomerAvailabilityZone: NotRequired[str],
    CustomerOutpostArn: NotRequired[str],
  1. See EndpointTypeDef

NodeGroupMemberTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import NodeGroupMemberTypeDef

def get_value() -> NodeGroupMemberTypeDef:
    return {
        "CacheClusterId": ...,
    }
Definition
class NodeGroupMemberTypeDef(TypedDict):
    CacheClusterId: NotRequired[str],
    CacheNodeId: NotRequired[str],
    ReadEndpoint: NotRequired[EndpointTypeDef],  # (1)
    PreferredAvailabilityZone: NotRequired[str],
    PreferredOutpostArn: NotRequired[str],
    CurrentRole: NotRequired[str],
  1. See EndpointTypeDef

CacheEngineVersionMessageTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import CacheEngineVersionMessageTypeDef

def get_value() -> CacheEngineVersionMessageTypeDef:
    return {
        "Marker": ...,
        "CacheEngineVersions": ...,
        "ResponseMetadata": ...,
    }
Definition
class CacheEngineVersionMessageTypeDef(TypedDict):
    Marker: str,
    CacheEngineVersions: List[CacheEngineVersionTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See CacheEngineVersionTypeDef
  2. See ResponseMetadataTypeDef

CacheNodeTypeSpecificParameterTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import CacheNodeTypeSpecificParameterTypeDef

def get_value() -> CacheNodeTypeSpecificParameterTypeDef:
    return {
        "ParameterName": ...,
    }
Definition
class CacheNodeTypeSpecificParameterTypeDef(TypedDict):
    ParameterName: NotRequired[str],
    Description: NotRequired[str],
    Source: NotRequired[str],
    DataType: NotRequired[str],
    AllowedValues: NotRequired[str],
    IsModifiable: NotRequired[bool],
    MinimumEngineVersion: NotRequired[str],
    CacheNodeTypeSpecificValues: NotRequired[List[CacheNodeTypeSpecificValueTypeDef]],  # (1)
    ChangeType: NotRequired[ChangeTypeType],  # (2)
  1. See CacheNodeTypeSpecificValueTypeDef
  2. See ChangeTypeType

CacheParameterGroupsMessageTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import CacheParameterGroupsMessageTypeDef

def get_value() -> CacheParameterGroupsMessageTypeDef:
    return {
        "Marker": ...,
        "CacheParameterGroups": ...,
        "ResponseMetadata": ...,
    }
Definition
class CacheParameterGroupsMessageTypeDef(TypedDict):
    Marker: str,
    CacheParameterGroups: List[CacheParameterGroupTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See CacheParameterGroupTypeDef
  2. See ResponseMetadataTypeDef

CreateCacheParameterGroupResultTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import CreateCacheParameterGroupResultTypeDef

def get_value() -> CreateCacheParameterGroupResultTypeDef:
    return {
        "CacheParameterGroup": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateCacheParameterGroupResultTypeDef(TypedDict):
    CacheParameterGroup: CacheParameterGroupTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See CacheParameterGroupTypeDef
  2. See ResponseMetadataTypeDef

CacheSecurityGroupTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import CacheSecurityGroupTypeDef

def get_value() -> CacheSecurityGroupTypeDef:
    return {
        "OwnerId": ...,
    }
Definition
class CacheSecurityGroupTypeDef(TypedDict):
    OwnerId: NotRequired[str],
    CacheSecurityGroupName: NotRequired[str],
    Description: NotRequired[str],
    EC2SecurityGroups: NotRequired[List[EC2SecurityGroupTypeDef]],  # (1)
    ARN: NotRequired[str],
  1. See EC2SecurityGroupTypeDef

DecreaseReplicaCountMessageRequestTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import DecreaseReplicaCountMessageRequestTypeDef

def get_value() -> DecreaseReplicaCountMessageRequestTypeDef:
    return {
        "ReplicationGroupId": ...,
        "ApplyImmediately": ...,
    }
Definition
class DecreaseReplicaCountMessageRequestTypeDef(TypedDict):
    ReplicationGroupId: str,
    ApplyImmediately: bool,
    NewReplicaCount: NotRequired[int],
    ReplicaConfiguration: NotRequired[Sequence[ConfigureShardTypeDef]],  # (1)
    ReplicasToRemove: NotRequired[Sequence[str]],
  1. See ConfigureShardTypeDef

IncreaseReplicaCountMessageRequestTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import IncreaseReplicaCountMessageRequestTypeDef

def get_value() -> IncreaseReplicaCountMessageRequestTypeDef:
    return {
        "ReplicationGroupId": ...,
        "ApplyImmediately": ...,
    }
Definition
class IncreaseReplicaCountMessageRequestTypeDef(TypedDict):
    ReplicationGroupId: str,
    ApplyImmediately: bool,
    NewReplicaCount: NotRequired[int],
    ReplicaConfiguration: NotRequired[Sequence[ConfigureShardTypeDef]],  # (1)
  1. See ConfigureShardTypeDef

NodeSnapshotTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import NodeSnapshotTypeDef

def get_value() -> NodeSnapshotTypeDef:
    return {
        "CacheClusterId": ...,
    }
Definition
class NodeSnapshotTypeDef(TypedDict):
    CacheClusterId: NotRequired[str],
    NodeGroupId: NotRequired[str],
    CacheNodeId: NotRequired[str],
    NodeGroupConfiguration: NotRequired[NodeGroupConfigurationTypeDef],  # (1)
    CacheSize: NotRequired[str],
    CacheNodeCreateTime: NotRequired[datetime],
    SnapshotCreateTime: NotRequired[datetime],
  1. See NodeGroupConfigurationTypeDef

StartMigrationMessageRequestTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import StartMigrationMessageRequestTypeDef

def get_value() -> StartMigrationMessageRequestTypeDef:
    return {
        "ReplicationGroupId": ...,
        "CustomerNodeEndpointList": ...,
    }
Definition
class StartMigrationMessageRequestTypeDef(TypedDict):
    ReplicationGroupId: str,
    CustomerNodeEndpointList: Sequence[CustomerNodeEndpointTypeDef],  # (1)
  1. See CustomerNodeEndpointTypeDef

DescribeCacheClustersMessageCacheClusterAvailableWaitTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import DescribeCacheClustersMessageCacheClusterAvailableWaitTypeDef

def get_value() -> DescribeCacheClustersMessageCacheClusterAvailableWaitTypeDef:
    return {
        "CacheClusterId": ...,
    }
Definition
class DescribeCacheClustersMessageCacheClusterAvailableWaitTypeDef(TypedDict):
    CacheClusterId: NotRequired[str],
    MaxRecords: NotRequired[int],
    Marker: NotRequired[str],
    ShowCacheNodeInfo: NotRequired[bool],
    ShowCacheClustersNotInReplicationGroups: NotRequired[bool],
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (1)
  1. See WaiterConfigTypeDef

DescribeCacheClustersMessageCacheClusterDeletedWaitTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import DescribeCacheClustersMessageCacheClusterDeletedWaitTypeDef

def get_value() -> DescribeCacheClustersMessageCacheClusterDeletedWaitTypeDef:
    return {
        "CacheClusterId": ...,
    }
Definition
class DescribeCacheClustersMessageCacheClusterDeletedWaitTypeDef(TypedDict):
    CacheClusterId: NotRequired[str],
    MaxRecords: NotRequired[int],
    Marker: NotRequired[str],
    ShowCacheNodeInfo: NotRequired[bool],
    ShowCacheClustersNotInReplicationGroups: NotRequired[bool],
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (1)
  1. See WaiterConfigTypeDef

DescribeReplicationGroupsMessageReplicationGroupAvailableWaitTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import DescribeReplicationGroupsMessageReplicationGroupAvailableWaitTypeDef

def get_value() -> DescribeReplicationGroupsMessageReplicationGroupAvailableWaitTypeDef:
    return {
        "ReplicationGroupId": ...,
    }
Definition
class DescribeReplicationGroupsMessageReplicationGroupAvailableWaitTypeDef(TypedDict):
    ReplicationGroupId: NotRequired[str],
    MaxRecords: NotRequired[int],
    Marker: NotRequired[str],
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (1)
  1. See WaiterConfigTypeDef

DescribeReplicationGroupsMessageReplicationGroupDeletedWaitTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import DescribeReplicationGroupsMessageReplicationGroupDeletedWaitTypeDef

def get_value() -> DescribeReplicationGroupsMessageReplicationGroupDeletedWaitTypeDef:
    return {
        "ReplicationGroupId": ...,
    }
Definition
class DescribeReplicationGroupsMessageReplicationGroupDeletedWaitTypeDef(TypedDict):
    ReplicationGroupId: NotRequired[str],
    MaxRecords: NotRequired[int],
    Marker: NotRequired[str],
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (1)
  1. See WaiterConfigTypeDef

DescribeCacheClustersMessageDescribeCacheClustersPaginateTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import DescribeCacheClustersMessageDescribeCacheClustersPaginateTypeDef

def get_value() -> DescribeCacheClustersMessageDescribeCacheClustersPaginateTypeDef:
    return {
        "CacheClusterId": ...,
    }
Definition
class DescribeCacheClustersMessageDescribeCacheClustersPaginateTypeDef(TypedDict):
    CacheClusterId: NotRequired[str],
    ShowCacheNodeInfo: NotRequired[bool],
    ShowCacheClustersNotInReplicationGroups: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

DescribeCacheEngineVersionsMessageDescribeCacheEngineVersionsPaginateTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import DescribeCacheEngineVersionsMessageDescribeCacheEngineVersionsPaginateTypeDef

def get_value() -> DescribeCacheEngineVersionsMessageDescribeCacheEngineVersionsPaginateTypeDef:
    return {
        "Engine": ...,
    }
Definition
class DescribeCacheEngineVersionsMessageDescribeCacheEngineVersionsPaginateTypeDef(TypedDict):
    Engine: NotRequired[str],
    EngineVersion: NotRequired[str],
    CacheParameterGroupFamily: NotRequired[str],
    DefaultOnly: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

DescribeCacheParameterGroupsMessageDescribeCacheParameterGroupsPaginateTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import DescribeCacheParameterGroupsMessageDescribeCacheParameterGroupsPaginateTypeDef

def get_value() -> DescribeCacheParameterGroupsMessageDescribeCacheParameterGroupsPaginateTypeDef: