@aws-sdk/client-cloud9 3.489.0 → 3.495.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 (29) hide show
  1. package/dist-cjs/Cloud9.js +1 -37
  2. package/dist-cjs/Cloud9Client.js +1 -43
  3. package/dist-cjs/commands/CreateEnvironmentEC2Command.js +1 -29
  4. package/dist-cjs/commands/CreateEnvironmentMembershipCommand.js +1 -28
  5. package/dist-cjs/commands/DeleteEnvironmentCommand.js +1 -28
  6. package/dist-cjs/commands/DeleteEnvironmentMembershipCommand.js +1 -28
  7. package/dist-cjs/commands/DescribeEnvironmentMembershipsCommand.js +1 -28
  8. package/dist-cjs/commands/DescribeEnvironmentStatusCommand.js +1 -28
  9. package/dist-cjs/commands/DescribeEnvironmentsCommand.js +1 -29
  10. package/dist-cjs/commands/ListEnvironmentsCommand.js +1 -28
  11. package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -29
  12. package/dist-cjs/commands/TagResourceCommand.js +1 -29
  13. package/dist-cjs/commands/UntagResourceCommand.js +1 -29
  14. package/dist-cjs/commands/UpdateEnvironmentCommand.js +1 -29
  15. package/dist-cjs/commands/UpdateEnvironmentMembershipCommand.js +1 -28
  16. package/dist-cjs/commands/index.js +1 -16
  17. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  18. package/dist-cjs/extensionConfiguration.js +1 -2
  19. package/dist-cjs/index.js +1590 -11
  20. package/dist-cjs/models/Cloud9ServiceException.js +1 -12
  21. package/dist-cjs/models/index.js +1 -4
  22. package/dist-cjs/models/models_0.js +1 -217
  23. package/dist-cjs/pagination/DescribeEnvironmentMembershipsPaginator.js +1 -7
  24. package/dist-cjs/pagination/Interfaces.js +1 -2
  25. package/dist-cjs/pagination/ListEnvironmentsPaginator.js +1 -7
  26. package/dist-cjs/pagination/index.js +1 -6
  27. package/dist-cjs/protocols/Aws_json1_1.js +1 -908
  28. package/dist-cjs/runtimeExtensions.js +1 -22
  29. package/package.json +40 -40
@@ -1,12 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Cloud9ServiceException = exports.__ServiceException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
- class Cloud9ServiceException extends smithy_client_1.ServiceException {
7
- constructor(options) {
8
- super(options);
9
- Object.setPrototypeOf(this, Cloud9ServiceException.prototype);
10
- }
11
- }
12
- exports.Cloud9ServiceException = Cloud9ServiceException;
1
+ module.exports = require("../index.js");
@@ -1,4 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./models_0"), exports);
1
+ module.exports = require("../index.js");
@@ -1,217 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateEnvironmentRequestFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.ListTagsForResourceResponseFilterSensitiveLog = exports.DescribeEnvironmentsResultFilterSensitiveLog = exports.EnvironmentFilterSensitiveLog = exports.CreateEnvironmentEC2RequestFilterSensitiveLog = exports.TagFilterSensitiveLog = exports.ManagedCredentialsAction = exports.ConcurrentAccessException = exports.EnvironmentStatus = exports.EnvironmentType = exports.ManagedCredentialsStatus = exports.EnvironmentLifecycleStatus = exports.Permissions = exports.MemberPermissions = exports.TooManyRequestsException = exports.NotFoundException = exports.LimitExceededException = exports.InternalServerErrorException = exports.ForbiddenException = exports.ConnectionType = exports.ConflictException = exports.BadRequestException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- const Cloud9ServiceException_1 = require("./Cloud9ServiceException");
6
- class BadRequestException extends Cloud9ServiceException_1.Cloud9ServiceException {
7
- constructor(opts) {
8
- super({
9
- name: "BadRequestException",
10
- $fault: "client",
11
- ...opts,
12
- });
13
- this.name = "BadRequestException";
14
- this.$fault = "client";
15
- Object.setPrototypeOf(this, BadRequestException.prototype);
16
- this.className = opts.className;
17
- this.code = opts.code;
18
- }
19
- }
20
- exports.BadRequestException = BadRequestException;
21
- class ConflictException extends Cloud9ServiceException_1.Cloud9ServiceException {
22
- constructor(opts) {
23
- super({
24
- name: "ConflictException",
25
- $fault: "client",
26
- ...opts,
27
- });
28
- this.name = "ConflictException";
29
- this.$fault = "client";
30
- Object.setPrototypeOf(this, ConflictException.prototype);
31
- this.className = opts.className;
32
- this.code = opts.code;
33
- }
34
- }
35
- exports.ConflictException = ConflictException;
36
- exports.ConnectionType = {
37
- CONNECT_SSH: "CONNECT_SSH",
38
- CONNECT_SSM: "CONNECT_SSM",
39
- };
40
- class ForbiddenException extends Cloud9ServiceException_1.Cloud9ServiceException {
41
- constructor(opts) {
42
- super({
43
- name: "ForbiddenException",
44
- $fault: "client",
45
- ...opts,
46
- });
47
- this.name = "ForbiddenException";
48
- this.$fault = "client";
49
- Object.setPrototypeOf(this, ForbiddenException.prototype);
50
- this.className = opts.className;
51
- this.code = opts.code;
52
- }
53
- }
54
- exports.ForbiddenException = ForbiddenException;
55
- class InternalServerErrorException extends Cloud9ServiceException_1.Cloud9ServiceException {
56
- constructor(opts) {
57
- super({
58
- name: "InternalServerErrorException",
59
- $fault: "server",
60
- ...opts,
61
- });
62
- this.name = "InternalServerErrorException";
63
- this.$fault = "server";
64
- Object.setPrototypeOf(this, InternalServerErrorException.prototype);
65
- this.className = opts.className;
66
- this.code = opts.code;
67
- }
68
- }
69
- exports.InternalServerErrorException = InternalServerErrorException;
70
- class LimitExceededException extends Cloud9ServiceException_1.Cloud9ServiceException {
71
- constructor(opts) {
72
- super({
73
- name: "LimitExceededException",
74
- $fault: "client",
75
- ...opts,
76
- });
77
- this.name = "LimitExceededException";
78
- this.$fault = "client";
79
- Object.setPrototypeOf(this, LimitExceededException.prototype);
80
- this.className = opts.className;
81
- this.code = opts.code;
82
- }
83
- }
84
- exports.LimitExceededException = LimitExceededException;
85
- class NotFoundException extends Cloud9ServiceException_1.Cloud9ServiceException {
86
- constructor(opts) {
87
- super({
88
- name: "NotFoundException",
89
- $fault: "client",
90
- ...opts,
91
- });
92
- this.name = "NotFoundException";
93
- this.$fault = "client";
94
- Object.setPrototypeOf(this, NotFoundException.prototype);
95
- this.className = opts.className;
96
- this.code = opts.code;
97
- }
98
- }
99
- exports.NotFoundException = NotFoundException;
100
- class TooManyRequestsException extends Cloud9ServiceException_1.Cloud9ServiceException {
101
- constructor(opts) {
102
- super({
103
- name: "TooManyRequestsException",
104
- $fault: "client",
105
- ...opts,
106
- });
107
- this.name = "TooManyRequestsException";
108
- this.$fault = "client";
109
- Object.setPrototypeOf(this, TooManyRequestsException.prototype);
110
- this.className = opts.className;
111
- this.code = opts.code;
112
- }
113
- }
114
- exports.TooManyRequestsException = TooManyRequestsException;
115
- exports.MemberPermissions = {
116
- READ_ONLY: "read-only",
117
- READ_WRITE: "read-write",
118
- };
119
- exports.Permissions = {
120
- OWNER: "owner",
121
- READ_ONLY: "read-only",
122
- READ_WRITE: "read-write",
123
- };
124
- exports.EnvironmentLifecycleStatus = {
125
- CREATED: "CREATED",
126
- CREATE_FAILED: "CREATE_FAILED",
127
- CREATING: "CREATING",
128
- DELETE_FAILED: "DELETE_FAILED",
129
- DELETING: "DELETING",
130
- };
131
- exports.ManagedCredentialsStatus = {
132
- DISABLED_BY_COLLABORATOR: "DISABLED_BY_COLLABORATOR",
133
- DISABLED_BY_DEFAULT: "DISABLED_BY_DEFAULT",
134
- DISABLED_BY_OWNER: "DISABLED_BY_OWNER",
135
- ENABLED_BY_OWNER: "ENABLED_BY_OWNER",
136
- ENABLED_ON_CREATE: "ENABLED_ON_CREATE",
137
- FAILED_REMOVAL_BY_COLLABORATOR: "FAILED_REMOVAL_BY_COLLABORATOR",
138
- FAILED_REMOVAL_BY_OWNER: "FAILED_REMOVAL_BY_OWNER",
139
- PENDING_REMOVAL_BY_COLLABORATOR: "PENDING_REMOVAL_BY_COLLABORATOR",
140
- PENDING_REMOVAL_BY_OWNER: "PENDING_REMOVAL_BY_OWNER",
141
- PENDING_START_REMOVAL_BY_COLLABORATOR: "PENDING_START_REMOVAL_BY_COLLABORATOR",
142
- PENDING_START_REMOVAL_BY_OWNER: "PENDING_START_REMOVAL_BY_OWNER",
143
- };
144
- exports.EnvironmentType = {
145
- EC2: "ec2",
146
- SSH: "ssh",
147
- };
148
- exports.EnvironmentStatus = {
149
- CONNECTING: "connecting",
150
- CREATING: "creating",
151
- DELETING: "deleting",
152
- ERROR: "error",
153
- READY: "ready",
154
- STOPPED: "stopped",
155
- STOPPING: "stopping",
156
- };
157
- class ConcurrentAccessException extends Cloud9ServiceException_1.Cloud9ServiceException {
158
- constructor(opts) {
159
- super({
160
- name: "ConcurrentAccessException",
161
- $fault: "client",
162
- ...opts,
163
- });
164
- this.name = "ConcurrentAccessException";
165
- this.$fault = "client";
166
- Object.setPrototypeOf(this, ConcurrentAccessException.prototype);
167
- this.className = opts.className;
168
- this.code = opts.code;
169
- }
170
- }
171
- exports.ConcurrentAccessException = ConcurrentAccessException;
172
- exports.ManagedCredentialsAction = {
173
- DISABLE: "DISABLE",
174
- ENABLE: "ENABLE",
175
- };
176
- const TagFilterSensitiveLog = (obj) => ({
177
- ...obj,
178
- ...(obj.Key && { Key: smithy_client_1.SENSITIVE_STRING }),
179
- ...(obj.Value && { Value: smithy_client_1.SENSITIVE_STRING }),
180
- });
181
- exports.TagFilterSensitiveLog = TagFilterSensitiveLog;
182
- const CreateEnvironmentEC2RequestFilterSensitiveLog = (obj) => ({
183
- ...obj,
184
- ...(obj.description && { description: smithy_client_1.SENSITIVE_STRING }),
185
- ...(obj.tags && { tags: smithy_client_1.SENSITIVE_STRING }),
186
- });
187
- exports.CreateEnvironmentEC2RequestFilterSensitiveLog = CreateEnvironmentEC2RequestFilterSensitiveLog;
188
- const EnvironmentFilterSensitiveLog = (obj) => ({
189
- ...obj,
190
- ...(obj.description && { description: smithy_client_1.SENSITIVE_STRING }),
191
- });
192
- exports.EnvironmentFilterSensitiveLog = EnvironmentFilterSensitiveLog;
193
- const DescribeEnvironmentsResultFilterSensitiveLog = (obj) => ({
194
- ...obj,
195
- ...(obj.environments && { environments: obj.environments.map((item) => (0, exports.EnvironmentFilterSensitiveLog)(item)) }),
196
- });
197
- exports.DescribeEnvironmentsResultFilterSensitiveLog = DescribeEnvironmentsResultFilterSensitiveLog;
198
- const ListTagsForResourceResponseFilterSensitiveLog = (obj) => ({
199
- ...obj,
200
- ...(obj.Tags && { Tags: smithy_client_1.SENSITIVE_STRING }),
201
- });
202
- exports.ListTagsForResourceResponseFilterSensitiveLog = ListTagsForResourceResponseFilterSensitiveLog;
203
- const TagResourceRequestFilterSensitiveLog = (obj) => ({
204
- ...obj,
205
- ...(obj.Tags && { Tags: smithy_client_1.SENSITIVE_STRING }),
206
- });
207
- exports.TagResourceRequestFilterSensitiveLog = TagResourceRequestFilterSensitiveLog;
208
- const UntagResourceRequestFilterSensitiveLog = (obj) => ({
209
- ...obj,
210
- ...(obj.TagKeys && { TagKeys: smithy_client_1.SENSITIVE_STRING }),
211
- });
212
- exports.UntagResourceRequestFilterSensitiveLog = UntagResourceRequestFilterSensitiveLog;
213
- const UpdateEnvironmentRequestFilterSensitiveLog = (obj) => ({
214
- ...obj,
215
- ...(obj.description && { description: smithy_client_1.SENSITIVE_STRING }),
216
- });
217
- exports.UpdateEnvironmentRequestFilterSensitiveLog = UpdateEnvironmentRequestFilterSensitiveLog;
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateDescribeEnvironmentMemberships = void 0;
4
- const core_1 = require("@smithy/core");
5
- const Cloud9Client_1 = require("../Cloud9Client");
6
- const DescribeEnvironmentMembershipsCommand_1 = require("../commands/DescribeEnvironmentMembershipsCommand");
7
- exports.paginateDescribeEnvironmentMemberships = (0, core_1.createPaginator)(Cloud9Client_1.Cloud9Client, DescribeEnvironmentMembershipsCommand_1.DescribeEnvironmentMembershipsCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,2 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListEnvironments = void 0;
4
- const core_1 = require("@smithy/core");
5
- const Cloud9Client_1 = require("../Cloud9Client");
6
- const ListEnvironmentsCommand_1 = require("../commands/ListEnvironmentsCommand");
7
- exports.paginateListEnvironments = (0, core_1.createPaginator)(Cloud9Client_1.Cloud9Client, ListEnvironmentsCommand_1.ListEnvironmentsCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,6 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./DescribeEnvironmentMembershipsPaginator"), exports);
5
- tslib_1.__exportStar(require("./Interfaces"), exports);
6
- tslib_1.__exportStar(require("./ListEnvironmentsPaginator"), exports);
1
+ module.exports = require("../index.js");