Skip to content

Type definitions#

Index > Cloud9 > Type definitions

Auto-generated documentation for Cloud9 type annotations stubs module types-boto3-cloud9.

TagTypeDef#

# TagTypeDef definition

class TagTypeDef(TypedDict):
    Key: str,
    Value: str,

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

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

CreateEnvironmentMembershipRequestRequestTypeDef#

# CreateEnvironmentMembershipRequestRequestTypeDef definition

class CreateEnvironmentMembershipRequestRequestTypeDef(TypedDict):
    environmentId: str,
    userArn: str,
    permissions: MemberPermissionsType,  # (1)
  1. See MemberPermissionsType

EnvironmentMemberTypeDef#

# EnvironmentMemberTypeDef definition

class EnvironmentMemberTypeDef(TypedDict):
    permissions: PermissionsType,  # (1)
    userId: str,
    userArn: str,
    environmentId: str,
    lastAccess: NotRequired[datetime],
  1. See PermissionsType

DeleteEnvironmentMembershipRequestRequestTypeDef#

# DeleteEnvironmentMembershipRequestRequestTypeDef definition

class DeleteEnvironmentMembershipRequestRequestTypeDef(TypedDict):
    environmentId: str,
    userArn: str,

DeleteEnvironmentRequestRequestTypeDef#

# DeleteEnvironmentRequestRequestTypeDef definition

class DeleteEnvironmentRequestRequestTypeDef(TypedDict):
    environmentId: str,

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef definition

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

DescribeEnvironmentMembershipsRequestRequestTypeDef#

# DescribeEnvironmentMembershipsRequestRequestTypeDef definition

class DescribeEnvironmentMembershipsRequestRequestTypeDef(TypedDict):
    userArn: NotRequired[str],
    environmentId: NotRequired[str],
    permissions: NotRequired[Sequence[PermissionsType]],  # (1)
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],
  1. See PermissionsType

DescribeEnvironmentStatusRequestRequestTypeDef#

# DescribeEnvironmentStatusRequestRequestTypeDef definition

class DescribeEnvironmentStatusRequestRequestTypeDef(TypedDict):
    environmentId: str,

DescribeEnvironmentsRequestRequestTypeDef#

# DescribeEnvironmentsRequestRequestTypeDef definition

class DescribeEnvironmentsRequestRequestTypeDef(TypedDict):
    environmentIds: Sequence[str],

EnvironmentLifecycleTypeDef#

# EnvironmentLifecycleTypeDef definition

class EnvironmentLifecycleTypeDef(TypedDict):
    status: NotRequired[EnvironmentLifecycleStatusType],  # (1)
    reason: NotRequired[str],
    failureResource: NotRequired[str],
  1. See EnvironmentLifecycleStatusType

ListEnvironmentsRequestRequestTypeDef#

# ListEnvironmentsRequestRequestTypeDef definition

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

ListTagsForResourceRequestRequestTypeDef#

# ListTagsForResourceRequestRequestTypeDef definition

class ListTagsForResourceRequestRequestTypeDef(TypedDict):
    ResourceARN: str,

UntagResourceRequestRequestTypeDef#

# UntagResourceRequestRequestTypeDef definition

class UntagResourceRequestRequestTypeDef(TypedDict):
    ResourceARN: str,
    TagKeys: Sequence[str],

UpdateEnvironmentMembershipRequestRequestTypeDef#

# UpdateEnvironmentMembershipRequestRequestTypeDef definition

class UpdateEnvironmentMembershipRequestRequestTypeDef(TypedDict):
    environmentId: str,
    userArn: str,
    permissions: MemberPermissionsType,  # (1)
  1. See MemberPermissionsType

UpdateEnvironmentRequestRequestTypeDef#

# UpdateEnvironmentRequestRequestTypeDef definition

class UpdateEnvironmentRequestRequestTypeDef(TypedDict):
    environmentId: str,
    name: NotRequired[str],
    description: NotRequired[str],
    managedCredentialsAction: NotRequired[ManagedCredentialsActionType],  # (1)
  1. See ManagedCredentialsActionType

CreateEnvironmentEC2RequestRequestTypeDef#

# CreateEnvironmentEC2RequestRequestTypeDef definition

class CreateEnvironmentEC2RequestRequestTypeDef(TypedDict):
    name: str,
    instanceType: str,
    imageId: str,
    description: NotRequired[str],
    clientRequestToken: NotRequired[str],
    subnetId: NotRequired[str],
    automaticStopTimeMinutes: NotRequired[int],
    ownerArn: NotRequired[str],
    tags: NotRequired[Sequence[TagTypeDef]],  # (1)
    connectionType: NotRequired[ConnectionTypeType],  # (2)
    dryRun: NotRequired[bool],
  1. See TagTypeDef
  2. See ConnectionTypeType

TagResourceRequestRequestTypeDef#

# TagResourceRequestRequestTypeDef definition

class TagResourceRequestRequestTypeDef(TypedDict):
    ResourceARN: str,
    Tags: Sequence[TagTypeDef],  # (1)
  1. See TagTypeDef

CreateEnvironmentEC2ResultTypeDef#

# CreateEnvironmentEC2ResultTypeDef definition

class CreateEnvironmentEC2ResultTypeDef(TypedDict):
    environmentId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DescribeEnvironmentStatusResultTypeDef#

# DescribeEnvironmentStatusResultTypeDef definition

class DescribeEnvironmentStatusResultTypeDef(TypedDict):
    status: EnvironmentStatusType,  # (1)
    message: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See EnvironmentStatusType
  2. See ResponseMetadataTypeDef

ListEnvironmentsResultTypeDef#

# ListEnvironmentsResultTypeDef definition

class ListEnvironmentsResultTypeDef(TypedDict):
    environmentIds: list[str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
    nextToken: NotRequired[str],
  1. See ResponseMetadataTypeDef

ListTagsForResourceResponseTypeDef#

# ListTagsForResourceResponseTypeDef definition

class ListTagsForResourceResponseTypeDef(TypedDict):
    Tags: list[TagTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TagTypeDef
  2. See ResponseMetadataTypeDef

CreateEnvironmentMembershipResultTypeDef#

# CreateEnvironmentMembershipResultTypeDef definition

class CreateEnvironmentMembershipResultTypeDef(TypedDict):
    membership: EnvironmentMemberTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See EnvironmentMemberTypeDef
  2. See ResponseMetadataTypeDef

DescribeEnvironmentMembershipsResultTypeDef#

# DescribeEnvironmentMembershipsResultTypeDef definition

class DescribeEnvironmentMembershipsResultTypeDef(TypedDict):
    memberships: list[EnvironmentMemberTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See EnvironmentMemberTypeDef
  2. See ResponseMetadataTypeDef

UpdateEnvironmentMembershipResultTypeDef#

# UpdateEnvironmentMembershipResultTypeDef definition

class UpdateEnvironmentMembershipResultTypeDef(TypedDict):
    membership: EnvironmentMemberTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See EnvironmentMemberTypeDef
  2. See ResponseMetadataTypeDef

DescribeEnvironmentMembershipsRequestPaginateTypeDef#

# DescribeEnvironmentMembershipsRequestPaginateTypeDef definition

class DescribeEnvironmentMembershipsRequestPaginateTypeDef(TypedDict):
    userArn: NotRequired[str],
    environmentId: NotRequired[str],
    permissions: NotRequired[Sequence[PermissionsType]],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See PermissionsType
  2. See PaginatorConfigTypeDef

ListEnvironmentsRequestPaginateTypeDef#

# ListEnvironmentsRequestPaginateTypeDef definition

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

EnvironmentTypeDef#

# EnvironmentTypeDef definition

class EnvironmentTypeDef(TypedDict):
    type: EnvironmentTypeType,  # (1)
    arn: str,
    ownerArn: str,
    id: NotRequired[str],
    name: NotRequired[str],
    description: NotRequired[str],
    connectionType: NotRequired[ConnectionTypeType],  # (2)
    lifecycle: NotRequired[EnvironmentLifecycleTypeDef],  # (3)
    managedCredentialsStatus: NotRequired[ManagedCredentialsStatusType],  # (4)
  1. See EnvironmentTypeType
  2. See ConnectionTypeType
  3. See EnvironmentLifecycleTypeDef
  4. See ManagedCredentialsStatusType

DescribeEnvironmentsResultTypeDef#

# DescribeEnvironmentsResultTypeDef definition

class DescribeEnvironmentsResultTypeDef(TypedDict):
    environments: list[EnvironmentTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See EnvironmentTypeDef
  2. See ResponseMetadataTypeDef