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,

AuthenticationModeTypeDef

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

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

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

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)
    AuthenticationMode: NotRequired[AuthenticationModeTypeDef],  # (2)
  1. See TagTypeDef
  2. See AuthenticationModeTypeDef

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],
    AuthenticationMode: NotRequired[AuthenticationModeTypeDef],  # (1)
  1. See AuthenticationModeTypeDef

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:
    return {
        "CacheParameterGroupName": ...,
    }
Definition
class DescribeCacheParameterGroupsMessageDescribeCacheParameterGroupsPaginateTypeDef(TypedDict):
    CacheParameterGroupName: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

DescribeCacheParametersMessageDescribeCacheParametersPaginateTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import DescribeCacheParametersMessageDescribeCacheParametersPaginateTypeDef

def get_value() -> DescribeCacheParametersMessageDescribeCacheParametersPaginateTypeDef:
    return {
        "CacheParameterGroupName": ...,
    }
Definition
class DescribeCacheParametersMessageDescribeCacheParametersPaginateTypeDef(TypedDict):
    CacheParameterGroupName: str,
    Source: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

DescribeCacheSecurityGroupsMessageDescribeCacheSecurityGroupsPaginateTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import DescribeCacheSecurityGroupsMessageDescribeCacheSecurityGroupsPaginateTypeDef

def get_value() -> DescribeCacheSecurityGroupsMessageDescribeCacheSecurityGroupsPaginateTypeDef:
    return {
        "CacheSecurityGroupName": ...,
    }
Definition
class DescribeCacheSecurityGroupsMessageDescribeCacheSecurityGroupsPaginateTypeDef(TypedDict):
    CacheSecurityGroupName: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

DescribeCacheSubnetGroupsMessageDescribeCacheSubnetGroupsPaginateTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import DescribeCacheSubnetGroupsMessageDescribeCacheSubnetGroupsPaginateTypeDef

def get_value() -> DescribeCacheSubnetGroupsMessageDescribeCacheSubnetGroupsPaginateTypeDef:
    return {
        "CacheSubnetGroupName": ...,
    }
Definition
class DescribeCacheSubnetGroupsMessageDescribeCacheSubnetGroupsPaginateTypeDef(TypedDict):
    CacheSubnetGroupName: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

DescribeEngineDefaultParametersMessageDescribeEngineDefaultParametersPaginateTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import DescribeEngineDefaultParametersMessageDescribeEngineDefaultParametersPaginateTypeDef

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

DescribeEventsMessageDescribeEventsPaginateTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import DescribeEventsMessageDescribeEventsPaginateTypeDef

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

DescribeGlobalReplicationGroupsMessageDescribeGlobalReplicationGroupsPaginateTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import DescribeGlobalReplicationGroupsMessageDescribeGlobalReplicationGroupsPaginateTypeDef

def get_value() -> DescribeGlobalReplicationGroupsMessageDescribeGlobalReplicationGroupsPaginateTypeDef:
    return {
        "GlobalReplicationGroupId": ...,
    }
Definition
class DescribeGlobalReplicationGroupsMessageDescribeGlobalReplicationGroupsPaginateTypeDef(TypedDict):
    GlobalReplicationGroupId: NotRequired[str],
    ShowMemberInfo: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

DescribeReplicationGroupsMessageDescribeReplicationGroupsPaginateTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import DescribeReplicationGroupsMessageDescribeReplicationGroupsPaginateTypeDef

def get_value() -> DescribeReplicationGroupsMessageDescribeReplicationGroupsPaginateTypeDef:
    return {
        "ReplicationGroupId": ...,
    }
Definition
class DescribeReplicationGroupsMessageDescribeReplicationGroupsPaginateTypeDef(TypedDict):
    ReplicationGroupId: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

DescribeReservedCacheNodesMessageDescribeReservedCacheNodesPaginateTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import DescribeReservedCacheNodesMessageDescribeReservedCacheNodesPaginateTypeDef

def get_value() -> DescribeReservedCacheNodesMessageDescribeReservedCacheNodesPaginateTypeDef:
    return {
        "ReservedCacheNodeId": ...,
    }
Definition
class DescribeReservedCacheNodesMessageDescribeReservedCacheNodesPaginateTypeDef(TypedDict):
    ReservedCacheNodeId: NotRequired[str],
    ReservedCacheNodesOfferingId: NotRequired[str],
    CacheNodeType: NotRequired[str],
    Duration: NotRequired[str],
    ProductDescription: NotRequired[str],
    OfferingType: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

DescribeReservedCacheNodesOfferingsMessageDescribeReservedCacheNodesOfferingsPaginateTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import DescribeReservedCacheNodesOfferingsMessageDescribeReservedCacheNodesOfferingsPaginateTypeDef

def get_value() -> DescribeReservedCacheNodesOfferingsMessageDescribeReservedCacheNodesOfferingsPaginateTypeDef:
    return {
        "ReservedCacheNodesOfferingId": ...,
    }
Definition
class DescribeReservedCacheNodesOfferingsMessageDescribeReservedCacheNodesOfferingsPaginateTypeDef(TypedDict):
    ReservedCacheNodesOfferingId: NotRequired[str],
    CacheNodeType: NotRequired[str],
    Duration: NotRequired[str],
    ProductDescription: NotRequired[str],
    OfferingType: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

DescribeServiceUpdatesMessageDescribeServiceUpdatesPaginateTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import DescribeServiceUpdatesMessageDescribeServiceUpdatesPaginateTypeDef

def get_value() -> DescribeServiceUpdatesMessageDescribeServiceUpdatesPaginateTypeDef:
    return {
        "ServiceUpdateName": ...,
    }
Definition
class DescribeServiceUpdatesMessageDescribeServiceUpdatesPaginateTypeDef(TypedDict):
    ServiceUpdateName: NotRequired[str],
    ServiceUpdateStatus: NotRequired[Sequence[ServiceUpdateStatusType]],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See ServiceUpdateStatusType
  2. See PaginatorConfigTypeDef

DescribeSnapshotsMessageDescribeSnapshotsPaginateTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import DescribeSnapshotsMessageDescribeSnapshotsPaginateTypeDef

def get_value() -> DescribeSnapshotsMessageDescribeSnapshotsPaginateTypeDef:
    return {
        "ReplicationGroupId": ...,
    }
Definition
class DescribeSnapshotsMessageDescribeSnapshotsPaginateTypeDef(TypedDict):
    ReplicationGroupId: NotRequired[str],
    CacheClusterId: NotRequired[str],
    SnapshotName: NotRequired[str],
    SnapshotSource: NotRequired[str],
    ShowNodeGroupConfig: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

DescribeUserGroupsMessageDescribeUserGroupsPaginateTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import DescribeUserGroupsMessageDescribeUserGroupsPaginateTypeDef

def get_value() -> DescribeUserGroupsMessageDescribeUserGroupsPaginateTypeDef:
    return {
        "UserGroupId": ...,
    }
Definition
class DescribeUserGroupsMessageDescribeUserGroupsPaginateTypeDef(TypedDict):
    UserGroupId: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

DescribeUpdateActionsMessageDescribeUpdateActionsPaginateTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import DescribeUpdateActionsMessageDescribeUpdateActionsPaginateTypeDef

def get_value() -> DescribeUpdateActionsMessageDescribeUpdateActionsPaginateTypeDef:
    return {
        "ServiceUpdateName": ...,
    }
Definition
class DescribeUpdateActionsMessageDescribeUpdateActionsPaginateTypeDef(TypedDict):
    ServiceUpdateName: NotRequired[str],
    ReplicationGroupIds: NotRequired[Sequence[str]],
    CacheClusterIds: NotRequired[Sequence[str]],
    Engine: NotRequired[str],
    ServiceUpdateStatus: NotRequired[Sequence[ServiceUpdateStatusType]],  # (1)
    ServiceUpdateTimeRange: NotRequired[TimeRangeFilterTypeDef],  # (2)
    UpdateActionStatus: NotRequired[Sequence[UpdateActionStatusType]],  # (3)
    ShowNodeLevelUpdateStatus: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (4)
  1. See ServiceUpdateStatusType
  2. See TimeRangeFilterTypeDef
  3. See UpdateActionStatusType
  4. See PaginatorConfigTypeDef

DescribeUpdateActionsMessageRequestTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import DescribeUpdateActionsMessageRequestTypeDef

def get_value() -> DescribeUpdateActionsMessageRequestTypeDef:
    return {
        "ServiceUpdateName": ...,
    }
Definition
class DescribeUpdateActionsMessageRequestTypeDef(TypedDict):
    ServiceUpdateName: NotRequired[str],
    ReplicationGroupIds: NotRequired[Sequence[str]],
    CacheClusterIds: NotRequired[Sequence[str]],
    Engine: NotRequired[str],
    ServiceUpdateStatus: NotRequired[Sequence[ServiceUpdateStatusType]],  # (1)
    ServiceUpdateTimeRange: NotRequired[TimeRangeFilterTypeDef],  # (2)
    UpdateActionStatus: NotRequired[Sequence[UpdateActionStatusType]],  # (3)
    ShowNodeLevelUpdateStatus: NotRequired[bool],
    MaxRecords: NotRequired[int],
    Marker: NotRequired[str],
  1. See ServiceUpdateStatusType
  2. See TimeRangeFilterTypeDef
  3. See UpdateActionStatusType

DescribeUsersMessageDescribeUsersPaginateTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import DescribeUsersMessageDescribeUsersPaginateTypeDef

def get_value() -> DescribeUsersMessageDescribeUsersPaginateTypeDef:
    return {
        "Engine": ...,
    }
Definition
class DescribeUsersMessageDescribeUsersPaginateTypeDef(TypedDict):
    Engine: NotRequired[str],
    UserId: NotRequired[str],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeUsersMessageRequestTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import DescribeUsersMessageRequestTypeDef

def get_value() -> DescribeUsersMessageRequestTypeDef:
    return {
        "Engine": ...,
    }
Definition
class DescribeUsersMessageRequestTypeDef(TypedDict):
    Engine: NotRequired[str],
    UserId: NotRequired[str],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxRecords: NotRequired[int],
    Marker: NotRequired[str],
  1. See FilterTypeDef

DestinationDetailsTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import DestinationDetailsTypeDef

def get_value() -> DestinationDetailsTypeDef:
    return {
        "CloudWatchLogsDetails": ...,
    }
Definition
class DestinationDetailsTypeDef(TypedDict):
    CloudWatchLogsDetails: NotRequired[CloudWatchLogsDestinationDetailsTypeDef],  # (1)
    KinesisFirehoseDetails: NotRequired[KinesisFirehoseDestinationDetailsTypeDef],  # (2)
  1. See CloudWatchLogsDestinationDetailsTypeDef
  2. See KinesisFirehoseDestinationDetailsTypeDef

EventsMessageTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import EventsMessageTypeDef

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

GlobalReplicationGroupTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import GlobalReplicationGroupTypeDef

def get_value() -> GlobalReplicationGroupTypeDef:
    return {
        "GlobalReplicationGroupId": ...,
    }
Definition
class GlobalReplicationGroupTypeDef(TypedDict):
    GlobalReplicationGroupId: NotRequired[str],
    GlobalReplicationGroupDescription: NotRequired[str],
    Status: NotRequired[str],
    CacheNodeType: NotRequired[str],
    Engine: NotRequired[str],
    EngineVersion: NotRequired[str],
    Members: NotRequired[List[GlobalReplicationGroupMemberTypeDef]],  # (1)
    ClusterEnabled: NotRequired[bool],
    GlobalNodeGroups: NotRequired[List[GlobalNodeGroupTypeDef]],  # (2)
    AuthTokenEnabled: NotRequired[bool],
    TransitEncryptionEnabled: NotRequired[bool],
    AtRestEncryptionEnabled: NotRequired[bool],
    ARN: NotRequired[str],
  1. See GlobalReplicationGroupMemberTypeDef
  2. See GlobalNodeGroupTypeDef

ModifyCacheParameterGroupMessageRequestTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import ModifyCacheParameterGroupMessageRequestTypeDef

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

ResetCacheParameterGroupMessageRequestTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import ResetCacheParameterGroupMessageRequestTypeDef

def get_value() -> ResetCacheParameterGroupMessageRequestTypeDef:
    return {
        "CacheParameterGroupName": ...,
    }
Definition
class ResetCacheParameterGroupMessageRequestTypeDef(TypedDict):
    CacheParameterGroupName: str,
    ResetAllParameters: NotRequired[bool],
    ParameterNameValues: NotRequired[Sequence[ParameterNameValueTypeDef]],  # (1)
  1. See ParameterNameValueTypeDef

ModifyReplicationGroupShardConfigurationMessageRequestTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import ModifyReplicationGroupShardConfigurationMessageRequestTypeDef

def get_value() -> ModifyReplicationGroupShardConfigurationMessageRequestTypeDef:
    return {
        "ReplicationGroupId": ...,
        "NodeGroupCount": ...,
        "ApplyImmediately": ...,
    }
Definition
class ModifyReplicationGroupShardConfigurationMessageRequestTypeDef(TypedDict):
    ReplicationGroupId: str,
    NodeGroupCount: int,
    ApplyImmediately: bool,
    ReshardingConfiguration: NotRequired[Sequence[ReshardingConfigurationTypeDef]],  # (1)
    NodeGroupsToRemove: NotRequired[Sequence[str]],
    NodeGroupsToRetain: NotRequired[Sequence[str]],
  1. See ReshardingConfigurationTypeDef

RegionalConfigurationTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import RegionalConfigurationTypeDef

def get_value() -> RegionalConfigurationTypeDef:
    return {
        "ReplicationGroupId": ...,
        "ReplicationGroupRegion": ...,
        "ReshardingConfiguration": ...,
    }
Definition
class RegionalConfigurationTypeDef(TypedDict):
    ReplicationGroupId: str,
    ReplicationGroupRegion: str,
    ReshardingConfiguration: Sequence[ReshardingConfigurationTypeDef],  # (1)
  1. See ReshardingConfigurationTypeDef

NodeGroupUpdateStatusTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import NodeGroupUpdateStatusTypeDef

def get_value() -> NodeGroupUpdateStatusTypeDef:
    return {
        "NodeGroupId": ...,
    }
Definition
class NodeGroupUpdateStatusTypeDef(TypedDict):
    NodeGroupId: NotRequired[str],
    NodeGroupMemberUpdateStatus: NotRequired[List[NodeGroupMemberUpdateStatusTypeDef]],  # (1)
  1. See NodeGroupMemberUpdateStatusTypeDef

ReservedCacheNodeTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import ReservedCacheNodeTypeDef

def get_value() -> ReservedCacheNodeTypeDef:
    return {
        "ReservedCacheNodeId": ...,
    }
Definition
class ReservedCacheNodeTypeDef(TypedDict):
    ReservedCacheNodeId: NotRequired[str],
    ReservedCacheNodesOfferingId: NotRequired[str],
    CacheNodeType: NotRequired[str],
    StartTime: NotRequired[datetime],
    Duration: NotRequired[int],
    FixedPrice: NotRequired[float],
    UsagePrice: NotRequired[float],
    CacheNodeCount: NotRequired[int],
    ProductDescription: NotRequired[str],
    OfferingType: NotRequired[str],
    State: NotRequired[str],
    RecurringCharges: NotRequired[List[RecurringChargeTypeDef]],  # (1)
    ReservationARN: NotRequired[str],
  1. See RecurringChargeTypeDef

ReservedCacheNodesOfferingTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import ReservedCacheNodesOfferingTypeDef

def get_value() -> ReservedCacheNodesOfferingTypeDef:
    return {
        "ReservedCacheNodesOfferingId": ...,
    }
Definition
class ReservedCacheNodesOfferingTypeDef(TypedDict):
    ReservedCacheNodesOfferingId: NotRequired[str],
    CacheNodeType: NotRequired[str],
    Duration: NotRequired[int],
    FixedPrice: NotRequired[float],
    UsagePrice: NotRequired[float],
    ProductDescription: NotRequired[str],
    OfferingType: NotRequired[str],
    RecurringCharges: NotRequired[List[RecurringChargeTypeDef]],  # (1)
  1. See RecurringChargeTypeDef

ReshardingStatusTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import ReshardingStatusTypeDef

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

ServiceUpdatesMessageTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import ServiceUpdatesMessageTypeDef

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

SubnetTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import SubnetTypeDef

def get_value() -> SubnetTypeDef:
    return {
        "SubnetIdentifier": ...,
    }
Definition
class SubnetTypeDef(TypedDict):
    SubnetIdentifier: NotRequired[str],
    SubnetAvailabilityZone: NotRequired[AvailabilityZoneTypeDef],  # (1)
    SubnetOutpost: NotRequired[SubnetOutpostTypeDef],  # (2)
    SupportedNetworkTypes: NotRequired[List[NetworkTypeType]],  # (3)
  1. See AvailabilityZoneTypeDef
  2. See SubnetOutpostTypeDef
  3. See NetworkTypeType

UpdateActionResultsMessageTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import UpdateActionResultsMessageTypeDef

def get_value() -> UpdateActionResultsMessageTypeDef:
    return {
        "ProcessedUpdateActions": ...,
        "UnprocessedUpdateActions": ...,
        "ResponseMetadata": ...,
    }
Definition
class UpdateActionResultsMessageTypeDef(TypedDict):
    ProcessedUpdateActions: List[ProcessedUpdateActionTypeDef],  # (1)
    UnprocessedUpdateActions: List[UnprocessedUpdateActionTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See ProcessedUpdateActionTypeDef
  2. See UnprocessedUpdateActionTypeDef
  3. See ResponseMetadataTypeDef

UserGroupResponseMetadataTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import UserGroupResponseMetadataTypeDef

def get_value() -> UserGroupResponseMetadataTypeDef:
    return {
        "UserGroupId": ...,
        "Status": ...,
        "Engine": ...,
        "UserIds": ...,
        "MinimumEngineVersion": ...,
        "PendingChanges": ...,
        "ReplicationGroups": ...,
        "ARN": ...,
        "ResponseMetadata": ...,
    }
Definition
class UserGroupResponseMetadataTypeDef(TypedDict):
    UserGroupId: str,
    Status: str,
    Engine: str,
    UserIds: List[str],
    MinimumEngineVersion: str,
    PendingChanges: UserGroupPendingChangesTypeDef,  # (1)
    ReplicationGroups: List[str],
    ARN: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See UserGroupPendingChangesTypeDef
  2. See ResponseMetadataTypeDef

UserGroupTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import UserGroupTypeDef

def get_value() -> UserGroupTypeDef:
    return {
        "UserGroupId": ...,
    }
Definition
class UserGroupTypeDef(TypedDict):
    UserGroupId: NotRequired[str],
    Status: NotRequired[str],
    Engine: NotRequired[str],
    UserIds: NotRequired[List[str]],
    MinimumEngineVersion: NotRequired[str],
    PendingChanges: NotRequired[UserGroupPendingChangesTypeDef],  # (1)
    ReplicationGroups: NotRequired[List[str]],
    ARN: NotRequired[str],
  1. See UserGroupPendingChangesTypeDef

DescribeUsersResultTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import DescribeUsersResultTypeDef

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

NodeGroupTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import NodeGroupTypeDef

def get_value() -> NodeGroupTypeDef:
    return {
        "NodeGroupId": ...,
    }
Definition
class NodeGroupTypeDef(TypedDict):
    NodeGroupId: NotRequired[str],
    Status: NotRequired[str],
    PrimaryEndpoint: NotRequired[EndpointTypeDef],  # (1)
    ReaderEndpoint: NotRequired[EndpointTypeDef],  # (1)
    Slots: NotRequired[str],
    NodeGroupMembers: NotRequired[List[NodeGroupMemberTypeDef]],  # (3)
  1. See EndpointTypeDef
  2. See EndpointTypeDef
  3. See NodeGroupMemberTypeDef

CacheParameterGroupDetailsTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import CacheParameterGroupDetailsTypeDef

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

EngineDefaultsTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import EngineDefaultsTypeDef

def get_value() -> EngineDefaultsTypeDef:
    return {
        "CacheParameterGroupFamily": ...,
    }
Definition
class EngineDefaultsTypeDef(TypedDict):
    CacheParameterGroupFamily: NotRequired[str],
    Marker: NotRequired[str],
    Parameters: NotRequired[List[ParameterTypeDef]],  # (1)
    CacheNodeTypeSpecificParameters: NotRequired[List[CacheNodeTypeSpecificParameterTypeDef]],  # (2)
  1. See ParameterTypeDef
  2. See CacheNodeTypeSpecificParameterTypeDef

AuthorizeCacheSecurityGroupIngressResultTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import AuthorizeCacheSecurityGroupIngressResultTypeDef

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

CacheSecurityGroupMessageTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import CacheSecurityGroupMessageTypeDef

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

CreateCacheSecurityGroupResultTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import CreateCacheSecurityGroupResultTypeDef

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

RevokeCacheSecurityGroupIngressResultTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import RevokeCacheSecurityGroupIngressResultTypeDef

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

SnapshotTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import SnapshotTypeDef

def get_value() -> SnapshotTypeDef:
    return {
        "SnapshotName": ...,
    }
Definition
class SnapshotTypeDef(TypedDict):
    SnapshotName: NotRequired[str],
    ReplicationGroupId: NotRequired[str],
    ReplicationGroupDescription: NotRequired[str],
    CacheClusterId: NotRequired[str],
    SnapshotStatus: NotRequired[str],
    SnapshotSource: NotRequired[str],
    CacheNodeType: NotRequired[str],
    Engine: NotRequired[str],
    EngineVersion: NotRequired[str],
    NumCacheNodes: NotRequired[int],
    PreferredAvailabilityZone: NotRequired[str],
    PreferredOutpostArn: NotRequired[str],
    CacheClusterCreateTime: NotRequired[datetime],
    PreferredMaintenanceWindow: NotRequired[str],
    TopicArn: NotRequired[str],
    Port: NotRequired[int],
    CacheParameterGroupName: NotRequired[str],
    CacheSubnetGroupName: NotRequired[str],
    VpcId: NotRequired[str],
    AutoMinorVersionUpgrade: NotRequired[bool],
    SnapshotRetentionLimit: NotRequired[int],
    SnapshotWindow: NotRequired[str],
    NumNodeGroups: NotRequired[int],
    AutomaticFailover: NotRequired[AutomaticFailoverStatusType],  # (1)
    NodeSnapshots: NotRequired[List[NodeSnapshotTypeDef]],  # (2)
    KmsKeyId: NotRequired[str],
    ARN: NotRequired[str],
    DataTiering: NotRequired[DataTieringStatusType],  # (3)
  1. See AutomaticFailoverStatusType
  2. See NodeSnapshotTypeDef
  3. See DataTieringStatusType

LogDeliveryConfigurationRequestTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import LogDeliveryConfigurationRequestTypeDef

def get_value() -> LogDeliveryConfigurationRequestTypeDef:
    return {
        "LogType": ...,
    }
Definition
class LogDeliveryConfigurationRequestTypeDef(TypedDict):
    LogType: NotRequired[LogTypeType],  # (1)
    DestinationType: NotRequired[DestinationTypeType],  # (2)
    DestinationDetails: NotRequired[DestinationDetailsTypeDef],  # (3)
    LogFormat: NotRequired[LogFormatType],  # (4)
    Enabled: NotRequired[bool],
  1. See LogTypeType
  2. See DestinationTypeType
  3. See DestinationDetailsTypeDef
  4. See LogFormatType

LogDeliveryConfigurationTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import LogDeliveryConfigurationTypeDef

def get_value() -> LogDeliveryConfigurationTypeDef:
    return {
        "LogType": ...,
    }
Definition
class LogDeliveryConfigurationTypeDef(TypedDict):
    LogType: NotRequired[LogTypeType],  # (1)
    DestinationType: NotRequired[DestinationTypeType],  # (2)
    DestinationDetails: NotRequired[DestinationDetailsTypeDef],  # (3)
    LogFormat: NotRequired[LogFormatType],  # (4)
    Status: NotRequired[LogDeliveryConfigurationStatusType],  # (5)
    Message: NotRequired[str],
  1. See LogTypeType
  2. See DestinationTypeType
  3. See DestinationDetailsTypeDef
  4. See LogFormatType
  5. See LogDeliveryConfigurationStatusType

PendingLogDeliveryConfigurationTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import PendingLogDeliveryConfigurationTypeDef

def get_value() -> PendingLogDeliveryConfigurationTypeDef:
    return {
        "LogType": ...,
    }
Definition
class PendingLogDeliveryConfigurationTypeDef(TypedDict):
    LogType: NotRequired[LogTypeType],  # (1)
    DestinationType: NotRequired[DestinationTypeType],  # (2)
    DestinationDetails: NotRequired[DestinationDetailsTypeDef],  # (3)
    LogFormat: NotRequired[LogFormatType],  # (4)
  1. See LogTypeType
  2. See DestinationTypeType
  3. See DestinationDetailsTypeDef
  4. See LogFormatType

CreateGlobalReplicationGroupResultTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import CreateGlobalReplicationGroupResultTypeDef

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

DecreaseNodeGroupsInGlobalReplicationGroupResultTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import DecreaseNodeGroupsInGlobalReplicationGroupResultTypeDef

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

DeleteGlobalReplicationGroupResultTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import DeleteGlobalReplicationGroupResultTypeDef

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

DescribeGlobalReplicationGroupsResultTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import DescribeGlobalReplicationGroupsResultTypeDef

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

DisassociateGlobalReplicationGroupResultTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import DisassociateGlobalReplicationGroupResultTypeDef

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

FailoverGlobalReplicationGroupResultTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import FailoverGlobalReplicationGroupResultTypeDef

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

IncreaseNodeGroupsInGlobalReplicationGroupResultTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import IncreaseNodeGroupsInGlobalReplicationGroupResultTypeDef

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

ModifyGlobalReplicationGroupResultTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import ModifyGlobalReplicationGroupResultTypeDef

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

RebalanceSlotsInGlobalReplicationGroupResultTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import RebalanceSlotsInGlobalReplicationGroupResultTypeDef

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

IncreaseNodeGroupsInGlobalReplicationGroupMessageRequestTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import IncreaseNodeGroupsInGlobalReplicationGroupMessageRequestTypeDef

def get_value() -> IncreaseNodeGroupsInGlobalReplicationGroupMessageRequestTypeDef:
    return {
        "GlobalReplicationGroupId": ...,
        "NodeGroupCount": ...,
        "ApplyImmediately": ...,
    }
Definition
class IncreaseNodeGroupsInGlobalReplicationGroupMessageRequestTypeDef(TypedDict):
    GlobalReplicationGroupId: str,
    NodeGroupCount: int,
    ApplyImmediately: bool,
    RegionalConfigurations: NotRequired[Sequence[RegionalConfigurationTypeDef]],  # (1)
  1. See RegionalConfigurationTypeDef

UpdateActionTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import UpdateActionTypeDef

def get_value() -> UpdateActionTypeDef:
    return {
        "ReplicationGroupId": ...,
    }
Definition
class UpdateActionTypeDef(TypedDict):
    ReplicationGroupId: NotRequired[str],
    CacheClusterId: NotRequired[str],
    ServiceUpdateName: NotRequired[str],
    ServiceUpdateReleaseDate: NotRequired[datetime],
    ServiceUpdateSeverity: NotRequired[ServiceUpdateSeverityType],  # (1)
    ServiceUpdateStatus: NotRequired[ServiceUpdateStatusType],  # (2)
    ServiceUpdateRecommendedApplyByDate: NotRequired[datetime],
    ServiceUpdateType: NotRequired[ServiceUpdateTypeType],  # (3)
    UpdateActionAvailableDate: NotRequired[datetime],
    UpdateActionStatus: NotRequired[UpdateActionStatusType],  # (4)
    NodesUpdated: NotRequired[str],
    UpdateActionStatusModifiedDate: NotRequired[datetime],
    SlaMet: NotRequired[SlaMetType],  # (5)
    NodeGroupUpdateStatus: NotRequired[List[NodeGroupUpdateStatusTypeDef]],  # (6)
    CacheNodeUpdateStatus: NotRequired[List[CacheNodeUpdateStatusTypeDef]],  # (7)
    EstimatedUpdateTime: NotRequired[str],
    Engine: NotRequired[str],
  1. See ServiceUpdateSeverityType
  2. See ServiceUpdateStatusType
  3. See ServiceUpdateTypeType
  4. See UpdateActionStatusType
  5. See SlaMetType
  6. See NodeGroupUpdateStatusTypeDef
  7. See CacheNodeUpdateStatusTypeDef

PurchaseReservedCacheNodesOfferingResultTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import PurchaseReservedCacheNodesOfferingResultTypeDef

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

ReservedCacheNodeMessageTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import ReservedCacheNodeMessageTypeDef

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

ReservedCacheNodesOfferingMessageTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import ReservedCacheNodesOfferingMessageTypeDef

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

CacheSubnetGroupTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import CacheSubnetGroupTypeDef

def get_value() -> CacheSubnetGroupTypeDef:
    return {
        "CacheSubnetGroupName": ...,
    }
Definition
class CacheSubnetGroupTypeDef(TypedDict):
    CacheSubnetGroupName: NotRequired[str],
    CacheSubnetGroupDescription: NotRequired[str],
    VpcId: NotRequired[str],
    Subnets: NotRequired[List[SubnetTypeDef]],  # (1)
    ARN: NotRequired[str],
    SupportedNetworkTypes: NotRequired[List[NetworkTypeType]],  # (2)
  1. See SubnetTypeDef
  2. See NetworkTypeType

DescribeUserGroupsResultTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import DescribeUserGroupsResultTypeDef

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

DescribeEngineDefaultParametersResultTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import DescribeEngineDefaultParametersResultTypeDef

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

CopySnapshotResultTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import CopySnapshotResultTypeDef

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

CreateSnapshotResultTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import CreateSnapshotResultTypeDef

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

DeleteSnapshotResultTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import DeleteSnapshotResultTypeDef

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

DescribeSnapshotsListMessageTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import DescribeSnapshotsListMessageTypeDef

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

CreateCacheClusterMessageRequestTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import CreateCacheClusterMessageRequestTypeDef

def get_value() -> CreateCacheClusterMessageRequestTypeDef:
    return {
        "CacheClusterId": ...,
    }
Definition
class CreateCacheClusterMessageRequestTypeDef(TypedDict):
    CacheClusterId: str,
    ReplicationGroupId: NotRequired[str],
    AZMode: NotRequired[AZModeType],  # (1)
    PreferredAvailabilityZone: NotRequired[str],
    PreferredAvailabilityZones: NotRequired[Sequence[str]],
    NumCacheNodes: NotRequired[int],
    CacheNodeType: NotRequired[str],
    Engine: NotRequired[str],
    EngineVersion: NotRequired[str],
    CacheParameterGroupName: NotRequired[str],
    CacheSubnetGroupName: NotRequired[str],
    CacheSecurityGroupNames: NotRequired[Sequence[str]],
    SecurityGroupIds: NotRequired[Sequence[str]],
    Tags: NotRequired[Sequence[TagTypeDef]],  # (2)
    SnapshotArns: NotRequired[Sequence[str]],
    SnapshotName: NotRequired[str],
    PreferredMaintenanceWindow: NotRequired[str],
    Port: NotRequired[int],
    NotificationTopicArn: NotRequired[str],
    AutoMinorVersionUpgrade: NotRequired[bool],
    SnapshotRetentionLimit: NotRequired[int],
    SnapshotWindow: NotRequired[str],
    AuthToken: NotRequired[str],
    OutpostMode: NotRequired[OutpostModeType],  # (3)
    PreferredOutpostArn: NotRequired[str],
    PreferredOutpostArns: NotRequired[Sequence[str]],
    LogDeliveryConfigurations: NotRequired[Sequence[LogDeliveryConfigurationRequestTypeDef]],  # (4)
    TransitEncryptionEnabled: NotRequired[bool],
    NetworkType: NotRequired[NetworkTypeType],  # (5)
    IpDiscovery: NotRequired[IpDiscoveryType],  # (6)
  1. See AZModeType
  2. See TagTypeDef
  3. See OutpostModeType
  4. See LogDeliveryConfigurationRequestTypeDef
  5. See NetworkTypeType
  6. See IpDiscoveryType

CreateReplicationGroupMessageRequestTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import CreateReplicationGroupMessageRequestTypeDef

def get_value() -> CreateReplicationGroupMessageRequestTypeDef:
    return {
        "ReplicationGroupId": ...,
        "ReplicationGroupDescription": ...,
    }
Definition
class CreateReplicationGroupMessageRequestTypeDef(TypedDict):
    ReplicationGroupId: str,
    ReplicationGroupDescription: str,
    GlobalReplicationGroupId: NotRequired[str],
    PrimaryClusterId: NotRequired[str],
    AutomaticFailoverEnabled: NotRequired[bool],
    MultiAZEnabled: NotRequired[bool],
    NumCacheClusters: NotRequired[int],
    PreferredCacheClusterAZs: NotRequired[Sequence[str]],
    NumNodeGroups: NotRequired[int],
    ReplicasPerNodeGroup: NotRequired[int],
    NodeGroupConfiguration: NotRequired[Sequence[NodeGroupConfigurationTypeDef]],  # (1)
    CacheNodeType: NotRequired[str],
    Engine: NotRequired[str],
    EngineVersion: NotRequired[str],
    CacheParameterGroupName: NotRequired[str],
    CacheSubnetGroupName: NotRequired[str],
    CacheSecurityGroupNames: NotRequired[Sequence[str]],
    SecurityGroupIds: NotRequired[Sequence[str]],
    Tags: NotRequired[Sequence[TagTypeDef]],  # (2)
    SnapshotArns: NotRequired[Sequence[str]],
    SnapshotName: NotRequired[str],
    PreferredMaintenanceWindow: NotRequired[str],
    Port: NotRequired[int],
    NotificationTopicArn: NotRequired[str],
    AutoMinorVersionUpgrade: NotRequired[bool],
    SnapshotRetentionLimit: NotRequired[int],
    SnapshotWindow: NotRequired[str],
    AuthToken: NotRequired[str],
    TransitEncryptionEnabled: NotRequired[bool],
    AtRestEncryptionEnabled: NotRequired[bool],
    KmsKeyId: NotRequired[str],
    UserGroupIds: NotRequired[Sequence[str]],
    LogDeliveryConfigurations: NotRequired[Sequence[LogDeliveryConfigurationRequestTypeDef]],  # (3)
    DataTieringEnabled: NotRequired[bool],
    NetworkType: NotRequired[NetworkTypeType],  # (4)
    IpDiscovery: NotRequired[IpDiscoveryType],  # (5)
    TransitEncryptionMode: NotRequired[TransitEncryptionModeType],  # (6)
  1. See NodeGroupConfigurationTypeDef
  2. See TagTypeDef
  3. See LogDeliveryConfigurationRequestTypeDef
  4. See NetworkTypeType
  5. See IpDiscoveryType
  6. See TransitEncryptionModeType

ModifyCacheClusterMessageRequestTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import ModifyCacheClusterMessageRequestTypeDef

def get_value() -> ModifyCacheClusterMessageRequestTypeDef:
    return {
        "CacheClusterId": ...,
    }
Definition
class ModifyCacheClusterMessageRequestTypeDef(TypedDict):
    CacheClusterId: str,
    NumCacheNodes: NotRequired[int],
    CacheNodeIdsToRemove: NotRequired[Sequence[str]],
    AZMode: NotRequired[AZModeType],  # (1)
    NewAvailabilityZones: NotRequired[Sequence[str]],
    CacheSecurityGroupNames: NotRequired[Sequence[str]],
    SecurityGroupIds: NotRequired[Sequence[str]],
    PreferredMaintenanceWindow: NotRequired[str],
    NotificationTopicArn: NotRequired[str],
    CacheParameterGroupName: NotRequired[str],
    NotificationTopicStatus: NotRequired[str],
    ApplyImmediately: NotRequired[bool],
    EngineVersion: NotRequired[str],
    AutoMinorVersionUpgrade: NotRequired[bool],
    SnapshotRetentionLimit: NotRequired[int],
    SnapshotWindow: NotRequired[str],
    CacheNodeType: NotRequired[str],
    AuthToken: NotRequired[str],
    AuthTokenUpdateStrategy: NotRequired[AuthTokenUpdateStrategyTypeType],  # (2)
    LogDeliveryConfigurations: NotRequired[Sequence[LogDeliveryConfigurationRequestTypeDef]],  # (3)
    IpDiscovery: NotRequired[IpDiscoveryType],  # (4)
  1. See AZModeType
  2. See AuthTokenUpdateStrategyTypeType
  3. See LogDeliveryConfigurationRequestTypeDef
  4. See IpDiscoveryType

ModifyReplicationGroupMessageRequestTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import ModifyReplicationGroupMessageRequestTypeDef

def get_value() -> ModifyReplicationGroupMessageRequestTypeDef:
    return {
        "ReplicationGroupId": ...,
    }
Definition
class ModifyReplicationGroupMessageRequestTypeDef(TypedDict):
    ReplicationGroupId: str,
    ReplicationGroupDescription: NotRequired[str],
    PrimaryClusterId: NotRequired[str],
    SnapshottingClusterId: NotRequired[str],
    AutomaticFailoverEnabled: NotRequired[bool],
    MultiAZEnabled: NotRequired[bool],
    NodeGroupId: NotRequired[str],
    CacheSecurityGroupNames: NotRequired[Sequence[str]],
    SecurityGroupIds: NotRequired[Sequence[str]],
    PreferredMaintenanceWindow: NotRequired[str],
    NotificationTopicArn: NotRequired[str],
    CacheParameterGroupName: NotRequired[str],
    NotificationTopicStatus: NotRequired[str],
    ApplyImmediately: NotRequired[bool],
    EngineVersion: NotRequired[str],
    AutoMinorVersionUpgrade: NotRequired[bool],
    SnapshotRetentionLimit: NotRequired[int],
    SnapshotWindow: NotRequired[str],
    CacheNodeType: NotRequired[str],
    AuthToken: NotRequired[str],
    AuthTokenUpdateStrategy: NotRequired[AuthTokenUpdateStrategyTypeType],  # (1)
    UserGroupIdsToAdd: NotRequired[Sequence[str]],
    UserGroupIdsToRemove: NotRequired[Sequence[str]],
    RemoveUserGroups: NotRequired[bool],
    LogDeliveryConfigurations: NotRequired[Sequence[LogDeliveryConfigurationRequestTypeDef]],  # (2)
    IpDiscovery: NotRequired[IpDiscoveryType],  # (3)
    TransitEncryptionEnabled: NotRequired[bool],
    TransitEncryptionMode: NotRequired[TransitEncryptionModeType],  # (4)
  1. See AuthTokenUpdateStrategyTypeType
  2. See LogDeliveryConfigurationRequestTypeDef
  3. See IpDiscoveryType
  4. See TransitEncryptionModeType

PendingModifiedValuesTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import PendingModifiedValuesTypeDef

def get_value() -> PendingModifiedValuesTypeDef:
    return {
        "NumCacheNodes": ...,
    }
Definition
class PendingModifiedValuesTypeDef(TypedDict):
    NumCacheNodes: NotRequired[int],
    CacheNodeIdsToRemove: NotRequired[List[str]],
    EngineVersion: NotRequired[str],
    CacheNodeType: NotRequired[str],
    AuthTokenStatus: NotRequired[AuthTokenUpdateStatusType],  # (1)
    LogDeliveryConfigurations: NotRequired[List[PendingLogDeliveryConfigurationTypeDef]],  # (2)
    TransitEncryptionEnabled: NotRequired[bool],
    TransitEncryptionMode: NotRequired[TransitEncryptionModeType],  # (3)
  1. See AuthTokenUpdateStatusType
  2. See PendingLogDeliveryConfigurationTypeDef
  3. See TransitEncryptionModeType

ReplicationGroupPendingModifiedValuesTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import ReplicationGroupPendingModifiedValuesTypeDef

def get_value() -> ReplicationGroupPendingModifiedValuesTypeDef:
    return {
        "PrimaryClusterId": ...,
    }
Definition
class ReplicationGroupPendingModifiedValuesTypeDef(TypedDict):
    PrimaryClusterId: NotRequired[str],
    AutomaticFailoverStatus: NotRequired[PendingAutomaticFailoverStatusType],  # (1)
    Resharding: NotRequired[ReshardingStatusTypeDef],  # (2)
    AuthTokenStatus: NotRequired[AuthTokenUpdateStatusType],  # (3)
    UserGroups: NotRequired[UserGroupsUpdateStatusTypeDef],  # (4)
    LogDeliveryConfigurations: NotRequired[List[PendingLogDeliveryConfigurationTypeDef]],  # (5)
    TransitEncryptionEnabled: NotRequired[bool],
    TransitEncryptionMode: NotRequired[TransitEncryptionModeType],  # (6)
  1. See PendingAutomaticFailoverStatusType
  2. See ReshardingStatusTypeDef
  3. See AuthTokenUpdateStatusType
  4. See UserGroupsUpdateStatusTypeDef
  5. See PendingLogDeliveryConfigurationTypeDef
  6. See TransitEncryptionModeType

UpdateActionsMessageTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import UpdateActionsMessageTypeDef

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

CacheSubnetGroupMessageTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import CacheSubnetGroupMessageTypeDef

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

CreateCacheSubnetGroupResultTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import CreateCacheSubnetGroupResultTypeDef

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

ModifyCacheSubnetGroupResultTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import ModifyCacheSubnetGroupResultTypeDef

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

CacheClusterTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import CacheClusterTypeDef

def get_value() -> CacheClusterTypeDef:
    return {
        "CacheClusterId": ...,
    }
Definition
class CacheClusterTypeDef(TypedDict):
    CacheClusterId: NotRequired[str],
    ConfigurationEndpoint: NotRequired[EndpointTypeDef],  # (1)
    ClientDownloadLandingPage: NotRequired[str],
    CacheNodeType: NotRequired[str],
    Engine: NotRequired[str],
    EngineVersion: NotRequired[str],
    CacheClusterStatus: NotRequired[str],
    NumCacheNodes: NotRequired[int],
    PreferredAvailabilityZone: NotRequired[str],
    PreferredOutpostArn: NotRequired[str],
    CacheClusterCreateTime: NotRequired[datetime],
    PreferredMaintenanceWindow: NotRequired[str],
    PendingModifiedValues: NotRequired[PendingModifiedValuesTypeDef],  # (2)
    NotificationConfiguration: NotRequired[NotificationConfigurationTypeDef],  # (3)
    CacheSecurityGroups: NotRequired[List[CacheSecurityGroupMembershipTypeDef]],  # (4)
    CacheParameterGroup: NotRequired[CacheParameterGroupStatusTypeDef],  # (5)
    CacheSubnetGroupName: NotRequired[str],
    CacheNodes: NotRequired[List[CacheNodeTypeDef]],  # (6)
    AutoMinorVersionUpgrade: NotRequired[bool],
    SecurityGroups: NotRequired[List[SecurityGroupMembershipTypeDef]],  # (7)
    ReplicationGroupId: NotRequired[str],
    SnapshotRetentionLimit: NotRequired[int],
    SnapshotWindow: NotRequired[str],
    AuthTokenEnabled: NotRequired[bool],
    AuthTokenLastModifiedDate: NotRequired[datetime],
    TransitEncryptionEnabled: NotRequired[bool],
    AtRestEncryptionEnabled: NotRequired[bool],
    ARN: NotRequired[str],
    ReplicationGroupLogDeliveryEnabled: NotRequired[bool],
    LogDeliveryConfigurations: NotRequired[List[LogDeliveryConfigurationTypeDef]],  # (8)
    NetworkType: NotRequired[NetworkTypeType],  # (9)
    IpDiscovery: NotRequired[IpDiscoveryType],  # (10)
    TransitEncryptionMode: NotRequired[TransitEncryptionModeType],  # (11)
  1. See EndpointTypeDef
  2. See PendingModifiedValuesTypeDef
  3. See NotificationConfigurationTypeDef
  4. See CacheSecurityGroupMembershipTypeDef
  5. See CacheParameterGroupStatusTypeDef
  6. See CacheNodeTypeDef
  7. See SecurityGroupMembershipTypeDef
  8. See LogDeliveryConfigurationTypeDef
  9. See NetworkTypeType
  10. See IpDiscoveryType
  11. See TransitEncryptionModeType

ReplicationGroupTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import ReplicationGroupTypeDef

def get_value() -> ReplicationGroupTypeDef:
    return {
        "ReplicationGroupId": ...,
    }
Definition
class ReplicationGroupTypeDef(TypedDict):
    ReplicationGroupId: NotRequired[str],
    Description: NotRequired[str],
    GlobalReplicationGroupInfo: NotRequired[GlobalReplicationGroupInfoTypeDef],  # (1)
    Status: NotRequired[str],
    PendingModifiedValues: NotRequired[ReplicationGroupPendingModifiedValuesTypeDef],  # (2)
    MemberClusters: NotRequired[List[str]],
    NodeGroups: NotRequired[List[NodeGroupTypeDef]],  # (3)
    SnapshottingClusterId: NotRequired[str],
    AutomaticFailover: NotRequired[AutomaticFailoverStatusType],  # (4)
    MultiAZ: NotRequired[MultiAZStatusType],  # (5)
    ConfigurationEndpoint: NotRequired[EndpointTypeDef],  # (6)
    SnapshotRetentionLimit: NotRequired[int],
    SnapshotWindow: NotRequired[str],
    ClusterEnabled: NotRequired[bool],
    CacheNodeType: NotRequired[str],
    AuthTokenEnabled: NotRequired[bool],
    AuthTokenLastModifiedDate: NotRequired[datetime],
    TransitEncryptionEnabled: NotRequired[bool],
    AtRestEncryptionEnabled: NotRequired[bool],
    MemberClustersOutpostArns: NotRequired[List[str]],
    KmsKeyId: NotRequired[str],
    ARN: NotRequired[str],
    UserGroupIds: NotRequired[List[str]],
    LogDeliveryConfigurations: NotRequired[List[LogDeliveryConfigurationTypeDef]],  # (7)
    ReplicationGroupCreateTime: NotRequired[datetime],
    DataTiering: NotRequired[DataTieringStatusType],  # (8)
    AutoMinorVersionUpgrade: NotRequired[bool],
    NetworkType: NotRequired[NetworkTypeType],  # (9)
    IpDiscovery: NotRequired[IpDiscoveryType],  # (10)
    TransitEncryptionMode: NotRequired[TransitEncryptionModeType],  # (11)
  1. See GlobalReplicationGroupInfoTypeDef
  2. See ReplicationGroupPendingModifiedValuesTypeDef
  3. See NodeGroupTypeDef
  4. See AutomaticFailoverStatusType
  5. See MultiAZStatusType
  6. See EndpointTypeDef
  7. See LogDeliveryConfigurationTypeDef
  8. See DataTieringStatusType
  9. See NetworkTypeType
  10. See IpDiscoveryType
  11. See TransitEncryptionModeType

CacheClusterMessageTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import CacheClusterMessageTypeDef

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

CreateCacheClusterResultTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import CreateCacheClusterResultTypeDef

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

DeleteCacheClusterResultTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import DeleteCacheClusterResultTypeDef

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

ModifyCacheClusterResultTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import ModifyCacheClusterResultTypeDef

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

RebootCacheClusterResultTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import RebootCacheClusterResultTypeDef

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

CompleteMigrationResponseTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import CompleteMigrationResponseTypeDef

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

CreateReplicationGroupResultTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import CreateReplicationGroupResultTypeDef

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

DecreaseReplicaCountResultTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import DecreaseReplicaCountResultTypeDef

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

DeleteReplicationGroupResultTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import DeleteReplicationGroupResultTypeDef

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

IncreaseReplicaCountResultTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import IncreaseReplicaCountResultTypeDef

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

ModifyReplicationGroupResultTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import ModifyReplicationGroupResultTypeDef

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

ModifyReplicationGroupShardConfigurationResultTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import ModifyReplicationGroupShardConfigurationResultTypeDef

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

ReplicationGroupMessageTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import ReplicationGroupMessageTypeDef

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

StartMigrationResponseTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import StartMigrationResponseTypeDef

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

TestFailoverResultTypeDef

Usage Example
from mypy_boto3_elasticache.type_defs import TestFailoverResultTypeDef

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