Smaws_Client_Cloud9.Typestype nonrec update_environment_request = {managed_credentials_action : managed_credentials_action option;Allows the environment owner to turn on or turn off the Amazon Web Services managed temporary credentials for an Cloud9 environment by using one of the following values:
ENABLEDISABLEOnly the environment owner can change the status of managed temporary credentials. An AccessDeniedException is thrown if an attempt to turn on or turn off managed temporary credentials is made by an account that's not the environment owner.
description : environment_description option;Any new or replacement description for the environment.
*)name : environment_name option;A replacement name for the environment.
*)environment_id : environment_id;The ID of the environment to change settings.
*)}type nonrec environment_member = {last_access : timestamp option;The time, expressed in epoch time format, when the environment member last opened the environment.
*)environment_id : environment_id;The ID of the environment for the environment member.
*)user_arn : user_arn;The Amazon Resource Name (ARN) of the environment member.
*)user_id : string_;The user ID in Identity and Access Management (IAM) of the environment member.
*)permissions : permissions;The type of environment member permissions associated with this environment member. Available values include:
owner: Owns the environment.read-only: Has read-only access to the environment.read-write: Has read-write access to the environment.}Information about an environment member for an Cloud9 development environment.
type nonrec update_environment_membership_result = {membership : environment_member option;Information about the environment member whose settings were changed.
*)}type nonrec update_environment_membership_request = {permissions : member_permissions;The replacement type of environment member permissions you want to associate with this environment member. Available values include:
read-only: Has read-only access to the environment.read-write: Has read-write access to the environment.user_arn : user_arn;The Amazon Resource Name (ARN) of the environment member whose settings you want to change.
*)environment_id : environment_id;The ID of the environment for the environment member whose settings you want to change.
*)}Too many service requests were made over the given time period.
type nonrec tag_key_list = tag_key listtype nonrec untag_resource_request = {tag_keys : tag_key_list;The tag names of the tags to remove from the given Cloud9 development environment.
*)resource_ar_n : environment_arn;The Amazon Resource Name (ARN) of the Cloud9 development environment to remove tags from.
*)}Metadata that is associated with Amazon Web Services resources. In particular, a name-value pair that can be associated with an Cloud9 development environment. There are two types of tags: user tags and system tags. A user tag is created by the user. A system tag is automatically created by Amazon Web Services services. A system tag is prefixed with "aws:" and cannot be modified by the user.
type nonrec tag_list = tag listtype nonrec tag_resource_request = {resource_ar_n : environment_arn;The Amazon Resource Name (ARN) of the Cloud9 development environment to add tags to.
*)}type nonrec permissions_list = permissions listtype nonrec environment_id_list = environment_id listtype nonrec list_environments_result = {environment_ids : environment_id_list option;The list of environment identifiers.
*)next_token : string_ option;If there are more than 25 items in the list, only the first 25 items are returned, along with a unique string called a next token. To get the next batch of items in the list, call this operation again, adding the next token to the call.
*)}type nonrec list_environments_request = {max_results : max_results option;The maximum number of environments to get identifiers for.
*)next_token : string_ option;During a previous call, if there are more than 25 items in the list, only the first 25 items are returned, along with a unique string called a next token. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned.
*)}type nonrec environment_members_list = environment_member listtype nonrec environment_lifecycle = {failure_resource : string_ option;If the environment failed to delete, the Amazon Resource Name (ARN) of the related Amazon Web Services resource.
*)reason : string_ option;Any informational message about the lifecycle state of the environment.
*)status : environment_lifecycle_status option;The current creation or deletion lifecycle state of the environment.
CREATING: The environment is in the process of being created.CREATED: The environment was successfully created.CREATE_FAILED: The environment failed to be created.DELETING: The environment is in the process of being deleted.DELETE_FAILED: The environment failed to delete.}Information about the current creation or deletion lifecycle state of an Cloud9 development environment.
type nonrec environment = {managed_credentials_status : managed_credentials_status option;Describes the status of Amazon Web Services managed temporary credentials for the Cloud9 environment. Available values are:
ENABLED_ON_CREATEENABLED_BY_OWNERDISABLED_BY_DEFAULTDISABLED_BY_OWNERDISABLED_BY_COLLABORATORPENDING_REMOVAL_BY_COLLABORATORPENDING_REMOVAL_BY_OWNERFAILED_REMOVAL_BY_COLLABORATORENABLED_BY_OWNERDISABLED_BY_DEFAULTlifecycle : environment_lifecycle option;The state of the environment in its creation or deletion lifecycle.
*)owner_arn : string_;The Amazon Resource Name (ARN) of the environment owner.
*)arn : string_;The Amazon Resource Name (ARN) of the environment.
*)connection_type : connection_type option;The connection type used for connecting to an Amazon EC2 environment. CONNECT_SSH is selected by default.
type_ : environment_type;The type of environment. Valid values include the following:
ec2: An Amazon Elastic Compute Cloud (Amazon EC2) instance connects to the environment.ssh: Your own server connects to the environment.description : environment_description option;The description for the environment.
*)name : environment_name option;The name of the environment.
*)id : environment_id option;The ID of the environment.
*)}Information about an Cloud9 development environment.
type nonrec environment_list = environment listtype nonrec describe_environments_result = {environments : environment_list option;Information about the environments that are returned.
*)}type nonrec bounded_environment_id_list = environment_id listtype nonrec describe_environments_request = {environment_ids : bounded_environment_id_list;The IDs of individual environments to get information about.
*)}type nonrec describe_environment_status_result = {message : string_;Any informational message about the status of the environment.
*)status : environment_status;The status of the environment. Available values include:
connecting: The environment is connecting.creating: The environment is being created.deleting: The environment is being deleted.error: The environment is in an error state.ready: The environment is ready.stopped: The environment is stopped.stopping: The environment is stopping.}type nonrec describe_environment_status_request = {environment_id : environment_id;The ID of the environment to get status information about.
*)}type nonrec describe_environment_memberships_result = {next_token : string_ option;If there are more than 25 items in the list, only the first 25 items are returned, along with a unique string called a next token. To get the next batch of items in the list, call this operation again, adding the next token to the call.
*)memberships : environment_members_list option;Information about the environment members for the environment.
*)}type nonrec describe_environment_memberships_request = {max_results : max_results option;The maximum number of environment members to get information about.
*)next_token : string_ option;During a previous call, if there are more than 25 items in the list, only the first 25 items are returned, along with a unique string called a next token. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned.
*)permissions : permissions_list option;The type of environment member permissions to get information about. Available values include:
owner: Owns the environment.read-only: Has read-only access to the environment.read-write: Has read-write access to the environment.If no value is specified, information about all environment members are returned.
*)environment_id : environment_id option;The ID of the environment to get environment member information about.
*)user_arn : user_arn option;The Amazon Resource Name (ARN) of an individual environment member to get information about. If no value is specified, information about all environment members are returned.
*)}type nonrec delete_environment_request = {environment_id : environment_id;The ID of the environment to delete.
*)}type nonrec delete_environment_membership_request = {user_arn : user_arn;The Amazon Resource Name (ARN) of the environment member to delete from the environment.
*)environment_id : environment_id;The ID of the environment to delete the environment member from.
*)}type nonrec create_environment_membership_result = {membership : environment_member;Information about the environment member that was added.
*)}type nonrec create_environment_membership_request = {permissions : member_permissions;The type of environment member permissions you want to associate with this environment member. Available values include:
read-only: Has read-only access to the environment.read-write: Has read-write access to the environment.user_arn : user_arn;The Amazon Resource Name (ARN) of the environment member you want to add.
*)environment_id : environment_id;The ID of the environment that contains the environment member you want to add.
*)}type nonrec create_environment_ec2_result = {environment_id : environment_id option;The ID of the environment that was created.
*)}type nonrec create_environment_ec2_request = {dry_run : nullable_boolean option;Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
connection_type : connection_type option;The connection type used for connecting to an Amazon EC2 environment. Valid values are CONNECT_SSH (default) and CONNECT_SSM (connected through Amazon EC2 Systems Manager).
For more information, see Accessing no-ingress EC2 instances with Amazon EC2 Systems Manager in the Cloud9 User Guide.
*)owner_arn : user_arn option;The Amazon Resource Name (ARN) of the environment owner. This ARN can be the ARN of any IAM principal. If this value is not specified, the ARN defaults to this environment's creator.
*)automatic_stop_time_minutes : automatic_stop_time_minutes option;The number of minutes until the running instance is shut down after the environment has last been used.
*)image_id : image_id;The identifier for the Amazon Machine Image (AMI) that's used to create the EC2 instance. To choose an AMI for the instance, you must specify a valid AMI alias or a valid Amazon EC2 Systems Manager (SSM) path.
We recommend using Amazon Linux 2023 as the AMI to create your environment as it is fully supported.
From December 16, 2024, Ubuntu 18.04 will be removed from the list of available imageIds for Cloud9. This change is necessary as Ubuntu 18.04 has ended standard support on May 31, 2023. This change will only affect direct API consumers, and not Cloud9 console users.
Since Ubuntu 18.04 has ended standard support as of May 31, 2023, we recommend you choose Ubuntu 22.04.
AMI aliases
amazonlinux-2023-x86_64ubuntu-22.04-x86_64SSM paths
resolve:ssm:/aws/service/cloud9/amis/amazonlinux-2023-x86_64resolve:ssm:/aws/service/cloud9/amis/ubuntu-22.04-x86_64subnet_id : subnet_id option;The ID of the subnet in Amazon VPC that Cloud9 will use to communicate with the Amazon EC2 instance.
*)instance_type : instance_type;The type of instance to connect to the environment (for example, t2.micro).
client_request_token : client_request_token option;A unique, case-sensitive string that helps Cloud9 to ensure this operation completes no more than one time.
For more information, see Client Tokens in the Amazon EC2 API Reference.
*)description : environment_description option;The description of the environment to create.
*)name : environment_name;The name of the environment to create.
This name is visible to other IAM users in the same Amazon Web Services account.
*)}