@aws-sdk/client-codecatalyst 3.279.0 → 3.282.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 +207 -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/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/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/CreateAccessTokenCommand.d.ts +6 -0
- package/dist-types/commands/CreateDevEnvironmentCommand.d.ts +11 -1
- package/dist-types/commands/CreateProjectCommand.d.ts +6 -0
- package/dist-types/commands/CreateSourceRepositoryBranchCommand.d.ts +6 -0
- package/dist-types/commands/DeleteAccessTokenCommand.d.ts +6 -0
- package/dist-types/commands/DeleteDevEnvironmentCommand.d.ts +6 -0
- package/dist-types/commands/GetDevEnvironmentCommand.d.ts +6 -0
- package/dist-types/commands/GetProjectCommand.d.ts +6 -0
- package/dist-types/commands/GetSourceRepositoryCloneUrlsCommand.d.ts +6 -0
- package/dist-types/commands/GetSpaceCommand.d.ts +6 -0
- package/dist-types/commands/GetSubscriptionCommand.d.ts +6 -0
- package/dist-types/commands/GetUserDetailsCommand.d.ts +6 -0
- package/dist-types/commands/ListAccessTokensCommand.d.ts +6 -0
- package/dist-types/commands/ListDevEnvironmentsCommand.d.ts +6 -0
- package/dist-types/commands/ListEventLogsCommand.d.ts +6 -0
- package/dist-types/commands/ListProjectsCommand.d.ts +6 -0
- package/dist-types/commands/ListSourceRepositoriesCommand.d.ts +6 -0
- package/dist-types/commands/ListSourceRepositoryBranchesCommand.d.ts +6 -0
- package/dist-types/commands/ListSpacesCommand.d.ts +6 -0
- package/dist-types/commands/StartDevEnvironmentCommand.d.ts +6 -0
- package/dist-types/commands/StartDevEnvironmentSessionCommand.d.ts +6 -0
- package/dist-types/commands/StopDevEnvironmentCommand.d.ts +6 -0
- package/dist-types/commands/StopDevEnvironmentSessionCommand.d.ts +43 -0
- package/dist-types/commands/UpdateDevEnvironmentCommand.d.ts +6 -0
- package/dist-types/commands/VerifySessionCommand.d.ts +6 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +61 -11
- 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/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +15 -15
|
@@ -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>
|
|
@@ -3,8 +3,14 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { CodeCatalystClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCatalystClient";
|
|
5
5
|
import { CreateAccessTokenRequest, CreateAccessTokenResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link CreateAccessTokenCommand}.
|
|
8
|
+
*/
|
|
6
9
|
export interface CreateAccessTokenCommandInput extends CreateAccessTokenRequest {
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link CreateAccessTokenCommand}.
|
|
13
|
+
*/
|
|
8
14
|
export interface CreateAccessTokenCommandOutput extends CreateAccessTokenResponse, __MetadataBearer {
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
@@ -3,13 +3,23 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { CodeCatalystClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCatalystClient";
|
|
5
5
|
import { CreateDevEnvironmentRequest, CreateDevEnvironmentResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link CreateDevEnvironmentCommand}.
|
|
8
|
+
*/
|
|
6
9
|
export interface CreateDevEnvironmentCommandInput extends CreateDevEnvironmentRequest {
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link CreateDevEnvironmentCommand}.
|
|
13
|
+
*/
|
|
8
14
|
export interface CreateDevEnvironmentCommandOutput extends CreateDevEnvironmentResponse, __MetadataBearer {
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
11
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.
|
|
12
|
-
*
|
|
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>
|
|
13
23
|
* @example
|
|
14
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
15
25
|
* ```javascript
|
|
@@ -3,8 +3,14 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { CodeCatalystClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCatalystClient";
|
|
5
5
|
import { CreateProjectRequest, CreateProjectResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link CreateProjectCommand}.
|
|
8
|
+
*/
|
|
6
9
|
export interface CreateProjectCommandInput extends CreateProjectRequest {
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link CreateProjectCommand}.
|
|
13
|
+
*/
|
|
8
14
|
export interface CreateProjectCommandOutput extends CreateProjectResponse, __MetadataBearer {
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
@@ -3,8 +3,14 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { CodeCatalystClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCatalystClient";
|
|
5
5
|
import { CreateSourceRepositoryBranchRequest, CreateSourceRepositoryBranchResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link CreateSourceRepositoryBranchCommand}.
|
|
8
|
+
*/
|
|
6
9
|
export interface CreateSourceRepositoryBranchCommandInput extends CreateSourceRepositoryBranchRequest {
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link CreateSourceRepositoryBranchCommand}.
|
|
13
|
+
*/
|
|
8
14
|
export interface CreateSourceRepositoryBranchCommandOutput extends CreateSourceRepositoryBranchResponse, __MetadataBearer {
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
@@ -3,8 +3,14 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { CodeCatalystClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCatalystClient";
|
|
5
5
|
import { DeleteAccessTokenRequest, DeleteAccessTokenResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link DeleteAccessTokenCommand}.
|
|
8
|
+
*/
|
|
6
9
|
export interface DeleteAccessTokenCommandInput extends DeleteAccessTokenRequest {
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link DeleteAccessTokenCommand}.
|
|
13
|
+
*/
|
|
8
14
|
export interface DeleteAccessTokenCommandOutput extends DeleteAccessTokenResponse, __MetadataBearer {
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
@@ -3,8 +3,14 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { CodeCatalystClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCatalystClient";
|
|
5
5
|
import { DeleteDevEnvironmentRequest, DeleteDevEnvironmentResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link DeleteDevEnvironmentCommand}.
|
|
8
|
+
*/
|
|
6
9
|
export interface DeleteDevEnvironmentCommandInput extends DeleteDevEnvironmentRequest {
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link DeleteDevEnvironmentCommand}.
|
|
13
|
+
*/
|
|
8
14
|
export interface DeleteDevEnvironmentCommandOutput extends DeleteDevEnvironmentResponse, __MetadataBearer {
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
@@ -3,8 +3,14 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { CodeCatalystClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCatalystClient";
|
|
5
5
|
import { GetDevEnvironmentRequest, GetDevEnvironmentResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link GetDevEnvironmentCommand}.
|
|
8
|
+
*/
|
|
6
9
|
export interface GetDevEnvironmentCommandInput extends GetDevEnvironmentRequest {
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link GetDevEnvironmentCommand}.
|
|
13
|
+
*/
|
|
8
14
|
export interface GetDevEnvironmentCommandOutput extends GetDevEnvironmentResponse, __MetadataBearer {
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
@@ -3,8 +3,14 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { CodeCatalystClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCatalystClient";
|
|
5
5
|
import { GetProjectRequest, GetProjectResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link GetProjectCommand}.
|
|
8
|
+
*/
|
|
6
9
|
export interface GetProjectCommandInput extends GetProjectRequest {
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link GetProjectCommand}.
|
|
13
|
+
*/
|
|
8
14
|
export interface GetProjectCommandOutput extends GetProjectResponse, __MetadataBearer {
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
@@ -3,8 +3,14 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { CodeCatalystClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCatalystClient";
|
|
5
5
|
import { GetSourceRepositoryCloneUrlsRequest, GetSourceRepositoryCloneUrlsResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link GetSourceRepositoryCloneUrlsCommand}.
|
|
8
|
+
*/
|
|
6
9
|
export interface GetSourceRepositoryCloneUrlsCommandInput extends GetSourceRepositoryCloneUrlsRequest {
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link GetSourceRepositoryCloneUrlsCommand}.
|
|
13
|
+
*/
|
|
8
14
|
export interface GetSourceRepositoryCloneUrlsCommandOutput extends GetSourceRepositoryCloneUrlsResponse, __MetadataBearer {
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
@@ -3,8 +3,14 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { CodeCatalystClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCatalystClient";
|
|
5
5
|
import { GetSpaceRequest, GetSpaceResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link GetSpaceCommand}.
|
|
8
|
+
*/
|
|
6
9
|
export interface GetSpaceCommandInput extends GetSpaceRequest {
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link GetSpaceCommand}.
|
|
13
|
+
*/
|
|
8
14
|
export interface GetSpaceCommandOutput extends GetSpaceResponse, __MetadataBearer {
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
@@ -3,8 +3,14 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { CodeCatalystClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCatalystClient";
|
|
5
5
|
import { GetSubscriptionRequest, GetSubscriptionResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link GetSubscriptionCommand}.
|
|
8
|
+
*/
|
|
6
9
|
export interface GetSubscriptionCommandInput extends GetSubscriptionRequest {
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link GetSubscriptionCommand}.
|
|
13
|
+
*/
|
|
8
14
|
export interface GetSubscriptionCommandOutput extends GetSubscriptionResponse, __MetadataBearer {
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
@@ -3,8 +3,14 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { CodeCatalystClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCatalystClient";
|
|
5
5
|
import { GetUserDetailsRequest, GetUserDetailsResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link GetUserDetailsCommand}.
|
|
8
|
+
*/
|
|
6
9
|
export interface GetUserDetailsCommandInput extends GetUserDetailsRequest {
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link GetUserDetailsCommand}.
|
|
13
|
+
*/
|
|
8
14
|
export interface GetUserDetailsCommandOutput extends GetUserDetailsResponse, __MetadataBearer {
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
@@ -3,8 +3,14 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { CodeCatalystClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCatalystClient";
|
|
5
5
|
import { ListAccessTokensRequest, ListAccessTokensResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link ListAccessTokensCommand}.
|
|
8
|
+
*/
|
|
6
9
|
export interface ListAccessTokensCommandInput extends ListAccessTokensRequest {
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link ListAccessTokensCommand}.
|
|
13
|
+
*/
|
|
8
14
|
export interface ListAccessTokensCommandOutput extends ListAccessTokensResponse, __MetadataBearer {
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
@@ -3,8 +3,14 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { CodeCatalystClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCatalystClient";
|
|
5
5
|
import { ListDevEnvironmentsRequest, ListDevEnvironmentsResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link ListDevEnvironmentsCommand}.
|
|
8
|
+
*/
|
|
6
9
|
export interface ListDevEnvironmentsCommandInput extends ListDevEnvironmentsRequest {
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link ListDevEnvironmentsCommand}.
|
|
13
|
+
*/
|
|
8
14
|
export interface ListDevEnvironmentsCommandOutput extends ListDevEnvironmentsResponse, __MetadataBearer {
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
@@ -3,8 +3,14 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { CodeCatalystClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCatalystClient";
|
|
5
5
|
import { ListEventLogsRequest, ListEventLogsResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link ListEventLogsCommand}.
|
|
8
|
+
*/
|
|
6
9
|
export interface ListEventLogsCommandInput extends ListEventLogsRequest {
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link ListEventLogsCommand}.
|
|
13
|
+
*/
|
|
8
14
|
export interface ListEventLogsCommandOutput extends ListEventLogsResponse, __MetadataBearer {
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
@@ -3,8 +3,14 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { CodeCatalystClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCatalystClient";
|
|
5
5
|
import { ListProjectsRequest, ListProjectsResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link ListProjectsCommand}.
|
|
8
|
+
*/
|
|
6
9
|
export interface ListProjectsCommandInput extends ListProjectsRequest {
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link ListProjectsCommand}.
|
|
13
|
+
*/
|
|
8
14
|
export interface ListProjectsCommandOutput extends ListProjectsResponse, __MetadataBearer {
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
@@ -3,8 +3,14 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { CodeCatalystClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCatalystClient";
|
|
5
5
|
import { ListSourceRepositoriesRequest, ListSourceRepositoriesResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link ListSourceRepositoriesCommand}.
|
|
8
|
+
*/
|
|
6
9
|
export interface ListSourceRepositoriesCommandInput extends ListSourceRepositoriesRequest {
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link ListSourceRepositoriesCommand}.
|
|
13
|
+
*/
|
|
8
14
|
export interface ListSourceRepositoriesCommandOutput extends ListSourceRepositoriesResponse, __MetadataBearer {
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
@@ -3,8 +3,14 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { CodeCatalystClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCatalystClient";
|
|
5
5
|
import { ListSourceRepositoryBranchesRequest, ListSourceRepositoryBranchesResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link ListSourceRepositoryBranchesCommand}.
|
|
8
|
+
*/
|
|
6
9
|
export interface ListSourceRepositoryBranchesCommandInput extends ListSourceRepositoryBranchesRequest {
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link ListSourceRepositoryBranchesCommand}.
|
|
13
|
+
*/
|
|
8
14
|
export interface ListSourceRepositoryBranchesCommandOutput extends ListSourceRepositoryBranchesResponse, __MetadataBearer {
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
@@ -3,8 +3,14 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { CodeCatalystClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCatalystClient";
|
|
5
5
|
import { ListSpacesRequest, ListSpacesResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link ListSpacesCommand}.
|
|
8
|
+
*/
|
|
6
9
|
export interface ListSpacesCommandInput extends ListSpacesRequest {
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link ListSpacesCommand}.
|
|
13
|
+
*/
|
|
8
14
|
export interface ListSpacesCommandOutput extends ListSpacesResponse, __MetadataBearer {
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
@@ -3,8 +3,14 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { CodeCatalystClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCatalystClient";
|
|
5
5
|
import { StartDevEnvironmentRequest, StartDevEnvironmentResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link StartDevEnvironmentCommand}.
|
|
8
|
+
*/
|
|
6
9
|
export interface StartDevEnvironmentCommandInput extends StartDevEnvironmentRequest {
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link StartDevEnvironmentCommand}.
|
|
13
|
+
*/
|
|
8
14
|
export interface StartDevEnvironmentCommandOutput extends StartDevEnvironmentResponse, __MetadataBearer {
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
@@ -3,8 +3,14 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { CodeCatalystClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCatalystClient";
|
|
5
5
|
import { StartDevEnvironmentSessionRequest, StartDevEnvironmentSessionResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link StartDevEnvironmentSessionCommand}.
|
|
8
|
+
*/
|
|
6
9
|
export interface StartDevEnvironmentSessionCommandInput extends StartDevEnvironmentSessionRequest {
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link StartDevEnvironmentSessionCommand}.
|
|
13
|
+
*/
|
|
8
14
|
export interface StartDevEnvironmentSessionCommandOutput extends StartDevEnvironmentSessionResponse, __MetadataBearer {
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
@@ -3,8 +3,14 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { CodeCatalystClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCatalystClient";
|
|
5
5
|
import { StopDevEnvironmentRequest, StopDevEnvironmentResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link StopDevEnvironmentCommand}.
|
|
8
|
+
*/
|
|
6
9
|
export interface StopDevEnvironmentCommandInput extends StopDevEnvironmentRequest {
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link StopDevEnvironmentCommand}.
|
|
13
|
+
*/
|
|
8
14
|
export interface StopDevEnvironmentCommandOutput extends StopDevEnvironmentResponse, __MetadataBearer {
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
@@ -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
|
+
}
|
|
@@ -3,8 +3,14 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { CodeCatalystClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCatalystClient";
|
|
5
5
|
import { UpdateDevEnvironmentRequest, UpdateDevEnvironmentResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link UpdateDevEnvironmentCommand}.
|
|
8
|
+
*/
|
|
6
9
|
export interface UpdateDevEnvironmentCommandInput extends UpdateDevEnvironmentRequest {
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link UpdateDevEnvironmentCommand}.
|
|
13
|
+
*/
|
|
8
14
|
export interface UpdateDevEnvironmentCommandOutput extends UpdateDevEnvironmentResponse, __MetadataBearer {
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
@@ -3,8 +3,14 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { CodeCatalystClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCatalystClient";
|
|
5
5
|
import { VerifySessionResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link VerifySessionCommand}.
|
|
8
|
+
*/
|
|
6
9
|
export interface VerifySessionCommandInput {
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link VerifySessionCommand}.
|
|
13
|
+
*/
|
|
8
14
|
export interface VerifySessionCommandOutput extends VerifySessionResponse, __MetadataBearer {
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
@@ -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";
|