@aws-sdk/client-cloud9 3.315.0 → 3.319.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.
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Cloud9 = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
4
5
  const Cloud9Client_1 = require("./Cloud9Client");
5
6
  const CreateEnvironmentEC2Command_1 = require("./commands/CreateEnvironmentEC2Command");
6
7
  const CreateEnvironmentMembershipCommand_1 = require("./commands/CreateEnvironmentMembershipCommand");
@@ -15,188 +16,22 @@ const TagResourceCommand_1 = require("./commands/TagResourceCommand");
15
16
  const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
16
17
  const UpdateEnvironmentCommand_1 = require("./commands/UpdateEnvironmentCommand");
17
18
  const UpdateEnvironmentMembershipCommand_1 = require("./commands/UpdateEnvironmentMembershipCommand");
19
+ const commands = {
20
+ CreateEnvironmentEC2Command: CreateEnvironmentEC2Command_1.CreateEnvironmentEC2Command,
21
+ CreateEnvironmentMembershipCommand: CreateEnvironmentMembershipCommand_1.CreateEnvironmentMembershipCommand,
22
+ DeleteEnvironmentCommand: DeleteEnvironmentCommand_1.DeleteEnvironmentCommand,
23
+ DeleteEnvironmentMembershipCommand: DeleteEnvironmentMembershipCommand_1.DeleteEnvironmentMembershipCommand,
24
+ DescribeEnvironmentMembershipsCommand: DescribeEnvironmentMembershipsCommand_1.DescribeEnvironmentMembershipsCommand,
25
+ DescribeEnvironmentsCommand: DescribeEnvironmentsCommand_1.DescribeEnvironmentsCommand,
26
+ DescribeEnvironmentStatusCommand: DescribeEnvironmentStatusCommand_1.DescribeEnvironmentStatusCommand,
27
+ ListEnvironmentsCommand: ListEnvironmentsCommand_1.ListEnvironmentsCommand,
28
+ ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
29
+ TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
30
+ UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
31
+ UpdateEnvironmentCommand: UpdateEnvironmentCommand_1.UpdateEnvironmentCommand,
32
+ UpdateEnvironmentMembershipCommand: UpdateEnvironmentMembershipCommand_1.UpdateEnvironmentMembershipCommand,
33
+ };
18
34
  class Cloud9 extends Cloud9Client_1.Cloud9Client {
19
- createEnvironmentEC2(args, optionsOrCb, cb) {
20
- const command = new CreateEnvironmentEC2Command_1.CreateEnvironmentEC2Command(args);
21
- if (typeof optionsOrCb === "function") {
22
- this.send(command, optionsOrCb);
23
- }
24
- else if (typeof cb === "function") {
25
- if (typeof optionsOrCb !== "object")
26
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
27
- this.send(command, optionsOrCb || {}, cb);
28
- }
29
- else {
30
- return this.send(command, optionsOrCb);
31
- }
32
- }
33
- createEnvironmentMembership(args, optionsOrCb, cb) {
34
- const command = new CreateEnvironmentMembershipCommand_1.CreateEnvironmentMembershipCommand(args);
35
- if (typeof optionsOrCb === "function") {
36
- this.send(command, optionsOrCb);
37
- }
38
- else if (typeof cb === "function") {
39
- if (typeof optionsOrCb !== "object")
40
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
41
- this.send(command, optionsOrCb || {}, cb);
42
- }
43
- else {
44
- return this.send(command, optionsOrCb);
45
- }
46
- }
47
- deleteEnvironment(args, optionsOrCb, cb) {
48
- const command = new DeleteEnvironmentCommand_1.DeleteEnvironmentCommand(args);
49
- if (typeof optionsOrCb === "function") {
50
- this.send(command, optionsOrCb);
51
- }
52
- else if (typeof cb === "function") {
53
- if (typeof optionsOrCb !== "object")
54
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
55
- this.send(command, optionsOrCb || {}, cb);
56
- }
57
- else {
58
- return this.send(command, optionsOrCb);
59
- }
60
- }
61
- deleteEnvironmentMembership(args, optionsOrCb, cb) {
62
- const command = new DeleteEnvironmentMembershipCommand_1.DeleteEnvironmentMembershipCommand(args);
63
- if (typeof optionsOrCb === "function") {
64
- this.send(command, optionsOrCb);
65
- }
66
- else if (typeof cb === "function") {
67
- if (typeof optionsOrCb !== "object")
68
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
69
- this.send(command, optionsOrCb || {}, cb);
70
- }
71
- else {
72
- return this.send(command, optionsOrCb);
73
- }
74
- }
75
- describeEnvironmentMemberships(args, optionsOrCb, cb) {
76
- const command = new DescribeEnvironmentMembershipsCommand_1.DescribeEnvironmentMembershipsCommand(args);
77
- if (typeof optionsOrCb === "function") {
78
- this.send(command, optionsOrCb);
79
- }
80
- else if (typeof cb === "function") {
81
- if (typeof optionsOrCb !== "object")
82
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
83
- this.send(command, optionsOrCb || {}, cb);
84
- }
85
- else {
86
- return this.send(command, optionsOrCb);
87
- }
88
- }
89
- describeEnvironments(args, optionsOrCb, cb) {
90
- const command = new DescribeEnvironmentsCommand_1.DescribeEnvironmentsCommand(args);
91
- if (typeof optionsOrCb === "function") {
92
- this.send(command, optionsOrCb);
93
- }
94
- else if (typeof cb === "function") {
95
- if (typeof optionsOrCb !== "object")
96
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
97
- this.send(command, optionsOrCb || {}, cb);
98
- }
99
- else {
100
- return this.send(command, optionsOrCb);
101
- }
102
- }
103
- describeEnvironmentStatus(args, optionsOrCb, cb) {
104
- const command = new DescribeEnvironmentStatusCommand_1.DescribeEnvironmentStatusCommand(args);
105
- if (typeof optionsOrCb === "function") {
106
- this.send(command, optionsOrCb);
107
- }
108
- else if (typeof cb === "function") {
109
- if (typeof optionsOrCb !== "object")
110
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
111
- this.send(command, optionsOrCb || {}, cb);
112
- }
113
- else {
114
- return this.send(command, optionsOrCb);
115
- }
116
- }
117
- listEnvironments(args, optionsOrCb, cb) {
118
- const command = new ListEnvironmentsCommand_1.ListEnvironmentsCommand(args);
119
- if (typeof optionsOrCb === "function") {
120
- this.send(command, optionsOrCb);
121
- }
122
- else if (typeof cb === "function") {
123
- if (typeof optionsOrCb !== "object")
124
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
125
- this.send(command, optionsOrCb || {}, cb);
126
- }
127
- else {
128
- return this.send(command, optionsOrCb);
129
- }
130
- }
131
- listTagsForResource(args, optionsOrCb, cb) {
132
- const command = new ListTagsForResourceCommand_1.ListTagsForResourceCommand(args);
133
- if (typeof optionsOrCb === "function") {
134
- this.send(command, optionsOrCb);
135
- }
136
- else if (typeof cb === "function") {
137
- if (typeof optionsOrCb !== "object")
138
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
139
- this.send(command, optionsOrCb || {}, cb);
140
- }
141
- else {
142
- return this.send(command, optionsOrCb);
143
- }
144
- }
145
- tagResource(args, optionsOrCb, cb) {
146
- const command = new TagResourceCommand_1.TagResourceCommand(args);
147
- if (typeof optionsOrCb === "function") {
148
- this.send(command, optionsOrCb);
149
- }
150
- else if (typeof cb === "function") {
151
- if (typeof optionsOrCb !== "object")
152
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
153
- this.send(command, optionsOrCb || {}, cb);
154
- }
155
- else {
156
- return this.send(command, optionsOrCb);
157
- }
158
- }
159
- untagResource(args, optionsOrCb, cb) {
160
- const command = new UntagResourceCommand_1.UntagResourceCommand(args);
161
- if (typeof optionsOrCb === "function") {
162
- this.send(command, optionsOrCb);
163
- }
164
- else if (typeof cb === "function") {
165
- if (typeof optionsOrCb !== "object")
166
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
167
- this.send(command, optionsOrCb || {}, cb);
168
- }
169
- else {
170
- return this.send(command, optionsOrCb);
171
- }
172
- }
173
- updateEnvironment(args, optionsOrCb, cb) {
174
- const command = new UpdateEnvironmentCommand_1.UpdateEnvironmentCommand(args);
175
- if (typeof optionsOrCb === "function") {
176
- this.send(command, optionsOrCb);
177
- }
178
- else if (typeof cb === "function") {
179
- if (typeof optionsOrCb !== "object")
180
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
181
- this.send(command, optionsOrCb || {}, cb);
182
- }
183
- else {
184
- return this.send(command, optionsOrCb);
185
- }
186
- }
187
- updateEnvironmentMembership(args, optionsOrCb, cb) {
188
- const command = new UpdateEnvironmentMembershipCommand_1.UpdateEnvironmentMembershipCommand(args);
189
- if (typeof optionsOrCb === "function") {
190
- this.send(command, optionsOrCb);
191
- }
192
- else if (typeof cb === "function") {
193
- if (typeof optionsOrCb !== "object")
194
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
195
- this.send(command, optionsOrCb || {}, cb);
196
- }
197
- else {
198
- return this.send(command, optionsOrCb);
199
- }
200
- }
201
35
  }
202
36
  exports.Cloud9 = Cloud9;
37
+ (0, smithy_client_1.createAggregatedClient)(commands, Cloud9);
package/dist-es/Cloud9.js CHANGED
@@ -1,3 +1,4 @@
1
+ import { createAggregatedClient } from "@aws-sdk/smithy-client";
1
2
  import { Cloud9Client } from "./Cloud9Client";
2
3
  import { CreateEnvironmentEC2Command, } from "./commands/CreateEnvironmentEC2Command";
3
4
  import { CreateEnvironmentMembershipCommand, } from "./commands/CreateEnvironmentMembershipCommand";
@@ -12,187 +13,21 @@ import { TagResourceCommand } from "./commands/TagResourceCommand";
12
13
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
13
14
  import { UpdateEnvironmentCommand, } from "./commands/UpdateEnvironmentCommand";
14
15
  import { UpdateEnvironmentMembershipCommand, } from "./commands/UpdateEnvironmentMembershipCommand";
16
+ const commands = {
17
+ CreateEnvironmentEC2Command,
18
+ CreateEnvironmentMembershipCommand,
19
+ DeleteEnvironmentCommand,
20
+ DeleteEnvironmentMembershipCommand,
21
+ DescribeEnvironmentMembershipsCommand,
22
+ DescribeEnvironmentsCommand,
23
+ DescribeEnvironmentStatusCommand,
24
+ ListEnvironmentsCommand,
25
+ ListTagsForResourceCommand,
26
+ TagResourceCommand,
27
+ UntagResourceCommand,
28
+ UpdateEnvironmentCommand,
29
+ UpdateEnvironmentMembershipCommand,
30
+ };
15
31
  export class Cloud9 extends Cloud9Client {
16
- createEnvironmentEC2(args, optionsOrCb, cb) {
17
- const command = new CreateEnvironmentEC2Command(args);
18
- if (typeof optionsOrCb === "function") {
19
- this.send(command, optionsOrCb);
20
- }
21
- else if (typeof cb === "function") {
22
- if (typeof optionsOrCb !== "object")
23
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
24
- this.send(command, optionsOrCb || {}, cb);
25
- }
26
- else {
27
- return this.send(command, optionsOrCb);
28
- }
29
- }
30
- createEnvironmentMembership(args, optionsOrCb, cb) {
31
- const command = new CreateEnvironmentMembershipCommand(args);
32
- if (typeof optionsOrCb === "function") {
33
- this.send(command, optionsOrCb);
34
- }
35
- else if (typeof cb === "function") {
36
- if (typeof optionsOrCb !== "object")
37
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
38
- this.send(command, optionsOrCb || {}, cb);
39
- }
40
- else {
41
- return this.send(command, optionsOrCb);
42
- }
43
- }
44
- deleteEnvironment(args, optionsOrCb, cb) {
45
- const command = new DeleteEnvironmentCommand(args);
46
- if (typeof optionsOrCb === "function") {
47
- this.send(command, optionsOrCb);
48
- }
49
- else if (typeof cb === "function") {
50
- if (typeof optionsOrCb !== "object")
51
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
52
- this.send(command, optionsOrCb || {}, cb);
53
- }
54
- else {
55
- return this.send(command, optionsOrCb);
56
- }
57
- }
58
- deleteEnvironmentMembership(args, optionsOrCb, cb) {
59
- const command = new DeleteEnvironmentMembershipCommand(args);
60
- if (typeof optionsOrCb === "function") {
61
- this.send(command, optionsOrCb);
62
- }
63
- else if (typeof cb === "function") {
64
- if (typeof optionsOrCb !== "object")
65
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
66
- this.send(command, optionsOrCb || {}, cb);
67
- }
68
- else {
69
- return this.send(command, optionsOrCb);
70
- }
71
- }
72
- describeEnvironmentMemberships(args, optionsOrCb, cb) {
73
- const command = new DescribeEnvironmentMembershipsCommand(args);
74
- if (typeof optionsOrCb === "function") {
75
- this.send(command, optionsOrCb);
76
- }
77
- else if (typeof cb === "function") {
78
- if (typeof optionsOrCb !== "object")
79
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
80
- this.send(command, optionsOrCb || {}, cb);
81
- }
82
- else {
83
- return this.send(command, optionsOrCb);
84
- }
85
- }
86
- describeEnvironments(args, optionsOrCb, cb) {
87
- const command = new DescribeEnvironmentsCommand(args);
88
- if (typeof optionsOrCb === "function") {
89
- this.send(command, optionsOrCb);
90
- }
91
- else if (typeof cb === "function") {
92
- if (typeof optionsOrCb !== "object")
93
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
94
- this.send(command, optionsOrCb || {}, cb);
95
- }
96
- else {
97
- return this.send(command, optionsOrCb);
98
- }
99
- }
100
- describeEnvironmentStatus(args, optionsOrCb, cb) {
101
- const command = new DescribeEnvironmentStatusCommand(args);
102
- if (typeof optionsOrCb === "function") {
103
- this.send(command, optionsOrCb);
104
- }
105
- else if (typeof cb === "function") {
106
- if (typeof optionsOrCb !== "object")
107
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
108
- this.send(command, optionsOrCb || {}, cb);
109
- }
110
- else {
111
- return this.send(command, optionsOrCb);
112
- }
113
- }
114
- listEnvironments(args, optionsOrCb, cb) {
115
- const command = new ListEnvironmentsCommand(args);
116
- if (typeof optionsOrCb === "function") {
117
- this.send(command, optionsOrCb);
118
- }
119
- else if (typeof cb === "function") {
120
- if (typeof optionsOrCb !== "object")
121
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
122
- this.send(command, optionsOrCb || {}, cb);
123
- }
124
- else {
125
- return this.send(command, optionsOrCb);
126
- }
127
- }
128
- listTagsForResource(args, optionsOrCb, cb) {
129
- const command = new ListTagsForResourceCommand(args);
130
- if (typeof optionsOrCb === "function") {
131
- this.send(command, optionsOrCb);
132
- }
133
- else if (typeof cb === "function") {
134
- if (typeof optionsOrCb !== "object")
135
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
136
- this.send(command, optionsOrCb || {}, cb);
137
- }
138
- else {
139
- return this.send(command, optionsOrCb);
140
- }
141
- }
142
- tagResource(args, optionsOrCb, cb) {
143
- const command = new TagResourceCommand(args);
144
- if (typeof optionsOrCb === "function") {
145
- this.send(command, optionsOrCb);
146
- }
147
- else if (typeof cb === "function") {
148
- if (typeof optionsOrCb !== "object")
149
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
150
- this.send(command, optionsOrCb || {}, cb);
151
- }
152
- else {
153
- return this.send(command, optionsOrCb);
154
- }
155
- }
156
- untagResource(args, optionsOrCb, cb) {
157
- const command = new UntagResourceCommand(args);
158
- if (typeof optionsOrCb === "function") {
159
- this.send(command, optionsOrCb);
160
- }
161
- else if (typeof cb === "function") {
162
- if (typeof optionsOrCb !== "object")
163
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
164
- this.send(command, optionsOrCb || {}, cb);
165
- }
166
- else {
167
- return this.send(command, optionsOrCb);
168
- }
169
- }
170
- updateEnvironment(args, optionsOrCb, cb) {
171
- const command = new UpdateEnvironmentCommand(args);
172
- if (typeof optionsOrCb === "function") {
173
- this.send(command, optionsOrCb);
174
- }
175
- else if (typeof cb === "function") {
176
- if (typeof optionsOrCb !== "object")
177
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
178
- this.send(command, optionsOrCb || {}, cb);
179
- }
180
- else {
181
- return this.send(command, optionsOrCb);
182
- }
183
- }
184
- updateEnvironmentMembership(args, optionsOrCb, cb) {
185
- const command = new UpdateEnvironmentMembershipCommand(args);
186
- if (typeof optionsOrCb === "function") {
187
- this.send(command, optionsOrCb);
188
- }
189
- else if (typeof cb === "function") {
190
- if (typeof optionsOrCb !== "object")
191
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
192
- this.send(command, optionsOrCb || {}, cb);
193
- }
194
- else {
195
- return this.send(command, optionsOrCb);
196
- }
197
- }
198
32
  }
33
+ createAggregatedClient(commands, Cloud9);
@@ -13,6 +13,86 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
13
13
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
14
14
  import { UpdateEnvironmentCommandInput, UpdateEnvironmentCommandOutput } from "./commands/UpdateEnvironmentCommand";
15
15
  import { UpdateEnvironmentMembershipCommandInput, UpdateEnvironmentMembershipCommandOutput } from "./commands/UpdateEnvironmentMembershipCommand";
16
+ export interface Cloud9 {
17
+ /**
18
+ * @see {@link CreateEnvironmentEC2Command}
19
+ */
20
+ createEnvironmentEC2(args: CreateEnvironmentEC2CommandInput, options?: __HttpHandlerOptions): Promise<CreateEnvironmentEC2CommandOutput>;
21
+ createEnvironmentEC2(args: CreateEnvironmentEC2CommandInput, cb: (err: any, data?: CreateEnvironmentEC2CommandOutput) => void): void;
22
+ createEnvironmentEC2(args: CreateEnvironmentEC2CommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateEnvironmentEC2CommandOutput) => void): void;
23
+ /**
24
+ * @see {@link CreateEnvironmentMembershipCommand}
25
+ */
26
+ createEnvironmentMembership(args: CreateEnvironmentMembershipCommandInput, options?: __HttpHandlerOptions): Promise<CreateEnvironmentMembershipCommandOutput>;
27
+ createEnvironmentMembership(args: CreateEnvironmentMembershipCommandInput, cb: (err: any, data?: CreateEnvironmentMembershipCommandOutput) => void): void;
28
+ createEnvironmentMembership(args: CreateEnvironmentMembershipCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateEnvironmentMembershipCommandOutput) => void): void;
29
+ /**
30
+ * @see {@link DeleteEnvironmentCommand}
31
+ */
32
+ deleteEnvironment(args: DeleteEnvironmentCommandInput, options?: __HttpHandlerOptions): Promise<DeleteEnvironmentCommandOutput>;
33
+ deleteEnvironment(args: DeleteEnvironmentCommandInput, cb: (err: any, data?: DeleteEnvironmentCommandOutput) => void): void;
34
+ deleteEnvironment(args: DeleteEnvironmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteEnvironmentCommandOutput) => void): void;
35
+ /**
36
+ * @see {@link DeleteEnvironmentMembershipCommand}
37
+ */
38
+ deleteEnvironmentMembership(args: DeleteEnvironmentMembershipCommandInput, options?: __HttpHandlerOptions): Promise<DeleteEnvironmentMembershipCommandOutput>;
39
+ deleteEnvironmentMembership(args: DeleteEnvironmentMembershipCommandInput, cb: (err: any, data?: DeleteEnvironmentMembershipCommandOutput) => void): void;
40
+ deleteEnvironmentMembership(args: DeleteEnvironmentMembershipCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteEnvironmentMembershipCommandOutput) => void): void;
41
+ /**
42
+ * @see {@link DescribeEnvironmentMembershipsCommand}
43
+ */
44
+ describeEnvironmentMemberships(args: DescribeEnvironmentMembershipsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeEnvironmentMembershipsCommandOutput>;
45
+ describeEnvironmentMemberships(args: DescribeEnvironmentMembershipsCommandInput, cb: (err: any, data?: DescribeEnvironmentMembershipsCommandOutput) => void): void;
46
+ describeEnvironmentMemberships(args: DescribeEnvironmentMembershipsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeEnvironmentMembershipsCommandOutput) => void): void;
47
+ /**
48
+ * @see {@link DescribeEnvironmentsCommand}
49
+ */
50
+ describeEnvironments(args: DescribeEnvironmentsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeEnvironmentsCommandOutput>;
51
+ describeEnvironments(args: DescribeEnvironmentsCommandInput, cb: (err: any, data?: DescribeEnvironmentsCommandOutput) => void): void;
52
+ describeEnvironments(args: DescribeEnvironmentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeEnvironmentsCommandOutput) => void): void;
53
+ /**
54
+ * @see {@link DescribeEnvironmentStatusCommand}
55
+ */
56
+ describeEnvironmentStatus(args: DescribeEnvironmentStatusCommandInput, options?: __HttpHandlerOptions): Promise<DescribeEnvironmentStatusCommandOutput>;
57
+ describeEnvironmentStatus(args: DescribeEnvironmentStatusCommandInput, cb: (err: any, data?: DescribeEnvironmentStatusCommandOutput) => void): void;
58
+ describeEnvironmentStatus(args: DescribeEnvironmentStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeEnvironmentStatusCommandOutput) => void): void;
59
+ /**
60
+ * @see {@link ListEnvironmentsCommand}
61
+ */
62
+ listEnvironments(args: ListEnvironmentsCommandInput, options?: __HttpHandlerOptions): Promise<ListEnvironmentsCommandOutput>;
63
+ listEnvironments(args: ListEnvironmentsCommandInput, cb: (err: any, data?: ListEnvironmentsCommandOutput) => void): void;
64
+ listEnvironments(args: ListEnvironmentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEnvironmentsCommandOutput) => void): void;
65
+ /**
66
+ * @see {@link ListTagsForResourceCommand}
67
+ */
68
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
69
+ listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
70
+ listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
71
+ /**
72
+ * @see {@link TagResourceCommand}
73
+ */
74
+ tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
75
+ tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
76
+ tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
77
+ /**
78
+ * @see {@link UntagResourceCommand}
79
+ */
80
+ untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
81
+ untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
82
+ untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
83
+ /**
84
+ * @see {@link UpdateEnvironmentCommand}
85
+ */
86
+ updateEnvironment(args: UpdateEnvironmentCommandInput, options?: __HttpHandlerOptions): Promise<UpdateEnvironmentCommandOutput>;
87
+ updateEnvironment(args: UpdateEnvironmentCommandInput, cb: (err: any, data?: UpdateEnvironmentCommandOutput) => void): void;
88
+ updateEnvironment(args: UpdateEnvironmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateEnvironmentCommandOutput) => void): void;
89
+ /**
90
+ * @see {@link UpdateEnvironmentMembershipCommand}
91
+ */
92
+ updateEnvironmentMembership(args: UpdateEnvironmentMembershipCommandInput, options?: __HttpHandlerOptions): Promise<UpdateEnvironmentMembershipCommandOutput>;
93
+ updateEnvironmentMembership(args: UpdateEnvironmentMembershipCommandInput, cb: (err: any, data?: UpdateEnvironmentMembershipCommandOutput) => void): void;
94
+ updateEnvironmentMembership(args: UpdateEnvironmentMembershipCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateEnvironmentMembershipCommandOutput) => void): void;
95
+ }
16
96
  /**
17
97
  * @public
18
98
  * <fullname>Cloud9</fullname>
@@ -83,103 +163,5 @@ import { UpdateEnvironmentMembershipCommandInput, UpdateEnvironmentMembershipCom
83
163
  * </li>
84
164
  * </ul>
85
165
  */
86
- export declare class Cloud9 extends Cloud9Client {
87
- /**
88
- * @public
89
- * <p>Creates an Cloud9 development environment, launches an Amazon Elastic Compute Cloud (Amazon EC2) instance, and
90
- * then connects from the instance to the environment.</p>
91
- */
92
- createEnvironmentEC2(args: CreateEnvironmentEC2CommandInput, options?: __HttpHandlerOptions): Promise<CreateEnvironmentEC2CommandOutput>;
93
- createEnvironmentEC2(args: CreateEnvironmentEC2CommandInput, cb: (err: any, data?: CreateEnvironmentEC2CommandOutput) => void): void;
94
- createEnvironmentEC2(args: CreateEnvironmentEC2CommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateEnvironmentEC2CommandOutput) => void): void;
95
- /**
96
- * @public
97
- * <p>Adds an environment member to an Cloud9 development environment.</p>
98
- */
99
- createEnvironmentMembership(args: CreateEnvironmentMembershipCommandInput, options?: __HttpHandlerOptions): Promise<CreateEnvironmentMembershipCommandOutput>;
100
- createEnvironmentMembership(args: CreateEnvironmentMembershipCommandInput, cb: (err: any, data?: CreateEnvironmentMembershipCommandOutput) => void): void;
101
- createEnvironmentMembership(args: CreateEnvironmentMembershipCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateEnvironmentMembershipCommandOutput) => void): void;
102
- /**
103
- * @public
104
- * <p>Deletes an Cloud9 development environment. If an Amazon EC2 instance is connected to the
105
- * environment, also terminates the instance.</p>
106
- */
107
- deleteEnvironment(args: DeleteEnvironmentCommandInput, options?: __HttpHandlerOptions): Promise<DeleteEnvironmentCommandOutput>;
108
- deleteEnvironment(args: DeleteEnvironmentCommandInput, cb: (err: any, data?: DeleteEnvironmentCommandOutput) => void): void;
109
- deleteEnvironment(args: DeleteEnvironmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteEnvironmentCommandOutput) => void): void;
110
- /**
111
- * @public
112
- * <p>Deletes an environment member from a development environment.</p>
113
- */
114
- deleteEnvironmentMembership(args: DeleteEnvironmentMembershipCommandInput, options?: __HttpHandlerOptions): Promise<DeleteEnvironmentMembershipCommandOutput>;
115
- deleteEnvironmentMembership(args: DeleteEnvironmentMembershipCommandInput, cb: (err: any, data?: DeleteEnvironmentMembershipCommandOutput) => void): void;
116
- deleteEnvironmentMembership(args: DeleteEnvironmentMembershipCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteEnvironmentMembershipCommandOutput) => void): void;
117
- /**
118
- * @public
119
- * <p>Gets information about environment members for an Cloud9 development environment.</p>
120
- */
121
- describeEnvironmentMemberships(args: DescribeEnvironmentMembershipsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeEnvironmentMembershipsCommandOutput>;
122
- describeEnvironmentMemberships(args: DescribeEnvironmentMembershipsCommandInput, cb: (err: any, data?: DescribeEnvironmentMembershipsCommandOutput) => void): void;
123
- describeEnvironmentMemberships(args: DescribeEnvironmentMembershipsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeEnvironmentMembershipsCommandOutput) => void): void;
124
- /**
125
- * @public
126
- * <p>Gets information about Cloud9 development environments.</p>
127
- */
128
- describeEnvironments(args: DescribeEnvironmentsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeEnvironmentsCommandOutput>;
129
- describeEnvironments(args: DescribeEnvironmentsCommandInput, cb: (err: any, data?: DescribeEnvironmentsCommandOutput) => void): void;
130
- describeEnvironments(args: DescribeEnvironmentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeEnvironmentsCommandOutput) => void): void;
131
- /**
132
- * @public
133
- * <p>Gets status information for an Cloud9 development environment.</p>
134
- */
135
- describeEnvironmentStatus(args: DescribeEnvironmentStatusCommandInput, options?: __HttpHandlerOptions): Promise<DescribeEnvironmentStatusCommandOutput>;
136
- describeEnvironmentStatus(args: DescribeEnvironmentStatusCommandInput, cb: (err: any, data?: DescribeEnvironmentStatusCommandOutput) => void): void;
137
- describeEnvironmentStatus(args: DescribeEnvironmentStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeEnvironmentStatusCommandOutput) => void): void;
138
- /**
139
- * @public
140
- * <p>Gets a list of Cloud9 development environment identifiers.</p>
141
- */
142
- listEnvironments(args: ListEnvironmentsCommandInput, options?: __HttpHandlerOptions): Promise<ListEnvironmentsCommandOutput>;
143
- listEnvironments(args: ListEnvironmentsCommandInput, cb: (err: any, data?: ListEnvironmentsCommandOutput) => void): void;
144
- listEnvironments(args: ListEnvironmentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEnvironmentsCommandOutput) => void): void;
145
- /**
146
- * @public
147
- * <p>Gets a list of the tags associated with an Cloud9 development environment.</p>
148
- */
149
- listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
150
- listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
151
- listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
152
- /**
153
- * @public
154
- * <p>Adds tags to an Cloud9 development environment.</p>
155
- * <important>
156
- * <p>Tags that you add to an Cloud9 environment by using this method will NOT be
157
- * automatically propagated to underlying resources.</p>
158
- * </important>
159
- */
160
- tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
161
- tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
162
- tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
163
- /**
164
- * @public
165
- * <p>Removes tags from an Cloud9 development environment.</p>
166
- */
167
- untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
168
- untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
169
- untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
170
- /**
171
- * @public
172
- * <p>Changes the settings of an existing Cloud9 development environment.</p>
173
- */
174
- updateEnvironment(args: UpdateEnvironmentCommandInput, options?: __HttpHandlerOptions): Promise<UpdateEnvironmentCommandOutput>;
175
- updateEnvironment(args: UpdateEnvironmentCommandInput, cb: (err: any, data?: UpdateEnvironmentCommandOutput) => void): void;
176
- updateEnvironment(args: UpdateEnvironmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateEnvironmentCommandOutput) => void): void;
177
- /**
178
- * @public
179
- * <p>Changes the settings of an existing environment member for an Cloud9 development
180
- * environment.</p>
181
- */
182
- updateEnvironmentMembership(args: UpdateEnvironmentMembershipCommandInput, options?: __HttpHandlerOptions): Promise<UpdateEnvironmentMembershipCommandOutput>;
183
- updateEnvironmentMembership(args: UpdateEnvironmentMembershipCommandInput, cb: (err: any, data?: UpdateEnvironmentMembershipCommandOutput) => void): void;
184
- updateEnvironmentMembership(args: UpdateEnvironmentMembershipCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateEnvironmentMembershipCommandOutput) => void): void;
166
+ export declare class Cloud9 extends Cloud9Client implements Cloud9 {
185
167
  }
@@ -52,7 +52,7 @@ import {
52
52
  UpdateEnvironmentMembershipCommandInput,
53
53
  UpdateEnvironmentMembershipCommandOutput,
54
54
  } from "./commands/UpdateEnvironmentMembershipCommand";
55
- export declare class Cloud9 extends Cloud9Client {
55
+ export interface Cloud9 {
56
56
  createEnvironmentEC2(
57
57
  args: CreateEnvironmentEC2CommandInput,
58
58
  options?: __HttpHandlerOptions
@@ -223,3 +223,4 @@ export declare class Cloud9 extends Cloud9Client {
223
223
  cb: (err: any, data?: UpdateEnvironmentMembershipCommandOutput) => void
224
224
  ): void;
225
225
  }
226
+ export declare class Cloud9 extends Cloud9Client implements Cloud9 {}
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.315.0",
4
+ "version": "3.319.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.315.0",
24
+ "@aws-sdk/client-sts": "3.319.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.315.0",
26
+ "@aws-sdk/credential-provider-node": "3.319.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.310.0",
28
28
  "@aws-sdk/hash-node": "3.310.0",
29
29
  "@aws-sdk/invalid-dependency": "3.310.0",
@@ -36,19 +36,19 @@
36
36
  "@aws-sdk/middleware-serde": "3.310.0",
37
37
  "@aws-sdk/middleware-signing": "3.310.0",
38
38
  "@aws-sdk/middleware-stack": "3.310.0",
39
- "@aws-sdk/middleware-user-agent": "3.310.0",
39
+ "@aws-sdk/middleware-user-agent": "3.319.0",
40
40
  "@aws-sdk/node-config-provider": "3.310.0",
41
41
  "@aws-sdk/node-http-handler": "3.310.0",
42
42
  "@aws-sdk/protocol-http": "3.310.0",
43
- "@aws-sdk/smithy-client": "3.315.0",
43
+ "@aws-sdk/smithy-client": "3.316.0",
44
44
  "@aws-sdk/types": "3.310.0",
45
45
  "@aws-sdk/url-parser": "3.310.0",
46
46
  "@aws-sdk/util-base64": "3.310.0",
47
47
  "@aws-sdk/util-body-length-browser": "3.310.0",
48
48
  "@aws-sdk/util-body-length-node": "3.310.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.315.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.315.0",
51
- "@aws-sdk/util-endpoints": "3.310.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.316.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.316.0",
51
+ "@aws-sdk/util-endpoints": "3.319.0",
52
52
  "@aws-sdk/util-retry": "3.310.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.310.0",
54
54
  "@aws-sdk/util-user-agent-node": "3.310.0",