@aws-sdk/client-cloud9 3.712.0 → 3.714.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. package/README.md +6 -0
  2. package/dist-cjs/runtimeConfig.js +8 -6
  3. package/dist-es/runtimeConfig.js +8 -6
  4. package/dist-types/Cloud9.d.ts +6 -0
  5. package/dist-types/Cloud9Client.d.ts +24 -0
  6. package/dist-types/commands/CreateEnvironmentEC2Command.d.ts +6 -0
  7. package/dist-types/commands/CreateEnvironmentMembershipCommand.d.ts +6 -0
  8. package/dist-types/commands/DeleteEnvironmentCommand.d.ts +6 -0
  9. package/dist-types/commands/DeleteEnvironmentMembershipCommand.d.ts +6 -0
  10. package/dist-types/commands/DescribeEnvironmentMembershipsCommand.d.ts +6 -0
  11. package/dist-types/commands/DescribeEnvironmentStatusCommand.d.ts +6 -0
  12. package/dist-types/commands/DescribeEnvironmentsCommand.d.ts +6 -0
  13. package/dist-types/commands/ListEnvironmentsCommand.d.ts +12 -0
  14. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -0
  15. package/dist-types/commands/TagResourceCommand.d.ts +6 -0
  16. package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
  17. package/dist-types/commands/UpdateEnvironmentCommand.d.ts +6 -0
  18. package/dist-types/commands/UpdateEnvironmentMembershipCommand.d.ts +6 -0
  19. package/dist-types/index.d.ts +6 -0
  20. package/dist-types/models/models_0.d.ts +12 -10
  21. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  22. package/dist-types/runtimeConfig.d.ts +1 -0
  23. package/dist-types/runtimeConfig.native.d.ts +1 -0
  24. package/dist-types/ts3.4/Cloud9Client.d.ts +1 -0
  25. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -0
  26. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
  27. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
  28. package/package.json +14 -14
package/README.md CHANGED
@@ -11,6 +11,12 @@ AWS SDK for JavaScript Cloud9 Client for Node.js, Browser and React Native.
11
11
  <p>Cloud9 is a collection of tools that you can use to code, build, run, test, debug, and
12
12
  release software in the cloud.</p>
13
13
  <p>For more information about Cloud9, see the <a href="https://docs.aws.amazon.com/cloud9/latest/user-guide">Cloud9 User Guide</a>.</p>
14
+ <important>
15
+ <p>Cloud9 is no longer available to new customers. Existing customers of
16
+ Cloud9 can continue to use the service as normal.
17
+ <a href="http://aws.amazon.com/blogs/devops/how-to-migrate-from-aws-cloud9-to-aws-ide-toolkits-or-aws-cloudshell/">Learn more"</a>
18
+ </p>
19
+ </important>
14
20
  <p>Cloud9 supports these operations:</p>
15
21
  <ul>
16
22
  <li>
@@ -23,6 +23,7 @@ const getRuntimeConfig = (config) => {
23
23
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
24
24
  const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
25
25
  (0, core_1.emitWarningIfUnsupportedVersion)(process.version);
26
+ const profileConfig = { profile: config?.profile };
26
27
  return {
27
28
  ...clientSharedValues,
28
29
  ...config,
@@ -32,19 +33,20 @@ const getRuntimeConfig = (config) => {
32
33
  credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
33
34
  defaultUserAgentProvider: config?.defaultUserAgentProvider ??
34
35
  (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
35
- maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
36
- region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
36
+ maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
37
+ region: config?.region ??
38
+ (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...profileConfig }),
37
39
  requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
38
40
  retryMode: config?.retryMode ??
39
41
  (0, node_config_provider_1.loadConfig)({
40
42
  ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
41
43
  default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,
42
- }),
44
+ }, config),
43
45
  sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
44
46
  streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
45
- useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
46
- useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
47
- userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS),
47
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, profileConfig),
48
+ useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, profileConfig),
49
+ userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, profileConfig),
48
50
  };
49
51
  };
50
52
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -19,6 +19,7 @@ export const getRuntimeConfig = (config) => {
19
19
  const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
20
20
  const clientSharedValues = getSharedRuntimeConfig(config);
21
21
  awsCheckVersion(process.version);
22
+ const profileConfig = { profile: config?.profile };
22
23
  return {
23
24
  ...clientSharedValues,
24
25
  ...config,
@@ -28,18 +29,19 @@ export const getRuntimeConfig = (config) => {
28
29
  credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
29
30
  defaultUserAgentProvider: config?.defaultUserAgentProvider ??
30
31
  createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
31
- maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
32
- region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS),
32
+ maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
33
+ region: config?.region ??
34
+ loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...profileConfig }),
33
35
  requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
34
36
  retryMode: config?.retryMode ??
35
37
  loadNodeConfig({
36
38
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
37
39
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
38
- }),
40
+ }, config),
39
41
  sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
40
42
  streamCollector: config?.streamCollector ?? streamCollector,
41
- useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
42
- useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
43
- userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS),
43
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, profileConfig),
44
+ useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, profileConfig),
45
+ userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, profileConfig),
44
46
  };
45
47
  };
@@ -100,6 +100,12 @@ export interface Cloud9 {
100
100
  * <p>Cloud9 is a collection of tools that you can use to code, build, run, test, debug, and
101
101
  * release software in the cloud.</p>
102
102
  * <p>For more information about Cloud9, see the <a href="https://docs.aws.amazon.com/cloud9/latest/user-guide">Cloud9 User Guide</a>.</p>
103
+ * <important>
104
+ * <p>Cloud9 is no longer available to new customers. Existing customers of
105
+ * Cloud9 can continue to use the service as normal.
106
+ * <a href="http://aws.amazon.com/blogs/devops/how-to-migrate-from-aws-cloud9-to-aws-ide-toolkits-or-aws-cloudshell/">Learn more"</a>
107
+ * </p>
108
+ * </important>
103
109
  * <p>Cloud9 supports these operations:</p>
104
110
  * <ul>
105
111
  * <li>
@@ -107,6 +107,24 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
107
107
  * The AWS region to which this client will send requests
108
108
  */
109
109
  region?: string | __Provider<string>;
110
+ /**
111
+ * Setting a client profile is similar to setting a value for the
112
+ * AWS_PROFILE environment variable. Setting a profile on a client
113
+ * in code only affects the single client instance, unlike AWS_PROFILE.
114
+ *
115
+ * When set, and only for environments where an AWS configuration
116
+ * file exists, fields configurable by this file will be retrieved
117
+ * from the specified profile within that file.
118
+ * Conflicting code configuration and environment variables will
119
+ * still have higher priority.
120
+ *
121
+ * For client credential resolution that involves checking the AWS
122
+ * configuration file, the client's profile (this value) will be
123
+ * used unless a different profile is set in the credential
124
+ * provider options.
125
+ *
126
+ */
127
+ profile?: string;
110
128
  /**
111
129
  * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
112
130
  * @internal
@@ -168,6 +186,12 @@ export interface Cloud9ClientResolvedConfig extends Cloud9ClientResolvedConfigTy
168
186
  * <p>Cloud9 is a collection of tools that you can use to code, build, run, test, debug, and
169
187
  * release software in the cloud.</p>
170
188
  * <p>For more information about Cloud9, see the <a href="https://docs.aws.amazon.com/cloud9/latest/user-guide">Cloud9 User Guide</a>.</p>
189
+ * <important>
190
+ * <p>Cloud9 is no longer available to new customers. Existing customers of
191
+ * Cloud9 can continue to use the service as normal.
192
+ * <a href="http://aws.amazon.com/blogs/devops/how-to-migrate-from-aws-cloud9-to-aws-ide-toolkits-or-aws-cloudshell/">Learn more"</a>
193
+ * </p>
194
+ * </important>
171
195
  * <p>Cloud9 supports these operations:</p>
172
196
  * <ul>
173
197
  * <li>
@@ -29,6 +29,12 @@ declare const CreateEnvironmentEC2Command_base: {
29
29
  /**
30
30
  * <p>Creates an Cloud9 development environment, launches an Amazon Elastic Compute Cloud (Amazon EC2) instance, and
31
31
  * then connects from the instance to the environment.</p>
32
+ * <important>
33
+ * <p>Cloud9 is no longer available to new customers. Existing customers of
34
+ * Cloud9 can continue to use the service as normal.
35
+ * <a href="http://aws.amazon.com/blogs/devops/how-to-migrate-from-aws-cloud9-to-aws-ide-toolkits-or-aws-cloudshell/">Learn more"</a>
36
+ * </p>
37
+ * </important>
32
38
  * @example
33
39
  * Use a bare-bones client and the command you need to make an API call.
34
40
  * ```javascript
@@ -28,6 +28,12 @@ declare const CreateEnvironmentMembershipCommand_base: {
28
28
  };
29
29
  /**
30
30
  * <p>Adds an environment member to an Cloud9 development environment.</p>
31
+ * <important>
32
+ * <p>Cloud9 is no longer available to new customers. Existing customers of
33
+ * Cloud9 can continue to use the service as normal.
34
+ * <a href="http://aws.amazon.com/blogs/devops/how-to-migrate-from-aws-cloud9-to-aws-ide-toolkits-or-aws-cloudshell/">Learn more"</a>
35
+ * </p>
36
+ * </important>
31
37
  * @example
32
38
  * Use a bare-bones client and the command you need to make an API call.
33
39
  * ```javascript
@@ -29,6 +29,12 @@ declare const DeleteEnvironmentCommand_base: {
29
29
  /**
30
30
  * <p>Deletes an Cloud9 development environment. If an Amazon EC2 instance is connected to the
31
31
  * environment, also terminates the instance.</p>
32
+ * <important>
33
+ * <p>Cloud9 is no longer available to new customers. Existing customers of
34
+ * Cloud9 can continue to use the service as normal.
35
+ * <a href="http://aws.amazon.com/blogs/devops/how-to-migrate-from-aws-cloud9-to-aws-ide-toolkits-or-aws-cloudshell/">Learn more"</a>
36
+ * </p>
37
+ * </important>
32
38
  * @example
33
39
  * Use a bare-bones client and the command you need to make an API call.
34
40
  * ```javascript
@@ -28,6 +28,12 @@ declare const DeleteEnvironmentMembershipCommand_base: {
28
28
  };
29
29
  /**
30
30
  * <p>Deletes an environment member from a development environment.</p>
31
+ * <important>
32
+ * <p>Cloud9 is no longer available to new customers. Existing customers of
33
+ * Cloud9 can continue to use the service as normal.
34
+ * <a href="http://aws.amazon.com/blogs/devops/how-to-migrate-from-aws-cloud9-to-aws-ide-toolkits-or-aws-cloudshell/">Learn more"</a>
35
+ * </p>
36
+ * </important>
31
37
  * @example
32
38
  * Use a bare-bones client and the command you need to make an API call.
33
39
  * ```javascript
@@ -28,6 +28,12 @@ declare const DescribeEnvironmentMembershipsCommand_base: {
28
28
  };
29
29
  /**
30
30
  * <p>Gets information about environment members for an Cloud9 development environment.</p>
31
+ * <important>
32
+ * <p>Cloud9 is no longer available to new customers. Existing customers of
33
+ * Cloud9 can continue to use the service as normal.
34
+ * <a href="http://aws.amazon.com/blogs/devops/how-to-migrate-from-aws-cloud9-to-aws-ide-toolkits-or-aws-cloudshell/">Learn more"</a>
35
+ * </p>
36
+ * </important>
31
37
  * @example
32
38
  * Use a bare-bones client and the command you need to make an API call.
33
39
  * ```javascript
@@ -28,6 +28,12 @@ declare const DescribeEnvironmentStatusCommand_base: {
28
28
  };
29
29
  /**
30
30
  * <p>Gets status information for an Cloud9 development environment.</p>
31
+ * <important>
32
+ * <p>Cloud9 is no longer available to new customers. Existing customers of
33
+ * Cloud9 can continue to use the service as normal.
34
+ * <a href="http://aws.amazon.com/blogs/devops/how-to-migrate-from-aws-cloud9-to-aws-ide-toolkits-or-aws-cloudshell/">Learn more"</a>
35
+ * </p>
36
+ * </important>
31
37
  * @example
32
38
  * Use a bare-bones client and the command you need to make an API call.
33
39
  * ```javascript
@@ -28,6 +28,12 @@ declare const DescribeEnvironmentsCommand_base: {
28
28
  };
29
29
  /**
30
30
  * <p>Gets information about Cloud9 development environments.</p>
31
+ * <important>
32
+ * <p>Cloud9 is no longer available to new customers. Existing customers of
33
+ * Cloud9 can continue to use the service as normal.
34
+ * <a href="http://aws.amazon.com/blogs/devops/how-to-migrate-from-aws-cloud9-to-aws-ide-toolkits-or-aws-cloudshell/">Learn more"</a>
35
+ * </p>
36
+ * </important>
31
37
  * @example
32
38
  * Use a bare-bones client and the command you need to make an API call.
33
39
  * ```javascript
@@ -28,6 +28,18 @@ declare const ListEnvironmentsCommand_base: {
28
28
  };
29
29
  /**
30
30
  * <p>Gets a list of Cloud9 development environment identifiers.</p>
31
+ * <important>
32
+ * <p>Cloud9 is no longer available to new customers. Existing customers of
33
+ * Cloud9 can continue to use the service as normal.
34
+ * <a href="http://aws.amazon.com/blogs/devops/how-to-migrate-from-aws-cloud9-to-aws-ide-toolkits-or-aws-cloudshell/">Learn more"</a>
35
+ * </p>
36
+ * </important>
37
+ * <important>
38
+ * <p>Cloud9 is no longer available to new customers. Existing customers of
39
+ * Cloud9 can continue to use the service as normal.
40
+ * <a href="http://aws.amazon.com/blogs/devops/how-to-migrate-from-aws-cloud9-to-aws-ide-toolkits-or-aws-cloudshell/">Learn more"</a>
41
+ * </p>
42
+ * </important>
31
43
  * @example
32
44
  * Use a bare-bones client and the command you need to make an API call.
33
45
  * ```javascript
@@ -28,6 +28,12 @@ declare const ListTagsForResourceCommand_base: {
28
28
  };
29
29
  /**
30
30
  * <p>Gets a list of the tags associated with an Cloud9 development environment.</p>
31
+ * <important>
32
+ * <p>Cloud9 is no longer available to new customers. Existing customers of
33
+ * Cloud9 can continue to use the service as normal.
34
+ * <a href="http://aws.amazon.com/blogs/devops/how-to-migrate-from-aws-cloud9-to-aws-ide-toolkits-or-aws-cloudshell/">Learn more"</a>
35
+ * </p>
36
+ * </important>
31
37
  * @example
32
38
  * Use a bare-bones client and the command you need to make an API call.
33
39
  * ```javascript
@@ -29,6 +29,12 @@ declare const TagResourceCommand_base: {
29
29
  /**
30
30
  * <p>Adds tags to an Cloud9 development environment.</p>
31
31
  * <important>
32
+ * <p>Cloud9 is no longer available to new customers. Existing customers of
33
+ * Cloud9 can continue to use the service as normal.
34
+ * <a href="http://aws.amazon.com/blogs/devops/how-to-migrate-from-aws-cloud9-to-aws-ide-toolkits-or-aws-cloudshell/">Learn more"</a>
35
+ * </p>
36
+ * </important>
37
+ * <important>
32
38
  * <p>Tags that you add to an Cloud9 environment by using this method will NOT be
33
39
  * automatically propagated to underlying resources.</p>
34
40
  * </important>
@@ -28,6 +28,12 @@ declare const UntagResourceCommand_base: {
28
28
  };
29
29
  /**
30
30
  * <p>Removes tags from an Cloud9 development environment.</p>
31
+ * <important>
32
+ * <p>Cloud9 is no longer available to new customers. Existing customers of
33
+ * Cloud9 can continue to use the service as normal.
34
+ * <a href="http://aws.amazon.com/blogs/devops/how-to-migrate-from-aws-cloud9-to-aws-ide-toolkits-or-aws-cloudshell/">Learn more"</a>
35
+ * </p>
36
+ * </important>
31
37
  * @example
32
38
  * Use a bare-bones client and the command you need to make an API call.
33
39
  * ```javascript
@@ -28,6 +28,12 @@ declare const UpdateEnvironmentCommand_base: {
28
28
  };
29
29
  /**
30
30
  * <p>Changes the settings of an existing Cloud9 development environment.</p>
31
+ * <important>
32
+ * <p>Cloud9 is no longer available to new customers. Existing customers of
33
+ * Cloud9 can continue to use the service as normal.
34
+ * <a href="http://aws.amazon.com/blogs/devops/how-to-migrate-from-aws-cloud9-to-aws-ide-toolkits-or-aws-cloudshell/">Learn more"</a>
35
+ * </p>
36
+ * </important>
31
37
  * @example
32
38
  * Use a bare-bones client and the command you need to make an API call.
33
39
  * ```javascript
@@ -29,6 +29,12 @@ declare const UpdateEnvironmentMembershipCommand_base: {
29
29
  /**
30
30
  * <p>Changes the settings of an existing environment member for an Cloud9 development
31
31
  * environment.</p>
32
+ * <important>
33
+ * <p>Cloud9 is no longer available to new customers. Existing customers of
34
+ * Cloud9 can continue to use the service as normal.
35
+ * <a href="http://aws.amazon.com/blogs/devops/how-to-migrate-from-aws-cloud9-to-aws-ide-toolkits-or-aws-cloudshell/">Learn more"</a>
36
+ * </p>
37
+ * </important>
32
38
  * @example
33
39
  * Use a bare-bones client and the command you need to make an API call.
34
40
  * ```javascript
@@ -3,6 +3,12 @@
3
3
  * <p>Cloud9 is a collection of tools that you can use to code, build, run, test, debug, and
4
4
  * release software in the cloud.</p>
5
5
  * <p>For more information about Cloud9, see the <a href="https://docs.aws.amazon.com/cloud9/latest/user-guide">Cloud9 User Guide</a>.</p>
6
+ * <important>
7
+ * <p>Cloud9 is no longer available to new customers. Existing customers of
8
+ * Cloud9 can continue to use the service as normal.
9
+ * <a href="http://aws.amazon.com/blogs/devops/how-to-migrate-from-aws-cloud9-to-aws-ide-toolkits-or-aws-cloudshell/">Learn more"</a>
10
+ * </p>
11
+ * </important>
6
12
  * <p>Cloud9 supports these operations:</p>
7
13
  * <ul>
8
14
  * <li>
@@ -99,14 +99,15 @@ export interface CreateEnvironmentEC2Request {
99
99
  * <p>The identifier for the Amazon Machine Image (AMI) that's used to create the EC2 instance.
100
100
  * To choose an AMI for the instance, you must specify a valid AMI alias or a valid Amazon EC2 Systems Manager (SSM)
101
101
  * path.</p>
102
- * <p>From December 04, 2023, you will be required to include the <code>imageId</code> parameter
103
- * for the <code>CreateEnvironmentEC2</code> action. This change will be reflected across all
104
- * direct methods of communicating with the API, such as Amazon Web Services SDK, Amazon Web Services CLI and Amazon Web Services
105
- * CloudFormation. This change will only affect direct API consumers, and not Cloud9 console
106
- * users.</p>
102
+ * <p></p>
107
103
  * <p>We recommend using Amazon Linux 2023 as the AMI to create your environment as it is fully
108
- * supported. </p>
109
- * <p>Since Ubuntu 18.04 has ended standard support as of May 31, 2023, we recommend you choose Ubuntu 22.04.</p>
104
+ * supported.</p>
105
+ * <p>From December 16, 2024, Ubuntu 18.04 will be removed from the list of available
106
+ * <code>imageIds</code> for Cloud9. This change is necessary as Ubuntu 18.04 has ended standard
107
+ * support on May 31, 2023. This change will only affect direct API consumers, and not Cloud9
108
+ * console users.</p>
109
+ * <p>Since Ubuntu 18.04 has ended standard support as of May 31, 2023, we recommend you choose
110
+ * Ubuntu 22.04.</p>
110
111
  * <p>
111
112
  * <b>AMI aliases </b>
112
113
  * </p>
@@ -124,7 +125,7 @@ export interface CreateEnvironmentEC2Request {
124
125
  * </p>
125
126
  * </li>
126
127
  * <li>
127
- * <p>Ubuntu 22.04: <code>ubuntu-22.04-x86_64</code>
128
+ * <p>Ubuntu 22.04: <code>ubuntu-22.04-x86_64</code>
128
129
  * </p>
129
130
  * </li>
130
131
  * </ul>
@@ -138,7 +139,8 @@ export interface CreateEnvironmentEC2Request {
138
139
  * </p>
139
140
  * </li>
140
141
  * <li>
141
- * <p>Amazon Linux 2023 (recommended): <code>resolve:ssm:/aws/service/cloud9/amis/amazonlinux-2023-x86_64</code>
142
+ * <p>Amazon Linux 2023 (recommended):
143
+ * <code>resolve:ssm:/aws/service/cloud9/amis/amazonlinux-2023-x86_64</code>
142
144
  * </p>
143
145
  * </li>
144
146
  * <li>
@@ -148,7 +150,7 @@ export interface CreateEnvironmentEC2Request {
148
150
  * </li>
149
151
  * <li>
150
152
  * <p>Ubuntu 22.04:
151
- * <code>resolve:ssm:/aws/service/cloud9/amis/ubuntu-22.04-x86_64</code>
153
+ * <code>resolve:ssm:/aws/service/cloud9/amis/ubuntu-22.04-x86_64</code>
152
154
  * </p>
153
155
  * </li>
154
156
  * </ul>
@@ -26,6 +26,7 @@ export declare const getRuntimeConfig: (config: Cloud9ClientConfig) => {
26
26
  utf8Encoder: (input: string | Uint8Array) => string;
27
27
  disableHostPrefix: boolean;
28
28
  serviceId: string;
29
+ profile?: string | undefined;
29
30
  logger: import("@smithy/types").Logger;
30
31
  extensions: import("./runtimeExtensions").RuntimeExtension[];
31
32
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
@@ -27,6 +27,7 @@ export declare const getRuntimeConfig: (config: Cloud9ClientConfig) => {
27
27
  utf8Encoder: (input: string | Uint8Array) => string;
28
28
  disableHostPrefix: boolean;
29
29
  serviceId: string;
30
+ profile?: string | undefined;
30
31
  logger: import("@smithy/types").Logger;
31
32
  extensions: import("./runtimeExtensions").RuntimeExtension[];
32
33
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
@@ -20,6 +20,7 @@ export declare const getRuntimeConfig: (config: Cloud9ClientConfig) => {
20
20
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
21
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
22
22
  region: string | import("@smithy/types").Provider<any>;
23
+ profile?: string | undefined;
23
24
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
24
25
  credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
25
26
  maxAttempts: number | import("@smithy/types").Provider<number>;
@@ -149,6 +149,7 @@ export interface ClientDefaults
149
149
  useDualstackEndpoint?: boolean | __Provider<boolean>;
150
150
  useFipsEndpoint?: boolean | __Provider<boolean>;
151
151
  region?: string | __Provider<string>;
152
+ profile?: string;
152
153
  defaultUserAgentProvider?: Provider<__UserAgent>;
153
154
  credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
154
155
  maxAttempts?: number | __Provider<number>;
@@ -33,6 +33,7 @@ export declare const getRuntimeConfig: (config: Cloud9ClientConfig) => {
33
33
  utf8Encoder: (input: string | Uint8Array) => string;
34
34
  disableHostPrefix: boolean;
35
35
  serviceId: string;
36
+ profile?: string | undefined;
36
37
  logger: import("@smithy/types").Logger;
37
38
  extensions: import("./runtimeExtensions").RuntimeExtension[];
38
39
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
@@ -38,6 +38,7 @@ export declare const getRuntimeConfig: (config: Cloud9ClientConfig) => {
38
38
  utf8Encoder: (input: string | Uint8Array) => string;
39
39
  disableHostPrefix: boolean;
40
40
  serviceId: string;
41
+ profile?: string | undefined;
41
42
  logger: import("@smithy/types").Logger;
42
43
  extensions: import("./runtimeExtensions").RuntimeExtension[];
43
44
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
@@ -22,6 +22,7 @@ export declare const getRuntimeConfig: (config: Cloud9ClientConfig) => {
22
22
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
23
23
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
24
24
  region: string | import("@smithy/types").Provider<any>;
25
+ profile?: string | undefined;
25
26
  defaultUserAgentProvider: (
26
27
  config?:
27
28
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloud9",
3
3
  "description": "AWS SDK for JavaScript Cloud9 Client for Node.js, Browser and React Native",
4
- "version": "3.712.0",
4
+ "version": "3.714.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-cloud9",
@@ -20,19 +20,19 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.712.0",
24
- "@aws-sdk/client-sts": "3.712.0",
25
- "@aws-sdk/core": "3.709.0",
26
- "@aws-sdk/credential-provider-node": "3.712.0",
27
- "@aws-sdk/middleware-host-header": "3.709.0",
28
- "@aws-sdk/middleware-logger": "3.709.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.709.0",
30
- "@aws-sdk/middleware-user-agent": "3.709.0",
31
- "@aws-sdk/region-config-resolver": "3.709.0",
32
- "@aws-sdk/types": "3.709.0",
33
- "@aws-sdk/util-endpoints": "3.709.0",
34
- "@aws-sdk/util-user-agent-browser": "3.709.0",
35
- "@aws-sdk/util-user-agent-node": "3.712.0",
23
+ "@aws-sdk/client-sso-oidc": "3.714.0",
24
+ "@aws-sdk/client-sts": "3.714.0",
25
+ "@aws-sdk/core": "3.714.0",
26
+ "@aws-sdk/credential-provider-node": "3.714.0",
27
+ "@aws-sdk/middleware-host-header": "3.714.0",
28
+ "@aws-sdk/middleware-logger": "3.714.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.714.0",
30
+ "@aws-sdk/middleware-user-agent": "3.714.0",
31
+ "@aws-sdk/region-config-resolver": "3.714.0",
32
+ "@aws-sdk/types": "3.714.0",
33
+ "@aws-sdk/util-endpoints": "3.714.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.714.0",
35
+ "@aws-sdk/util-user-agent-node": "3.714.0",
36
36
  "@smithy/config-resolver": "^3.0.13",
37
37
  "@smithy/core": "^2.5.5",
38
38
  "@smithy/fetch-http-handler": "^4.1.2",