Skip to content

Type definitions#

Index > Snowball > Type definitions

Auto-generated documentation for Snowball type annotations stubs module mypy-boto3-snowball.

TimestampTypeDef#

# TimestampTypeDef definition

TimestampTypeDef = Union[
    datetime,
    str,
]

NotificationUnionTypeDef#

# NotificationUnionTypeDef definition

NotificationUnionTypeDef = Union[
    NotificationTypeDef,  # (1)
    NotificationOutputTypeDef,  # (2)
]
  1. See NotificationTypeDef
  2. See NotificationOutputTypeDef

PickupDetailsUnionTypeDef#

# PickupDetailsUnionTypeDef definition

PickupDetailsUnionTypeDef = Union[
    PickupDetailsTypeDef,  # (1)
    PickupDetailsOutputTypeDef,  # (2)
]
  1. See PickupDetailsTypeDef
  2. See PickupDetailsOutputTypeDef

JobResourceUnionTypeDef#

# JobResourceUnionTypeDef definition

JobResourceUnionTypeDef = Union[
    JobResourceTypeDef,  # (1)
    JobResourceOutputTypeDef,  # (2)
]
  1. See JobResourceTypeDef
  2. See JobResourceOutputTypeDef

AddressTypeDef#

# AddressTypeDef definition

class AddressTypeDef(TypedDict):
    AddressId: NotRequired[str],
    Name: NotRequired[str],
    Company: NotRequired[str],
    Street1: NotRequired[str],
    Street2: NotRequired[str],
    Street3: NotRequired[str],
    City: NotRequired[str],
    StateOrProvince: NotRequired[str],
    PrefectureOrDistrict: NotRequired[str],
    Landmark: NotRequired[str],
    Country: NotRequired[str],
    PostalCode: NotRequired[str],
    PhoneNumber: NotRequired[str],
    IsRestricted: NotRequired[bool],
    Type: NotRequired[AddressTypeType],  # (1)
  1. See AddressTypeType

CancelClusterRequestRequestTypeDef#

# CancelClusterRequestRequestTypeDef definition

class CancelClusterRequestRequestTypeDef(TypedDict):
    ClusterId: str,

CancelJobRequestRequestTypeDef#

# CancelJobRequestRequestTypeDef definition

class CancelJobRequestRequestTypeDef(TypedDict):
    JobId: str,

ClusterListEntryTypeDef#

# ClusterListEntryTypeDef definition

class ClusterListEntryTypeDef(TypedDict):
    ClusterId: NotRequired[str],
    ClusterState: NotRequired[ClusterStateType],  # (1)
    CreationDate: NotRequired[datetime],
    Description: NotRequired[str],
  1. See ClusterStateType

NotificationOutputTypeDef#

# NotificationOutputTypeDef definition

class NotificationOutputTypeDef(TypedDict):
    SnsTopicARN: NotRequired[str],
    JobStatesToNotify: NotRequired[List[JobStateType]],  # (1)
    NotifyAll: NotRequired[bool],
    DevicePickupSnsTopicARN: NotRequired[str],
  1. See JobStateType

CompatibleImageTypeDef#

# CompatibleImageTypeDef definition

class CompatibleImageTypeDef(TypedDict):
    AmiId: NotRequired[str],
    Name: NotRequired[str],

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

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

NotificationTypeDef#

# NotificationTypeDef definition

class NotificationTypeDef(TypedDict):
    SnsTopicARN: NotRequired[str],
    JobStatesToNotify: NotRequired[Sequence[JobStateType]],  # (1)
    NotifyAll: NotRequired[bool],
    DevicePickupSnsTopicARN: NotRequired[str],
  1. See JobStateType

JobListEntryTypeDef#

# JobListEntryTypeDef definition

class JobListEntryTypeDef(TypedDict):
    JobId: NotRequired[str],
    JobState: NotRequired[JobStateType],  # (1)
    IsMaster: NotRequired[bool],
    JobType: NotRequired[JobTypeType],  # (2)
    SnowballType: NotRequired[SnowballTypeType],  # (3)
    CreationDate: NotRequired[datetime],
    Description: NotRequired[str],
  1. See JobStateType
  2. See JobTypeType
  3. See SnowballTypeType

CreateLongTermPricingRequestRequestTypeDef#

# CreateLongTermPricingRequestRequestTypeDef definition

class CreateLongTermPricingRequestRequestTypeDef(TypedDict):
    LongTermPricingType: LongTermPricingTypeType,  # (1)
    SnowballType: SnowballTypeType,  # (2)
    IsLongTermPricingAutoRenew: NotRequired[bool],
  1. See