@aws-sdk/client-codecatalyst 3.332.0 → 3.333.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 +95 -1
- 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 +91 -0
- package/dist-types/CodeCatalyst.d.ts +11 -0
- package/dist-types/CodeCatalystClient.d.ts +7 -2
- package/dist-types/commands/ListDevEnvironmentSessionsCommand.d.ts +102 -0
- package/dist-types/commands/index.d.ts +1 -0
- 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 +9 -0
- package/dist-types/ts3.4/CodeCatalyst.d.ts +17 -0
- package/dist-types/ts3.4/CodeCatalystClient.d.ts +6 -0
- 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/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 +12 -0
- package/package.json +1 -1
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,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
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;
|
|
4
5
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const CodeCatalystServiceException_1 = require("../models/CodeCatalystServiceException");
|
|
@@ -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";
|
|
@@ -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>
|
|
@@ -21,6 +21,7 @@ import { GetSubscriptionCommandInput, GetSubscriptionCommandOutput } from "./com
|
|
|
21
21
|
import { GetUserDetailsCommandInput, GetUserDetailsCommandOutput } from "./commands/GetUserDetailsCommand";
|
|
22
22
|
import { ListAccessTokensCommandInput, ListAccessTokensCommandOutput } from "./commands/ListAccessTokensCommand";
|
|
23
23
|
import { ListDevEnvironmentsCommandInput, ListDevEnvironmentsCommandOutput } from "./commands/ListDevEnvironmentsCommand";
|
|
24
|
+
import { ListDevEnvironmentSessionsCommandInput, ListDevEnvironmentSessionsCommandOutput } from "./commands/ListDevEnvironmentSessionsCommand";
|
|
24
25
|
import { ListEventLogsCommandInput, ListEventLogsCommandOutput } from "./commands/ListEventLogsCommand";
|
|
25
26
|
import { ListProjectsCommandInput, ListProjectsCommandOutput } from "./commands/ListProjectsCommand";
|
|
26
27
|
import { ListSourceRepositoriesCommandInput, ListSourceRepositoriesCommandOutput } from "./commands/ListSourceRepositoriesCommand";
|
|
@@ -36,11 +37,11 @@ import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, Endpoi
|
|
|
36
37
|
/**
|
|
37
38
|
* @public
|
|
38
39
|
*/
|
|
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;
|
|
40
|
+
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
41
|
/**
|
|
41
42
|
* @public
|
|
42
43
|
*/
|
|
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;
|
|
44
|
+
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
45
|
/**
|
|
45
46
|
* @public
|
|
46
47
|
*/
|
|
@@ -216,6 +217,10 @@ export interface CodeCatalystClientResolvedConfig extends CodeCatalystClientReso
|
|
|
216
217
|
* </li>
|
|
217
218
|
* <li>
|
|
218
219
|
* <p>
|
|
220
|
+
* <a>ListDevEnvironmentSessions</a>, which retrieves a list of active Dev Environment sessions in a project.</p>
|
|
221
|
+
* </li>
|
|
222
|
+
* <li>
|
|
223
|
+
* <p>
|
|
219
224
|
* <a>ListProjects</a>, which retrieves a list of projects in a space.</p>
|
|
220
225
|
* </li>
|
|
221
226
|
* <li>
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { CodeCatalystClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCatalystClient";
|
|
5
|
+
import { ListDevEnvironmentSessionsRequest, ListDevEnvironmentSessionsResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link ListDevEnvironmentSessionsCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface ListDevEnvironmentSessionsCommandInput extends ListDevEnvironmentSessionsRequest {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link ListDevEnvironmentSessionsCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface ListDevEnvironmentSessionsCommandOutput extends ListDevEnvironmentSessionsResponse, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Retrieves a list of active sessions for a Dev Environment in a project.</p>
|
|
23
|
+
* @example
|
|
24
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
25
|
+
* ```javascript
|
|
26
|
+
* import { CodeCatalystClient, ListDevEnvironmentSessionsCommand } from "@aws-sdk/client-codecatalyst"; // ES Modules import
|
|
27
|
+
* // const { CodeCatalystClient, ListDevEnvironmentSessionsCommand } = require("@aws-sdk/client-codecatalyst"); // CommonJS import
|
|
28
|
+
* const client = new CodeCatalystClient(config);
|
|
29
|
+
* const input = { // ListDevEnvironmentSessionsRequest
|
|
30
|
+
* spaceName: "STRING_VALUE", // required
|
|
31
|
+
* projectName: "STRING_VALUE", // required
|
|
32
|
+
* devEnvironmentId: "STRING_VALUE", // required
|
|
33
|
+
* nextToken: "STRING_VALUE",
|
|
34
|
+
* maxResults: Number("int"),
|
|
35
|
+
* };
|
|
36
|
+
* const command = new ListDevEnvironmentSessionsCommand(input);
|
|
37
|
+
* const response = await client.send(command);
|
|
38
|
+
* // { // ListDevEnvironmentSessionsResponse
|
|
39
|
+
* // items: [ // DevEnvironmentSessionsSummaryList // required
|
|
40
|
+
* // { // DevEnvironmentSessionSummary
|
|
41
|
+
* // spaceName: "STRING_VALUE", // required
|
|
42
|
+
* // projectName: "STRING_VALUE", // required
|
|
43
|
+
* // devEnvironmentId: "STRING_VALUE", // required
|
|
44
|
+
* // startedTime: new Date("TIMESTAMP"), // required
|
|
45
|
+
* // id: "STRING_VALUE", // required
|
|
46
|
+
* // },
|
|
47
|
+
* // ],
|
|
48
|
+
* // nextToken: "STRING_VALUE",
|
|
49
|
+
* // };
|
|
50
|
+
*
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* @param ListDevEnvironmentSessionsCommandInput - {@link ListDevEnvironmentSessionsCommandInput}
|
|
54
|
+
* @returns {@link ListDevEnvironmentSessionsCommandOutput}
|
|
55
|
+
* @see {@link ListDevEnvironmentSessionsCommandInput} for command's `input` shape.
|
|
56
|
+
* @see {@link ListDevEnvironmentSessionsCommandOutput} for command's `response` shape.
|
|
57
|
+
* @see {@link CodeCatalystClientResolvedConfig | config} for CodeCatalystClient's `config` shape.
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
60
|
+
* <p>The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ConflictException} (client fault)
|
|
63
|
+
* <p>The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request.
|
|
64
|
+
* Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
67
|
+
* <p>The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
70
|
+
* <p>The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce
|
|
71
|
+
* the number of resources, or change the tier if applicable.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
74
|
+
* <p>The request was denied due to request throttling.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ValidationException} (client fault)
|
|
77
|
+
* <p>The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link CodeCatalystServiceException}
|
|
80
|
+
* <p>Base exception class for all service exceptions from CodeCatalyst service.</p>
|
|
81
|
+
*
|
|
82
|
+
*/
|
|
83
|
+
export declare class ListDevEnvironmentSessionsCommand extends $Command<ListDevEnvironmentSessionsCommandInput, ListDevEnvironmentSessionsCommandOutput, CodeCatalystClientResolvedConfig> {
|
|
84
|
+
readonly input: ListDevEnvironmentSessionsCommandInput;
|
|
85
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
86
|
+
/**
|
|
87
|
+
* @public
|
|
88
|
+
*/
|
|
89
|
+
constructor(input: ListDevEnvironmentSessionsCommandInput);
|
|
90
|
+
/**
|
|
91
|
+
* @internal
|
|
92
|
+
*/
|
|
93
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeCatalystClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListDevEnvironmentSessionsCommandInput, ListDevEnvironmentSessionsCommandOutput>;
|
|
94
|
+
/**
|
|
95
|
+
* @internal
|
|
96
|
+
*/
|
|
97
|
+
private serialize;
|
|
98
|
+
/**
|
|
99
|
+
* @internal
|
|
100
|
+
*/
|
|
101
|
+
private deserialize;
|
|
102
|
+
}
|
|
@@ -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";
|
|
@@ -926,6 +926,71 @@ export interface ListDevEnvironmentsResponse {
|
|
|
926
926
|
*/
|
|
927
927
|
nextToken?: string;
|
|
928
928
|
}
|
|
929
|
+
/**
|
|
930
|
+
* @public
|
|
931
|
+
*/
|
|
932
|
+
export interface ListDevEnvironmentSessionsRequest {
|
|
933
|
+
/**
|
|
934
|
+
* <p>The name of the space.</p>
|
|
935
|
+
*/
|
|
936
|
+
spaceName: string | undefined;
|
|
937
|
+
/**
|
|
938
|
+
* <p>The name of the project in the space.</p>
|
|
939
|
+
*/
|
|
940
|
+
projectName: string | undefined;
|
|
941
|
+
/**
|
|
942
|
+
* <p>The system-generated unique ID of the Dev Environment.</p>
|
|
943
|
+
*/
|
|
944
|
+
devEnvironmentId: string | undefined;
|
|
945
|
+
/**
|
|
946
|
+
* <p>A token returned from a call to this API to indicate the next batch of results to return, if any.</p>
|
|
947
|
+
*/
|
|
948
|
+
nextToken?: string;
|
|
949
|
+
/**
|
|
950
|
+
* <p>The maximum number of results to show in a single call to this API. If the number of results is larger than the number you specified, the response will include a <code>NextToken</code> element, which you can use to obtain additional results.</p>
|
|
951
|
+
*/
|
|
952
|
+
maxResults?: number;
|
|
953
|
+
}
|
|
954
|
+
/**
|
|
955
|
+
* @public
|
|
956
|
+
* <p>Information about active sessions for a Dev Environment.</p>
|
|
957
|
+
*/
|
|
958
|
+
export interface DevEnvironmentSessionSummary {
|
|
959
|
+
/**
|
|
960
|
+
* <p>The name of the space.</p>
|
|
961
|
+
*/
|
|
962
|
+
spaceName: string | undefined;
|
|
963
|
+
/**
|
|
964
|
+
* <p>The name of the project in the space.</p>
|
|
965
|
+
*/
|
|
966
|
+
projectName: string | undefined;
|
|
967
|
+
/**
|
|
968
|
+
* <p>The system-generated unique ID of the Dev Environment.</p>
|
|
969
|
+
*/
|
|
970
|
+
devEnvironmentId: string | undefined;
|
|
971
|
+
/**
|
|
972
|
+
* <p>The date and time the session started, in coordinated universal time (UTC) timestamp format as specified in <a href="https://www.rfc-editor.org/rfc/rfc3339#section-5.6">RFC 3339</a>
|
|
973
|
+
* </p>
|
|
974
|
+
*/
|
|
975
|
+
startedTime: Date | undefined;
|
|
976
|
+
/**
|
|
977
|
+
* <p>The system-generated unique ID of the Dev Environment session.</p>
|
|
978
|
+
*/
|
|
979
|
+
id: string | undefined;
|
|
980
|
+
}
|
|
981
|
+
/**
|
|
982
|
+
* @public
|
|
983
|
+
*/
|
|
984
|
+
export interface ListDevEnvironmentSessionsResponse {
|
|
985
|
+
/**
|
|
986
|
+
* <p>Information about each session retrieved in the list.</p>
|
|
987
|
+
*/
|
|
988
|
+
items: DevEnvironmentSessionSummary[] | undefined;
|
|
989
|
+
/**
|
|
990
|
+
* <p>A token returned from a call to this API to indicate the next batch of results to return, if any.</p>
|
|
991
|
+
*/
|
|
992
|
+
nextToken?: string;
|
|
993
|
+
}
|
|
929
994
|
/**
|
|
930
995
|
* @public
|
|
931
996
|
*/
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import { ListDevEnvironmentSessionsCommandInput, ListDevEnvironmentSessionsCommandOutput } from "../commands/ListDevEnvironmentSessionsCommand";
|
|
3
|
+
import { CodeCatalystPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare function paginateListDevEnvironmentSessions(config: CodeCatalystPaginationConfiguration, input: ListDevEnvironmentSessionsCommandInput, ...additionalArguments: any): Paginator<ListDevEnvironmentSessionsCommandOutput>;
|
|
@@ -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";
|
|
@@ -14,6 +14,7 @@ import { GetSubscriptionCommandInput, GetSubscriptionCommandOutput } from "../co
|
|
|
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";
|
|
@@ -81,6 +82,10 @@ export declare const se_ListAccessTokensCommand: (input: ListAccessTokensCommand
|
|
|
81
82
|
* serializeAws_restJson1ListDevEnvironmentsCommand
|
|
82
83
|
*/
|
|
83
84
|
export declare const se_ListDevEnvironmentsCommand: (input: ListDevEnvironmentsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
85
|
+
/**
|
|
86
|
+
* serializeAws_restJson1ListDevEnvironmentSessionsCommand
|
|
87
|
+
*/
|
|
88
|
+
export declare const se_ListDevEnvironmentSessionsCommand: (input: ListDevEnvironmentSessionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
84
89
|
/**
|
|
85
90
|
* serializeAws_restJson1ListEventLogsCommand
|
|
86
91
|
*/
|
|
@@ -181,6 +186,10 @@ export declare const de_ListAccessTokensCommand: (output: __HttpResponse, contex
|
|
|
181
186
|
* deserializeAws_restJson1ListDevEnvironmentsCommand
|
|
182
187
|
*/
|
|
183
188
|
export declare const de_ListDevEnvironmentsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListDevEnvironmentsCommandOutput>;
|
|
189
|
+
/**
|
|
190
|
+
* deserializeAws_restJson1ListDevEnvironmentSessionsCommand
|
|
191
|
+
*/
|
|
192
|
+
export declare const de_ListDevEnvironmentSessionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListDevEnvironmentSessionsCommandOutput>;
|
|
184
193
|
/**
|
|
185
194
|
* deserializeAws_restJson1ListEventLogsCommand
|
|
186
195
|
*/
|
|
@@ -56,6 +56,10 @@ import {
|
|
|
56
56
|
ListDevEnvironmentsCommandInput,
|
|
57
57
|
ListDevEnvironmentsCommandOutput,
|
|
58
58
|
} from "./commands/ListDevEnvironmentsCommand";
|
|
59
|
+
import {
|
|
60
|
+
ListDevEnvironmentSessionsCommandInput,
|
|
61
|
+
ListDevEnvironmentSessionsCommandOutput,
|
|
62
|
+
} from "./commands/ListDevEnvironmentSessionsCommand";
|
|
59
63
|
import {
|
|
60
64
|
ListEventLogsCommandInput,
|
|
61
65
|
ListEventLogsCommandOutput,
|
|
@@ -283,6 +287,19 @@ export interface CodeCatalyst {
|
|
|
283
287
|
options: __HttpHandlerOptions,
|
|
284
288
|
cb: (err: any, data?: ListDevEnvironmentsCommandOutput) => void
|
|
285
289
|
): void;
|
|
290
|
+
listDevEnvironmentSessions(
|
|
291
|
+
args: ListDevEnvironmentSessionsCommandInput,
|
|
292
|
+
options?: __HttpHandlerOptions
|
|
293
|
+
): Promise<ListDevEnvironmentSessionsCommandOutput>;
|
|
294
|
+
listDevEnvironmentSessions(
|
|
295
|
+
args: ListDevEnvironmentSessionsCommandInput,
|
|
296
|
+
cb: (err: any, data?: ListDevEnvironmentSessionsCommandOutput) => void
|
|
297
|
+
): void;
|
|
298
|
+
listDevEnvironmentSessions(
|
|
299
|
+
args: ListDevEnvironmentSessionsCommandInput,
|
|
300
|
+
options: __HttpHandlerOptions,
|
|
301
|
+
cb: (err: any, data?: ListDevEnvironmentSessionsCommandOutput) => void
|
|
302
|
+
): void;
|
|
286
303
|
listEventLogs(
|
|
287
304
|
args: ListEventLogsCommandInput,
|
|
288
305
|
options?: __HttpHandlerOptions
|
|
@@ -99,6 +99,10 @@ import {
|
|
|
99
99
|
ListDevEnvironmentsCommandInput,
|
|
100
100
|
ListDevEnvironmentsCommandOutput,
|
|
101
101
|
} from "./commands/ListDevEnvironmentsCommand";
|
|
102
|
+
import {
|
|
103
|
+
ListDevEnvironmentSessionsCommandInput,
|
|
104
|
+
ListDevEnvironmentSessionsCommandOutput,
|
|
105
|
+
} from "./commands/ListDevEnvironmentSessionsCommand";
|
|
102
106
|
import {
|
|
103
107
|
ListEventLogsCommandInput,
|
|
104
108
|
ListEventLogsCommandOutput,
|
|
@@ -162,6 +166,7 @@ export type ServiceInputTypes =
|
|
|
162
166
|
| GetSubscriptionCommandInput
|
|
163
167
|
| GetUserDetailsCommandInput
|
|
164
168
|
| ListAccessTokensCommandInput
|
|
169
|
+
| ListDevEnvironmentSessionsCommandInput
|
|
165
170
|
| ListDevEnvironmentsCommandInput
|
|
166
171
|
| ListEventLogsCommandInput
|
|
167
172
|
| ListProjectsCommandInput
|
|
@@ -188,6 +193,7 @@ export type ServiceOutputTypes =
|
|
|
188
193
|
| GetSubscriptionCommandOutput
|
|
189
194
|
| GetUserDetailsCommandOutput
|
|
190
195
|
| ListAccessTokensCommandOutput
|
|
196
|
+
| ListDevEnvironmentSessionsCommandOutput
|
|
191
197
|
| ListDevEnvironmentsCommandOutput
|
|
192
198
|
| ListEventLogsCommandOutput
|
|
193
199
|
| ListProjectsCommandOutput
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import {
|
|
10
|
+
CodeCatalystClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../CodeCatalystClient";
|
|
14
|
+
import {
|
|
15
|
+
ListDevEnvironmentSessionsRequest,
|
|
16
|
+
ListDevEnvironmentSessionsResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export interface ListDevEnvironmentSessionsCommandInput
|
|
19
|
+
extends ListDevEnvironmentSessionsRequest {}
|
|
20
|
+
export interface ListDevEnvironmentSessionsCommandOutput
|
|
21
|
+
extends ListDevEnvironmentSessionsResponse,
|
|
22
|
+
__MetadataBearer {}
|
|
23
|
+
export declare class ListDevEnvironmentSessionsCommand extends $Command<
|
|
24
|
+
ListDevEnvironmentSessionsCommandInput,
|
|
25
|
+
ListDevEnvironmentSessionsCommandOutput,
|
|
26
|
+
CodeCatalystClientResolvedConfig
|
|
27
|
+
> {
|
|
28
|
+
readonly input: ListDevEnvironmentSessionsCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: ListDevEnvironmentSessionsCommandInput);
|
|
31
|
+
resolveMiddleware(
|
|
32
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
|
+
configuration: CodeCatalystClientResolvedConfig,
|
|
34
|
+
options?: __HttpHandlerOptions
|
|
35
|
+
): Handler<
|
|
36
|
+
ListDevEnvironmentSessionsCommandInput,
|
|
37
|
+
ListDevEnvironmentSessionsCommandOutput
|
|
38
|
+
>;
|
|
39
|
+
private serialize;
|
|
40
|
+
private deserialize;
|
|
41
|
+
}
|
|
@@ -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";
|
|
@@ -288,6 +288,24 @@ export interface ListDevEnvironmentsResponse {
|
|
|
288
288
|
items: DevEnvironmentSummary[] | undefined;
|
|
289
289
|
nextToken?: string;
|
|
290
290
|
}
|
|
291
|
+
export interface ListDevEnvironmentSessionsRequest {
|
|
292
|
+
spaceName: string | undefined;
|
|
293
|
+
projectName: string | undefined;
|
|
294
|
+
devEnvironmentId: string | undefined;
|
|
295
|
+
nextToken?: string;
|
|
296
|
+
maxResults?: number;
|
|
297
|
+
}
|
|
298
|
+
export interface DevEnvironmentSessionSummary {
|
|
299
|
+
spaceName: string | undefined;
|
|
300
|
+
projectName: string | undefined;
|
|
301
|
+
devEnvironmentId: string | undefined;
|
|
302
|
+
startedTime: Date | undefined;
|
|
303
|
+
id: string | undefined;
|
|
304
|
+
}
|
|
305
|
+
export interface ListDevEnvironmentSessionsResponse {
|
|
306
|
+
items: DevEnvironmentSessionSummary[] | undefined;
|
|
307
|
+
nextToken?: string;
|
|
308
|
+
}
|
|
291
309
|
export interface StartDevEnvironmentRequest {
|
|
292
310
|
spaceName: string | undefined;
|
|
293
311
|
projectName: string | undefined;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import {
|
|
3
|
+
ListDevEnvironmentSessionsCommandInput,
|
|
4
|
+
ListDevEnvironmentSessionsCommandOutput,
|
|
5
|
+
} from "../commands/ListDevEnvironmentSessionsCommand";
|
|
6
|
+
import { CodeCatalystPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListDevEnvironmentSessions(
|
|
8
|
+
config: CodeCatalystPaginationConfiguration,
|
|
9
|
+
input: ListDevEnvironmentSessionsCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<ListDevEnvironmentSessionsCommandOutput>;
|
|
@@ -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";
|
|
@@ -59,6 +59,10 @@ import {
|
|
|
59
59
|
ListDevEnvironmentsCommandInput,
|
|
60
60
|
ListDevEnvironmentsCommandOutput,
|
|
61
61
|
} from "../commands/ListDevEnvironmentsCommand";
|
|
62
|
+
import {
|
|
63
|
+
ListDevEnvironmentSessionsCommandInput,
|
|
64
|
+
ListDevEnvironmentSessionsCommandOutput,
|
|
65
|
+
} from "../commands/ListDevEnvironmentSessionsCommand";
|
|
62
66
|
import {
|
|
63
67
|
ListEventLogsCommandInput,
|
|
64
68
|
ListEventLogsCommandOutput,
|
|
@@ -159,6 +163,10 @@ export declare const se_ListDevEnvironmentsCommand: (
|
|
|
159
163
|
input: ListDevEnvironmentsCommandInput,
|
|
160
164
|
context: __SerdeContext
|
|
161
165
|
) => Promise<__HttpRequest>;
|
|
166
|
+
export declare const se_ListDevEnvironmentSessionsCommand: (
|
|
167
|
+
input: ListDevEnvironmentSessionsCommandInput,
|
|
168
|
+
context: __SerdeContext
|
|
169
|
+
) => Promise<__HttpRequest>;
|
|
162
170
|
export declare const se_ListEventLogsCommand: (
|
|
163
171
|
input: ListEventLogsCommandInput,
|
|
164
172
|
context: __SerdeContext
|
|
@@ -259,6 +267,10 @@ export declare const de_ListDevEnvironmentsCommand: (
|
|
|
259
267
|
output: __HttpResponse,
|
|
260
268
|
context: __SerdeContext
|
|
261
269
|
) => Promise<ListDevEnvironmentsCommandOutput>;
|
|
270
|
+
export declare const de_ListDevEnvironmentSessionsCommand: (
|
|
271
|
+
output: __HttpResponse,
|
|
272
|
+
context: __SerdeContext
|
|
273
|
+
) => Promise<ListDevEnvironmentSessionsCommandOutput>;
|
|
262
274
|
export declare const de_ListEventLogsCommand: (
|
|
263
275
|
output: __HttpResponse,
|
|
264
276
|
context: __SerdeContext
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-codecatalyst",
|
|
3
3
|
"description": "AWS SDK for JavaScript Codecatalyst Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.333.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",
|