@aws-sdk/client-codecatalyst 3.332.0 → 3.335.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.
- package/README.md +12 -0
- package/dist-cjs/CodeCatalyst.js +2 -0
- package/dist-cjs/commands/ListDevEnvironmentSessionsCommand.js +44 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/pagination/ListDevEnvironmentSessionsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +96 -2
- package/dist-es/CodeCatalyst.js +2 -0
- package/dist-es/commands/ListDevEnvironmentSessionsCommand.js +40 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/pagination/ListDevEnvironmentSessionsPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +92 -1
- package/dist-types/CodeCatalyst.d.ts +11 -0
- package/dist-types/CodeCatalystClient.d.ts +10 -4
- package/dist-types/commands/ListDevEnvironmentSessionsCommand.d.ts +102 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +65 -0
- package/dist-types/pagination/ListDevEnvironmentSessionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +11 -2
- package/dist-types/runtimeConfig.browser.d.ts +12 -12
- package/dist-types/runtimeConfig.d.ts +8 -8
- package/dist-types/runtimeConfig.native.d.ts +13 -13
- package/dist-types/runtimeConfig.shared.d.ts +4 -4
- package/dist-types/ts3.4/CodeCatalyst.d.ts +17 -0
- package/dist-types/ts3.4/CodeCatalystClient.d.ts +13 -5
- package/dist-types/ts3.4/commands/ListDevEnvironmentSessionsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -2
- package/dist-types/ts3.4/models/models_0.d.ts +18 -0
- package/dist-types/ts3.4/pagination/ListDevEnvironmentSessionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +14 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +21 -15
- package/dist-types/ts3.4/runtimeConfig.d.ts +14 -11
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +24 -15
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -4
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -63,6 +63,10 @@ and the billing plan for the space.</p>
|
|
|
63
63
|
</li>
|
|
64
64
|
<li>
|
|
65
65
|
<p>
|
|
66
|
+
<a>ListDevEnvironmentSessions</a>, which retrieves a list of active Dev Environment sessions in a project.</p>
|
|
67
|
+
</li>
|
|
68
|
+
<li>
|
|
69
|
+
<p>
|
|
66
70
|
<a>ListProjects</a>, which retrieves a list of projects in a space.</p>
|
|
67
71
|
</li>
|
|
68
72
|
<li>
|
|
@@ -429,6 +433,14 @@ ListDevEnvironments
|
|
|
429
433
|
|
|
430
434
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codecatalyst/classes/listdevenvironmentscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codecatalyst/interfaces/listdevenvironmentscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codecatalyst/interfaces/listdevenvironmentscommandoutput.html)
|
|
431
435
|
|
|
436
|
+
</details>
|
|
437
|
+
<details>
|
|
438
|
+
<summary>
|
|
439
|
+
ListDevEnvironmentSessions
|
|
440
|
+
</summary>
|
|
441
|
+
|
|
442
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codecatalyst/classes/listdevenvironmentsessionscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codecatalyst/interfaces/listdevenvironmentsessionscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codecatalyst/interfaces/listdevenvironmentsessionscommandoutput.html)
|
|
443
|
+
|
|
432
444
|
</details>
|
|
433
445
|
<details>
|
|
434
446
|
<summary>
|
package/dist-cjs/CodeCatalyst.js
CHANGED
|
@@ -17,6 +17,7 @@ const GetSubscriptionCommand_1 = require("./commands/GetSubscriptionCommand");
|
|
|
17
17
|
const GetUserDetailsCommand_1 = require("./commands/GetUserDetailsCommand");
|
|
18
18
|
const ListAccessTokensCommand_1 = require("./commands/ListAccessTokensCommand");
|
|
19
19
|
const ListDevEnvironmentsCommand_1 = require("./commands/ListDevEnvironmentsCommand");
|
|
20
|
+
const ListDevEnvironmentSessionsCommand_1 = require("./commands/ListDevEnvironmentSessionsCommand");
|
|
20
21
|
const ListEventLogsCommand_1 = require("./commands/ListEventLogsCommand");
|
|
21
22
|
const ListProjectsCommand_1 = require("./commands/ListProjectsCommand");
|
|
22
23
|
const ListSourceRepositoriesCommand_1 = require("./commands/ListSourceRepositoriesCommand");
|
|
@@ -43,6 +44,7 @@ const commands = {
|
|
|
43
44
|
GetUserDetailsCommand: GetUserDetailsCommand_1.GetUserDetailsCommand,
|
|
44
45
|
ListAccessTokensCommand: ListAccessTokensCommand_1.ListAccessTokensCommand,
|
|
45
46
|
ListDevEnvironmentsCommand: ListDevEnvironmentsCommand_1.ListDevEnvironmentsCommand,
|
|
47
|
+
ListDevEnvironmentSessionsCommand: ListDevEnvironmentSessionsCommand_1.ListDevEnvironmentSessionsCommand,
|
|
46
48
|
ListEventLogsCommand: ListEventLogsCommand_1.ListEventLogsCommand,
|
|
47
49
|
ListProjectsCommand: ListProjectsCommand_1.ListProjectsCommand,
|
|
48
50
|
ListSourceRepositoriesCommand: ListSourceRepositoriesCommand_1.ListSourceRepositoriesCommand,
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListDevEnvironmentSessionsCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class ListDevEnvironmentSessionsCommand extends smithy_client_1.Command {
|
|
9
|
+
static getEndpointParameterInstructions() {
|
|
10
|
+
return {
|
|
11
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
12
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
13
|
+
Region: { type: "builtInParams", name: "region" },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
constructor(input) {
|
|
17
|
+
super();
|
|
18
|
+
this.input = input;
|
|
19
|
+
}
|
|
20
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
21
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListDevEnvironmentSessionsCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "CodeCatalystClient";
|
|
26
|
+
const commandName = "ListDevEnvironmentSessionsCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: (_) => _,
|
|
32
|
+
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
};
|
|
34
|
+
const { requestHandler } = configuration;
|
|
35
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
36
|
+
}
|
|
37
|
+
serialize(input, context) {
|
|
38
|
+
return (0, Aws_restJson1_1.se_ListDevEnvironmentSessionsCommand)(input, context);
|
|
39
|
+
}
|
|
40
|
+
deserialize(output, context) {
|
|
41
|
+
return (0, Aws_restJson1_1.de_ListDevEnvironmentSessionsCommand)(output, context);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
exports.ListDevEnvironmentSessionsCommand = ListDevEnvironmentSessionsCommand;
|
|
@@ -14,6 +14,7 @@ tslib_1.__exportStar(require("./GetSpaceCommand"), exports);
|
|
|
14
14
|
tslib_1.__exportStar(require("./GetSubscriptionCommand"), exports);
|
|
15
15
|
tslib_1.__exportStar(require("./GetUserDetailsCommand"), exports);
|
|
16
16
|
tslib_1.__exportStar(require("./ListAccessTokensCommand"), exports);
|
|
17
|
+
tslib_1.__exportStar(require("./ListDevEnvironmentSessionsCommand"), exports);
|
|
17
18
|
tslib_1.__exportStar(require("./ListDevEnvironmentsCommand"), exports);
|
|
18
19
|
tslib_1.__exportStar(require("./ListEventLogsCommand"), exports);
|
|
19
20
|
tslib_1.__exportStar(require("./ListProjectsCommand"), exports);
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListDevEnvironmentSessions = void 0;
|
|
4
|
+
const CodeCatalystClient_1 = require("../CodeCatalystClient");
|
|
5
|
+
const ListDevEnvironmentSessionsCommand_1 = require("../commands/ListDevEnvironmentSessionsCommand");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListDevEnvironmentSessionsCommand_1.ListDevEnvironmentSessionsCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListDevEnvironmentSessions(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.nextToken = token;
|
|
15
|
+
input["maxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof CodeCatalystClient_1.CodeCatalystClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected CodeCatalyst | CodeCatalystClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.nextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListDevEnvironmentSessions = paginateListDevEnvironmentSessions;
|
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
5
5
|
tslib_1.__exportStar(require("./ListAccessTokensPaginator"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./ListDevEnvironmentSessionsPaginator"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./ListDevEnvironmentsPaginator"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./ListEventLogsPaginator"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./ListProjectsPaginator"), exports);
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
|
|
3
|
+
exports.de_StopDevEnvironmentSessionCommand = exports.de_StopDevEnvironmentCommand = exports.de_StartDevEnvironmentSessionCommand = exports.de_StartDevEnvironmentCommand = exports.de_ListSpacesCommand = exports.de_ListSourceRepositoryBranchesCommand = exports.de_ListSourceRepositoriesCommand = exports.de_ListProjectsCommand = exports.de_ListEventLogsCommand = exports.de_ListDevEnvironmentSessionsCommand = exports.de_ListDevEnvironmentsCommand = exports.de_ListAccessTokensCommand = exports.de_GetUserDetailsCommand = exports.de_GetSubscriptionCommand = exports.de_GetSpaceCommand = exports.de_GetSourceRepositoryCloneUrlsCommand = exports.de_GetProjectCommand = exports.de_GetDevEnvironmentCommand = exports.de_DeleteDevEnvironmentCommand = exports.de_DeleteAccessTokenCommand = exports.de_CreateSourceRepositoryBranchCommand = exports.de_CreateProjectCommand = exports.de_CreateDevEnvironmentCommand = exports.de_CreateAccessTokenCommand = exports.se_VerifySessionCommand = exports.se_UpdateDevEnvironmentCommand = exports.se_StopDevEnvironmentSessionCommand = exports.se_StopDevEnvironmentCommand = exports.se_StartDevEnvironmentSessionCommand = exports.se_StartDevEnvironmentCommand = exports.se_ListSpacesCommand = exports.se_ListSourceRepositoryBranchesCommand = exports.se_ListSourceRepositoriesCommand = exports.se_ListProjectsCommand = exports.se_ListEventLogsCommand = exports.se_ListDevEnvironmentSessionsCommand = exports.se_ListDevEnvironmentsCommand = exports.se_ListAccessTokensCommand = exports.se_GetUserDetailsCommand = exports.se_GetSubscriptionCommand = exports.se_GetSpaceCommand = exports.se_GetSourceRepositoryCloneUrlsCommand = exports.se_GetProjectCommand = exports.se_GetDevEnvironmentCommand = exports.se_DeleteDevEnvironmentCommand = exports.se_DeleteAccessTokenCommand = exports.se_CreateSourceRepositoryBranchCommand = exports.se_CreateProjectCommand = exports.se_CreateDevEnvironmentCommand = exports.se_CreateAccessTokenCommand = void 0;
|
|
4
|
+
exports.de_VerifySessionCommand = exports.de_UpdateDevEnvironmentCommand = void 0;
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const protocol_http_1 = require("@smithy/protocol-http");
|
|
6
7
|
const CodeCatalystServiceException_1 = require("../models/CodeCatalystServiceException");
|
|
7
8
|
const models_0_1 = require("../models/models_0");
|
|
8
9
|
const se_CreateAccessTokenCommand = async (input, context) => {
|
|
@@ -304,6 +305,32 @@ const se_ListDevEnvironmentsCommand = async (input, context) => {
|
|
|
304
305
|
});
|
|
305
306
|
};
|
|
306
307
|
exports.se_ListDevEnvironmentsCommand = se_ListDevEnvironmentsCommand;
|
|
308
|
+
const se_ListDevEnvironmentSessionsCommand = async (input, context) => {
|
|
309
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
310
|
+
const headers = {
|
|
311
|
+
"content-type": "application/json",
|
|
312
|
+
};
|
|
313
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
314
|
+
"/v1/spaces/{spaceName}/projects/{projectName}/devEnvironments/{devEnvironmentId}/sessions";
|
|
315
|
+
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "spaceName", () => input.spaceName, "{spaceName}", false);
|
|
316
|
+
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "projectName", () => input.projectName, "{projectName}", false);
|
|
317
|
+
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "devEnvironmentId", () => input.devEnvironmentId, "{devEnvironmentId}", false);
|
|
318
|
+
let body;
|
|
319
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
320
|
+
maxResults: [],
|
|
321
|
+
nextToken: [],
|
|
322
|
+
}));
|
|
323
|
+
return new protocol_http_1.HttpRequest({
|
|
324
|
+
protocol,
|
|
325
|
+
hostname,
|
|
326
|
+
port,
|
|
327
|
+
method: "POST",
|
|
328
|
+
headers,
|
|
329
|
+
path: resolvedPath,
|
|
330
|
+
body,
|
|
331
|
+
});
|
|
332
|
+
};
|
|
333
|
+
exports.se_ListDevEnvironmentSessionsCommand = se_ListDevEnvironmentSessionsCommand;
|
|
307
334
|
const se_ListEventLogsCommand = async (input, context) => {
|
|
308
335
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
309
336
|
const headers = {
|
|
@@ -1287,6 +1314,56 @@ const de_ListDevEnvironmentsCommandError = async (output, context) => {
|
|
|
1287
1314
|
});
|
|
1288
1315
|
}
|
|
1289
1316
|
};
|
|
1317
|
+
const de_ListDevEnvironmentSessionsCommand = async (output, context) => {
|
|
1318
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1319
|
+
return de_ListDevEnvironmentSessionsCommandError(output, context);
|
|
1320
|
+
}
|
|
1321
|
+
const contents = (0, smithy_client_1.map)({
|
|
1322
|
+
$metadata: deserializeMetadata(output),
|
|
1323
|
+
});
|
|
1324
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1325
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1326
|
+
items: (_) => de_DevEnvironmentSessionsSummaryList(_, context),
|
|
1327
|
+
nextToken: smithy_client_1.expectString,
|
|
1328
|
+
});
|
|
1329
|
+
Object.assign(contents, doc);
|
|
1330
|
+
return contents;
|
|
1331
|
+
};
|
|
1332
|
+
exports.de_ListDevEnvironmentSessionsCommand = de_ListDevEnvironmentSessionsCommand;
|
|
1333
|
+
const de_ListDevEnvironmentSessionsCommandError = async (output, context) => {
|
|
1334
|
+
const parsedOutput = {
|
|
1335
|
+
...output,
|
|
1336
|
+
body: await parseErrorBody(output.body, context),
|
|
1337
|
+
};
|
|
1338
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1339
|
+
switch (errorCode) {
|
|
1340
|
+
case "AccessDeniedException":
|
|
1341
|
+
case "com.amazonaws.codecatalyst#AccessDeniedException":
|
|
1342
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1343
|
+
case "ConflictException":
|
|
1344
|
+
case "com.amazonaws.codecatalyst#ConflictException":
|
|
1345
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1346
|
+
case "ResourceNotFoundException":
|
|
1347
|
+
case "com.amazonaws.codecatalyst#ResourceNotFoundException":
|
|
1348
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1349
|
+
case "ServiceQuotaExceededException":
|
|
1350
|
+
case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
|
|
1351
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1352
|
+
case "ThrottlingException":
|
|
1353
|
+
case "com.amazonaws.codecatalyst#ThrottlingException":
|
|
1354
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1355
|
+
case "ValidationException":
|
|
1356
|
+
case "com.amazonaws.codecatalyst#ValidationException":
|
|
1357
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1358
|
+
default:
|
|
1359
|
+
const parsedBody = parsedOutput.body;
|
|
1360
|
+
return throwDefaultError({
|
|
1361
|
+
output,
|
|
1362
|
+
parsedBody,
|
|
1363
|
+
errorCode,
|
|
1364
|
+
});
|
|
1365
|
+
}
|
|
1366
|
+
};
|
|
1290
1367
|
const de_ListEventLogsCommand = async (output, context) => {
|
|
1291
1368
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1292
1369
|
return de_ListEventLogsCommandError(output, context);
|
|
@@ -1945,6 +2022,23 @@ const de_AccessTokenSummary = (output, context) => {
|
|
|
1945
2022
|
name: smithy_client_1.expectString,
|
|
1946
2023
|
});
|
|
1947
2024
|
};
|
|
2025
|
+
const de_DevEnvironmentSessionsSummaryList = (output, context) => {
|
|
2026
|
+
const retVal = (output || [])
|
|
2027
|
+
.filter((e) => e != null)
|
|
2028
|
+
.map((entry) => {
|
|
2029
|
+
return de_DevEnvironmentSessionSummary(entry, context);
|
|
2030
|
+
});
|
|
2031
|
+
return retVal;
|
|
2032
|
+
};
|
|
2033
|
+
const de_DevEnvironmentSessionSummary = (output, context) => {
|
|
2034
|
+
return (0, smithy_client_1.take)(output, {
|
|
2035
|
+
devEnvironmentId: smithy_client_1.expectString,
|
|
2036
|
+
id: smithy_client_1.expectString,
|
|
2037
|
+
projectName: smithy_client_1.expectString,
|
|
2038
|
+
spaceName: smithy_client_1.expectString,
|
|
2039
|
+
startedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
2040
|
+
});
|
|
2041
|
+
};
|
|
1948
2042
|
const de_DevEnvironmentSummary = (output, context) => {
|
|
1949
2043
|
return (0, smithy_client_1.take)(output, {
|
|
1950
2044
|
alias: smithy_client_1.expectString,
|
package/dist-es/CodeCatalyst.js
CHANGED
|
@@ -14,6 +14,7 @@ import { GetSubscriptionCommand, } from "./commands/GetSubscriptionCommand";
|
|
|
14
14
|
import { GetUserDetailsCommand, } from "./commands/GetUserDetailsCommand";
|
|
15
15
|
import { ListAccessTokensCommand, } from "./commands/ListAccessTokensCommand";
|
|
16
16
|
import { ListDevEnvironmentsCommand, } from "./commands/ListDevEnvironmentsCommand";
|
|
17
|
+
import { ListDevEnvironmentSessionsCommand, } from "./commands/ListDevEnvironmentSessionsCommand";
|
|
17
18
|
import { ListEventLogsCommand, } from "./commands/ListEventLogsCommand";
|
|
18
19
|
import { ListProjectsCommand, } from "./commands/ListProjectsCommand";
|
|
19
20
|
import { ListSourceRepositoriesCommand, } from "./commands/ListSourceRepositoriesCommand";
|
|
@@ -40,6 +41,7 @@ const commands = {
|
|
|
40
41
|
GetUserDetailsCommand,
|
|
41
42
|
ListAccessTokensCommand,
|
|
42
43
|
ListDevEnvironmentsCommand,
|
|
44
|
+
ListDevEnvironmentSessionsCommand,
|
|
43
45
|
ListEventLogsCommand,
|
|
44
46
|
ListProjectsCommand,
|
|
45
47
|
ListSourceRepositoriesCommand,
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { de_ListDevEnvironmentSessionsCommand, se_ListDevEnvironmentSessionsCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export class ListDevEnvironmentSessionsCommand extends $Command {
|
|
6
|
+
static getEndpointParameterInstructions() {
|
|
7
|
+
return {
|
|
8
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
9
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
10
|
+
Region: { type: "builtInParams", name: "region" },
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
constructor(input) {
|
|
14
|
+
super();
|
|
15
|
+
this.input = input;
|
|
16
|
+
}
|
|
17
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
18
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
19
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListDevEnvironmentSessionsCommand.getEndpointParameterInstructions()));
|
|
20
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
21
|
+
const { logger } = configuration;
|
|
22
|
+
const clientName = "CodeCatalystClient";
|
|
23
|
+
const commandName = "ListDevEnvironmentSessionsCommand";
|
|
24
|
+
const handlerExecutionContext = {
|
|
25
|
+
logger,
|
|
26
|
+
clientName,
|
|
27
|
+
commandName,
|
|
28
|
+
inputFilterSensitiveLog: (_) => _,
|
|
29
|
+
outputFilterSensitiveLog: (_) => _,
|
|
30
|
+
};
|
|
31
|
+
const { requestHandler } = configuration;
|
|
32
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
33
|
+
}
|
|
34
|
+
serialize(input, context) {
|
|
35
|
+
return se_ListDevEnvironmentSessionsCommand(input, context);
|
|
36
|
+
}
|
|
37
|
+
deserialize(output, context) {
|
|
38
|
+
return de_ListDevEnvironmentSessionsCommand(output, context);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -11,6 +11,7 @@ export * from "./GetSpaceCommand";
|
|
|
11
11
|
export * from "./GetSubscriptionCommand";
|
|
12
12
|
export * from "./GetUserDetailsCommand";
|
|
13
13
|
export * from "./ListAccessTokensCommand";
|
|
14
|
+
export * from "./ListDevEnvironmentSessionsCommand";
|
|
14
15
|
export * from "./ListDevEnvironmentsCommand";
|
|
15
16
|
export * from "./ListEventLogsCommand";
|
|
16
17
|
export * from "./ListProjectsCommand";
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { CodeCatalystClient } from "../CodeCatalystClient";
|
|
2
|
+
import { ListDevEnvironmentSessionsCommand, } from "../commands/ListDevEnvironmentSessionsCommand";
|
|
3
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
4
|
+
return await client.send(new ListDevEnvironmentSessionsCommand(input), ...args);
|
|
5
|
+
};
|
|
6
|
+
export async function* paginateListDevEnvironmentSessions(config, input, ...additionalArguments) {
|
|
7
|
+
let token = config.startingToken || undefined;
|
|
8
|
+
let hasNext = true;
|
|
9
|
+
let page;
|
|
10
|
+
while (hasNext) {
|
|
11
|
+
input.nextToken = token;
|
|
12
|
+
input["maxResults"] = config.pageSize;
|
|
13
|
+
if (config.client instanceof CodeCatalystClient) {
|
|
14
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
+
}
|
|
16
|
+
else {
|
|
17
|
+
throw new Error("Invalid client, expected CodeCatalyst | CodeCatalystClient");
|
|
18
|
+
}
|
|
19
|
+
yield page;
|
|
20
|
+
const prevToken = token;
|
|
21
|
+
token = page.nextToken;
|
|
22
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
+
}
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from "./Interfaces";
|
|
2
2
|
export * from "./ListAccessTokensPaginator";
|
|
3
|
+
export * from "./ListDevEnvironmentSessionsPaginator";
|
|
3
4
|
export * from "./ListDevEnvironmentsPaginator";
|
|
4
5
|
export * from "./ListEventLogsPaginator";
|
|
5
6
|
export * from "./ListProjectsPaginator";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
2
1
|
import { _json, decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, resolvedPath as __resolvedPath, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
3
3
|
import { CodeCatalystServiceException as __BaseException } from "../models/CodeCatalystServiceException";
|
|
4
4
|
import { AccessDeniedException, ConflictException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
|
|
5
5
|
export const se_CreateAccessTokenCommand = async (input, context) => {
|
|
@@ -287,6 +287,31 @@ export const se_ListDevEnvironmentsCommand = async (input, context) => {
|
|
|
287
287
|
body,
|
|
288
288
|
});
|
|
289
289
|
};
|
|
290
|
+
export const se_ListDevEnvironmentSessionsCommand = async (input, context) => {
|
|
291
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
292
|
+
const headers = {
|
|
293
|
+
"content-type": "application/json",
|
|
294
|
+
};
|
|
295
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
296
|
+
"/v1/spaces/{spaceName}/projects/{projectName}/devEnvironments/{devEnvironmentId}/sessions";
|
|
297
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "spaceName", () => input.spaceName, "{spaceName}", false);
|
|
298
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "projectName", () => input.projectName, "{projectName}", false);
|
|
299
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "devEnvironmentId", () => input.devEnvironmentId, "{devEnvironmentId}", false);
|
|
300
|
+
let body;
|
|
301
|
+
body = JSON.stringify(take(input, {
|
|
302
|
+
maxResults: [],
|
|
303
|
+
nextToken: [],
|
|
304
|
+
}));
|
|
305
|
+
return new __HttpRequest({
|
|
306
|
+
protocol,
|
|
307
|
+
hostname,
|
|
308
|
+
port,
|
|
309
|
+
method: "POST",
|
|
310
|
+
headers,
|
|
311
|
+
path: resolvedPath,
|
|
312
|
+
body,
|
|
313
|
+
});
|
|
314
|
+
};
|
|
290
315
|
export const se_ListEventLogsCommand = async (input, context) => {
|
|
291
316
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
292
317
|
const headers = {
|
|
@@ -1245,6 +1270,55 @@ const de_ListDevEnvironmentsCommandError = async (output, context) => {
|
|
|
1245
1270
|
});
|
|
1246
1271
|
}
|
|
1247
1272
|
};
|
|
1273
|
+
export const de_ListDevEnvironmentSessionsCommand = async (output, context) => {
|
|
1274
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1275
|
+
return de_ListDevEnvironmentSessionsCommandError(output, context);
|
|
1276
|
+
}
|
|
1277
|
+
const contents = map({
|
|
1278
|
+
$metadata: deserializeMetadata(output),
|
|
1279
|
+
});
|
|
1280
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1281
|
+
const doc = take(data, {
|
|
1282
|
+
items: (_) => de_DevEnvironmentSessionsSummaryList(_, context),
|
|
1283
|
+
nextToken: __expectString,
|
|
1284
|
+
});
|
|
1285
|
+
Object.assign(contents, doc);
|
|
1286
|
+
return contents;
|
|
1287
|
+
};
|
|
1288
|
+
const de_ListDevEnvironmentSessionsCommandError = async (output, context) => {
|
|
1289
|
+
const parsedOutput = {
|
|
1290
|
+
...output,
|
|
1291
|
+
body: await parseErrorBody(output.body, context),
|
|
1292
|
+
};
|
|
1293
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1294
|
+
switch (errorCode) {
|
|
1295
|
+
case "AccessDeniedException":
|
|
1296
|
+
case "com.amazonaws.codecatalyst#AccessDeniedException":
|
|
1297
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1298
|
+
case "ConflictException":
|
|
1299
|
+
case "com.amazonaws.codecatalyst#ConflictException":
|
|
1300
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1301
|
+
case "ResourceNotFoundException":
|
|
1302
|
+
case "com.amazonaws.codecatalyst#ResourceNotFoundException":
|
|
1303
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1304
|
+
case "ServiceQuotaExceededException":
|
|
1305
|
+
case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
|
|
1306
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1307
|
+
case "ThrottlingException":
|
|
1308
|
+
case "com.amazonaws.codecatalyst#ThrottlingException":
|
|
1309
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1310
|
+
case "ValidationException":
|
|
1311
|
+
case "com.amazonaws.codecatalyst#ValidationException":
|
|
1312
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1313
|
+
default:
|
|
1314
|
+
const parsedBody = parsedOutput.body;
|
|
1315
|
+
return throwDefaultError({
|
|
1316
|
+
output,
|
|
1317
|
+
parsedBody,
|
|
1318
|
+
errorCode,
|
|
1319
|
+
});
|
|
1320
|
+
}
|
|
1321
|
+
};
|
|
1248
1322
|
export const de_ListEventLogsCommand = async (output, context) => {
|
|
1249
1323
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1250
1324
|
return de_ListEventLogsCommandError(output, context);
|
|
@@ -1892,6 +1966,23 @@ const de_AccessTokenSummary = (output, context) => {
|
|
|
1892
1966
|
name: __expectString,
|
|
1893
1967
|
});
|
|
1894
1968
|
};
|
|
1969
|
+
const de_DevEnvironmentSessionsSummaryList = (output, context) => {
|
|
1970
|
+
const retVal = (output || [])
|
|
1971
|
+
.filter((e) => e != null)
|
|
1972
|
+
.map((entry) => {
|
|
1973
|
+
return de_DevEnvironmentSessionSummary(entry, context);
|
|
1974
|
+
});
|
|
1975
|
+
return retVal;
|
|
1976
|
+
};
|
|
1977
|
+
const de_DevEnvironmentSessionSummary = (output, context) => {
|
|
1978
|
+
return take(output, {
|
|
1979
|
+
devEnvironmentId: __expectString,
|
|
1980
|
+
id: __expectString,
|
|
1981
|
+
projectName: __expectString,
|
|
1982
|
+
spaceName: __expectString,
|
|
1983
|
+
startedTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1984
|
+
});
|
|
1985
|
+
};
|
|
1895
1986
|
const de_DevEnvironmentSummary = (output, context) => {
|
|
1896
1987
|
return take(output, {
|
|
1897
1988
|
alias: __expectString,
|
|
@@ -14,6 +14,7 @@ import { GetSubscriptionCommandInput, GetSubscriptionCommandOutput } from "./com
|
|
|
14
14
|
import { GetUserDetailsCommandInput, GetUserDetailsCommandOutput } from "./commands/GetUserDetailsCommand";
|
|
15
15
|
import { ListAccessTokensCommandInput, ListAccessTokensCommandOutput } from "./commands/ListAccessTokensCommand";
|
|
16
16
|
import { ListDevEnvironmentsCommandInput, ListDevEnvironmentsCommandOutput } from "./commands/ListDevEnvironmentsCommand";
|
|
17
|
+
import { ListDevEnvironmentSessionsCommandInput, ListDevEnvironmentSessionsCommandOutput } from "./commands/ListDevEnvironmentSessionsCommand";
|
|
17
18
|
import { ListEventLogsCommandInput, ListEventLogsCommandOutput } from "./commands/ListEventLogsCommand";
|
|
18
19
|
import { ListProjectsCommandInput, ListProjectsCommandOutput } from "./commands/ListProjectsCommand";
|
|
19
20
|
import { ListSourceRepositoriesCommandInput, ListSourceRepositoriesCommandOutput } from "./commands/ListSourceRepositoriesCommand";
|
|
@@ -110,6 +111,12 @@ export interface CodeCatalyst {
|
|
|
110
111
|
listDevEnvironments(args: ListDevEnvironmentsCommandInput, options?: __HttpHandlerOptions): Promise<ListDevEnvironmentsCommandOutput>;
|
|
111
112
|
listDevEnvironments(args: ListDevEnvironmentsCommandInput, cb: (err: any, data?: ListDevEnvironmentsCommandOutput) => void): void;
|
|
112
113
|
listDevEnvironments(args: ListDevEnvironmentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDevEnvironmentsCommandOutput) => void): void;
|
|
114
|
+
/**
|
|
115
|
+
* @see {@link ListDevEnvironmentSessionsCommand}
|
|
116
|
+
*/
|
|
117
|
+
listDevEnvironmentSessions(args: ListDevEnvironmentSessionsCommandInput, options?: __HttpHandlerOptions): Promise<ListDevEnvironmentSessionsCommandOutput>;
|
|
118
|
+
listDevEnvironmentSessions(args: ListDevEnvironmentSessionsCommandInput, cb: (err: any, data?: ListDevEnvironmentSessionsCommandOutput) => void): void;
|
|
119
|
+
listDevEnvironmentSessions(args: ListDevEnvironmentSessionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDevEnvironmentSessionsCommandOutput) => void): void;
|
|
113
120
|
/**
|
|
114
121
|
* @see {@link ListEventLogsCommand}
|
|
115
122
|
*/
|
|
@@ -236,6 +243,10 @@ export interface CodeCatalyst {
|
|
|
236
243
|
* </li>
|
|
237
244
|
* <li>
|
|
238
245
|
* <p>
|
|
246
|
+
* <a>ListDevEnvironmentSessions</a>, which retrieves a list of active Dev Environment sessions in a project.</p>
|
|
247
|
+
* </li>
|
|
248
|
+
* <li>
|
|
249
|
+
* <p>
|
|
239
250
|
* <a>ListProjects</a>, which retrieves a list of projects in a space.</p>
|
|
240
251
|
* </li>
|
|
241
252
|
* <li>
|
|
@@ -4,9 +4,10 @@ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middle
|
|
|
4
4
|
import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
5
5
|
import { TokenInputConfig, TokenResolvedConfig } from "@aws-sdk/middleware-token";
|
|
6
6
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
7
|
-
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
8
7
|
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
9
|
-
import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor,
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
|
+
import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
|
|
10
|
+
import { Decoder as __Decoder, Encoder as __Encoder, Provider as __Provider, StreamCollector as __StreamCollector } from "@smithy/types";
|
|
10
11
|
import { CreateAccessTokenCommandInput, CreateAccessTokenCommandOutput } from "./commands/CreateAccessTokenCommand";
|
|
11
12
|
import { CreateDevEnvironmentCommandInput, CreateDevEnvironmentCommandOutput } from "./commands/CreateDevEnvironmentCommand";
|
|
12
13
|
import { CreateProjectCommandInput, CreateProjectCommandOutput } from "./commands/CreateProjectCommand";
|
|
@@ -21,6 +22,7 @@ import { GetSubscriptionCommandInput, GetSubscriptionCommandOutput } from "./com
|
|
|
21
22
|
import { GetUserDetailsCommandInput, GetUserDetailsCommandOutput } from "./commands/GetUserDetailsCommand";
|
|
22
23
|
import { ListAccessTokensCommandInput, ListAccessTokensCommandOutput } from "./commands/ListAccessTokensCommand";
|
|
23
24
|
import { ListDevEnvironmentsCommandInput, ListDevEnvironmentsCommandOutput } from "./commands/ListDevEnvironmentsCommand";
|
|
25
|
+
import { ListDevEnvironmentSessionsCommandInput, ListDevEnvironmentSessionsCommandOutput } from "./commands/ListDevEnvironmentSessionsCommand";
|
|
24
26
|
import { ListEventLogsCommandInput, ListEventLogsCommandOutput } from "./commands/ListEventLogsCommand";
|
|
25
27
|
import { ListProjectsCommandInput, ListProjectsCommandOutput } from "./commands/ListProjectsCommand";
|
|
26
28
|
import { ListSourceRepositoriesCommandInput, ListSourceRepositoriesCommandOutput } from "./commands/ListSourceRepositoriesCommand";
|
|
@@ -36,11 +38,11 @@ import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, Endpoi
|
|
|
36
38
|
/**
|
|
37
39
|
* @public
|
|
38
40
|
*/
|
|
39
|
-
export type ServiceInputTypes = CreateAccessTokenCommandInput | CreateDevEnvironmentCommandInput | CreateProjectCommandInput | CreateSourceRepositoryBranchCommandInput | DeleteAccessTokenCommandInput | DeleteDevEnvironmentCommandInput | GetDevEnvironmentCommandInput | GetProjectCommandInput | GetSourceRepositoryCloneUrlsCommandInput | GetSpaceCommandInput | GetSubscriptionCommandInput | GetUserDetailsCommandInput | ListAccessTokensCommandInput | ListDevEnvironmentsCommandInput | ListEventLogsCommandInput | ListProjectsCommandInput | ListSourceRepositoriesCommandInput | ListSourceRepositoryBranchesCommandInput | ListSpacesCommandInput | StartDevEnvironmentCommandInput | StartDevEnvironmentSessionCommandInput | StopDevEnvironmentCommandInput | StopDevEnvironmentSessionCommandInput | UpdateDevEnvironmentCommandInput | VerifySessionCommandInput;
|
|
41
|
+
export type ServiceInputTypes = CreateAccessTokenCommandInput | CreateDevEnvironmentCommandInput | CreateProjectCommandInput | CreateSourceRepositoryBranchCommandInput | DeleteAccessTokenCommandInput | DeleteDevEnvironmentCommandInput | GetDevEnvironmentCommandInput | GetProjectCommandInput | GetSourceRepositoryCloneUrlsCommandInput | GetSpaceCommandInput | GetSubscriptionCommandInput | GetUserDetailsCommandInput | ListAccessTokensCommandInput | ListDevEnvironmentSessionsCommandInput | ListDevEnvironmentsCommandInput | ListEventLogsCommandInput | ListProjectsCommandInput | ListSourceRepositoriesCommandInput | ListSourceRepositoryBranchesCommandInput | ListSpacesCommandInput | StartDevEnvironmentCommandInput | StartDevEnvironmentSessionCommandInput | StopDevEnvironmentCommandInput | StopDevEnvironmentSessionCommandInput | UpdateDevEnvironmentCommandInput | VerifySessionCommandInput;
|
|
40
42
|
/**
|
|
41
43
|
* @public
|
|
42
44
|
*/
|
|
43
|
-
export type ServiceOutputTypes = CreateAccessTokenCommandOutput | CreateDevEnvironmentCommandOutput | CreateProjectCommandOutput | CreateSourceRepositoryBranchCommandOutput | DeleteAccessTokenCommandOutput | DeleteDevEnvironmentCommandOutput | GetDevEnvironmentCommandOutput | GetProjectCommandOutput | GetSourceRepositoryCloneUrlsCommandOutput | GetSpaceCommandOutput | GetSubscriptionCommandOutput | GetUserDetailsCommandOutput | ListAccessTokensCommandOutput | ListDevEnvironmentsCommandOutput | ListEventLogsCommandOutput | ListProjectsCommandOutput | ListSourceRepositoriesCommandOutput | ListSourceRepositoryBranchesCommandOutput | ListSpacesCommandOutput | StartDevEnvironmentCommandOutput | StartDevEnvironmentSessionCommandOutput | StopDevEnvironmentCommandOutput | StopDevEnvironmentSessionCommandOutput | UpdateDevEnvironmentCommandOutput | VerifySessionCommandOutput;
|
|
45
|
+
export type ServiceOutputTypes = CreateAccessTokenCommandOutput | CreateDevEnvironmentCommandOutput | CreateProjectCommandOutput | CreateSourceRepositoryBranchCommandOutput | DeleteAccessTokenCommandOutput | DeleteDevEnvironmentCommandOutput | GetDevEnvironmentCommandOutput | GetProjectCommandOutput | GetSourceRepositoryCloneUrlsCommandOutput | GetSpaceCommandOutput | GetSubscriptionCommandOutput | GetUserDetailsCommandOutput | ListAccessTokensCommandOutput | ListDevEnvironmentSessionsCommandOutput | ListDevEnvironmentsCommandOutput | ListEventLogsCommandOutput | ListProjectsCommandOutput | ListSourceRepositoriesCommandOutput | ListSourceRepositoryBranchesCommandOutput | ListSpacesCommandOutput | StartDevEnvironmentCommandOutput | StartDevEnvironmentSessionCommandOutput | StopDevEnvironmentCommandOutput | StopDevEnvironmentSessionCommandOutput | UpdateDevEnvironmentCommandOutput | VerifySessionCommandOutput;
|
|
44
46
|
/**
|
|
45
47
|
* @public
|
|
46
48
|
*/
|
|
@@ -216,6 +218,10 @@ export interface CodeCatalystClientResolvedConfig extends CodeCatalystClientReso
|
|
|
216
218
|
* </li>
|
|
217
219
|
* <li>
|
|
218
220
|
* <p>
|
|
221
|
+
* <a>ListDevEnvironmentSessions</a>, which retrieves a list of active Dev Environment sessions in a project.</p>
|
|
222
|
+
* </li>
|
|
223
|
+
* <li>
|
|
224
|
+
* <p>
|
|
219
225
|
* <a>ListProjects</a>, which retrieves a list of projects in a space.</p>
|
|
220
226
|
* </li>
|
|
221
227
|
* <li>
|