@aws-sdk/client-codecatalyst 3.281.0 → 3.287.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 +15 -0
- package/dist-cjs/commands/StopDevEnvironmentSessionCommand.js +45 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_0.js +9 -1
- package/dist-cjs/pagination/ListAccessTokensPaginator.js +1 -8
- package/dist-cjs/pagination/ListDevEnvironmentsPaginator.js +1 -8
- package/dist-cjs/pagination/ListEventLogsPaginator.js +1 -8
- package/dist-cjs/pagination/ListProjectsPaginator.js +1 -8
- package/dist-cjs/pagination/ListSourceRepositoriesPaginator.js +1 -8
- package/dist-cjs/pagination/ListSourceRepositoryBranchesPaginator.js +1 -8
- package/dist-cjs/pagination/ListSpacesPaginator.js +1 -8
- package/dist-cjs/protocols/Aws_restJson1.js +83 -1
- package/dist-es/CodeCatalyst.js +15 -0
- package/dist-es/commands/StopDevEnvironmentSessionCommand.js +41 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +6 -0
- package/dist-es/pagination/ListAccessTokensPaginator.js +1 -8
- package/dist-es/pagination/ListDevEnvironmentsPaginator.js +1 -8
- package/dist-es/pagination/ListEventLogsPaginator.js +1 -8
- package/dist-es/pagination/ListProjectsPaginator.js +1 -8
- package/dist-es/pagination/ListSourceRepositoriesPaginator.js +1 -8
- package/dist-es/pagination/ListSourceRepositoryBranchesPaginator.js +1 -8
- package/dist-es/pagination/ListSpacesPaginator.js +1 -8
- package/dist-es/protocols/Aws_restJson1.js +80 -0
- package/dist-types/CodeCatalyst.d.ts +16 -1
- package/dist-types/CodeCatalystClient.d.ts +7 -2
- package/dist-types/commands/CreateDevEnvironmentCommand.d.ts +5 -1
- package/dist-types/commands/StopDevEnvironmentSessionCommand.d.ts +43 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +61 -11
- package/dist-types/pagination/Interfaces.d.ts +1 -2
- package/dist-types/protocols/Aws_restJson1.d.ts +3 -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/StopDevEnvironmentSessionCommand.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 +22 -3
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +17 -17
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import { CodeCatalyst } from "../CodeCatalyst";
|
|
2
1
|
import { CodeCatalystClient } from "../CodeCatalystClient";
|
|
3
2
|
import { ListProjectsCommand, } from "../commands/ListProjectsCommand";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListProjectsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listProjects(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListProjects(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListProjects(config, input, ...additionalArgument
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.nextToken = token;
|
|
16
12
|
input["maxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof CodeCatalystClient) {
|
|
13
|
+
if (config.client instanceof CodeCatalystClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import { CodeCatalyst } from "../CodeCatalyst";
|
|
2
1
|
import { CodeCatalystClient } from "../CodeCatalystClient";
|
|
3
2
|
import { ListSourceRepositoriesCommand, } from "../commands/ListSourceRepositoriesCommand";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListSourceRepositoriesCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listSourceRepositories(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListSourceRepositories(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListSourceRepositories(config, input, ...addition
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.nextToken = token;
|
|
16
12
|
input["maxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof CodeCatalystClient) {
|
|
13
|
+
if (config.client instanceof CodeCatalystClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import { CodeCatalyst } from "../CodeCatalyst";
|
|
2
1
|
import { CodeCatalystClient } from "../CodeCatalystClient";
|
|
3
2
|
import { ListSourceRepositoryBranchesCommand, } from "../commands/ListSourceRepositoryBranchesCommand";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListSourceRepositoryBranchesCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listSourceRepositoryBranches(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListSourceRepositoryBranches(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListSourceRepositoryBranches(config, input, ...ad
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.nextToken = token;
|
|
16
12
|
input["maxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof CodeCatalystClient) {
|
|
13
|
+
if (config.client instanceof CodeCatalystClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,22 +1,15 @@
|
|
|
1
|
-
import { CodeCatalyst } from "../CodeCatalyst";
|
|
2
1
|
import { CodeCatalystClient } from "../CodeCatalystClient";
|
|
3
2
|
import { ListSpacesCommand } from "../commands/ListSpacesCommand";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListSpacesCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listSpaces(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListSpaces(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
13
9
|
let page;
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.nextToken = token;
|
|
16
|
-
if (config.client instanceof
|
|
17
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else if (config.client instanceof CodeCatalystClient) {
|
|
12
|
+
if (config.client instanceof CodeCatalystClient) {
|
|
20
13
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
21
14
|
}
|
|
22
15
|
else {
|
|
@@ -479,6 +479,26 @@ export const serializeAws_restJson1StopDevEnvironmentCommand = async (input, con
|
|
|
479
479
|
body,
|
|
480
480
|
});
|
|
481
481
|
};
|
|
482
|
+
export const serializeAws_restJson1StopDevEnvironmentSessionCommand = async (input, context) => {
|
|
483
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
484
|
+
const headers = {};
|
|
485
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
486
|
+
"/v1/spaces/{spaceName}/projects/{projectName}/devEnvironments/{id}/session/{sessionId}";
|
|
487
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "spaceName", () => input.spaceName, "{spaceName}", false);
|
|
488
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "projectName", () => input.projectName, "{projectName}", false);
|
|
489
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "id", () => input.id, "{id}", false);
|
|
490
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "sessionId", () => input.sessionId, "{sessionId}", false);
|
|
491
|
+
let body;
|
|
492
|
+
return new __HttpRequest({
|
|
493
|
+
protocol,
|
|
494
|
+
hostname,
|
|
495
|
+
port,
|
|
496
|
+
method: "DELETE",
|
|
497
|
+
headers,
|
|
498
|
+
path: resolvedPath,
|
|
499
|
+
body,
|
|
500
|
+
});
|
|
501
|
+
};
|
|
482
502
|
export const serializeAws_restJson1UpdateDevEnvironmentCommand = async (input, context) => {
|
|
483
503
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
484
504
|
const headers = {
|
|
@@ -533,6 +553,9 @@ export const deserializeAws_restJson1CreateAccessTokenCommand = async (output, c
|
|
|
533
553
|
$metadata: deserializeMetadata(output),
|
|
534
554
|
});
|
|
535
555
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
556
|
+
if (data.accessTokenId != null) {
|
|
557
|
+
contents.accessTokenId = __expectString(data.accessTokenId);
|
|
558
|
+
}
|
|
536
559
|
if (data.expiresTime != null) {
|
|
537
560
|
contents.expiresTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.expiresTime));
|
|
538
561
|
}
|
|
@@ -1734,6 +1757,63 @@ const deserializeAws_restJson1StopDevEnvironmentCommandError = async (output, co
|
|
|
1734
1757
|
});
|
|
1735
1758
|
}
|
|
1736
1759
|
};
|
|
1760
|
+
export const deserializeAws_restJson1StopDevEnvironmentSessionCommand = async (output, context) => {
|
|
1761
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1762
|
+
return deserializeAws_restJson1StopDevEnvironmentSessionCommandError(output, context);
|
|
1763
|
+
}
|
|
1764
|
+
const contents = map({
|
|
1765
|
+
$metadata: deserializeMetadata(output),
|
|
1766
|
+
});
|
|
1767
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1768
|
+
if (data.id != null) {
|
|
1769
|
+
contents.id = __expectString(data.id);
|
|
1770
|
+
}
|
|
1771
|
+
if (data.projectName != null) {
|
|
1772
|
+
contents.projectName = __expectString(data.projectName);
|
|
1773
|
+
}
|
|
1774
|
+
if (data.sessionId != null) {
|
|
1775
|
+
contents.sessionId = __expectString(data.sessionId);
|
|
1776
|
+
}
|
|
1777
|
+
if (data.spaceName != null) {
|
|
1778
|
+
contents.spaceName = __expectString(data.spaceName);
|
|
1779
|
+
}
|
|
1780
|
+
return contents;
|
|
1781
|
+
};
|
|
1782
|
+
const deserializeAws_restJson1StopDevEnvironmentSessionCommandError = async (output, context) => {
|
|
1783
|
+
const parsedOutput = {
|
|
1784
|
+
...output,
|
|
1785
|
+
body: await parseErrorBody(output.body, context),
|
|
1786
|
+
};
|
|
1787
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1788
|
+
switch (errorCode) {
|
|
1789
|
+
case "AccessDeniedException":
|
|
1790
|
+
case "com.amazonaws.codecatalyst#AccessDeniedException":
|
|
1791
|
+
throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
|
|
1792
|
+
case "ConflictException":
|
|
1793
|
+
case "com.amazonaws.codecatalyst#ConflictException":
|
|
1794
|
+
throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
|
|
1795
|
+
case "ResourceNotFoundException":
|
|
1796
|
+
case "com.amazonaws.codecatalyst#ResourceNotFoundException":
|
|
1797
|
+
throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1798
|
+
case "ServiceQuotaExceededException":
|
|
1799
|
+
case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
|
|
1800
|
+
throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
|
|
1801
|
+
case "ThrottlingException":
|
|
1802
|
+
case "com.amazonaws.codecatalyst#ThrottlingException":
|
|
1803
|
+
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
1804
|
+
case "ValidationException":
|
|
1805
|
+
case "com.amazonaws.codecatalyst#ValidationException":
|
|
1806
|
+
throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
|
|
1807
|
+
default:
|
|
1808
|
+
const parsedBody = parsedOutput.body;
|
|
1809
|
+
throwDefaultError({
|
|
1810
|
+
output,
|
|
1811
|
+
parsedBody,
|
|
1812
|
+
exceptionCtor: __BaseException,
|
|
1813
|
+
errorCode,
|
|
1814
|
+
});
|
|
1815
|
+
}
|
|
1816
|
+
};
|
|
1737
1817
|
export const deserializeAws_restJson1UpdateDevEnvironmentCommand = async (output, context) => {
|
|
1738
1818
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1739
1819
|
return deserializeAws_restJson1UpdateDevEnvironmentCommandError(output, context);
|
|
@@ -22,6 +22,7 @@ import { ListSpacesCommandInput, ListSpacesCommandOutput } from "./commands/List
|
|
|
22
22
|
import { StartDevEnvironmentCommandInput, StartDevEnvironmentCommandOutput } from "./commands/StartDevEnvironmentCommand";
|
|
23
23
|
import { StartDevEnvironmentSessionCommandInput, StartDevEnvironmentSessionCommandOutput } from "./commands/StartDevEnvironmentSessionCommand";
|
|
24
24
|
import { StopDevEnvironmentCommandInput, StopDevEnvironmentCommandOutput } from "./commands/StopDevEnvironmentCommand";
|
|
25
|
+
import { StopDevEnvironmentSessionCommandInput, StopDevEnvironmentSessionCommandOutput } from "./commands/StopDevEnvironmentSessionCommand";
|
|
25
26
|
import { UpdateDevEnvironmentCommandInput, UpdateDevEnvironmentCommandOutput } from "./commands/UpdateDevEnvironmentCommand";
|
|
26
27
|
import { VerifySessionCommandInput, VerifySessionCommandOutput } from "./commands/VerifySessionCommand";
|
|
27
28
|
/**
|
|
@@ -111,6 +112,10 @@ import { VerifySessionCommandInput, VerifySessionCommandOutput } from "./command
|
|
|
111
112
|
* </li>
|
|
112
113
|
* <li>
|
|
113
114
|
* <p>
|
|
115
|
+
* <a>StopDevEnvironmentSession</a>, which stops a session for a specified Dev Environment.</p>
|
|
116
|
+
* </li>
|
|
117
|
+
* <li>
|
|
118
|
+
* <p>
|
|
114
119
|
* <a>UpdateDevEnvironment</a>, which changes one or more values for a Dev Environment.</p>
|
|
115
120
|
* </li>
|
|
116
121
|
* <li>
|
|
@@ -146,7 +151,11 @@ export declare class CodeCatalyst extends CodeCatalystClient {
|
|
|
146
151
|
createAccessToken(args: CreateAccessTokenCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAccessTokenCommandOutput) => void): void;
|
|
147
152
|
/**
|
|
148
153
|
* <p>Creates a Dev Environment in Amazon CodeCatalyst, a cloud-based development Dev Environment that you can use to quickly work on the code stored in the source repositories of your project.
|
|
149
|
-
*
|
|
154
|
+
* </p>
|
|
155
|
+
* <note>
|
|
156
|
+
* <p>When created in the Amazon CodeCatalyst console, by default a Dev Environment is configured to have a 2 core processor, 4GB of RAM, and 16GB of persistent storage. None of these
|
|
157
|
+
* defaults apply to a Dev Environment created programmatically.</p>
|
|
158
|
+
* </note>
|
|
150
159
|
*/
|
|
151
160
|
createDevEnvironment(args: CreateDevEnvironmentCommandInput, options?: __HttpHandlerOptions): Promise<CreateDevEnvironmentCommandOutput>;
|
|
152
161
|
createDevEnvironment(args: CreateDevEnvironmentCommandInput, cb: (err: any, data?: CreateDevEnvironmentCommandOutput) => void): void;
|
|
@@ -276,6 +285,12 @@ export declare class CodeCatalyst extends CodeCatalystClient {
|
|
|
276
285
|
stopDevEnvironment(args: StopDevEnvironmentCommandInput, options?: __HttpHandlerOptions): Promise<StopDevEnvironmentCommandOutput>;
|
|
277
286
|
stopDevEnvironment(args: StopDevEnvironmentCommandInput, cb: (err: any, data?: StopDevEnvironmentCommandOutput) => void): void;
|
|
278
287
|
stopDevEnvironment(args: StopDevEnvironmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopDevEnvironmentCommandOutput) => void): void;
|
|
288
|
+
/**
|
|
289
|
+
* <p>Stops a session for a specified Dev Environment.</p>
|
|
290
|
+
*/
|
|
291
|
+
stopDevEnvironmentSession(args: StopDevEnvironmentSessionCommandInput, options?: __HttpHandlerOptions): Promise<StopDevEnvironmentSessionCommandOutput>;
|
|
292
|
+
stopDevEnvironmentSession(args: StopDevEnvironmentSessionCommandInput, cb: (err: any, data?: StopDevEnvironmentSessionCommandOutput) => void): void;
|
|
293
|
+
stopDevEnvironmentSession(args: StopDevEnvironmentSessionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopDevEnvironmentSessionCommandOutput) => void): void;
|
|
279
294
|
/**
|
|
280
295
|
* <p>Changes one or more values for a Dev Environment. Updating certain values of the Dev Environment will cause a restart.</p>
|
|
281
296
|
*/
|
|
@@ -29,11 +29,12 @@ import { ListSpacesCommandInput, ListSpacesCommandOutput } from "./commands/List
|
|
|
29
29
|
import { StartDevEnvironmentCommandInput, StartDevEnvironmentCommandOutput } from "./commands/StartDevEnvironmentCommand";
|
|
30
30
|
import { StartDevEnvironmentSessionCommandInput, StartDevEnvironmentSessionCommandOutput } from "./commands/StartDevEnvironmentSessionCommand";
|
|
31
31
|
import { StopDevEnvironmentCommandInput, StopDevEnvironmentCommandOutput } from "./commands/StopDevEnvironmentCommand";
|
|
32
|
+
import { StopDevEnvironmentSessionCommandInput, StopDevEnvironmentSessionCommandOutput } from "./commands/StopDevEnvironmentSessionCommand";
|
|
32
33
|
import { UpdateDevEnvironmentCommandInput, UpdateDevEnvironmentCommandOutput } from "./commands/UpdateDevEnvironmentCommand";
|
|
33
34
|
import { VerifySessionCommandInput, VerifySessionCommandOutput } from "./commands/VerifySessionCommand";
|
|
34
35
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
35
|
-
export declare type ServiceInputTypes = CreateAccessTokenCommandInput | CreateDevEnvironmentCommandInput | CreateProjectCommandInput | CreateSourceRepositoryBranchCommandInput | DeleteAccessTokenCommandInput | DeleteDevEnvironmentCommandInput | GetDevEnvironmentCommandInput | GetProjectCommandInput | GetSourceRepositoryCloneUrlsCommandInput | GetSpaceCommandInput | GetSubscriptionCommandInput | GetUserDetailsCommandInput | ListAccessTokensCommandInput | ListDevEnvironmentsCommandInput | ListEventLogsCommandInput | ListProjectsCommandInput | ListSourceRepositoriesCommandInput | ListSourceRepositoryBranchesCommandInput | ListSpacesCommandInput | StartDevEnvironmentCommandInput | StartDevEnvironmentSessionCommandInput | StopDevEnvironmentCommandInput | UpdateDevEnvironmentCommandInput | VerifySessionCommandInput;
|
|
36
|
-
export declare type ServiceOutputTypes = CreateAccessTokenCommandOutput | CreateDevEnvironmentCommandOutput | CreateProjectCommandOutput | CreateSourceRepositoryBranchCommandOutput | DeleteAccessTokenCommandOutput | DeleteDevEnvironmentCommandOutput | GetDevEnvironmentCommandOutput | GetProjectCommandOutput | GetSourceRepositoryCloneUrlsCommandOutput | GetSpaceCommandOutput | GetSubscriptionCommandOutput | GetUserDetailsCommandOutput | ListAccessTokensCommandOutput | ListDevEnvironmentsCommandOutput | ListEventLogsCommandOutput | ListProjectsCommandOutput | ListSourceRepositoriesCommandOutput | ListSourceRepositoryBranchesCommandOutput | ListSpacesCommandOutput | StartDevEnvironmentCommandOutput | StartDevEnvironmentSessionCommandOutput | StopDevEnvironmentCommandOutput | UpdateDevEnvironmentCommandOutput | VerifySessionCommandOutput;
|
|
36
|
+
export declare 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;
|
|
37
|
+
export declare 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;
|
|
37
38
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
38
39
|
/**
|
|
39
40
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -224,6 +225,10 @@ export interface CodeCatalystClientResolvedConfig extends CodeCatalystClientReso
|
|
|
224
225
|
* </li>
|
|
225
226
|
* <li>
|
|
226
227
|
* <p>
|
|
228
|
+
* <a>StopDevEnvironmentSession</a>, which stops a session for a specified Dev Environment.</p>
|
|
229
|
+
* </li>
|
|
230
|
+
* <li>
|
|
231
|
+
* <p>
|
|
227
232
|
* <a>UpdateDevEnvironment</a>, which changes one or more values for a Dev Environment.</p>
|
|
228
233
|
* </li>
|
|
229
234
|
* <li>
|
|
@@ -15,7 +15,11 @@ export interface CreateDevEnvironmentCommandOutput extends CreateDevEnvironmentR
|
|
|
15
15
|
}
|
|
16
16
|
/**
|
|
17
17
|
* <p>Creates a Dev Environment in Amazon CodeCatalyst, a cloud-based development Dev Environment that you can use to quickly work on the code stored in the source repositories of your project.
|
|
18
|
-
*
|
|
18
|
+
* </p>
|
|
19
|
+
* <note>
|
|
20
|
+
* <p>When created in the Amazon CodeCatalyst console, by default a Dev Environment is configured to have a 2 core processor, 4GB of RAM, and 16GB of persistent storage. None of these
|
|
21
|
+
* defaults apply to a Dev Environment created programmatically.</p>
|
|
22
|
+
* </note>
|
|
19
23
|
* @example
|
|
20
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
21
25
|
* ```javascript
|
|
@@ -0,0 +1,43 @@
|
|
|
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 { StopDevEnvironmentSessionRequest, StopDevEnvironmentSessionResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link StopDevEnvironmentSessionCommand}.
|
|
8
|
+
*/
|
|
9
|
+
export interface StopDevEnvironmentSessionCommandInput extends StopDevEnvironmentSessionRequest {
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link StopDevEnvironmentSessionCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface StopDevEnvironmentSessionCommandOutput extends StopDevEnvironmentSessionResponse, __MetadataBearer {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* <p>Stops a session for a specified Dev Environment.</p>
|
|
18
|
+
* @example
|
|
19
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
20
|
+
* ```javascript
|
|
21
|
+
* import { CodeCatalystClient, StopDevEnvironmentSessionCommand } from "@aws-sdk/client-codecatalyst"; // ES Modules import
|
|
22
|
+
* // const { CodeCatalystClient, StopDevEnvironmentSessionCommand } = require("@aws-sdk/client-codecatalyst"); // CommonJS import
|
|
23
|
+
* const client = new CodeCatalystClient(config);
|
|
24
|
+
* const command = new StopDevEnvironmentSessionCommand(input);
|
|
25
|
+
* const response = await client.send(command);
|
|
26
|
+
* ```
|
|
27
|
+
*
|
|
28
|
+
* @see {@link StopDevEnvironmentSessionCommandInput} for command's `input` shape.
|
|
29
|
+
* @see {@link StopDevEnvironmentSessionCommandOutput} for command's `response` shape.
|
|
30
|
+
* @see {@link CodeCatalystClientResolvedConfig | config} for CodeCatalystClient's `config` shape.
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
export declare class StopDevEnvironmentSessionCommand extends $Command<StopDevEnvironmentSessionCommandInput, StopDevEnvironmentSessionCommandOutput, CodeCatalystClientResolvedConfig> {
|
|
34
|
+
readonly input: StopDevEnvironmentSessionCommandInput;
|
|
35
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
36
|
+
constructor(input: StopDevEnvironmentSessionCommandInput);
|
|
37
|
+
/**
|
|
38
|
+
* @internal
|
|
39
|
+
*/
|
|
40
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeCatalystClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StopDevEnvironmentSessionCommandInput, StopDevEnvironmentSessionCommandOutput>;
|
|
41
|
+
private serialize;
|
|
42
|
+
private deserialize;
|
|
43
|
+
}
|
|
@@ -20,5 +20,6 @@ export * from "./ListSpacesCommand";
|
|
|
20
20
|
export * from "./StartDevEnvironmentCommand";
|
|
21
21
|
export * from "./StartDevEnvironmentSessionCommand";
|
|
22
22
|
export * from "./StopDevEnvironmentCommand";
|
|
23
|
+
export * from "./StopDevEnvironmentSessionCommand";
|
|
23
24
|
export * from "./UpdateDevEnvironmentCommand";
|
|
24
25
|
export * from "./VerifySessionCommand";
|
|
@@ -41,11 +41,15 @@ export interface CreateAccessTokenResponse {
|
|
|
41
41
|
/**
|
|
42
42
|
* <p>The friendly name of the personal access token.</p>
|
|
43
43
|
*/
|
|
44
|
-
name
|
|
44
|
+
name: string | undefined;
|
|
45
45
|
/**
|
|
46
46
|
* <p>The date and time the personal access token expires, 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>. If not specified, the default is one year from creation.</p>
|
|
47
47
|
*/
|
|
48
|
-
expiresTime
|
|
48
|
+
expiresTime: Date | undefined;
|
|
49
|
+
/**
|
|
50
|
+
* <p>The system-generated unique ID of the access token.</p>
|
|
51
|
+
*/
|
|
52
|
+
accessTokenId: string | undefined;
|
|
49
53
|
}
|
|
50
54
|
/**
|
|
51
55
|
* <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>
|
|
@@ -379,9 +383,7 @@ export interface ListSpacesRequest {
|
|
|
379
383
|
*/
|
|
380
384
|
export interface SpaceSummary {
|
|
381
385
|
/**
|
|
382
|
-
* <p>
|
|
383
|
-
* <i>We need to know what this is and the basic usage information so that third-party developers know how to use this data type.</i>
|
|
384
|
-
* </p>
|
|
386
|
+
* <p>The name of the space.</p>
|
|
385
387
|
*/
|
|
386
388
|
name: string | undefined;
|
|
387
389
|
/**
|
|
@@ -445,11 +447,14 @@ export interface CreateProjectResponse {
|
|
|
445
447
|
*/
|
|
446
448
|
export interface IdeConfiguration {
|
|
447
449
|
/**
|
|
448
|
-
* <p>A link to the IDE runtime image
|
|
450
|
+
* <p>A link to the IDE runtime image. </p>
|
|
451
|
+
* <note>
|
|
452
|
+
* <p>This parameter is not required for <code>VSCode</code>.</p>
|
|
453
|
+
* </note>
|
|
449
454
|
*/
|
|
450
455
|
runtime?: string;
|
|
451
456
|
/**
|
|
452
|
-
* <p>The name of the IDE
|
|
457
|
+
* <p>The name of the IDE. Valid values include <code>Cloud9</code>, <code>IntelliJ</code>, <code>PyCharm</code>, <code>GoLand</code>, and <code>VSCode</code>.</p>
|
|
453
458
|
*/
|
|
454
459
|
name?: string;
|
|
455
460
|
}
|
|
@@ -525,10 +530,11 @@ export interface CreateDevEnvironmentRequest {
|
|
|
525
530
|
*/
|
|
526
531
|
inactivityTimeoutMinutes?: number;
|
|
527
532
|
/**
|
|
528
|
-
* <p>Information about the amount of storage allocated to the Dev Environment.
|
|
529
|
-
* Dev Environment is configured to have 16GB of persistent storage.</p>
|
|
533
|
+
* <p>Information about the amount of storage allocated to the Dev Environment. </p>
|
|
530
534
|
* <note>
|
|
531
|
-
* <p>
|
|
535
|
+
* <p>By default, a Dev Environment is configured to have 16GB of persistent storage when created from the Amazon CodeCatalyst console, but there is no default when programmatically
|
|
536
|
+
* creating a Dev Environment.
|
|
537
|
+
* Valid values for persistent storage are based on memory sizes in 16GB increments. Valid
|
|
532
538
|
* values are 16, 32, and 64.</p>
|
|
533
539
|
* </note>
|
|
534
540
|
*/
|
|
@@ -958,6 +964,42 @@ export interface StopDevEnvironmentResponse {
|
|
|
958
964
|
*/
|
|
959
965
|
status: DevEnvironmentStatus | string | undefined;
|
|
960
966
|
}
|
|
967
|
+
export interface StopDevEnvironmentSessionRequest {
|
|
968
|
+
/**
|
|
969
|
+
* <p>The name of the space.</p>
|
|
970
|
+
*/
|
|
971
|
+
spaceName: string | undefined;
|
|
972
|
+
/**
|
|
973
|
+
* <p>The name of the project in the space.</p>
|
|
974
|
+
*/
|
|
975
|
+
projectName: string | undefined;
|
|
976
|
+
/**
|
|
977
|
+
* <p>The system-generated unique ID of the Dev Environment. To obtain this ID, use <a>ListDevEnvironments</a>.</p>
|
|
978
|
+
*/
|
|
979
|
+
id: string | undefined;
|
|
980
|
+
/**
|
|
981
|
+
* <p>The system-generated unique ID of the Dev Environment session. This ID is returned by <a>StartDevEnvironmentSession</a>.</p>
|
|
982
|
+
*/
|
|
983
|
+
sessionId: string | undefined;
|
|
984
|
+
}
|
|
985
|
+
export interface StopDevEnvironmentSessionResponse {
|
|
986
|
+
/**
|
|
987
|
+
* <p>The name of the space.</p>
|
|
988
|
+
*/
|
|
989
|
+
spaceName: string | undefined;
|
|
990
|
+
/**
|
|
991
|
+
* <p>The name of the project in the space.</p>
|
|
992
|
+
*/
|
|
993
|
+
projectName: string | undefined;
|
|
994
|
+
/**
|
|
995
|
+
* <p>The system-generated unique ID of the Dev Environment.</p>
|
|
996
|
+
*/
|
|
997
|
+
id: string | undefined;
|
|
998
|
+
/**
|
|
999
|
+
* <p>The system-generated unique ID of the Dev Environment session.</p>
|
|
1000
|
+
*/
|
|
1001
|
+
sessionId: string | undefined;
|
|
1002
|
+
}
|
|
961
1003
|
export interface UpdateDevEnvironmentRequest {
|
|
962
1004
|
/**
|
|
963
1005
|
* <p>The name of the space.</p>
|
|
@@ -1299,7 +1341,7 @@ export interface ListSourceRepositoryBranchesResponse {
|
|
|
1299
1341
|
/**
|
|
1300
1342
|
* <p>Information about the source branches.</p>
|
|
1301
1343
|
*/
|
|
1302
|
-
items
|
|
1344
|
+
items: ListSourceRepositoryBranchesItem[] | undefined;
|
|
1303
1345
|
}
|
|
1304
1346
|
export interface GetSubscriptionRequest {
|
|
1305
1347
|
/**
|
|
@@ -1515,6 +1557,14 @@ export declare const StopDevEnvironmentRequestFilterSensitiveLog: (obj: StopDevE
|
|
|
1515
1557
|
* @internal
|
|
1516
1558
|
*/
|
|
1517
1559
|
export declare const StopDevEnvironmentResponseFilterSensitiveLog: (obj: StopDevEnvironmentResponse) => any;
|
|
1560
|
+
/**
|
|
1561
|
+
* @internal
|
|
1562
|
+
*/
|
|
1563
|
+
export declare const StopDevEnvironmentSessionRequestFilterSensitiveLog: (obj: StopDevEnvironmentSessionRequest) => any;
|
|
1564
|
+
/**
|
|
1565
|
+
* @internal
|
|
1566
|
+
*/
|
|
1567
|
+
export declare const StopDevEnvironmentSessionResponseFilterSensitiveLog: (obj: StopDevEnvironmentSessionResponse) => any;
|
|
1518
1568
|
/**
|
|
1519
1569
|
* @internal
|
|
1520
1570
|
*/
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { PaginationConfiguration } from "@aws-sdk/types";
|
|
2
|
-
import { CodeCatalyst } from "../CodeCatalyst";
|
|
3
2
|
import { CodeCatalystClient } from "../CodeCatalystClient";
|
|
4
3
|
export interface CodeCatalystPaginationConfiguration extends PaginationConfiguration {
|
|
5
|
-
client:
|
|
4
|
+
client: CodeCatalystClient;
|
|
6
5
|
}
|
|
@@ -22,6 +22,7 @@ import { ListSpacesCommandInput, ListSpacesCommandOutput } from "../commands/Lis
|
|
|
22
22
|
import { StartDevEnvironmentCommandInput, StartDevEnvironmentCommandOutput } from "../commands/StartDevEnvironmentCommand";
|
|
23
23
|
import { StartDevEnvironmentSessionCommandInput, StartDevEnvironmentSessionCommandOutput } from "../commands/StartDevEnvironmentSessionCommand";
|
|
24
24
|
import { StopDevEnvironmentCommandInput, StopDevEnvironmentCommandOutput } from "../commands/StopDevEnvironmentCommand";
|
|
25
|
+
import { StopDevEnvironmentSessionCommandInput, StopDevEnvironmentSessionCommandOutput } from "../commands/StopDevEnvironmentSessionCommand";
|
|
25
26
|
import { UpdateDevEnvironmentCommandInput, UpdateDevEnvironmentCommandOutput } from "../commands/UpdateDevEnvironmentCommand";
|
|
26
27
|
import { VerifySessionCommandInput, VerifySessionCommandOutput } from "../commands/VerifySessionCommand";
|
|
27
28
|
export declare const serializeAws_restJson1CreateAccessTokenCommand: (input: CreateAccessTokenCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -46,6 +47,7 @@ export declare const serializeAws_restJson1ListSpacesCommand: (input: ListSpaces
|
|
|
46
47
|
export declare const serializeAws_restJson1StartDevEnvironmentCommand: (input: StartDevEnvironmentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
47
48
|
export declare const serializeAws_restJson1StartDevEnvironmentSessionCommand: (input: StartDevEnvironmentSessionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
48
49
|
export declare const serializeAws_restJson1StopDevEnvironmentCommand: (input: StopDevEnvironmentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
50
|
+
export declare const serializeAws_restJson1StopDevEnvironmentSessionCommand: (input: StopDevEnvironmentSessionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
49
51
|
export declare const serializeAws_restJson1UpdateDevEnvironmentCommand: (input: UpdateDevEnvironmentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
50
52
|
export declare const serializeAws_restJson1VerifySessionCommand: (input: VerifySessionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
51
53
|
export declare const deserializeAws_restJson1CreateAccessTokenCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateAccessTokenCommandOutput>;
|
|
@@ -70,5 +72,6 @@ export declare const deserializeAws_restJson1ListSpacesCommand: (output: __HttpR
|
|
|
70
72
|
export declare const deserializeAws_restJson1StartDevEnvironmentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartDevEnvironmentCommandOutput>;
|
|
71
73
|
export declare const deserializeAws_restJson1StartDevEnvironmentSessionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartDevEnvironmentSessionCommandOutput>;
|
|
72
74
|
export declare const deserializeAws_restJson1StopDevEnvironmentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StopDevEnvironmentCommandOutput>;
|
|
75
|
+
export declare const deserializeAws_restJson1StopDevEnvironmentSessionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StopDevEnvironmentSessionCommandOutput>;
|
|
73
76
|
export declare const deserializeAws_restJson1UpdateDevEnvironmentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateDevEnvironmentCommandOutput>;
|
|
74
77
|
export declare const deserializeAws_restJson1VerifySessionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<VerifySessionCommandOutput>;
|
|
@@ -88,6 +88,10 @@ import {
|
|
|
88
88
|
StopDevEnvironmentCommandInput,
|
|
89
89
|
StopDevEnvironmentCommandOutput,
|
|
90
90
|
} from "./commands/StopDevEnvironmentCommand";
|
|
91
|
+
import {
|
|
92
|
+
StopDevEnvironmentSessionCommandInput,
|
|
93
|
+
StopDevEnvironmentSessionCommandOutput,
|
|
94
|
+
} from "./commands/StopDevEnvironmentSessionCommand";
|
|
91
95
|
import {
|
|
92
96
|
UpdateDevEnvironmentCommandInput,
|
|
93
97
|
UpdateDevEnvironmentCommandOutput,
|
|
@@ -383,6 +387,19 @@ export declare class CodeCatalyst extends CodeCatalystClient {
|
|
|
383
387
|
options: __HttpHandlerOptions,
|
|
384
388
|
cb: (err: any, data?: StopDevEnvironmentCommandOutput) => void
|
|
385
389
|
): void;
|
|
390
|
+
stopDevEnvironmentSession(
|
|
391
|
+
args: StopDevEnvironmentSessionCommandInput,
|
|
392
|
+
options?: __HttpHandlerOptions
|
|
393
|
+
): Promise<StopDevEnvironmentSessionCommandOutput>;
|
|
394
|
+
stopDevEnvironmentSession(
|
|
395
|
+
args: StopDevEnvironmentSessionCommandInput,
|
|
396
|
+
cb: (err: any, data?: StopDevEnvironmentSessionCommandOutput) => void
|
|
397
|
+
): void;
|
|
398
|
+
stopDevEnvironmentSession(
|
|
399
|
+
args: StopDevEnvironmentSessionCommandInput,
|
|
400
|
+
options: __HttpHandlerOptions,
|
|
401
|
+
cb: (err: any, data?: StopDevEnvironmentSessionCommandOutput) => void
|
|
402
|
+
): void;
|
|
386
403
|
updateDevEnvironment(
|
|
387
404
|
args: UpdateDevEnvironmentCommandInput,
|
|
388
405
|
options?: __HttpHandlerOptions
|
|
@@ -131,6 +131,10 @@ import {
|
|
|
131
131
|
StopDevEnvironmentCommandInput,
|
|
132
132
|
StopDevEnvironmentCommandOutput,
|
|
133
133
|
} from "./commands/StopDevEnvironmentCommand";
|
|
134
|
+
import {
|
|
135
|
+
StopDevEnvironmentSessionCommandInput,
|
|
136
|
+
StopDevEnvironmentSessionCommandOutput,
|
|
137
|
+
} from "./commands/StopDevEnvironmentSessionCommand";
|
|
134
138
|
import {
|
|
135
139
|
UpdateDevEnvironmentCommandInput,
|
|
136
140
|
UpdateDevEnvironmentCommandOutput,
|
|
@@ -167,6 +171,7 @@ export declare type ServiceInputTypes =
|
|
|
167
171
|
| StartDevEnvironmentCommandInput
|
|
168
172
|
| StartDevEnvironmentSessionCommandInput
|
|
169
173
|
| StopDevEnvironmentCommandInput
|
|
174
|
+
| StopDevEnvironmentSessionCommandInput
|
|
170
175
|
| UpdateDevEnvironmentCommandInput
|
|
171
176
|
| VerifySessionCommandInput;
|
|
172
177
|
export declare type ServiceOutputTypes =
|
|
@@ -192,6 +197,7 @@ export declare type ServiceOutputTypes =
|
|
|
192
197
|
| StartDevEnvironmentCommandOutput
|
|
193
198
|
| StartDevEnvironmentSessionCommandOutput
|
|
194
199
|
| StopDevEnvironmentCommandOutput
|
|
200
|
+
| StopDevEnvironmentSessionCommandOutput
|
|
195
201
|
| UpdateDevEnvironmentCommandOutput
|
|
196
202
|
| VerifySessionCommandOutput;
|
|
197
203
|
export interface ClientDefaults
|
|
@@ -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
|
+
StopDevEnvironmentSessionRequest,
|
|
16
|
+
StopDevEnvironmentSessionResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export interface StopDevEnvironmentSessionCommandInput
|
|
19
|
+
extends StopDevEnvironmentSessionRequest {}
|
|
20
|
+
export interface StopDevEnvironmentSessionCommandOutput
|
|
21
|
+
extends StopDevEnvironmentSessionResponse,
|
|
22
|
+
__MetadataBearer {}
|
|
23
|
+
export declare class StopDevEnvironmentSessionCommand extends $Command<
|
|
24
|
+
StopDevEnvironmentSessionCommandInput,
|
|
25
|
+
StopDevEnvironmentSessionCommandOutput,
|
|
26
|
+
CodeCatalystClientResolvedConfig
|
|
27
|
+
> {
|
|
28
|
+
readonly input: StopDevEnvironmentSessionCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: StopDevEnvironmentSessionCommandInput);
|
|
31
|
+
resolveMiddleware(
|
|
32
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
|
+
configuration: CodeCatalystClientResolvedConfig,
|
|
34
|
+
options?: __HttpHandlerOptions
|
|
35
|
+
): Handler<
|
|
36
|
+
StopDevEnvironmentSessionCommandInput,
|
|
37
|
+
StopDevEnvironmentSessionCommandOutput
|
|
38
|
+
>;
|
|
39
|
+
private serialize;
|
|
40
|
+
private deserialize;
|
|
41
|
+
}
|
|
@@ -20,5 +20,6 @@ export * from "./ListSpacesCommand";
|
|
|
20
20
|
export * from "./StartDevEnvironmentCommand";
|
|
21
21
|
export * from "./StartDevEnvironmentSessionCommand";
|
|
22
22
|
export * from "./StopDevEnvironmentCommand";
|
|
23
|
+
export * from "./StopDevEnvironmentSessionCommand";
|
|
23
24
|
export * from "./UpdateDevEnvironmentCommand";
|
|
24
25
|
export * from "./VerifySessionCommand";
|