Skip to content

Typed dictionaries

Index > RedshiftServerless > Typed dictionaries

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

ConfigParameterTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import ConfigParameterTypeDef

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

ConvertRecoveryPointToSnapshotRequestRequestTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import ConvertRecoveryPointToSnapshotRequestRequestTypeDef

def get_value() -> ConvertRecoveryPointToSnapshotRequestRequestTypeDef:
    return {
        "recoveryPointId": ...,
        "snapshotName": ...,
    }
Definition
class ConvertRecoveryPointToSnapshotRequestRequestTypeDef(TypedDict):
    recoveryPointId: str,
    snapshotName: str,
    retentionPeriod: NotRequired[int],

ResponseMetadataTypeDef

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

SnapshotTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import SnapshotTypeDef

def get_value() -> SnapshotTypeDef:
    return {
        "accountsWithProvisionedRestoreAccess": ...,
    }
Definition
class SnapshotTypeDef(TypedDict):
    accountsWithProvisionedRestoreAccess: NotRequired[List[str]],
    accountsWithRestoreAccess: NotRequired[List[str]],
    actualIncrementalBackupSizeInMegaBytes: NotRequired[float],
    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

CreateEndpointAccessRequestRequestTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import CreateEndpointAccessRequestRequestTypeDef

def get_value() -> CreateEndpointAccessRequestRequestTypeDef:
    return {
        "endpointName": ...,
        "subnetIds": ...,
        "workgroupName": ...,
    }
Definition
class CreateEndpointAccessRequestRequestTypeDef(TypedDict):
    endpointName: str,
    subnetIds: Sequence[str],
    workgroupName: str,
    vpcSecurityGroupIds: NotRequired[Sequence[str]],

TagTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import TagTypeDef

def get_value() -> TagTypeDef:
    return {
        "key": ...,
        "value": ...,
    }
Definition
class TagTypeDef(TypedDict):
    key: str,
    value: str,

NamespaceTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import NamespaceTypeDef

def get_value() -> NamespaceTypeDef:
    return {
        "adminUsername": ...,
    }
Definition
class NamespaceTypeDef(TypedDict):
    adminUsername: NotRequired[str],
    creationDate: NotRequired[datetime],
    dbName: NotRequired[str],
    defaultIamRoleArn: NotRequired[str],
    iamRoles: NotRequired[List[str]],
    kmsKeyId: NotRequired[str],
    logExports: NotRequired[List[LogExportType]],  # (1)
    namespaceArn: NotRequired[str],
    namespaceId: NotRequired[str],
    namespaceName: NotRequired[str],
    status: NotRequired[NamespaceStatusType],  # (2)
  1. See LogExportType
  2. See NamespaceStatusType

CreateSnapshotRequestRequestTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import CreateSnapshotRequestRequestTypeDef

def get_value() -> CreateSnapshotRequestRequestTypeDef:
    return {
        "namespaceName": ...,
        "snapshotName": ...,
    }
Definition
class CreateSnapshotRequestRequestTypeDef(TypedDict):
    namespaceName: str,
    snapshotName: str,
    retentionPeriod: NotRequired[int],

CreateUsageLimitRequestRequestTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import CreateUsageLimitRequestRequestTypeDef

def get_value() -> CreateUsageLimitRequestRequestTypeDef:
    return {
        "amount": ...,
        "resourceArn": ...,
        "usageType": ...,
    }
Definition
class CreateUsageLimitRequestRequestTypeDef(TypedDict):
    amount: int,
    resourceArn: str,
    usageType: UsageLimitUsageTypeType,  # (1)
    breachAction: NotRequired[UsageLimitBreachActionType],  # (2)
    period: NotRequired[UsageLimitPeriodType],  # (3)
  1. See UsageLimitUsageTypeType
  2. See UsageLimitBreachActionType
  3. See UsageLimitPeriodType

UsageLimitTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import UsageLimitTypeDef

def get_value() -> UsageLimitTypeDef:
    return {
        "amount": ...,
    }
Definition
class UsageLimitTypeDef(TypedDict):
    amount: NotRequired[int],
    breachAction: NotRequired[UsageLimitBreachActionType],  # (1)
    period: NotRequired[UsageLimitPeriodType],  # (2)
    resourceArn: NotRequired[str],
    usageLimitArn: NotRequired[str],
    usageLimitId: NotRequired[str],
    usageType: NotRequired[UsageLimitUsageTypeType],  # (3)
  1. See UsageLimitBreachActionType
  2. See UsageLimitPeriodType
  3. See UsageLimitUsageTypeType

DeleteEndpointAccessRequestRequestTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import DeleteEndpointAccessRequestRequestTypeDef

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

DeleteNamespaceRequestRequestTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import DeleteNamespaceRequestRequestTypeDef

def get_value() -> DeleteNamespaceRequestRequestTypeDef:
    return {
        "namespaceName": ...,
    }
Definition
class DeleteNamespaceRequestRequestTypeDef(TypedDict):
    namespaceName: str,
    finalSnapshotName: NotRequired[str],
    finalSnapshotRetentionPeriod: NotRequired[int],

DeleteResourcePolicyRequestRequestTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import DeleteResourcePolicyRequestRequestTypeDef

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

DeleteSnapshotRequestRequestTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import DeleteSnapshotRequestRequestTypeDef

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

DeleteUsageLimitRequestRequestTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import DeleteUsageLimitRequestRequestTypeDef

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

DeleteWorkgroupRequestRequestTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import DeleteWorkgroupRequestRequestTypeDef

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

VpcSecurityGroupMembershipTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import VpcSecurityGroupMembershipTypeDef

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

GetCredentialsRequestRequestTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import GetCredentialsRequestRequestTypeDef

def get_value() -> GetCredentialsRequestRequestTypeDef:
    return {
        "workgroupName": ...,
    }
Definition
class GetCredentialsRequestRequestTypeDef(TypedDict):
    workgroupName: str,
    dbName: NotRequired[str],
    durationSeconds: NotRequired[int],

GetEndpointAccessRequestRequestTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import GetEndpointAccessRequestRequestTypeDef

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

GetNamespaceRequestRequestTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import GetNamespaceRequestRequestTypeDef

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

GetRecoveryPointRequestRequestTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import GetRecoveryPointRequestRequestTypeDef

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

RecoveryPointTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import RecoveryPointTypeDef

def get_value() -> RecoveryPointTypeDef:
    return {
        "namespaceName": ...,
    }
Definition
class RecoveryPointTypeDef(TypedDict):
    namespaceName: NotRequired[str],
    recoveryPointCreateTime: NotRequired[datetime],
    recoveryPointId: NotRequired[str],
    totalSizeInMegaBytes: NotRequired[float],
    workgroupName: NotRequired[str],

GetResourcePolicyRequestRequestTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import GetResourcePolicyRequestRequestTypeDef

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

ResourcePolicyTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import ResourcePolicyTypeDef

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

GetSnapshotRequestRequestTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import GetSnapshotRequestRequestTypeDef

def get_value() -> GetSnapshotRequestRequestTypeDef:
    return {
        "ownerAccount": ...,
    }
Definition
class GetSnapshotRequestRequestTypeDef(TypedDict):
    ownerAccount: NotRequired[str],
    snapshotArn: NotRequired[str],
    snapshotName: NotRequired[str],

GetUsageLimitRequestRequestTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import GetUsageLimitRequestRequestTypeDef

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

GetWorkgroupRequestRequestTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import GetWorkgroupRequestRequestTypeDef

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

PaginatorConfigTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import PaginatorConfigTypeDef

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

ListEndpointAccessRequestRequestTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import ListEndpointAccessRequestRequestTypeDef

def get_value() -> ListEndpointAccessRequestRequestTypeDef:
    return {
        "maxResults": ...,
    }
Definition
class ListEndpointAccessRequestRequestTypeDef(TypedDict):
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
    vpcId: NotRequired[str],
    workgroupName: NotRequired[str],

ListNamespacesRequestRequestTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import ListNamespacesRequestRequestTypeDef

def get_value() -> ListNamespacesRequestRequestTypeDef:
    return {
        "maxResults": ...,
    }
Definition
class ListNamespacesRequestRequestTypeDef(TypedDict):
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

ListRecoveryPointsRequestRequestTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import ListRecoveryPointsRequestRequestTypeDef

def get_value() -> ListRecoveryPointsRequestRequestTypeDef:
    return {
        "endTime": ...,
    }
Definition
class ListRecoveryPointsRequestRequestTypeDef(TypedDict):
    endTime: NotRequired[Union[datetime, str]],
    maxResults: NotRequired[int],
    namespaceName: NotRequired[str],
    nextToken: NotRequired[str],
    startTime: NotRequired[Union[datetime, str]],

ListSnapshotsRequestRequestTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import ListSnapshotsRequestRequestTypeDef

def get_value() -> ListSnapshotsRequestRequestTypeDef:
    return {
        "endTime": ...,
    }
Definition
class ListSnapshotsRequestRequestTypeDef(TypedDict):
    endTime: NotRequired[Union[datetime, str]],
    maxResults: NotRequired[int],
    namespaceArn: NotRequired[str],
    namespaceName: NotRequired[str],
    nextToken: NotRequired[str],
    ownerAccount: NotRequired[str],
    startTime: NotRequired[Union[datetime, str]],

ListTagsForResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import ListTagsForResourceRequestRequestTypeDef

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

ListUsageLimitsRequestRequestTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import ListUsageLimitsRequestRequestTypeDef

def get_value() -> ListUsageLimitsRequestRequestTypeDef:
    return {
        "maxResults": ...,
    }
Definition
class ListUsageLimitsRequestRequestTypeDef(TypedDict):
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
    resourceArn: NotRequired[str],
    usageType: NotRequired[UsageLimitUsageTypeType],  # (1)
  1. See UsageLimitUsageTypeType

ListWorkgroupsRequestRequestTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import ListWorkgroupsRequestRequestTypeDef

def get_value() -> ListWorkgroupsRequestRequestTypeDef:
    return {
        "maxResults": ...,
    }
Definition
class ListWorkgroupsRequestRequestTypeDef(TypedDict):
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

NetworkInterfaceTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import NetworkInterfaceTypeDef

def get_value() -> NetworkInterfaceTypeDef:
    return {
        "availabilityZone": ...,
    }
Definition
class NetworkInterfaceTypeDef(TypedDict):
    availabilityZone: NotRequired[str],
    networkInterfaceId: NotRequired[str],
    privateIpAddress: NotRequired[str],
    subnetId: NotRequired[str],

PutResourcePolicyRequestRequestTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import PutResourcePolicyRequestRequestTypeDef

def get_value() -> PutResourcePolicyRequestRequestTypeDef:
    return {
        "policy": ...,
        "resourceArn": ...,
    }
Definition
class PutResourcePolicyRequestRequestTypeDef(TypedDict):
    policy: str,
    resourceArn: str,

RestoreFromRecoveryPointRequestRequestTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import RestoreFromRecoveryPointRequestRequestTypeDef

def get_value() -> RestoreFromRecoveryPointRequestRequestTypeDef:
    return {
        "namespaceName": ...,
        "recoveryPointId": ...,
        "workgroupName": ...,
    }
Definition
class RestoreFromRecoveryPointRequestRequestTypeDef(TypedDict):
    namespaceName: str,
    recoveryPointId: str,
    workgroupName: str,

RestoreFromSnapshotRequestRequestTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import RestoreFromSnapshotRequestRequestTypeDef

def get_value() -> RestoreFromSnapshotRequestRequestTypeDef:
    return {
        "namespaceName": ...,
        "workgroupName": ...,
    }
Definition
class RestoreFromSnapshotRequestRequestTypeDef(TypedDict):
    namespaceName: str,
    workgroupName: str,
    ownerAccount: NotRequired[str],
    snapshotArn: NotRequired[str],
    snapshotName: NotRequired[str],

UntagResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import UntagResourceRequestRequestTypeDef

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

UpdateEndpointAccessRequestRequestTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import UpdateEndpointAccessRequestRequestTypeDef

def get_value() -> UpdateEndpointAccessRequestRequestTypeDef:
    return {
        "endpointName": ...,
    }
Definition
class UpdateEndpointAccessRequestRequestTypeDef(TypedDict):
    endpointName: str,
    vpcSecurityGroupIds: NotRequired[Sequence[str]],

UpdateNamespaceRequestRequestTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import UpdateNamespaceRequestRequestTypeDef

def get_value() -> UpdateNamespaceRequestRequestTypeDef:
    return {
        "namespaceName": ...,
    }
Definition
class UpdateNamespaceRequestRequestTypeDef(TypedDict):
    namespaceName: str,
    adminUserPassword: NotRequired[str],
    adminUsername: NotRequired[str],
    defaultIamRoleArn: NotRequired[str],
    iamRoles: NotRequired[Sequence[str]],
    kmsKeyId: NotRequired[str],
    logExports: NotRequired[Sequence[LogExportType]],  # (1)
  1. See LogExportType

UpdateSnapshotRequestRequestTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import UpdateSnapshotRequestRequestTypeDef

def get_value() -> UpdateSnapshotRequestRequestTypeDef:
    return {
        "snapshotName": ...,
    }
Definition
class UpdateSnapshotRequestRequestTypeDef(TypedDict):
    snapshotName: str,
    retentionPeriod: NotRequired[int],

UpdateUsageLimitRequestRequestTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import UpdateUsageLimitRequestRequestTypeDef

def get_value() -> UpdateUsageLimitRequestRequestTypeDef:
    return {
        "usageLimitId": ...,
    }
Definition
class UpdateUsageLimitRequestRequestTypeDef(TypedDict):
    usageLimitId: str,
    amount: NotRequired[int],
    breachAction: NotRequired[UsageLimitBreachActionType],  # (1)
  1. See UsageLimitBreachActionType

UpdateWorkgroupRequestRequestTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import UpdateWorkgroupRequestRequestTypeDef

def get_value() -> UpdateWorkgroupRequestRequestTypeDef:
    return {
        "workgroupName": ...,
    }
Definition
class UpdateWorkgroupRequestRequestTypeDef(TypedDict):
    workgroupName: str,
    baseCapacity: NotRequired[int],
    configParameters: NotRequired[Sequence[ConfigParameterTypeDef]],  # (1)
    enhancedVpcRouting: NotRequired[bool],
    publiclyAccessible: NotRequired[bool],
    securityGroupIds: NotRequired[Sequence[str]],
    subnetIds: NotRequired[Sequence[str]],
  1. See ConfigParameterTypeDef

GetCredentialsResponseTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import GetCredentialsResponseTypeDef

def get_value() -> GetCredentialsResponseTypeDef:
    return {
        "dbPassword": ...,
        "dbUser": ...,
        "expiration": ...,
        "nextRefreshTime": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetCredentialsResponseTypeDef(TypedDict):
    dbPassword: str,
    dbUser: str,
    expiration: datetime,
    nextRefreshTime: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ConvertRecoveryPointToSnapshotResponseTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import ConvertRecoveryPointToSnapshotResponseTypeDef

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

CreateSnapshotResponseTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import CreateSnapshotResponseTypeDef

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

DeleteSnapshotResponseTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import DeleteSnapshotResponseTypeDef

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

GetSnapshotResponseTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import GetSnapshotResponseTypeDef

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

ListSnapshotsResponseTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import ListSnapshotsResponseTypeDef

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

UpdateSnapshotResponseTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import UpdateSnapshotResponseTypeDef

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

CreateNamespaceRequestRequestTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import CreateNamespaceRequestRequestTypeDef

def get_value() -> CreateNamespaceRequestRequestTypeDef:
    return {
        "namespaceName": ...,
    }
Definition
class CreateNamespaceRequestRequestTypeDef(TypedDict):
    namespaceName: str,
    adminUserPassword: NotRequired[str],
    adminUsername: NotRequired[str],
    dbName: NotRequired[str],
    defaultIamRoleArn: NotRequired[str],
    iamRoles: NotRequired[Sequence[str]],
    kmsKeyId: NotRequired[str],
    logExports: NotRequired[Sequence[LogExportType]],  # (1)
    tags: NotRequired[Sequence[TagTypeDef]],  # (2)
  1. See LogExportType
  2. See TagTypeDef

CreateWorkgroupRequestRequestTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import CreateWorkgroupRequestRequestTypeDef

def get_value() -> CreateWorkgroupRequestRequestTypeDef:
    return {
        "namespaceName": ...,
        "workgroupName": ...,
    }
Definition
class CreateWorkgroupRequestRequestTypeDef(TypedDict):
    namespaceName: str,
    workgroupName: str,
    baseCapacity: NotRequired[int],
    configParameters: NotRequired[Sequence[ConfigParameterTypeDef]],  # (1)
    enhancedVpcRouting: NotRequired[bool],
    publiclyAccessible: NotRequired[bool],
    securityGroupIds: NotRequired[Sequence[str]],
    subnetIds: NotRequired[Sequence[str]],
    tags: NotRequired[Sequence[TagTypeDef]],  # (2)
  1. See ConfigParameterTypeDef
  2. See TagTypeDef

ListTagsForResourceResponseTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import ListTagsForResourceResponseTypeDef

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

TagResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import TagResourceRequestRequestTypeDef

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

CreateNamespaceResponseTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import CreateNamespaceResponseTypeDef

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

DeleteNamespaceResponseTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import DeleteNamespaceResponseTypeDef

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

GetNamespaceResponseTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import GetNamespaceResponseTypeDef

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

ListNamespacesResponseTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import ListNamespacesResponseTypeDef

def get_value() -> ListNamespacesResponseTypeDef:
    return {
        "namespaces": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListNamespacesResponseTypeDef(TypedDict):
    namespaces: List[NamespaceTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See NamespaceTypeDef
  2. See ResponseMetadataTypeDef

RestoreFromRecoveryPointResponseTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import RestoreFromRecoveryPointResponseTypeDef

def get_value() -> RestoreFromRecoveryPointResponseTypeDef:
    return {
        "namespace": ...,
        "recoveryPointId": ...,
        "ResponseMetadata": ...,
    }
Definition
class RestoreFromRecoveryPointResponseTypeDef(TypedDict):
    namespace: NamespaceTypeDef,  # (1)
    recoveryPointId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See NamespaceTypeDef
  2. See ResponseMetadataTypeDef

RestoreFromSnapshotResponseTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import RestoreFromSnapshotResponseTypeDef

def get_value() -> RestoreFromSnapshotResponseTypeDef:
    return {
        "namespace": ...,
        "ownerAccount": ...,
        "snapshotName": ...,
        "ResponseMetadata": ...,
    }
Definition
class RestoreFromSnapshotResponseTypeDef(TypedDict):
    namespace: NamespaceTypeDef,  # (1)
    ownerAccount: str,
    snapshotName: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See NamespaceTypeDef
  2. See ResponseMetadataTypeDef

UpdateNamespaceResponseTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import UpdateNamespaceResponseTypeDef

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

CreateUsageLimitResponseTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import CreateUsageLimitResponseTypeDef

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

DeleteUsageLimitResponseTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import DeleteUsageLimitResponseTypeDef

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

GetUsageLimitResponseTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import GetUsageLimitResponseTypeDef

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

ListUsageLimitsResponseTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import ListUsageLimitsResponseTypeDef

def get_value() -> ListUsageLimitsResponseTypeDef:
    return {
        "nextToken": ...,
        "usageLimits": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListUsageLimitsResponseTypeDef(TypedDict):
    nextToken: str,
    usageLimits: List[UsageLimitTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See UsageLimitTypeDef
  2. See ResponseMetadataTypeDef

UpdateUsageLimitResponseTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import UpdateUsageLimitResponseTypeDef

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

GetRecoveryPointResponseTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import GetRecoveryPointResponseTypeDef

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

ListRecoveryPointsResponseTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import ListRecoveryPointsResponseTypeDef

def get_value() -> ListRecoveryPointsResponseTypeDef:
    return {
        "nextToken": ...,
        "recoveryPoints": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListRecoveryPointsResponseTypeDef(TypedDict):
    nextToken: str,
    recoveryPoints: List[RecoveryPointTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RecoveryPointTypeDef
  2. See ResponseMetadataTypeDef

GetResourcePolicyResponseTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import GetResourcePolicyResponseTypeDef

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

PutResourcePolicyResponseTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import PutResourcePolicyResponseTypeDef

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

ListEndpointAccessRequestListEndpointAccessPaginateTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import ListEndpointAccessRequestListEndpointAccessPaginateTypeDef

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

ListNamespacesRequestListNamespacesPaginateTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import ListNamespacesRequestListNamespacesPaginateTypeDef

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

ListRecoveryPointsRequestListRecoveryPointsPaginateTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import ListRecoveryPointsRequestListRecoveryPointsPaginateTypeDef

def get_value() -> ListRecoveryPointsRequestListRecoveryPointsPaginateTypeDef:
    return {
        "endTime": ...,
    }
Definition
class ListRecoveryPointsRequestListRecoveryPointsPaginateTypeDef(TypedDict):
    endTime: NotRequired[Union[datetime, str]],
    namespaceName: NotRequired[str],
    startTime: NotRequired[Union[datetime, str]],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListSnapshotsRequestListSnapshotsPaginateTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import ListSnapshotsRequestListSnapshotsPaginateTypeDef

def get_value() -> ListSnapshotsRequestListSnapshotsPaginateTypeDef:
    return {
        "endTime": ...,
    }
Definition
class ListSnapshotsRequestListSnapshotsPaginateTypeDef(TypedDict):
    endTime: NotRequired[Union[datetime, str]],
    namespaceArn: NotRequired[str],
    namespaceName: NotRequired[str],
    ownerAccount: NotRequired[str],
    startTime: NotRequired[Union[datetime, str]],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListUsageLimitsRequestListUsageLimitsPaginateTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import ListUsageLimitsRequestListUsageLimitsPaginateTypeDef

def get_value() -> ListUsageLimitsRequestListUsageLimitsPaginateTypeDef:
    return {
        "resourceArn": ...,
    }
Definition
class ListUsageLimitsRequestListUsageLimitsPaginateTypeDef(TypedDict):
    resourceArn: NotRequired[str],
    usageType: NotRequired[UsageLimitUsageTypeType],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See UsageLimitUsageTypeType
  2. See PaginatorConfigTypeDef

ListWorkgroupsRequestListWorkgroupsPaginateTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import ListWorkgroupsRequestListWorkgroupsPaginateTypeDef

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

VpcEndpointTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import VpcEndpointTypeDef

def get_value() -> VpcEndpointTypeDef:
    return {
        "networkInterfaces": ...,
    }
Definition
class VpcEndpointTypeDef(TypedDict):
    networkInterfaces: NotRequired[List[NetworkInterfaceTypeDef]],  # (1)
    vpcEndpointId: NotRequired[str],
    vpcId: NotRequired[str],
  1. See NetworkInterfaceTypeDef

EndpointAccessTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import EndpointAccessTypeDef

def get_value() -> EndpointAccessTypeDef:
    return {
        "address": ...,
    }
Definition
class EndpointAccessTypeDef(TypedDict):
    address: NotRequired[str],
    endpointArn: NotRequired[str],
    endpointCreateTime: NotRequired[datetime],
    endpointName: NotRequired[str],
    endpointStatus: NotRequired[str],
    port: NotRequired[int],
    subnetIds: NotRequired[List[str]],
    vpcEndpoint: NotRequired[VpcEndpointTypeDef],  # (1)
    vpcSecurityGroups: NotRequired[List[VpcSecurityGroupMembershipTypeDef]],  # (2)
    workgroupName: NotRequired[str],
  1. See VpcEndpointTypeDef
  2. See VpcSecurityGroupMembershipTypeDef

EndpointTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import EndpointTypeDef

def get_value() -> EndpointTypeDef:
    return {
        "address": ...,
    }
Definition
class EndpointTypeDef(TypedDict):
    address: NotRequired[str],
    port: NotRequired[int],
    vpcEndpoints: NotRequired[List[VpcEndpointTypeDef]],  # (1)
  1. See VpcEndpointTypeDef

CreateEndpointAccessResponseTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import CreateEndpointAccessResponseTypeDef

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

DeleteEndpointAccessResponseTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import DeleteEndpointAccessResponseTypeDef

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

GetEndpointAccessResponseTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import GetEndpointAccessResponseTypeDef

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

ListEndpointAccessResponseTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import ListEndpointAccessResponseTypeDef

def get_value() -> ListEndpointAccessResponseTypeDef:
    return {
        "endpoints": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListEndpointAccessResponseTypeDef(TypedDict):
    endpoints: List[EndpointAccessTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See EndpointAccessTypeDef
  2. See ResponseMetadataTypeDef

UpdateEndpointAccessResponseTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import UpdateEndpointAccessResponseTypeDef

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

WorkgroupTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import WorkgroupTypeDef

def get_value() -> WorkgroupTypeDef:
    return {
        "baseCapacity": ...,
    }
Definition
class WorkgroupTypeDef(TypedDict):
    baseCapacity: NotRequired[int],
    configParameters: NotRequired[List[ConfigParameterTypeDef]],  # (1)
    creationDate: NotRequired[datetime],
    endpoint: NotRequired[EndpointTypeDef],  # (2)
    enhancedVpcRouting: NotRequired[bool],
    namespaceName: NotRequired[str],
    publiclyAccessible: NotRequired[bool],
    securityGroupIds: NotRequired[List[str]],
    status: NotRequired[WorkgroupStatusType],  # (3)
    subnetIds: NotRequired[List[str]],
    workgroupArn: NotRequired[str],
    workgroupId: NotRequired[str],
    workgroupName: NotRequired[str],
  1. See ConfigParameterTypeDef
  2. See EndpointTypeDef
  3. See WorkgroupStatusType

CreateWorkgroupResponseTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import CreateWorkgroupResponseTypeDef

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

DeleteWorkgroupResponseTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import DeleteWorkgroupResponseTypeDef

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

GetWorkgroupResponseTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import GetWorkgroupResponseTypeDef

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

ListWorkgroupsResponseTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import ListWorkgroupsResponseTypeDef

def get_value() -> ListWorkgroupsResponseTypeDef:
    return {
        "nextToken": ...,
        "workgroups": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListWorkgroupsResponseTypeDef(TypedDict):
    nextToken: str,
    workgroups: List[WorkgroupTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See WorkgroupTypeDef
  2. See ResponseMetadataTypeDef

UpdateWorkgroupResponseTypeDef

Usage Example
from mypy_boto3_redshift_serverless.type_defs import UpdateWorkgroupResponseTypeDef

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