Skip to content

Type definitions#

Index > ResilienceHub > Type definitions

Auto-generated documentation for ResilienceHub type annotations stubs module mypy-boto3-resiliencehub.

TimestampTypeDef#

# TimestampTypeDef definition

TimestampTypeDef = Union[
    datetime,
    str,
]

PermissionModelUnionTypeDef#

# PermissionModelUnionTypeDef definition

PermissionModelUnionTypeDef = Union[
    PermissionModelTypeDef,  # (1)
    PermissionModelOutputTypeDef,  # (2)
]
  1. See PermissionModelTypeDef
  2. See PermissionModelOutputTypeDef

EksSourceUnionTypeDef#

# EksSourceUnionTypeDef definition

EksSourceUnionTypeDef = Union[
    EksSourceTypeDef,  # (1)
    EksSourceOutputTypeDef,  # (2)
]
  1. See EksSourceTypeDef
  2. See EksSourceOutputTypeDef

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

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

RecommendationItemTypeDef#

# RecommendationItemTypeDef definition

class RecommendationItemTypeDef(TypedDict):
    alreadyImplemented: NotRequired[bool],
    excludeReason: NotRequired[ExcludeRecommendationReasonType],  # (1)
    excluded: NotRequired[bool],
    resourceId: NotRequired[str],
    targetAccountId: NotRequired[str],
    targetRegion: NotRequired[str],
  1. See