@aws-sdk/client-cloud9 3.774.0 → 3.777.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.
@@ -40,8 +40,6 @@ const defaultCloud9HttpAuthSchemeProvider = (authParameters) => {
40
40
  exports.defaultCloud9HttpAuthSchemeProvider = defaultCloud9HttpAuthSchemeProvider;
41
41
  const resolveHttpAuthSchemeConfig = (config) => {
42
42
  const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);
43
- return {
44
- ...config_0,
45
- };
43
+ return Object.assign(config_0, {});
46
44
  };
47
45
  exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
package/dist-cjs/index.js CHANGED
@@ -82,12 +82,11 @@ var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
82
82
 
83
83
  // src/endpoint/EndpointParameters.ts
84
84
  var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
85
- return {
86
- ...options,
85
+ return Object.assign(options, {
87
86
  useDualstackEndpoint: options.useDualstackEndpoint ?? false,
88
87
  useFipsEndpoint: options.useFipsEndpoint ?? false,
89
88
  defaultSigningName: "cloud9"
90
- };
89
+ });
91
90
  }, "resolveClientEndpointParameters");
92
91
  var commonParams = {
93
92
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -144,22 +143,21 @@ var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
144
143
  }, "resolveHttpAuthRuntimeConfig");
145
144
 
146
145
  // src/runtimeExtensions.ts
147
- var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
148
146
  var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
149
- const extensionConfiguration = {
150
- ...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
151
- ...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
152
- ...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
153
- ...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig))
154
- };
147
+ const extensionConfiguration = Object.assign(
148
+ (0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),
149
+ (0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),
150
+ (0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),
151
+ getHttpAuthExtensionConfiguration(runtimeConfig)
152
+ );
155
153
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
156
- return {
157
- ...runtimeConfig,
158
- ...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
159
- ...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
160
- ...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
161
- ...resolveHttpAuthRuntimeConfig(extensionConfiguration)
162
- };
154
+ return Object.assign(
155
+ runtimeConfig,
156
+ (0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
157
+ (0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
158
+ (0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
159
+ resolveHttpAuthRuntimeConfig(extensionConfiguration)
160
+ );
163
161
  }, "resolveRuntimeExtensions");
164
162
 
165
163
  // src/Cloud9Client.ts
@@ -173,6 +171,8 @@ var Cloud9Client = class extends import_smithy_client.Client {
173
171
  config;
174
172
  constructor(...[configuration]) {
175
173
  const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
174
+ super(_config_0);
175
+ this.initConfig = _config_0;
176
176
  const _config_1 = resolveClientEndpointParameters(_config_0);
177
177
  const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
178
178
  const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
@@ -181,7 +181,6 @@ var Cloud9Client = class extends import_smithy_client.Client {
181
181
  const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
182
182
  const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
183
183
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
184
- super(_config_8);
185
184
  this.config = _config_8;
186
185
  this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
187
186
  this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
@@ -17,6 +17,8 @@ export class Cloud9Client extends __Client {
17
17
  config;
18
18
  constructor(...[configuration]) {
19
19
  const _config_0 = __getRuntimeConfig(configuration || {});
20
+ super(_config_0);
21
+ this.initConfig = _config_0;
20
22
  const _config_1 = resolveClientEndpointParameters(_config_0);
21
23
  const _config_2 = resolveUserAgentConfig(_config_1);
22
24
  const _config_3 = resolveRetryConfig(_config_2);
@@ -25,7 +27,6 @@ export class Cloud9Client extends __Client {
25
27
  const _config_6 = resolveEndpointConfig(_config_5);
26
28
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
27
29
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
28
- super(_config_8);
29
30
  this.config = _config_8;
30
31
  this.middlewareStack.use(getUserAgentPlugin(this.config));
31
32
  this.middlewareStack.use(getRetryPlugin(this.config));
@@ -35,7 +35,5 @@ export const defaultCloud9HttpAuthSchemeProvider = (authParameters) => {
35
35
  };
36
36
  export const resolveHttpAuthSchemeConfig = (config) => {
37
37
  const config_0 = resolveAwsSdkSigV4Config(config);
38
- return {
39
- ...config_0,
40
- };
38
+ return Object.assign(config_0, {});
41
39
  };
@@ -1,10 +1,9 @@
1
1
  export const resolveClientEndpointParameters = (options) => {
2
- return {
3
- ...options,
2
+ return Object.assign(options, {
4
3
  useDualstackEndpoint: options.useDualstackEndpoint ?? false,
5
4
  useFipsEndpoint: options.useFipsEndpoint ?? false,
6
5
  defaultSigningName: "cloud9",
7
- };
6
+ });
8
7
  };
9
8
  export const commonParams = {
10
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -2,20 +2,8 @@ import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfigurat
2
2
  import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
3
3
  import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
4
4
  import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration";
5
- const asPartial = (t) => t;
6
5
  export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
7
- const extensionConfiguration = {
8
- ...asPartial(getAwsRegionExtensionConfiguration(runtimeConfig)),
9
- ...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
10
- ...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
11
- ...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig)),
12
- };
6
+ const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
13
7
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
14
- return {
15
- ...runtimeConfig,
16
- ...resolveAwsRegionExtensionConfiguration(extensionConfiguration),
17
- ...resolveDefaultRuntimeConfig(extensionConfiguration),
18
- ...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
19
- ...resolveHttpAuthRuntimeConfig(extensionConfiguration),
20
- };
8
+ return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
21
9
  };
@@ -97,29 +97,29 @@ declare const CreateEnvironmentEC2Command_base: {
97
97
  * @throws {@link Cloud9ServiceException}
98
98
  * <p>Base exception class for all service exceptions from Cloud9 service.</p>
99
99
  *
100
- * @public
100
+ *
101
101
  * @example CreateEnvironmentEC2
102
102
  * ```javascript
103
103
  * //
104
104
  * const input = {
105
- * "name": "my-demo-environment",
106
- * "automaticStopTimeMinutes": 60,
107
- * "description": "This is my demonstration environment.",
108
- * "imageId": "amazonlinux-2023-x86_64",
109
- * "instanceType": "t2.micro",
110
- * "ownerArn": "arn:aws:iam::123456789012:user/MyDemoUser",
111
- * "subnetId": "subnet-6300cd1b"
105
+ * automaticStopTimeMinutes: 60,
106
+ * description: "This is my demonstration environment.",
107
+ * imageId: "amazonlinux-2023-x86_64",
108
+ * instanceType: "t2.micro",
109
+ * name: "my-demo-environment",
110
+ * ownerArn: "arn:aws:iam::123456789012:user/MyDemoUser",
111
+ * subnetId: "subnet-6300cd1b"
112
112
  * };
113
113
  * const command = new CreateEnvironmentEC2Command(input);
114
114
  * const response = await client.send(command);
115
- * /* response ==
115
+ * /* response is
116
116
  * {
117
- * "environmentId": "8d9967e2f0624182b74e7690ad69ebEX"
117
+ * environmentId: "8d9967e2f0624182b74e7690ad69ebEX"
118
118
  * }
119
119
  * *\/
120
- * // example id: createenvironmentec2-1516821730547
121
120
  * ```
122
121
  *
122
+ * @public
123
123
  */
124
124
  export declare class CreateEnvironmentEC2Command extends CreateEnvironmentEC2Command_base {
125
125
  /** @internal type navigation helper, not in runtime. */
@@ -89,30 +89,30 @@ declare const CreateEnvironmentMembershipCommand_base: {
89
89
  * @throws {@link Cloud9ServiceException}
90
90
  * <p>Base exception class for all service exceptions from Cloud9 service.</p>
91
91
  *
92
- * @public
92
+ *
93
93
  * @example CreateEnvironmentMembership
94
94
  * ```javascript
95
95
  * //
96
96
  * const input = {
97
- * "environmentId": "8d9967e2f0624182b74e7690ad69ebEX",
98
- * "permissions": "read-write",
99
- * "userArn": "arn:aws:iam::123456789012:user/AnotherDemoUser"
97
+ * environmentId: "8d9967e2f0624182b74e7690ad69ebEX",
98
+ * permissions: "read-write",
99
+ * userArn: "arn:aws:iam::123456789012:user/AnotherDemoUser"
100
100
  * };
101
101
  * const command = new CreateEnvironmentMembershipCommand(input);
102
102
  * const response = await client.send(command);
103
- * /* response ==
103
+ * /* response is
104
104
  * {
105
- * "membership": {
106
- * "environmentId": "8d9967e2f0624182b74e7690ad69ebEX",
107
- * "permissions": "read-write",
108
- * "userArn": "arn:aws:iam::123456789012:user/AnotherDemoUser",
109
- * "userId": "AIDAJ3BA6O2FMJWCWXHEX"
105
+ * membership: {
106
+ * environmentId: "8d9967e2f0624182b74e7690ad69ebEX",
107
+ * permissions: "read-write",
108
+ * userArn: "arn:aws:iam::123456789012:user/AnotherDemoUser",
109
+ * userId: "AIDAJ3BA6O2FMJWCWXHEX"
110
110
  * }
111
111
  * }
112
112
  * *\/
113
- * // example id: createenvironmentmembership-1516822583452
114
113
  * ```
115
114
  *
115
+ * @public
116
116
  */
117
117
  export declare class CreateEnvironmentMembershipCommand extends CreateEnvironmentMembershipCommand_base {
118
118
  /** @internal type navigation helper, not in runtime. */
@@ -80,18 +80,21 @@ declare const DeleteEnvironmentCommand_base: {
80
80
  * @throws {@link Cloud9ServiceException}
81
81
  * <p>Base exception class for all service exceptions from Cloud9 service.</p>
82
82
  *
83
- * @public
83
+ *
84
84
  * @example DeleteEnvironment
85
85
  * ```javascript
86
86
  * //
87
87
  * const input = {
88
- * "environmentId": "8d9967e2f0624182b74e7690ad69ebEX"
88
+ * environmentId: "8d9967e2f0624182b74e7690ad69ebEX"
89
89
  * };
90
90
  * const command = new DeleteEnvironmentCommand(input);
91
- * await client.send(command);
92
- * // example id: deleteenvironment-1516822903149
91
+ * const response = await client.send(command);
92
+ * /* response is
93
+ * { /* empty *\/ }
94
+ * *\/
93
95
  * ```
94
96
  *
97
+ * @public
95
98
  */
96
99
  export declare class DeleteEnvironmentCommand extends DeleteEnvironmentCommand_base {
97
100
  /** @internal type navigation helper, not in runtime. */
@@ -80,19 +80,22 @@ declare const DeleteEnvironmentMembershipCommand_base: {
80
80
  * @throws {@link Cloud9ServiceException}
81
81
  * <p>Base exception class for all service exceptions from Cloud9 service.</p>
82
82
  *
83
- * @public
83
+ *
84
84
  * @example DeleteEnvironmentMembership
85
85
  * ```javascript
86
86
  * //
87
87
  * const input = {
88
- * "environmentId": "8d9967e2f0624182b74e7690ad69ebEX",
89
- * "userArn": "arn:aws:iam::123456789012:user/AnotherDemoUser"
88
+ * environmentId: "8d9967e2f0624182b74e7690ad69ebEX",
89
+ * userArn: "arn:aws:iam::123456789012:user/AnotherDemoUser"
90
90
  * };
91
91
  * const command = new DeleteEnvironmentMembershipCommand(input);
92
- * await client.send(command);
93
- * // example id: deleteenvironmentmembership-1516822975655
92
+ * const response = await client.send(command);
93
+ * /* response is
94
+ * { /* empty *\/ }
95
+ * *\/
94
96
  * ```
95
97
  *
98
+ * @public
96
99
  */
97
100
  export declare class DeleteEnvironmentMembershipCommand extends DeleteEnvironmentMembershipCommand_base {
98
101
  /** @internal type navigation helper, not in runtime. */
@@ -96,93 +96,91 @@ declare const DescribeEnvironmentMembershipsCommand_base: {
96
96
  * @throws {@link Cloud9ServiceException}
97
97
  * <p>Base exception class for all service exceptions from Cloud9 service.</p>
98
98
  *
99
- * @public
100
- * @example DescribeEnvironmentMemberships1
99
+ *
100
+ * @example DescribeEnvironmentMemberships2
101
101
  * ```javascript
102
- * // The following example gets information about all of the environment members for the specified development environment.
102
+ * // The following example gets information about the owner of the specified development environment.
103
103
  * const input = {
104
- * "environmentId": "8d9967e2f0624182b74e7690ad69ebEX"
104
+ * environmentId: "8d9967e2f0624182b74e7690ad69ebEX",
105
+ * permissions: [
106
+ * "owner"
107
+ * ]
105
108
  * };
106
109
  * const command = new DescribeEnvironmentMembershipsCommand(input);
107
110
  * const response = await client.send(command);
108
- * /* response ==
111
+ * /* response is
109
112
  * {
110
- * "memberships": [
111
- * {
112
- * "environmentId": "8d9967e2f0624182b74e7690ad69ebEX",
113
- * "permissions": "read-write",
114
- * "userArn": "arn:aws:iam::123456789012:user/AnotherDemoUser",
115
- * "userId": "AIDAJ3BA6O2FMJWCWXHEX"
116
- * },
113
+ * memberships: [
117
114
  * {
118
- * "environmentId": "8d9967e2f0624182b74e7690ad69ebEX",
119
- * "permissions": "owner",
120
- * "userArn": "arn:aws:iam::123456789012:user/MyDemoUser",
121
- * "userId": "AIDAJNUEDQAQWFELJDLEX"
115
+ * environmentId: "8d9967e2f0624182b74e7690ad69ebEX",
116
+ * permissions: "owner",
117
+ * userArn: "arn:aws:iam::123456789012:user/MyDemoUser",
118
+ * userId: "AIDAJNUEDQAQWFELJDLEX"
122
119
  * }
123
120
  * ]
124
121
  * }
125
122
  * *\/
126
- * // example id: describeenvironmentmemberships1-1516823070453
127
123
  * ```
128
124
  *
129
- * @example DescribeEnvironmentMemberships2
125
+ * @example DescribeEnvironmentMemberships3
130
126
  * ```javascript
131
- * // The following example gets information about the owner of the specified development environment.
127
+ * // The following example gets development environment membership information for the specified user.
132
128
  * const input = {
133
- * "environmentId": "8d9967e2f0624182b74e7690ad69ebEX",
134
- * "permissions": [
135
- * "owner"
136
- * ]
129
+ * userArn: "arn:aws:iam::123456789012:user/MyDemoUser"
137
130
  * };
138
131
  * const command = new DescribeEnvironmentMembershipsCommand(input);
139
132
  * const response = await client.send(command);
140
- * /* response ==
133
+ * /* response is
141
134
  * {
142
- * "memberships": [
135
+ * memberships: [
136
+ * {
137
+ * environmentId: "10a75714bd494714929e7f5ec4125aEX",
138
+ * lastAccess: "2018-01-19T11:06:13Z",
139
+ * permissions: "owner",
140
+ * userArn: "arn:aws:iam::123456789012:user/MyDemoUser",
141
+ * userId: "AIDAJNUEDQAQWFELJDLEX"
142
+ * },
143
143
  * {
144
- * "environmentId": "8d9967e2f0624182b74e7690ad69ebEX",
145
- * "permissions": "owner",
146
- * "userArn": "arn:aws:iam::123456789012:user/MyDemoUser",
147
- * "userId": "AIDAJNUEDQAQWFELJDLEX"
144
+ * environmentId: "12bfc3cd537f41cb9776f8af5525c9EX",
145
+ * lastAccess: "2018-01-19T11:39:19Z",
146
+ * permissions: "owner",
147
+ * userArn: "arn:aws:iam::123456789012:user/MyDemoUser",
148
+ * userId: "AIDAJNUEDQAQWFELJDLEX"
148
149
  * }
149
150
  * ]
150
151
  * }
151
152
  * *\/
152
- * // example id: describeenvironmentmemberships2-1516823191355
153
153
  * ```
154
154
  *
155
- * @example DescribeEnvironmentMemberships3
155
+ * @example DescribeEnvironmentMemberships1
156
156
  * ```javascript
157
- * // The following example gets development environment membership information for the specified user.
157
+ * // The following example gets information about all of the environment members for the specified development environment.
158
158
  * const input = {
159
- * "userArn": "arn:aws:iam::123456789012:user/MyDemoUser"
159
+ * environmentId: "8d9967e2f0624182b74e7690ad69ebEX"
160
160
  * };
161
161
  * const command = new DescribeEnvironmentMembershipsCommand(input);
162
162
  * const response = await client.send(command);
163
- * /* response ==
163
+ * /* response is
164
164
  * {
165
- * "memberships": [
165
+ * memberships: [
166
166
  * {
167
- * "environmentId": "10a75714bd494714929e7f5ec4125aEX",
168
- * "lastAccess": "2018-01-19T11:06:13Z",
169
- * "permissions": "owner",
170
- * "userArn": "arn:aws:iam::123456789012:user/MyDemoUser",
171
- * "userId": "AIDAJNUEDQAQWFELJDLEX"
167
+ * environmentId: "8d9967e2f0624182b74e7690ad69ebEX",
168
+ * permissions: "read-write",
169
+ * userArn: "arn:aws:iam::123456789012:user/AnotherDemoUser",
170
+ * userId: "AIDAJ3BA6O2FMJWCWXHEX"
172
171
  * },
173
172
  * {
174
- * "environmentId": "12bfc3cd537f41cb9776f8af5525c9EX",
175
- * "lastAccess": "2018-01-19T11:39:19Z",
176
- * "permissions": "owner",
177
- * "userArn": "arn:aws:iam::123456789012:user/MyDemoUser",
178
- * "userId": "AIDAJNUEDQAQWFELJDLEX"
173
+ * environmentId: "8d9967e2f0624182b74e7690ad69ebEX",
174
+ * permissions: "owner",
175
+ * userArn: "arn:aws:iam::123456789012:user/MyDemoUser",
176
+ * userId: "AIDAJNUEDQAQWFELJDLEX"
179
177
  * }
180
178
  * ]
181
179
  * }
182
180
  * *\/
183
- * // example id: describeenvironmentmemberships3-1516823268793
184
181
  * ```
185
182
  *
183
+ * @public
186
184
  */
187
185
  export declare class DescribeEnvironmentMembershipsCommand extends DescribeEnvironmentMembershipsCommand_base {
188
186
  /** @internal type navigation helper, not in runtime. */
@@ -82,24 +82,24 @@ declare const DescribeEnvironmentStatusCommand_base: {
82
82
  * @throws {@link Cloud9ServiceException}
83
83
  * <p>Base exception class for all service exceptions from Cloud9 service.</p>
84
84
  *
85
- * @public
85
+ *
86
86
  * @example DescribeEnvironmentStatus
87
87
  * ```javascript
88
88
  * //
89
89
  * const input = {
90
- * "environmentId": "8d9967e2f0624182b74e7690ad69ebEX"
90
+ * environmentId: "8d9967e2f0624182b74e7690ad69ebEX"
91
91
  * };
92
92
  * const command = new DescribeEnvironmentStatusCommand(input);
93
93
  * const response = await client.send(command);
94
- * /* response ==
94
+ * /* response is
95
95
  * {
96
- * "message": "Environment is ready to use",
97
- * "status": "ready"
96
+ * message: "Environment is ready to use",
97
+ * status: "ready"
98
98
  * }
99
99
  * *\/
100
- * // example id: describeenvironmentstatus-1516823462133
101
100
  * ```
102
101
  *
102
+ * @public
103
103
  */
104
104
  export declare class DescribeEnvironmentStatusCommand extends DescribeEnvironmentStatusCommand_base {
105
105
  /** @internal type navigation helper, not in runtime. */
@@ -99,49 +99,49 @@ declare const DescribeEnvironmentsCommand_base: {
99
99
  * @throws {@link Cloud9ServiceException}
100
100
  * <p>Base exception class for all service exceptions from Cloud9 service.</p>
101
101
  *
102
- * @public
102
+ *
103
103
  * @example DescribeEnvironments
104
104
  * ```javascript
105
105
  * //
106
106
  * const input = {
107
- * "environmentIds": [
107
+ * environmentIds: [
108
108
  * "8d9967e2f0624182b74e7690ad69ebEX",
109
109
  * "349c86d4579e4e7298d500ff57a6b2EX"
110
110
  * ]
111
111
  * };
112
112
  * const command = new DescribeEnvironmentsCommand(input);
113
113
  * const response = await client.send(command);
114
- * /* response ==
114
+ * /* response is
115
115
  * {
116
- * "environments": [
116
+ * environments: [
117
117
  * {
118
- * "name": "my-demo-environment",
119
- * "type": "ec2",
120
- * "arn": "arn:aws:cloud9:us-east-2:123456789012:environment:8d9967e2f0624182b74e7690ad69ebEX",
121
- * "description": "This is my demonstration environment.",
122
- * "id": "8d9967e2f0624182b74e7690ad69ebEX",
123
- * "lifecycle": {
124
- * "status": "CREATED"
118
+ * arn: "arn:aws:cloud9:us-east-2:123456789012:environment:8d9967e2f0624182b74e7690ad69ebEX",
119
+ * description: "This is my demonstration environment.",
120
+ * id: "8d9967e2f0624182b74e7690ad69ebEX",
121
+ * lifecycle: {
122
+ * status: "CREATED"
125
123
  * },
126
- * "ownerArn": "arn:aws:iam::123456789012:user/MyDemoUser"
124
+ * name: "my-demo-environment",
125
+ * ownerArn: "arn:aws:iam::123456789012:user/MyDemoUser",
126
+ * type: "ec2"
127
127
  * },
128
128
  * {
129
- * "name": "another-demo-environment",
130
- * "type": "ssh",
131
- * "arn": "arn:aws:cloud9:us-east-2:123456789012:environment:349c86d4579e4e7298d500ff57a6b2EX",
132
- * "description": "",
133
- * "id": "349c86d4579e4e7298d500ff57a6b2EX",
134
- * "lifecycle": {
135
- * "status": "CREATED"
129
+ * arn: "arn:aws:cloud9:us-east-2:123456789012:environment:349c86d4579e4e7298d500ff57a6b2EX",
130
+ * description: "",
131
+ * id: "349c86d4579e4e7298d500ff57a6b2EX",
132
+ * lifecycle: {
133
+ * status: "CREATED"
136
134
  * },
137
- * "ownerArn": "arn:aws:sts::123456789012:assumed-role/AnotherDemoUser/AnotherDemoUser"
135
+ * name: "another-demo-environment",
136
+ * ownerArn: "arn:aws:sts::123456789012:assumed-role/AnotherDemoUser/AnotherDemoUser",
137
+ * type: "ssh"
138
138
  * }
139
139
  * ]
140
140
  * }
141
141
  * *\/
142
- * // example id: describeenvironments-1516823568291
143
142
  * ```
144
143
  *
144
+ * @public
145
145
  */
146
146
  export declare class DescribeEnvironmentsCommand extends DescribeEnvironmentsCommand_base {
147
147
  /** @internal type navigation helper, not in runtime. */
@@ -91,24 +91,24 @@ declare const ListEnvironmentsCommand_base: {
91
91
  * @throws {@link Cloud9ServiceException}
92
92
  * <p>Base exception class for all service exceptions from Cloud9 service.</p>
93
93
  *
94
- * @public
94
+ *
95
95
  * @example ListEnvironments
96
96
  * ```javascript
97
97
  * //
98
- * const input = {};
98
+ * const input = { /* empty *\/ };
99
99
  * const command = new ListEnvironmentsCommand(input);
100
100
  * const response = await client.send(command);
101
- * /* response ==
101
+ * /* response is
102
102
  * {
103
- * "environmentIds": [
103
+ * environmentIds: [
104
104
  * "349c86d4579e4e7298d500ff57a6b2EX",
105
105
  * "45a3da47af0840f2b0c0824f5ee232EX"
106
106
  * ]
107
107
  * }
108
108
  * *\/
109
- * // example id: listenvironments-1516823687205
110
109
  * ```
111
110
  *
111
+ * @public
112
112
  */
113
113
  export declare class ListEnvironmentsCommand extends ListEnvironmentsCommand_base {
114
114
  /** @internal type navigation helper, not in runtime. */
@@ -74,6 +74,7 @@ declare const ListTagsForResourceCommand_base: {
74
74
  * @throws {@link Cloud9ServiceException}
75
75
  * <p>Base exception class for all service exceptions from Cloud9 service.</p>
76
76
  *
77
+ *
77
78
  * @public
78
79
  */
79
80
  export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
@@ -80,6 +80,7 @@ declare const TagResourceCommand_base: {
80
80
  * @throws {@link Cloud9ServiceException}
81
81
  * <p>Base exception class for all service exceptions from Cloud9 service.</p>
82
82
  *
83
+ *
83
84
  * @public
84
85
  */
85
86
  export declare class TagResourceCommand extends TagResourceCommand_base {
@@ -73,6 +73,7 @@ declare const UntagResourceCommand_base: {
73
73
  * @throws {@link Cloud9ServiceException}
74
74
  * <p>Base exception class for all service exceptions from Cloud9 service.</p>
75
75
  *
76
+ *
76
77
  * @public
77
78
  */
78
79
  export declare class UntagResourceCommand extends UntagResourceCommand_base {
@@ -82,20 +82,23 @@ declare const UpdateEnvironmentCommand_base: {
82
82
  * @throws {@link Cloud9ServiceException}
83
83
  * <p>Base exception class for all service exceptions from Cloud9 service.</p>
84
84
  *
85
- * @public
85
+ *
86
86
  * @example UpdateEnvironment
87
87
  * ```javascript
88
88
  * //
89
89
  * const input = {
90
- * "name": "my-changed-demo-environment",
91
- * "description": "This is my changed demonstration environment.",
92
- * "environmentId": "8d9967e2f0624182b74e7690ad69ebEX"
90
+ * description: "This is my changed demonstration environment.",
91
+ * environmentId: "8d9967e2f0624182b74e7690ad69ebEX",
92
+ * name: "my-changed-demo-environment"
93
93
  * };
94
94
  * const command = new UpdateEnvironmentCommand(input);
95
- * await client.send(command);
96
- * // example id: updateenvironment-1516823781910
95
+ * const response = await client.send(command);
96
+ * /* response is
97
+ * { /* empty *\/ }
98
+ * *\/
97
99
  * ```
98
100
  *
101
+ * @public
99
102
  */
100
103
  export declare class UpdateEnvironmentCommand extends UpdateEnvironmentCommand_base {
101
104
  /** @internal type navigation helper, not in runtime. */
@@ -90,30 +90,30 @@ declare const UpdateEnvironmentMembershipCommand_base: {
90
90
  * @throws {@link Cloud9ServiceException}
91
91
  * <p>Base exception class for all service exceptions from Cloud9 service.</p>
92
92
  *
93
- * @public
93
+ *
94
94
  * @example UpdateEnvironmentMembership
95
95
  * ```javascript
96
96
  * //
97
97
  * const input = {
98
- * "environmentId": "8d9967e2f0624182b74e7690ad69ebEX",
99
- * "permissions": "read-only",
100
- * "userArn": "arn:aws:iam::123456789012:user/AnotherDemoUser"
98
+ * environmentId: "8d9967e2f0624182b74e7690ad69ebEX",
99
+ * permissions: "read-only",
100
+ * userArn: "arn:aws:iam::123456789012:user/AnotherDemoUser"
101
101
  * };
102
102
  * const command = new UpdateEnvironmentMembershipCommand(input);
103
103
  * const response = await client.send(command);
104
- * /* response ==
104
+ * /* response is
105
105
  * {
106
- * "membership": {
107
- * "environmentId": "8d9967e2f0624182b74e7690ad69eb31",
108
- * "permissions": "read-only",
109
- * "userArn": "arn:aws:iam::123456789012:user/AnotherDemoUser",
110
- * "userId": "AIDAJ3BA6O2FMJWCWXHEX"
106
+ * membership: {
107
+ * environmentId: "8d9967e2f0624182b74e7690ad69eb31",
108
+ * permissions: "read-only",
109
+ * userArn: "arn:aws:iam::123456789012:user/AnotherDemoUser",
110
+ * userId: "AIDAJ3BA6O2FMJWCWXHEX"
111
111
  * }
112
112
  * }
113
113
  * *\/
114
- * // example id: updateenvironmentmembership-1516823876645
115
114
  * ```
116
115
  *
116
+ * @public
117
117
  */
118
118
  export declare class UpdateEnvironmentMembershipCommand extends UpdateEnvironmentMembershipCommand_base {
119
119
  /** @internal type navigation helper, not in runtime. */
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.774.0",
4
+ "version": "3.777.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,41 +20,41 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.774.0",
24
- "@aws-sdk/credential-provider-node": "3.774.0",
25
- "@aws-sdk/middleware-host-header": "3.774.0",
26
- "@aws-sdk/middleware-logger": "3.734.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.772.0",
28
- "@aws-sdk/middleware-user-agent": "3.774.0",
29
- "@aws-sdk/region-config-resolver": "3.734.0",
30
- "@aws-sdk/types": "3.734.0",
31
- "@aws-sdk/util-endpoints": "3.743.0",
32
- "@aws-sdk/util-user-agent-browser": "3.734.0",
33
- "@aws-sdk/util-user-agent-node": "3.774.0",
34
- "@smithy/config-resolver": "^4.0.1",
35
- "@smithy/core": "^3.1.5",
36
- "@smithy/fetch-http-handler": "^5.0.1",
37
- "@smithy/hash-node": "^4.0.1",
38
- "@smithy/invalid-dependency": "^4.0.1",
39
- "@smithy/middleware-content-length": "^4.0.1",
40
- "@smithy/middleware-endpoint": "^4.0.6",
41
- "@smithy/middleware-retry": "^4.0.7",
42
- "@smithy/middleware-serde": "^4.0.2",
43
- "@smithy/middleware-stack": "^4.0.1",
44
- "@smithy/node-config-provider": "^4.0.1",
45
- "@smithy/node-http-handler": "^4.0.3",
46
- "@smithy/protocol-http": "^5.0.1",
47
- "@smithy/smithy-client": "^4.1.6",
48
- "@smithy/types": "^4.1.0",
49
- "@smithy/url-parser": "^4.0.1",
23
+ "@aws-sdk/core": "3.775.0",
24
+ "@aws-sdk/credential-provider-node": "3.777.0",
25
+ "@aws-sdk/middleware-host-header": "3.775.0",
26
+ "@aws-sdk/middleware-logger": "3.775.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.775.0",
28
+ "@aws-sdk/middleware-user-agent": "3.775.0",
29
+ "@aws-sdk/region-config-resolver": "3.775.0",
30
+ "@aws-sdk/types": "3.775.0",
31
+ "@aws-sdk/util-endpoints": "3.775.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.775.0",
33
+ "@aws-sdk/util-user-agent-node": "3.775.0",
34
+ "@smithy/config-resolver": "^4.1.0",
35
+ "@smithy/core": "^3.2.0",
36
+ "@smithy/fetch-http-handler": "^5.0.2",
37
+ "@smithy/hash-node": "^4.0.2",
38
+ "@smithy/invalid-dependency": "^4.0.2",
39
+ "@smithy/middleware-content-length": "^4.0.2",
40
+ "@smithy/middleware-endpoint": "^4.1.0",
41
+ "@smithy/middleware-retry": "^4.1.0",
42
+ "@smithy/middleware-serde": "^4.0.3",
43
+ "@smithy/middleware-stack": "^4.0.2",
44
+ "@smithy/node-config-provider": "^4.0.2",
45
+ "@smithy/node-http-handler": "^4.0.4",
46
+ "@smithy/protocol-http": "^5.1.0",
47
+ "@smithy/smithy-client": "^4.2.0",
48
+ "@smithy/types": "^4.2.0",
49
+ "@smithy/url-parser": "^4.0.2",
50
50
  "@smithy/util-base64": "^4.0.0",
51
51
  "@smithy/util-body-length-browser": "^4.0.0",
52
52
  "@smithy/util-body-length-node": "^4.0.0",
53
- "@smithy/util-defaults-mode-browser": "^4.0.7",
54
- "@smithy/util-defaults-mode-node": "^4.0.7",
55
- "@smithy/util-endpoints": "^3.0.1",
56
- "@smithy/util-middleware": "^4.0.1",
57
- "@smithy/util-retry": "^4.0.1",
53
+ "@smithy/util-defaults-mode-browser": "^4.0.8",
54
+ "@smithy/util-defaults-mode-node": "^4.0.8",
55
+ "@smithy/util-endpoints": "^3.0.2",
56
+ "@smithy/util-middleware": "^4.0.2",
57
+ "@smithy/util-retry": "^4.0.2",
58
58
  "@smithy/util-utf8": "^4.0.0",
59
59
  "tslib": "^2.6.2"
60
60
  },