Skip to content

Type definitions#

Index > RedshiftServerless > Type definitions

Auto-generated documentation for RedshiftServerless type annotations stubs module mypy-boto3-redshift-serverless.

TimestampTypeDef#

# TimestampTypeDef definition

TimestampTypeDef = Union[
    datetime,
    str,
]

ScheduleUnionTypeDef#

# ScheduleUnionTypeDef definition

ScheduleUnionTypeDef = Union[
    ScheduleTypeDef,  # (1)
    ScheduleOutputTypeDef,  # (2)
]
  1. See ScheduleTypeDef
  2. See ScheduleOutputTypeDef

TargetActionUnionTypeDef#

# TargetActionUnionTypeDef definition

TargetActionUnionTypeDef = Union[
    TargetActionTypeDef,  # (1)
    TargetActionOutputTypeDef,  # (2)
]
  1. See TargetActionTypeDef
  2. See TargetActionOutputTypeDef

AssociationTypeDef#

# AssociationTypeDef definition

class AssociationTypeDef(TypedDict):
    customDomainCertificateArn: NotRequired[str],
    customDomainCertificateExpiryTime: NotRequired[datetime],
    customDomainName: NotRequired[str],
    workgroupName: NotRequired[str],

ConfigParameterTypeDef#

# ConfigParameterTypeDef definition

class ConfigParameterTypeDef(TypedDict):
    parameterKey: NotRequired[str],
    parameterValue: NotRequired[str],

TagTypeDef#

# TagTypeDef definition

class TagTypeDef(TypedDict):
    key: str,
    value: str,

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,
    HostId: NotRequired[str],

SnapshotTypeDef#

# SnapshotTypeDef definition

class SnapshotTypeDef(TypedDict):
    accountsWithProvisionedRestoreAccess: NotRequired[List[str]],
    accountsWithRestoreAccess: NotRequired[List[str]],
    actualIncrementalBackupSizeInMegaBytes: NotRequired[float],
    adminPasswordSecretArn: NotRequired[str],
    adminPasswordSecretKmsKeyId: NotRequired[str],
    adminUsername: NotRequired[str],
    backupProgressInMegaBytes: NotRequired[float],
    currentBackupRateInMegaBytesPerSecond: NotRequired[float],
    elapsedTimeInSeconds: NotRequired[int],
    estimatedSecondsToCompletion: NotRequired[int],
    kmsKeyId: NotRequired[str],
    namespaceArn: NotRequired[str],
    namespaceName: NotRequired[str],
    ownerAccount: NotRequired[str],
    snapshotArn: NotRequired[str],
    snapshotCreateTime: NotRequired[datetime],
    snapshotName: NotRequired[str],
    snapshotRemainingDays: NotRequired[int],
    snapshotRetentionPeriod: NotRequired[int],
    snapshotRetentionStartTime: NotRequired[datetime],
    status: NotRequired[SnapshotStatusType],  # (1)
    totalBackupSizeInMegaBytes: NotRequired[float],
  1. See SnapshotStatusType

CreateCustomDomainAssociationRequestRequestTypeDef#

# CreateCustomDomainAssociationRequestRequestTypeDef definition

class CreateCustomDomainAssociationRequestRequestTypeDef(TypedDict):
    customDomainCertificateArn: str,
    customDomainName: str,
    workgroupName: str,

CreateEndpointAccessRequestRequestTypeDef#

# CreateEndpointAccessRequestRequestTypeDef definition

class CreateEndpointAccessRequestRequestTypeDef(TypedDict):
    endpointName: str,
    subnetIds: Sequence[str],
    workgroupName: str,
    ownerAccount: NotRequired[str],
    vpcSecurityGroupIds: NotRequired[Sequence[str]],

NamespaceTypeDef#

# NamespaceTypeDef definition

class NamespaceTypeDef(TypedDict):
    adminPasswordSecretArn: NotRequired[str],
    adminPasswordSecretKmsKeyId: NotRequi