Skip to content

Type definitions#

Index > Mobile > Type definitions

Auto-generated documentation for Mobile type annotations stubs module mypy-boto3-mobile.

BlobTypeDef#

# BlobTypeDef definition

BlobTypeDef = Union[
    str,
    bytes,
    IO[Any],
    StreamingBody,
]

BundleDetailsTypeDef#

# BundleDetailsTypeDef definition

class BundleDetailsTypeDef(TypedDict):
    bundleId: NotRequired[str],
    title: NotRequired[str],
    version: NotRequired[str],
    description: NotRequired[str],
    iconUrl: NotRequired[str],
    availablePlatforms: NotRequired[List[PlatformType]],  # (1)
  1. See PlatformType

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

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

DeleteProjectRequestRequestTypeDef#

# DeleteProjectRequestRequestTypeDef definition

class DeleteProjectRequestRequestTypeDef(TypedDict):
    projectId: str,

ResourceTypeDef#

# ResourceTypeDef definition

class ResourceTypeDef(TypedDict):
    type: NotRequired[str],
    name: NotRequired[str],
    arn: NotRequired[str],
    feature: NotRequired[str],
    attributes: NotRequired[Dict[str, str]],

DescribeBundleRequestRequestTypeDef#

# DescribeBundleRequestRequestTypeDef definition

class DescribeBundleRequestRequestTypeDef(TypedDict):
    bundleId: str,

DescribeProjectRequestRequestTypeDef#

# DescribeProjectRequestRequestTypeDef definition

class DescribeProjectRequestRequestTypeDef(TypedDict):
    projectId: str,
    syncFromResources: NotRequired[bool],

ExportBundleRequestRequestTypeDef#

# ExportBundleRequestRequestTypeDef definition

class ExportBundleRequestRequestTypeDef(TypedDict):
    bundleId: str,
    projectId: NotRequired[str],
    platform: NotRequired[PlatformType],  # (1)
  1. See PlatformType

ExportProjectRequestRequestTypeDef#

# ExportProjectRequestRequestTypeDef definition

class ExportProjectRequestRequestTypeDef(TypedDict):
    projectId: str,

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef definition

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

ListBundlesRequestRequestTypeDef#

# ListBundlesRequestRequestTypeDef definition

class ListBundlesRequestRequestTypeDef(TypedDict):
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

ListProjectsRequestRequestTypeDef#

# ListProjectsRequestRequestTypeDef definition

class ListProjectsRequestRequestTypeDef(TypedDict):
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

ProjectSummaryTypeDef#

# ProjectSummaryTypeDef definition

class ProjectSummaryTypeDef(TypedDict):
    name: NotRequired[str],
    projectId: NotRequired[str],

CreateProjectRequestRequestTypeDef#

# CreateProjectRequestRequestTypeDef definition

class CreateProjectRequestRequestTypeDef(TypedDict):
    name: NotRequired[str],
    region: NotRequired[str],
    contents: NotRequired[Union[str, bytes, IO[Any], StreamingBody]],
    snapshotId: NotRequired[str],

UpdateProjectRequestRequestTypeDef#

# UpdateProjectRequestRequestTypeDef definition

class UpdateProjectRequestRequestTypeDef(TypedDict):
    projectId: str,
    contents: NotRequired[Union[str, bytes, IO[Any], StreamingBody]],

DescribeBundleResultTypeDef#

# DescribeBundleResultTypeDef definition

class DescribeBundleResultTypeDef(TypedDict):
    details: BundleDetailsTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See BundleDetailsTypeDef
  2. See ResponseMetadataTypeDef

ExportBundleResultTypeDef#

# ExportBundleResultTypeDef definition

class ExportBundleResultTypeDef(TypedDict):
    downloadUrl: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ExportProjectResultTypeDef#

# ExportProjectResultTypeDef definition

class ExportProjectResultTypeDef(TypedDict):
    downloadUrl: str,
    shareUrl: str,
    snapshotId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ListBundlesResultTypeDef#

# ListBundlesResultTypeDef definition

class ListBundlesResultTypeDef(TypedDict):
    bundleList: List[BundleDetailsTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See BundleDetailsTypeDef
  2. See ResponseMetadataTypeDef

DeleteProjectResultTypeDef#

# DeleteProjectResultTypeDef definition

class DeleteProjectResultTypeDef(TypedDict):
    deletedResources: List[ResourceTypeDef],  # (1)
    orphanedResources: List[ResourceTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See ResourceTypeDef
  2. See ResourceTypeDef
  3. See ResponseMetadataTypeDef

ProjectDetailsTypeDef#

# ProjectDetailsTypeDef definition

class ProjectDetailsTypeDef(TypedDict):
    name: NotRequired[str],
    projectId: NotRequired[str],
    region: NotRequired[str],
    state: NotRequired[ProjectStateType],  # (1)
    createdDate: NotRequired[datetime],
    lastUpdatedDate: NotRequired[datetime],
    consoleUrl: NotRequired[str],
    resources: NotRequired[List[ResourceTypeDef]],  # (2)
  1. See ProjectStateType
  2. See ResourceTypeDef

ListBundlesRequestListBundlesPaginateTypeDef#

# ListBundlesRequestListBundlesPaginateTypeDef definition

class ListBundlesRequestListBundlesPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListProjectsRequestListProjectsPaginateTypeDef#

# ListProjectsRequestListProjectsPaginateTypeDef definition

class ListProjectsRequestListProjectsPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListProjectsResultTypeDef#

# ListProjectsResultTypeDef definition

class ListProjectsResultTypeDef(TypedDict):
    projects: List[ProjectSummaryTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ProjectSummaryTypeDef
  2. See ResponseMetadataTypeDef

CreateProjectResultTypeDef#

# CreateProjectResultTypeDef definition

class CreateProjectResultTypeDef(TypedDict):
    details: ProjectDetailsTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ProjectDetailsTypeDef
  2. See ResponseMetadataTypeDef

DescribeProjectResultTypeDef#

# DescribeProjectResultTypeDef definition

class DescribeProjectResultTypeDef(TypedDict):
    details: ProjectDetailsTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ProjectDetailsTypeDef
  2. See ResponseMetadataTypeDef

UpdateProjectResultTypeDef#

# UpdateProjectResultTypeDef definition

class UpdateProjectResultTypeDef(TypedDict):
    details: ProjectDetailsTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ProjectDetailsTypeDef
  2. See ResponseMetadataTypeDef