Skip to content

Type definitions#

Index > RePostPrivate > Type definitions

Auto-generated documentation for RePostPrivate type annotations stubs module mypy-boto3-repostspace.

BatchAddRoleInputRequestTypeDef#

# BatchAddRoleInputRequestTypeDef definition

class BatchAddRoleInputRequestTypeDef(TypedDict):
    accessorIds: Sequence[str],
    role: RoleType,  # (1)
    spaceId: str,
  1. See RoleType

BatchErrorTypeDef#

# BatchErrorTypeDef definition

class BatchErrorTypeDef(TypedDict):
    accessorId: str,
    error: int,
    message: str,

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

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

BatchRemoveRoleInputRequestTypeDef#

# BatchRemoveRoleInputRequestTypeDef definition

class BatchRemoveRoleInputRequestTypeDef(TypedDict):
    accessorIds: Sequence[str],
    role: RoleType,  # (1)
    spaceId: str,
  1. See RoleType

CreateSpaceInputRequestTypeDef#

# CreateSpaceInputRequestTypeDef definition

class CreateSpaceInputRequestTypeDef(TypedDict):
    name: str,
    subdomain: str,
    tier: TierLevelType,  # (1)
    description: NotRequired[str],
    roleArn: NotRequired[str],
    tags: NotRequired[Mapping[str, str]],
    userKMSKey: NotRequired[str],
  1. See TierLevelType

DeleteSpaceInputRequestTypeDef#

# DeleteSpaceInputRequestTypeDef definition

class DeleteSpaceInputRequestTypeDef(TypedDict):
    spaceId: str,

DeregisterAdminInputRequestTypeDef#

# DeregisterAdminInputRequestTypeDef definition

class DeregisterAdminInputRequestTypeDef(TypedDict):
    adminId: str,
    spaceId: str,

GetSpaceInputRequestTypeDef#

# GetSpaceInputRequestTypeDef definition

class GetSpaceInputRequestTypeDef(TypedDict):
    spaceId: str,

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef definition

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

ListSpacesInputRequestTypeDef#

# ListSpacesInputRequestTypeDef definition

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

SpaceDataTypeDef#

# SpaceDataTypeDef definition

class SpaceDataTypeDef(TypedDict):
    arn: str,
    configurationStatus: ConfigurationStatusType,  # (1)
    createDateTime: datetime,
    name: str,
    randomDomain: str,
    spaceId: str,
    status: str,
    storageLimit: int,
    tier: TierLevelType,  # (2)
    vanityDomain: str,
    vanityDomainStatus: VanityDomainStatusType,  # (3)
    contentSize: NotRequired[int],
    deleteDateTime: NotRequired[datetime],
    description: NotRequired[str],
    userCount: NotRequired[int],
    userKMSKey: NotRequired[str],
  1. See ConfigurationStatusType
  2. See TierLevelType
  3. See VanityDomainStatusType

ListTagsForResourceRequestRequestTypeDef#

# ListTagsForResourceRequestRequestTypeDef definition

class ListTagsForResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,

RegisterAdminInputRequestTypeDef#

# RegisterAdminInputRequestTypeDef definition

class RegisterAdminInputRequestTypeDef(TypedDict):
    adminId: str,
    spaceId: str,

SendInvitesInputRequestTypeDef#

# SendInvitesInputRequestTypeDef definition

class SendInvitesInputRequestTypeDef(TypedDict):
    accessorIds: Sequence[str],
    body: str,
    spaceId: str,
    title: str,

TagResourceRequestRequestTypeDef#

# TagResourceRequestRequestTypeDef definition

class TagResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,
    tags: Mapping[str, str],

UntagResourceRequestRequestTypeDef#

# UntagResourceRequestRequestTypeDef definition

class UntagResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,
    tagKeys: Sequence[str],

UpdateSpaceInputRequestTypeDef#

# UpdateSpaceInputRequestTypeDef definition

class UpdateSpaceInputRequestTypeDef(TypedDict):
    spaceId: str,
    description: NotRequired[str],
    roleArn: NotRequired[str],
    tier: NotRequired[TierLevelType],  # (1)
  1. See TierLevelType

BatchAddRoleOutputTypeDef#

# BatchAddRoleOutputTypeDef definition

class BatchAddRoleOutputTypeDef(TypedDict):
    addedAccessorIds: List[str],
    errors: List[BatchErrorTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See BatchErrorTypeDef
  2. See ResponseMetadataTypeDef

BatchRemoveRoleOutputTypeDef#

# BatchRemoveRoleOutputTypeDef definition

class BatchRemoveRoleOutputTypeDef(TypedDict):
    errors: List[BatchErrorTypeDef],  # (1)
    removedAccessorIds: List[str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See BatchErrorTypeDef
  2. See ResponseMetadataTypeDef

CreateSpaceOutputTypeDef#

# CreateSpaceOutputTypeDef definition

class CreateSpaceOutputTypeDef(TypedDict):
    spaceId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

EmptyResponseMetadataTypeDef#

# EmptyResponseMetadataTypeDef definition

class EmptyResponseMetadataTypeDef(TypedDict):
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetSpaceOutputTypeDef#

# GetSpaceOutputTypeDef definition

class GetSpaceOutputTypeDef(TypedDict):
    arn: str,
    clientId: str,
    configurationStatus: ConfigurationStatusType,  # (1)
    contentSize: int,
    createDateTime: datetime,
    customerRoleArn: str,
    deleteDateTime: datetime,
    description: str,
    groupAdmins: List[str],
    name: str,
    randomDomain: str,
    roles: Dict[str, List[RoleType]],  # (2)
    spaceId: str,
    status: str,
    storageLimit: int,
    tier: TierLevelType,  # (3)
    userAdmins: List[str],
    userCount: int,
    userKMSKey: str,
    vanityDomain: str,
    vanityDomainStatus: VanityDomainStatusType,  # (4)
    ResponseMetadata: ResponseMetadataTypeDef,  # (5)
  1. See ConfigurationStatusType
  2. See RoleType
  3. See TierLevelType
  4. See VanityDomainStatusType
  5. See ResponseMetadataTypeDef

ListTagsForResourceResponseTypeDef#

# ListTagsForResourceResponseTypeDef definition

class ListTagsForResourceResponseTypeDef(TypedDict):
    tags: Dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ListSpacesInputListSpacesPaginateTypeDef#

# ListSpacesInputListSpacesPaginateTypeDef definition

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

ListSpacesOutputTypeDef#

# ListSpacesOutputTypeDef definition

class ListSpacesOutputTypeDef(TypedDict):
    spaces: List[SpaceDataTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See SpaceDataTypeDef
  2. See ResponseMetadataTypeDef