Skip to content

Cloud9Client

Index > Cloud9 > Cloud9Client

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

Cloud9Client

Type annotations and code completion for session.client("cloud9") boto3 documentation

Usage example
from aioboto3.session import Session
from types_aiobotocore_cloud9.client import Cloud9Client

session = Session()
async with session.client("cloud9") as client:
    client: Cloud9Client

Exceptions

aioboto3 client exceptions are generated in runtime. This class provides code completion for session.client("cloud9").exceptions structure.

Usage example
async with session.client("cloud9") as client:
    try:
        do_something(client)
    except (
            client.BadRequestException,
        client.ClientError,
        client.ConcurrentAccessException,
        client.ConflictException,
        client.ForbiddenException,
        client.InternalServerErrorException,
        client.LimitExceededException,
        client.NotFoundException,
        client.TooManyRequestsException,
    ) as e:
        print(e)
Type checking example
from types_aiobotocore_cloud9.client import Exceptions

def handle_error(exc: Exceptions.BadRequestException) -> None:
    ...

Methods

can_paginate

Check if an operation can be paginated.

Type annotations and code completion for session.client("cloud9").can_paginate method. boto3 documentation

Method definition
def can_paginate(
    self,
    operation_name: str,
) -> bool:
    ...

close

Closes underlying endpoint connections.

Type annotations and code completion for session.client("cloud9").close method. boto3 documentation

Method definition
await def close(
    self,
) -> None:
    ...

create_environment_ec2

Creates an Cloud9 development environment, launches an Amazon Elastic Compute Cloud (Amazon EC2) instance, and then connects from the instance to the environment.

Type annotations and code completion for session.client("cloud9").create_environment_ec2 method. boto3 documentation

Method definition
await def create_environment_ec2(
    self,
    *,
    name: str,
    instanceType: str,
    description: str = ...,
    clientRequestToken: str = ...,
    subnetId: str = ...,
    imageId: str = ...,
    automaticStopTimeMinutes: int = ...,
    ownerArn: str = ...,
    tags: Sequence[TagTypeDef] = ...,  # (1)
    connectionType: ConnectionTypeType = ...,  # (2)
    dryRun: bool = ...,
) -> CreateEnvironmentEC2ResultTypeDef:  # (3)
    ...
  1. See TagTypeDef
  2. See ConnectionTypeType
  3. See CreateEnvironmentEC2ResultTypeDef
Usage example with kwargs
kwargs: CreateEnvironmentEC2RequestRequestTypeDef = {  # (1)
    "name": ...,
    "instanceType": ...,
}

parent.create_environment_ec2(**kwargs)
  1. See CreateEnvironmentEC2RequestRequestTypeDef

create_environment_membership

Adds an environment member to an Cloud9 development environment.

Type annotations and code completion for session.client("cloud9").create_environment_membership method. boto3 documentation

Method definition
await def create_environment_membership(
    self,
    *,
    environmentId: str,
    userArn: str,
    permissions: MemberPermissionsType,  # (1)
) -> CreateEnvironmentMembershipResultTypeDef:  # (2)
    ...
  1. See MemberPermissionsType
  2. See CreateEnvironmentMembershipResultTypeDef
Usage example with kwargs
kwargs: CreateEnvironmentMembershipRequestRequestTypeDef = {  # (1)
    "environmentId": ...,
    "userArn": ...,
    "permissions": ...,
}

parent.create_environment_membership(**kwargs)
  1. See CreateEnvironmentMembershipRequestRequestTypeDef

delete_environment

Deletes an Cloud9 development environment.

Type annotations and code completion for session.client("cloud9").delete_environment method. boto3 documentation

Method definition
await def delete_environment(
    self,
    *,
    environmentId: str,
) -> Dict[str, Any]:
    ...
Usage example with kwargs
kwargs: DeleteEnvironmentRequestRequestTypeDef = {  # (1)
    "environmentId": ...,
}

parent.delete_environment(**kwargs)
  1. See DeleteEnvironmentRequestRequestTypeDef

delete_environment_membership

Deletes an environment member from an Cloud9 development environment.

Type annotations and code completion for session.client("cloud9").delete_environment_membership method. boto3 documentation

Method definition
await def delete_environment_membership(
    self,
    *,
    environmentId: str,
    userArn: str,
) -> Dict[str, Any]:
    ...
Usage example with kwargs
kwargs: DeleteEnvironmentMembershipRequestRequestTypeDef = {  # (1)
    "environmentId": ...,
    "userArn": ...,
}

parent.delete_environment_membership(**kwargs)
  1. See DeleteEnvironmentMembershipRequestRequestTypeDef

describe_environment_memberships

Gets information about environment members for an Cloud9 development environment.

Type annotations and code completion for session.client("cloud9").describe_environment_memberships method. boto3 documentation

Method definition
await def describe_environment_memberships(
    self,
    *,
    userArn: str = ...,
    environmentId: str = ...,
    permissions: Sequence[PermissionsType] = ...,  # (1)
    nextToken: str = ...,
    maxResults: int = ...,
) -> DescribeEnvironmentMembershipsResultTypeDef:  # (2)
    ...
  1. See PermissionsType
  2. See DescribeEnvironmentMembershipsResultTypeDef
Usage example with kwargs
kwargs: DescribeEnvironmentMembershipsRequestRequestTypeDef = {  # (1)
    "userArn": ...,
}

parent.describe_environment_memberships(**kwargs)
  1. See DescribeEnvironmentMembershipsRequestRequestTypeDef

describe_environment_status

Gets status information for an Cloud9 development environment.

Type annotations and code completion for session.client("cloud9").describe_environment_status method. boto3 documentation

Method definition
await def describe_environment_status(
    self,
    *,
    environmentId: str,
) -> DescribeEnvironmentStatusResultTypeDef:  # (1)
    ...
  1. See DescribeEnvironmentStatusResultTypeDef
Usage example with kwargs
kwargs: DescribeEnvironmentStatusRequestRequestTypeDef = {  # (1)
    "environmentId": ...,
}

parent.describe_environment_status(**kwargs)
  1. See DescribeEnvironmentStatusRequestRequestTypeDef

describe_environments

Gets information about Cloud9 development environments.

Type annotations and code completion for session.client("cloud9").describe_environments method. boto3 documentation

Method definition
await def describe_environments(
    self,
    *,
    environmentIds: Sequence[str],
) -> DescribeEnvironmentsResultTypeDef:  # (1)
    ...
  1. See DescribeEnvironmentsResultTypeDef
Usage example with kwargs
kwargs: DescribeEnvironmentsRequestRequestTypeDef = {  # (1)
    "environmentIds": ...,
}

parent.describe_environments(**kwargs)
  1. See DescribeEnvironmentsRequestRequestTypeDef

generate_presigned_url

Generate a presigned url given a client, its method, and arguments.

Type annotations and code completion for session.client("cloud9").generate_presigned_url method. boto3 documentation

Method definition
await def generate_presigned_url(
    self,
    ClientMethod: str,
    Params: Mapping[str, Any] = ...,
    ExpiresIn: int = 3600,
    HttpMethod: str = ...,
) -> str:
    ...

list_environments

Gets a list of Cloud9 development environment identifiers.

Type annotations and code completion for session.client("cloud9").list_environments method. boto3 documentation

Method definition
await def list_environments(
    self,
    *,
    nextToken: str = ...,
    maxResults: int = ...,
) -> ListEnvironmentsResultTypeDef:  # (1)
    ...
  1. See ListEnvironmentsResultTypeDef
Usage example with kwargs
kwargs: ListEnvironmentsRequestRequestTypeDef = {  # (1)
    "nextToken": ...,
}

parent.list_environments(**kwargs)
  1. See ListEnvironmentsRequestRequestTypeDef

list_tags_for_resource

Gets a list of the tags associated with an Cloud9 development environment.

Type annotations and code completion for session.client("cloud9").list_tags_for_resource method. boto3 documentation

Method definition
await def list_tags_for_resource(
    self,
    *,
    ResourceARN: str,
) -> ListTagsForResourceResponseTypeDef:  # (1)
    ...
  1. See ListTagsForResourceResponseTypeDef
Usage example with kwargs
kwargs: ListTagsForResourceRequestRequestTypeDef = {  # (1)
    "ResourceARN": ...,
}

parent.list_tags_for_resource(**kwargs)
  1. See ListTagsForResourceRequestRequestTypeDef

tag_resource

Adds tags to an Cloud9 development environment.

Type annotations and code completion for session.client("cloud9").tag_resource method. boto3 documentation

Method definition
await def tag_resource(
    self,
    *,
    ResourceARN: str,
    Tags: Sequence[TagTypeDef],  # (1)
) -> Dict[str, Any]:
    ...
  1. See TagTypeDef
Usage example with kwargs
kwargs: TagResourceRequestRequestTypeDef = {  # (1)
    "ResourceARN": ...,
    "Tags": ...,
}

parent.tag_resource(**kwargs)
  1. See TagResourceRequestRequestTypeDef

untag_resource

Removes tags from an Cloud9 development environment.

Type annotations and code completion for session.client("cloud9").untag_resource method. boto3 documentation

Method definition
await def untag_resource(
    self,
    *,
    ResourceARN: str,
    TagKeys: Sequence[str],
) -> Dict[str, Any]:
    ...
Usage example with kwargs
kwargs: UntagResourceRequestRequestTypeDef = {  # (1)
    "ResourceARN": ...,
    "TagKeys": ...,
}

parent.untag_resource(**kwargs)
  1. See UntagResourceRequestRequestTypeDef

update_environment

Changes the settings of an existing Cloud9 development environment.

Type annotations and code completion for session.client("cloud9").update_environment method. boto3 documentation

Method definition
await def update_environment(
    self,
    *,
    environmentId: str,
    name: str = ...,
    description: str = ...,
    managedCredentialsAction: ManagedCredentialsActionType = ...,  # (1)
) -> Dict[str, Any]:
    ...
  1. See ManagedCredentialsActionType
Usage example with kwargs
kwargs: UpdateEnvironmentRequestRequestTypeDef = {  # (1)
    "environmentId": ...,
}

parent.update_environment(**kwargs)
  1. See UpdateEnvironmentRequestRequestTypeDef

update_environment_membership

Changes the settings of an existing environment member for an Cloud9 development environment.

Type annotations and code completion for session.client("cloud9").update_environment_membership method. boto3 documentation

Method definition
await def update_environment_membership(
    self,
    *,
    environmentId: str,
    userArn: str,
    permissions: MemberPermissionsType,  # (1)
) -> UpdateEnvironmentMembershipResultTypeDef:  # (2)
    ...
  1. See MemberPermissionsType
  2. See UpdateEnvironmentMembershipResultTypeDef
Usage example with kwargs
kwargs: UpdateEnvironmentMembershipRequestRequestTypeDef = {  # (1)
    "environmentId": ...,
    "userArn": ...,
    "permissions": ...,
}

parent.update_environment_membership(**kwargs)
  1. See UpdateEnvironmentMembershipRequestRequestTypeDef

__aenter__

Type annotations and code completion for session.client("cloud9").__aenter__ method. boto3 documentation

Method definition
await def __aenter__(
    self,
) -> Cloud9Client:
    ...

__aexit__

Type annotations and code completion for session.client("cloud9").__aexit__ method. boto3 documentation

Method definition
await def __aexit__(
    self,
    exc_type: Any,
    exc_val: Any,
    exc_tb: Any,
) -> Any:
    ...

get_paginator

Type annotations and code completion for session.client("cloud9").get_paginator method with overloads.