Skip to content

Type definitions#

Index > Support > Type definitions

Auto-generated documentation for Support type annotations stubs module mypy-boto3-support.

BlobTypeDef#

# BlobTypeDef Union usage example

from mypy_boto3_support.type_defs import BlobTypeDef


def get_value() -> BlobTypeDef:
    return ...


# BlobTypeDef definition

BlobTypeDef = Union[
    str,
    bytes,
    IO[Any],
    botocore.response.StreamingBody,
]

AttachmentUnionTypeDef#

# AttachmentUnionTypeDef Union usage example

from mypy_boto3_support.type_defs import AttachmentUnionTypeDef


def get_value() -> AttachmentUnionTypeDef:
    return ...


# AttachmentUnionTypeDef definition

AttachmentUnionTypeDef = Union[
    AttachmentTypeDef,  # (1)
    AttachmentOutputTypeDef,  # (2)
]
  1. See AttachmentTypeDef
  2. See AttachmentOutputTypeDef

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef TypedDict usage example

from mypy_boto3_support.type_defs import ResponseMetadataTypeDef


def get_value() -> ResponseMetadataTypeDef:
    return {
        "RequestId": ...,
    }


# ResponseMetadataTypeDef definition

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

AddCommunicationToCaseRequestTypeDef#

# AddCommunicationToCaseRequestTypeDef TypedDict usage example

from mypy_boto3_support.type_defs import AddCommunicationToCaseRequestTypeDef


def get_value() -> AddCommunicationToCaseRequestTypeDef:
    return {
        "communicationBody": ...,
    }


# AddCommunicationToCaseRequestTypeDef definition

class AddCommunicationToCaseRequestTypeDef(TypedDict):
    communicationBody: str,
    caseId: NotRequired[str],
    ccEmailAddresses: NotRequired[Sequence[str]],
    attachmentSetId: NotRequired[str],

AttachmentDetailsTypeDef#

# AttachmentDetailsTypeDef TypedDict usage example

from mypy_boto3_support.type_defs import AttachmentDetailsTypeDef


def get_value() -> AttachmentDetailsTypeDef:
    return {
        "attachmentId": ...,
    }


# AttachmentDetailsTypeDef definition

class AttachmentDetailsTypeDef(TypedDict):
    attachmentId: NotRequired[str],
    fileName: NotRequired[str],

AttachmentOutputTypeDef#

# AttachmentOutputTypeDef TypedDict usage example

from mypy_boto3_support.type_defs import AttachmentOutputTypeDef


def get_value() -> AttachmentOutputTypeDef:
    return {
        "fileName": ...,
    }


# AttachmentOutputTypeDef definition

class AttachmentOutputTypeDef(TypedDict):
    fileName: NotRequired[str],
    data: NotRequired[bytes],

CategoryTypeDef#

# CategoryTypeDef TypedDict usage example

from mypy_boto3_support.type_defs import CategoryTypeDef


def get_value() -> CategoryTypeDef:
    return {
        "code": ...,
    }


# CategoryTypeDef definition

class CategoryTypeDef(TypedDict):
    code: NotRequired[str],
    name: NotRequired[str],

DateIntervalTypeDef#

# DateIntervalTypeDef TypedDict usage example

from mypy_boto3_support.type_defs import DateIntervalTypeDef


def get_value() -> DateIntervalTypeDef:
    return {
        "startDateTime": ...,
    }


# DateIntervalTypeDef definition

class DateIntervalTypeDef(TypedDict):
    startDateTime: NotRequired[str],
    endDateTime: NotRequired[str],

SupportedHourTypeDef#

# SupportedHourTypeDef TypedDict usage example

from mypy_boto3_support.type_defs import SupportedHourTypeDef


def get_value() -> SupportedHourTypeDef:
    return {
        "startTime": ...,
    }


# SupportedHourTypeDef definition

class SupportedHourTypeDef(TypedDict):
    startTime: NotRequired[str],
    endTime: NotRequired[str],

CreateCaseRequestTypeDef#

# CreateCaseRequestTypeDef TypedDict usage example

from mypy_boto3_support.type_defs import CreateCaseRequestTypeDef


def get_value() -> CreateCaseRequestTypeDef:
    return {
        "subject": ...,
    }


# CreateCaseRequestTypeDef definition

class CreateCaseRequestTypeDef(TypedDict):
    subject: str,
    communicationBody: str,
    serviceCode: NotRequired[str],
    severityCode: NotRequired[str],
    categoryCode: NotRequired[str],
    ccEmailAddresses: NotRequired[Sequence[str]],
    language: NotRequired[str],
    issueType: NotRequired[str],
    attachmentSetId: NotRequired[str],

DescribeAttachmentRequestTypeDef#

# DescribeAttachmentRequestTypeDef TypedDict usage example

from mypy_boto3_support.type_defs import DescribeAttachmentRequestTypeDef


def get_value() -> DescribeAttachmentRequestTypeDef:
    return {
        "attachmentId": ...,
    }


# DescribeAttachmentRequestTypeDef definition

class DescribeAttachmentRequestTypeDef(TypedDict):
    attachmentId: str,

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef TypedDict usage example

from mypy_boto3_support.type_defs import PaginatorConfigTypeDef


def get_value() -> PaginatorConfigTypeDef:
    return {
        "MaxItems": ...,
    }


# PaginatorConfigTypeDef definition

class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

DescribeCasesRequestTypeDef#

# DescribeCasesRequestTypeDef TypedDict usage example

from mypy_boto3_support.type_defs import DescribeCasesRequestTypeDef


def get_value() -> DescribeCasesRequestTypeDef:
    return {
        "caseIdList": ...,
    }


# DescribeCasesRequestTypeDef definition

class DescribeCasesRequestTypeDef(TypedDict):
    caseIdList: NotRequired[Sequence[str]],
    displayId: NotRequired[str],
    afterTime: NotRequired[str],
    beforeTime: NotRequired[str],
    includeResolvedCases: NotRequired[bool],
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],
    language: NotRequired[str],
    includeCommunications: NotRequired[bool],

DescribeCommunicationsRequestTypeDef#

# DescribeCommunicationsRequestTypeDef TypedDict usage example

from mypy_boto3_support.type_defs import DescribeCommunicationsRequestTypeDef


def get_value() -> DescribeCommunicationsRequestTypeDef:
    return {
        "caseId": ...,
    }


# DescribeCommunicationsRequestTypeDef definition

class DescribeCommunicationsRequestTypeDef(TypedDict):
    caseId: str,
    beforeTime: NotRequired[str],
    afterTime: NotRequired[str],
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],

DescribeCreateCaseOptionsRequestTypeDef#

# DescribeCreateCaseOptionsRequestTypeDef TypedDict usage example

from mypy_boto3_support.type_defs import DescribeCreateCaseOptionsRequestTypeDef


def get_value() -> DescribeCreateCaseOptionsRequestTypeDef:
    return {
        "issueType": ...,
    }


# DescribeCreateCaseOptionsRequestTypeDef definition

class DescribeCreateCaseOptionsRequestTypeDef(TypedDict):
    issueType: str,
    serviceCode: str,
    language: str,
    categoryCode: str,

DescribeServicesRequestTypeDef#

# DescribeServicesRequestTypeDef TypedDict usage example

from mypy_boto3_support.type_defs import DescribeServicesRequestTypeDef


def get_value() -> DescribeServicesRequestTypeDef:
    return {
        "serviceCodeList": ...,
    }


# DescribeServicesRequestTypeDef definition

class DescribeServicesRequestTypeDef(TypedDict):
    serviceCodeList: NotRequired[Sequence[str]],
    language: NotRequired[str],

DescribeSeverityLevelsRequestTypeDef#

# DescribeSeverityLevelsRequestTypeDef TypedDict usage example

from mypy_boto3_support.type_defs import DescribeSeverityLevelsRequestTypeDef


def get_value() -> DescribeSeverityLevelsRequestTypeDef:
    return {
        "language": ...,
    }


# DescribeSeverityLevelsRequestTypeDef definition

class DescribeSeverityLevelsRequestTypeDef(TypedDict):
    language: NotRequired[str],

SeverityLevelTypeDef#

# SeverityLevelTypeDef TypedDict usage example

from mypy_boto3_support.type_defs import SeverityLevelTypeDef


def get_value() -> SeverityLevelTypeDef:
    return {
        "code": ...,
    }


# SeverityLevelTypeDef definition

class SeverityLevelTypeDef(TypedDict):
    code: NotRequired[str],
    name: NotRequired[str],

DescribeSupportedLanguagesRequestTypeDef#

# DescribeSupportedLanguagesRequestTypeDef TypedDict usage example

from mypy_boto3_support.type_defs import DescribeSupportedLanguagesRequestTypeDef


def get_value() -> DescribeSupportedLanguagesRequestTypeDef:
    return {
        "issueType": ...,
    }


# DescribeSupportedLanguagesRequestTypeDef definition

class DescribeSupportedLanguagesRequestTypeDef(TypedDict):
    issueType: str,
    serviceCode: str,
    categoryCode: str,

SupportedLanguageTypeDef#

# SupportedLanguageTypeDef TypedDict usage example

from mypy_boto3_support.type_defs import SupportedLanguageTypeDef


def get_value() -> SupportedLanguageTypeDef:
    return {
        "code": ...,
    }


# SupportedLanguageTypeDef definition

class SupportedLanguageTypeDef(TypedDict):
    code: NotRequired[str],
    language: NotRequired[str],
    display: NotRequired[str],

DescribeTrustedAdvisorCheckRefreshStatusesRequestTypeDef#

# DescribeTrustedAdvisorCheckRefreshStatusesRequestTypeDef TypedDict usage example

from mypy_boto3_support.type_defs import DescribeTrustedAdvisorCheckRefreshStatusesRequestTypeDef


def get_value() -> DescribeTrustedAdvisorCheckRefreshStatusesRequestTypeDef:
    return {
        "checkIds": ...,
    }


# DescribeTrustedAdvisorCheckRefreshStatusesRequestTypeDef definition

class DescribeTrustedAdvisorCheckRefreshStatusesRequestTypeDef(TypedDict):
    checkIds: Sequence[str],

TrustedAdvisorCheckRefreshStatusTypeDef#

# TrustedAdvisorCheckRefreshStatusTypeDef TypedDict usage example

from mypy_boto3_support.type_defs import TrustedAdvisorCheckRefreshStatusTypeDef


def get_value() -> TrustedAdvisorCheckRefreshStatusTypeDef:
    return {
        "checkId": ...,
    }


# TrustedAdvisorCheckRefreshStatusTypeDef definition

class TrustedAdvisorCheckRefreshStatusTypeDef(TypedDict):
    checkId: str,
    status: str,
    millisUntilNextRefreshable: int,

DescribeTrustedAdvisorCheckResultRequestTypeDef#

# DescribeTrustedAdvisorCheckResultRequestTypeDef TypedDict usage example

from mypy_boto3_support.type_defs import DescribeTrustedAdvisorCheckResultRequestTypeDef


def get_value() -> DescribeTrustedAdvisorCheckResultRequestTypeDef:
    return {
        "checkId": ...,
    }


# DescribeTrustedAdvisorCheckResultRequestTypeDef definition

class DescribeTrustedAdvisorCheckResultRequestTypeDef(TypedDict):
    checkId: str,
    language: NotRequired[str],

DescribeTrustedAdvisorCheckSummariesRequestTypeDef#

# DescribeTrustedAdvisorCheckSummariesRequestTypeDef TypedDict usage example

from mypy_boto3_support.type_defs import DescribeTrustedAdvisorCheckSummariesRequestTypeDef


def get_value() -> DescribeTrustedAdvisorCheckSummariesRequestTypeDef:
    return {
        "checkIds": ...,
    }


# DescribeTrustedAdvisorCheckSummariesRequestTypeDef definition

class DescribeTrustedAdvisorCheckSummariesRequestTypeDef(TypedDict):
    checkIds: Sequence[str],

DescribeTrustedAdvisorChecksRequestTypeDef#

# DescribeTrustedAdvisorChecksRequestTypeDef TypedDict usage example

from mypy_boto3_support.type_defs import DescribeTrustedAdvisorChecksRequestTypeDef


def get_value() -> DescribeTrustedAdvisorChecksRequestTypeDef:
    return {
        "language": ...,
    }


# DescribeTrustedAdvisorChecksRequestTypeDef definition

class DescribeTrustedAdvisorChecksRequestTypeDef(TypedDict):
    language: str,

TrustedAdvisorCheckDescriptionTypeDef#

# TrustedAdvisorCheckDescriptionTypeDef TypedDict usage example

from mypy_boto3_support.type_defs import TrustedAdvisorCheckDescriptionTypeDef


def get_value() -> TrustedAdvisorCheckDescriptionTypeDef:
    return {
        "id": ...,
    }


# TrustedAdvisorCheckDescriptionTypeDef definition

class TrustedAdvisorCheckDescriptionTypeDef(TypedDict):
    id: str,
    name: str,
    description: str,
    category: str,
    metadata: List[str],

RefreshTrustedAdvisorCheckRequestTypeDef#

# RefreshTrustedAdvisorCheckRequestTypeDef TypedDict usage example

from mypy_boto3_support.type_defs import RefreshTrustedAdvisorCheckRequestTypeDef


def get_value() -> RefreshTrustedAdvisorCheckRequestTypeDef:
    return {
        "checkId": ...,
    }


# RefreshTrustedAdvisorCheckRequestTypeDef definition

class RefreshTrustedAdvisorCheckRequestTypeDef(TypedDict):
    checkId: str,

ResolveCaseRequestTypeDef#

# ResolveCaseRequestTypeDef TypedDict usage example

from mypy_boto3_support.type_defs import ResolveCaseRequestTypeDef


def get_value() -> ResolveCaseRequestTypeDef:
    return {
        "caseId": ...,
    }


# ResolveCaseRequestTypeDef definition

class ResolveCaseRequestTypeDef(TypedDict):
    caseId: NotRequired[str],

TrustedAdvisorCostOptimizingSummaryTypeDef#

# TrustedAdvisorCostOptimizingSummaryTypeDef TypedDict usage example

from mypy_boto3_support.type_defs import TrustedAdvisorCostOptimizingSummaryTypeDef


def get_value() -> TrustedAdvisorCostOptimizingSummaryTypeDef:
    return {
        "estimatedMonthlySavings": ...,
    }


# TrustedAdvisorCostOptimizingSummaryTypeDef definition

class TrustedAdvisorCostOptimizingSummaryTypeDef(TypedDict):
    estimatedMonthlySavings: float,
    estimatedPercentMonthlySavings: float,

TrustedAdvisorResourceDetailTypeDef#

# TrustedAdvisorResourceDetailTypeDef TypedDict usage example

from mypy_boto3_support.type_defs import TrustedAdvisorResourceDetailTypeDef


def get_value() -> TrustedAdvisorResourceDetailTypeDef:
    return {
        "status": ...,
    }


# TrustedAdvisorResourceDetailTypeDef definition

class TrustedAdvisorResourceDetailTypeDef(TypedDict):
    status: str,
    resourceId: str,
    metadata: List[str],
    region: NotRequired[str],
    isSuppressed: NotRequired[bool],

TrustedAdvisorResourcesSummaryTypeDef#

# TrustedAdvisorResourcesSummaryTypeDef TypedDict usage example

from mypy_boto3_support.type_defs import TrustedAdvisorResourcesSummaryTypeDef


def get_value() -> TrustedAdvisorResourcesSummaryTypeDef:
    return {
        "resourcesProcessed": ...,
    }


# TrustedAdvisorResourcesSummaryTypeDef definition

class TrustedAdvisorResourcesSummaryTypeDef(TypedDict):
    resourcesProcessed: int,
    resourcesFlagged: int,
    resourcesIgnored: int,
    resourcesSuppressed: int,

AddAttachmentsToSetResponseTypeDef#

# AddAttachmentsToSetResponseTypeDef TypedDict usage example

from mypy_boto3_support.type_defs import AddAttachmentsToSetResponseTypeDef


def get_value() -> AddAttachmentsToSetResponseTypeDef:
    return {
        "attachmentSetId": ...,
    }


# AddAttachmentsToSetResponseTypeDef definition

class AddAttachmentsToSetResponseTypeDef(TypedDict):
    attachmentSetId: str,
    expiryTime: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

AddCommunicationToCaseResponseTypeDef#

# AddCommunicationToCaseResponseTypeDef TypedDict usage example

from mypy_boto3_support.type_defs import AddCommunicationToCaseResponseTypeDef


def get_value() -> AddCommunicationToCaseResponseTypeDef:
    return {
        "result": ...,
    }


# AddCommunicationToCaseResponseTypeDef definition

class AddCommunicationToCaseResponseTypeDef(TypedDict):
    result: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateCaseResponseTypeDef#

# CreateCaseResponseTypeDef TypedDict usage example

from mypy_boto3_support.type_defs import CreateCaseResponseTypeDef


def get_value() -> CreateCaseResponseTypeDef:
    return {
        "caseId": ...,
    }


# CreateCaseResponseTypeDef definition

class CreateCaseResponseTypeDef(TypedDict):
    caseId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ResolveCaseResponseTypeDef#

# ResolveCaseResponseTypeDef TypedDict usage example

from mypy_boto3_support.type_defs import ResolveCaseResponseTypeDef


def get_value() -> ResolveCaseResponseTypeDef:
    return {
        "initialCaseStatus": ...,
    }


# ResolveCaseResponseTypeDef definition

class ResolveCaseResponseTypeDef(TypedDict):
    initialCaseStatus: str,
    finalCaseStatus: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CommunicationTypeDef#

# CommunicationTypeDef TypedDict usage example

from mypy_boto3_support.type_defs import CommunicationTypeDef


def get_value() -> CommunicationTypeDef:
    return {
        "caseId": ...,
    }


# CommunicationTypeDef definition

class CommunicationTypeDef(TypedDict):
    caseId: NotRequired[str],
    body: NotRequired[str],
    submittedBy: NotRequired[str],
    timeCreated: NotRequired[str],
    attachmentSet: NotRequired[List[AttachmentDetailsTypeDef]],  # (1)
  1. See List[AttachmentDetailsTypeDef]

DescribeAttachmentResponseTypeDef#

# DescribeAttachmentResponseTypeDef TypedDict usage example

from mypy_boto3_support.type_defs import DescribeAttachmentResponseTypeDef


def get_value() -> DescribeAttachmentResponseTypeDef:
    return {
        "attachment": ...,
    }


# DescribeAttachmentResponseTypeDef definition

class DescribeAttachmentResponseTypeDef(TypedDict):
    attachment: AttachmentOutputTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AttachmentOutputTypeDef
  2. See ResponseMetadataTypeDef

AttachmentTypeDef#

# AttachmentTypeDef TypedDict usage example

from mypy_boto3_support.type_defs import AttachmentTypeDef


def get_value() -> AttachmentTypeDef:
    return {
        "fileName": ...,
    }


# AttachmentTypeDef definition

class AttachmentTypeDef(TypedDict):
    fileName: NotRequired[str],
    data: NotRequired[BlobTypeDef],

ServiceTypeDef#

# ServiceTypeDef TypedDict usage example

from mypy_boto3_support.type_defs import ServiceTypeDef


def get_value() -> ServiceTypeDef:
    return {
        "code": ...,
    }


# ServiceTypeDef definition

class ServiceTypeDef(TypedDict):
    code: NotRequired[str],
    name: NotRequired[str],
    categories: NotRequired[List[CategoryTypeDef]],  # (1)
  1. See List[CategoryTypeDef]

CommunicationTypeOptionsTypeDef#

# CommunicationTypeOptionsTypeDef TypedDict usage example

from mypy_boto3_support.type_defs import CommunicationTypeOptionsTypeDef


def get_value() -> CommunicationTypeOptionsTypeDef:
    return {
        "type": ...,
    }


# CommunicationTypeOptionsTypeDef definition

class CommunicationTypeOptionsTypeDef(TypedDict):
    type: NotRequired[str],
    supportedHours: NotRequired[List[SupportedHourTypeDef]],  # (1)
    datesWithoutSupport: NotRequired[List[DateIntervalTypeDef]],  # (2)
  1. See List[SupportedHourTypeDef]
  2. See List[DateIntervalTypeDef]

DescribeCasesRequestPaginateTypeDef#

# DescribeCasesRequestPaginateTypeDef TypedDict usage example

from mypy_boto3_support.type_defs import DescribeCasesRequestPaginateTypeDef


def get_value() -> DescribeCasesRequestPaginateTypeDef:
    return {
        "caseIdList": ...,
    }


# DescribeCasesRequestPaginateTypeDef definition

class DescribeCasesRequestPaginateTypeDef(TypedDict):
    caseIdList: NotRequired[Sequence[str]],
    displayId: NotRequired[str],
    afterTime: NotRequired[str],
    beforeTime: NotRequired[str],
    includeResolvedCases: NotRequired[bool],
    language: NotRequired[str],
    includeCommunications: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

DescribeCommunicationsRequestPaginateTypeDef#

# DescribeCommunicationsRequestPaginateTypeDef TypedDict usage example

from mypy_boto3_support.type_defs import DescribeCommunicationsRequestPaginateTypeDef


def get_value() -> DescribeCommunicationsRequestPaginateTypeDef:
    return {
        "caseId": ...,
    }


# DescribeCommunicationsRequestPaginateTypeDef definition

class DescribeCommunicationsRequestPaginateTypeDef(TypedDict):
    caseId: str,
    beforeTime: NotRequired[str],
    afterTime: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

DescribeSeverityLevelsResponseTypeDef#

# DescribeSeverityLevelsResponseTypeDef TypedDict usage example

from mypy_boto3_support.type_defs import DescribeSeverityLevelsResponseTypeDef


def get_value() -> DescribeSeverityLevelsResponseTypeDef:
    return {
        "severityLevels": ...,
    }


# DescribeSeverityLevelsResponseTypeDef definition

class DescribeSeverityLevelsResponseTypeDef(TypedDict):
    severityLevels: List[SeverityLevelTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See List[SeverityLevelTypeDef]
  2. See ResponseMetadataTypeDef

DescribeSupportedLanguagesResponseTypeDef#

# DescribeSupportedLanguagesResponseTypeDef TypedDict usage example

from mypy_boto3_support.type_defs import DescribeSupportedLanguagesResponseTypeDef


def get_value() -> DescribeSupportedLanguagesResponseTypeDef:
    return {
        "supportedLanguages": ...,
    }


# DescribeSupportedLanguagesResponseTypeDef definition

class DescribeSupportedLanguagesResponseTypeDef(TypedDict):
    supportedLanguages: List[SupportedLanguageTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See List[SupportedLanguageTypeDef]
  2. See ResponseMetadataTypeDef

DescribeTrustedAdvisorCheckRefreshStatusesResponseTypeDef#

# DescribeTrustedAdvisorCheckRefreshStatusesResponseTypeDef TypedDict usage example

from mypy_boto3_support.type_defs import DescribeTrustedAdvisorCheckRefreshStatusesResponseTypeDef


def get_value() -> DescribeTrustedAdvisorCheckRefreshStatusesResponseTypeDef:
    return {
        "statuses": ...,
    }


# DescribeTrustedAdvisorCheckRefreshStatusesResponseTypeDef definition

class DescribeTrustedAdvisorCheckRefreshStatusesResponseTypeDef(TypedDict):
    statuses: List[TrustedAdvisorCheckRefreshStatusTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See List[TrustedAdvisorCheckRefreshStatusTypeDef]
  2. See ResponseMetadataTypeDef

RefreshTrustedAdvisorCheckResponseTypeDef#

# RefreshTrustedAdvisorCheckResponseTypeDef TypedDict usage example

from mypy_boto3_support.type_defs import RefreshTrustedAdvisorCheckResponseTypeDef


def get_value() -> RefreshTrustedAdvisorCheckResponseTypeDef:
    return {
        "status": ...,
    }


# RefreshTrustedAdvisorCheckResponseTypeDef definition

class RefreshTrustedAdvisorCheckResponseTypeDef(TypedDict):
    status: TrustedAdvisorCheckRefreshStatusTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TrustedAdvisorCheckRefreshStatusTypeDef
  2. See ResponseMetadataTypeDef

DescribeTrustedAdvisorChecksResponseTypeDef#

# DescribeTrustedAdvisorChecksResponseTypeDef TypedDict usage example

from mypy_boto3_support.type_defs import DescribeTrustedAdvisorChecksResponseTypeDef


def get_value() -> DescribeTrustedAdvisorChecksResponseTypeDef:
    return {
        "checks": ...,
    }


# DescribeTrustedAdvisorChecksResponseTypeDef definition

class DescribeTrustedAdvisorChecksResponseTypeDef(TypedDict):
    checks: List[TrustedAdvisorCheckDescriptionTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See List[TrustedAdvisorCheckDescriptionTypeDef]
  2. See ResponseMetadataTypeDef

TrustedAdvisorCategorySpecificSummaryTypeDef#

# TrustedAdvisorCategorySpecificSummaryTypeDef TypedDict usage example

from mypy_boto3_support.type_defs import TrustedAdvisorCategorySpecificSummaryTypeDef


def get_value() -> TrustedAdvisorCategorySpecificSummaryTypeDef:
    return {
        "costOptimizing": ...,
    }


# TrustedAdvisorCategorySpecificSummaryTypeDef definition

class TrustedAdvisorCategorySpecificSummaryTypeDef(TypedDict):
    costOptimizing: NotRequired[TrustedAdvisorCostOptimizingSummaryTypeDef],  # (1)
  1. See TrustedAdvisorCostOptimizingSummaryTypeDef

DescribeCommunicationsResponseTypeDef#

# DescribeCommunicationsResponseTypeDef TypedDict usage example

from mypy_boto3_support.type_defs import DescribeCommunicationsResponseTypeDef


def get_value() -> DescribeCommunicationsResponseTypeDef:
    return {
        "communications": ...,
    }


# DescribeCommunicationsResponseTypeDef definition

class DescribeCommunicationsResponseTypeDef(TypedDict):
    communications: List[CommunicationTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See List[CommunicationTypeDef]
  2. See ResponseMetadataTypeDef

RecentCaseCommunicationsTypeDef#

# RecentCaseCommunicationsTypeDef TypedDict usage example

from mypy_boto3_support.type_defs import RecentCaseCommunicationsTypeDef


def get_value() -> RecentCaseCommunicationsTypeDef:
    return {
        "communications": ...,
    }


# RecentCaseCommunicationsTypeDef definition

class RecentCaseCommunicationsTypeDef(TypedDict):
    communications: NotRequired[List[CommunicationTypeDef]],  # (1)
    nextToken: NotRequired[str],
  1. See List[CommunicationTypeDef]

DescribeServicesResponseTypeDef#

# DescribeServicesResponseTypeDef TypedDict usage example

from mypy_boto3_support.type_defs import DescribeServicesResponseTypeDef


def get_value() -> DescribeServicesResponseTypeDef:
    return {
        "services": ...,
    }


# DescribeServicesResponseTypeDef definition

class DescribeServicesResponseTypeDef(TypedDict):
    services: List[ServiceTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See List[ServiceTypeDef]
  2. See ResponseMetadataTypeDef

DescribeCreateCaseOptionsResponseTypeDef#

# DescribeCreateCaseOptionsResponseTypeDef TypedDict usage example

from mypy_boto3_support.type_defs import DescribeCreateCaseOptionsResponseTypeDef


def get_value() -> DescribeCreateCaseOptionsResponseTypeDef:
    return {
        "languageAvailability": ...,
    }


# DescribeCreateCaseOptionsResponseTypeDef definition

class DescribeCreateCaseOptionsResponseTypeDef(TypedDict):
    languageAvailability: str,
    communicationTypes: List[CommunicationTypeOptionsTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See List[CommunicationTypeOptionsTypeDef]
  2. See ResponseMetadataTypeDef

TrustedAdvisorCheckResultTypeDef#

# TrustedAdvisorCheckResultTypeDef TypedDict usage example

from mypy_boto3_support.type_defs import TrustedAdvisorCheckResultTypeDef


def get_value() -> TrustedAdvisorCheckResultTypeDef:
    return {
        "checkId": ...,
    }


# TrustedAdvisorCheckResultTypeDef definition

class TrustedAdvisorCheckResultTypeDef(TypedDict):
    checkId: str,
    timestamp: str,
    status: str,
    resourcesSummary: TrustedAdvisorResourcesSummaryTypeDef,  # (1)
    categorySpecificSummary: TrustedAdvisorCategorySpecificSummaryTypeDef,  # (2)
    flaggedResources: List[TrustedAdvisorResourceDetailTypeDef],  # (3)
  1. See TrustedAdvisorResourcesSummaryTypeDef
  2. See TrustedAdvisorCategorySpecificSummaryTypeDef
  3. See List[TrustedAdvisorResourceDetailTypeDef]

TrustedAdvisorCheckSummaryTypeDef#

# TrustedAdvisorCheckSummaryTypeDef TypedDict usage example

from mypy_boto3_support.type_defs import TrustedAdvisorCheckSummaryTypeDef


def get_value() -> TrustedAdvisorCheckSummaryTypeDef:
    return {
        "checkId": ...,
    }


# TrustedAdvisorCheckSummaryTypeDef definition

class TrustedAdvisorCheckSummaryTypeDef(TypedDict):
    checkId: str,
    timestamp: str,
    status: str,
    resourcesSummary: TrustedAdvisorResourcesSummaryTypeDef,  # (1)
    categorySpecificSummary: TrustedAdvisorCategorySpecificSummaryTypeDef,  # (2)
    hasFlaggedResources: NotRequired[bool],
  1. See TrustedAdvisorResourcesSummaryTypeDef
  2. See TrustedAdvisorCategorySpecificSummaryTypeDef

CaseDetailsTypeDef#

# CaseDetailsTypeDef TypedDict usage example

from mypy_boto3_support.type_defs import CaseDetailsTypeDef


def get_value() -> CaseDetailsTypeDef:
    return {
        "caseId": ...,
    }


# CaseDetailsTypeDef definition

class CaseDetailsTypeDef(TypedDict):
    caseId: NotRequired[str],
    displayId: NotRequired[str],
    subject: NotRequired[str],
    status: NotRequired[str],
    serviceCode: NotRequired[str],
    categoryCode: NotRequired[str],
    severityCode: NotRequired[str],
    submittedBy: NotRequired[str],
    timeCreated: NotRequired[str],
    recentCommunications: NotRequired[RecentCaseCommunicationsTypeDef],  # (1)
    ccEmailAddresses: NotRequired[List[str]],
    language: NotRequired[str],
  1. See RecentCaseCommunicationsTypeDef

AddAttachmentsToSetRequestTypeDef#

# AddAttachmentsToSetRequestTypeDef TypedDict usage example

from mypy_boto3_support.type_defs import AddAttachmentsToSetRequestTypeDef


def get_value() -> AddAttachmentsToSetRequestTypeDef:
    return {
        "attachments": ...,
    }


# AddAttachmentsToSetRequestTypeDef definition

class AddAttachmentsToSetRequestTypeDef(TypedDict):
    attachments: Sequence[AttachmentUnionTypeDef],  # (1)
    attachmentSetId: NotRequired[str],
  1. See Sequence[AttachmentUnionTypeDef]

DescribeTrustedAdvisorCheckResultResponseTypeDef#

# DescribeTrustedAdvisorCheckResultResponseTypeDef TypedDict usage example

from mypy_boto3_support.type_defs import DescribeTrustedAdvisorCheckResultResponseTypeDef


def get_value() -> DescribeTrustedAdvisorCheckResultResponseTypeDef:
    return {
        "result": ...,
    }


# DescribeTrustedAdvisorCheckResultResponseTypeDef definition

class DescribeTrustedAdvisorCheckResultResponseTypeDef(TypedDict):
    result: TrustedAdvisorCheckResultTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TrustedAdvisorCheckResultTypeDef
  2. See ResponseMetadataTypeDef

DescribeTrustedAdvisorCheckSummariesResponseTypeDef#

# DescribeTrustedAdvisorCheckSummariesResponseTypeDef TypedDict usage example

from mypy_boto3_support.type_defs import DescribeTrustedAdvisorCheckSummariesResponseTypeDef


def get_value() -> DescribeTrustedAdvisorCheckSummariesResponseTypeDef:
    return {
        "summaries": ...,
    }


# DescribeTrustedAdvisorCheckSummariesResponseTypeDef definition

class DescribeTrustedAdvisorCheckSummariesResponseTypeDef(TypedDict):
    summaries: List[TrustedAdvisorCheckSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See List[TrustedAdvisorCheckSummaryTypeDef]
  2. See ResponseMetadataTypeDef

DescribeCasesResponseTypeDef#

# DescribeCasesResponseTypeDef TypedDict usage example

from mypy_boto3_support.type_defs import DescribeCasesResponseTypeDef


def get_value() -> DescribeCasesResponseTypeDef:
    return {
        "cases": ...,
    }


# DescribeCasesResponseTypeDef definition

class DescribeCasesResponseTypeDef(TypedDict):
    cases: List[CaseDetailsTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See List[CaseDetailsTypeDef]
  2. See ResponseMetadataTypeDef