@aws-sdk/client-codecatalyst 3.281.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 CHANGED
@@ -95,6 +95,10 @@ and the billing plan for the space.</p>
95
95
  </li>
96
96
  <li>
97
97
  <p>
98
+ <a>StopDevEnvironmentSession</a>, which stops a session for a specified Dev Environment.</p>
99
+ </li>
100
+ <li>
101
+ <p>
98
102
  <a>UpdateDevEnvironment</a>, which changes one or more values for a Dev Environment.</p>
99
103
  </li>
100
104
  <li>
@@ -488,6 +492,14 @@ StopDevEnvironment
488
492
 
489
493
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codecatalyst/classes/stopdevenvironmentcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codecatalyst/interfaces/stopdevenvironmentcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codecatalyst/interfaces/stopdevenvironmentcommandoutput.html)
490
494
 
495
+ </details>
496
+ <details>
497
+ <summary>
498
+ StopDevEnvironmentSession
499
+ </summary>
500
+
501
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codecatalyst/classes/stopdevenvironmentsessioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codecatalyst/interfaces/stopdevenvironmentsessioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codecatalyst/interfaces/stopdevenvironmentsessioncommandoutput.html)
502
+
491
503
  </details>
492
504
  <details>
493
505
  <summary>
@@ -24,6 +24,7 @@ const ListSpacesCommand_1 = require("./commands/ListSpacesCommand");
24
24
  const StartDevEnvironmentCommand_1 = require("./commands/StartDevEnvironmentCommand");
25
25
  const StartDevEnvironmentSessionCommand_1 = require("./commands/StartDevEnvironmentSessionCommand");
26
26
  const StopDevEnvironmentCommand_1 = require("./commands/StopDevEnvironmentCommand");
27
+ const StopDevEnvironmentSessionCommand_1 = require("./commands/StopDevEnvironmentSessionCommand");
27
28
  const UpdateDevEnvironmentCommand_1 = require("./commands/UpdateDevEnvironmentCommand");
28
29
  const VerifySessionCommand_1 = require("./commands/VerifySessionCommand");
29
30
  class CodeCatalyst extends CodeCatalystClient_1.CodeCatalystClient {
@@ -335,6 +336,20 @@ class CodeCatalyst extends CodeCatalystClient_1.CodeCatalystClient {
335
336
  return this.send(command, optionsOrCb);
336
337
  }
337
338
  }
339
+ stopDevEnvironmentSession(args, optionsOrCb, cb) {
340
+ const command = new StopDevEnvironmentSessionCommand_1.StopDevEnvironmentSessionCommand(args);
341
+ if (typeof optionsOrCb === "function") {
342
+ this.send(command, optionsOrCb);
343
+ }
344
+ else if (typeof cb === "function") {
345
+ if (typeof optionsOrCb !== "object")
346
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
347
+ this.send(command, optionsOrCb || {}, cb);
348
+ }
349
+ else {
350
+ return this.send(command, optionsOrCb);
351
+ }
352
+ }
338
353
  updateDevEnvironment(args, optionsOrCb, cb) {
339
354
  const command = new UpdateDevEnvironmentCommand_1.UpdateDevEnvironmentCommand(args);
340
355
  if (typeof optionsOrCb === "function") {
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.StopDevEnvironmentSessionCommand = 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 models_0_1 = require("../models/models_0");
8
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
+ class StopDevEnvironmentSessionCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ };
20
+ }
21
+ resolveMiddleware(clientStack, configuration, options) {
22
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
23
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, StopDevEnvironmentSessionCommand.getEndpointParameterInstructions()));
24
+ const stack = clientStack.concat(this.middlewareStack);
25
+ const { logger } = configuration;
26
+ const clientName = "CodeCatalystClient";
27
+ const commandName = "StopDevEnvironmentSessionCommand";
28
+ const handlerExecutionContext = {
29
+ logger,
30
+ clientName,
31
+ commandName,
32
+ inputFilterSensitiveLog: models_0_1.StopDevEnvironmentSessionRequestFilterSensitiveLog,
33
+ outputFilterSensitiveLog: models_0_1.StopDevEnvironmentSessionResponseFilterSensitiveLog,
34
+ };
35
+ const { requestHandler } = configuration;
36
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
+ }
38
+ serialize(input, context) {
39
+ return (0, Aws_restJson1_1.serializeAws_restJson1StopDevEnvironmentSessionCommand)(input, context);
40
+ }
41
+ deserialize(output, context) {
42
+ return (0, Aws_restJson1_1.deserializeAws_restJson1StopDevEnvironmentSessionCommand)(output, context);
43
+ }
44
+ }
45
+ exports.StopDevEnvironmentSessionCommand = StopDevEnvironmentSessionCommand;
@@ -23,5 +23,6 @@ tslib_1.__exportStar(require("./ListSpacesCommand"), exports);
23
23
  tslib_1.__exportStar(require("./StartDevEnvironmentCommand"), exports);
24
24
  tslib_1.__exportStar(require("./StartDevEnvironmentSessionCommand"), exports);
25
25
  tslib_1.__exportStar(require("./StopDevEnvironmentCommand"), exports);
26
+ tslib_1.__exportStar(require("./StopDevEnvironmentSessionCommand"), exports);
26
27
  tslib_1.__exportStar(require("./UpdateDevEnvironmentCommand"), exports);
27
28
  tslib_1.__exportStar(require("./VerifySessionCommand"), exports);
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.FilterFilterSensitiveLog = exports.GetDevEnvironmentResponseFilterSensitiveLog = exports.DevEnvironmentRepositorySummaryFilterSensitiveLog = exports.PersistentStorageFilterSensitiveLog = exports.IdeFilterSensitiveLog = exports.GetDevEnvironmentRequestFilterSensitiveLog = exports.DeleteDevEnvironmentResponseFilterSensitiveLog = exports.DeleteDevEnvironmentRequestFilterSensitiveLog = exports.CreateDevEnvironmentResponseFilterSensitiveLog = exports.CreateDevEnvironmentRequestFilterSensitiveLog = exports.RepositoryInputFilterSensitiveLog = exports.PersistentStorageConfigurationFilterSensitiveLog = exports.IdeConfigurationFilterSensitiveLog = exports.CreateProjectResponseFilterSensitiveLog = exports.CreateProjectRequestFilterSensitiveLog = exports.ListSpacesResponseFilterSensitiveLog = exports.SpaceSummaryFilterSensitiveLog = exports.ListSpacesRequestFilterSensitiveLog = exports.GetSpaceResponseFilterSensitiveLog = exports.GetSpaceRequestFilterSensitiveLog = exports.ListEventLogsResponseFilterSensitiveLog = exports.EventLogEntryFilterSensitiveLog = exports.UserIdentityFilterSensitiveLog = exports.EventPayloadFilterSensitiveLog = exports.ProjectInformationFilterSensitiveLog = exports.ListEventLogsRequestFilterSensitiveLog = exports.GetUserDetailsResponseFilterSensitiveLog = exports.EmailAddressFilterSensitiveLog = exports.GetUserDetailsRequestFilterSensitiveLog = exports.ListAccessTokensResponseFilterSensitiveLog = exports.AccessTokenSummaryFilterSensitiveLog = exports.ListAccessTokensRequestFilterSensitiveLog = exports.DeleteAccessTokenResponseFilterSensitiveLog = exports.DeleteAccessTokenRequestFilterSensitiveLog = exports.CreateAccessTokenResponseFilterSensitiveLog = exports.CreateAccessTokenRequestFilterSensitiveLog = exports.FilterKey = exports.ComparisonOperator = exports.DevEnvironmentSessionType = exports.DevEnvironmentStatus = exports._InstanceType = exports.UserType = exports.OperationType = exports.CatalogActionVersionFileRecordType = exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.ConflictException = exports.AccessDeniedException = void 0;
4
- exports.VerifySessionResponseFilterSensitiveLog = exports.GetSubscriptionResponseFilterSensitiveLog = exports.GetSubscriptionRequestFilterSensitiveLog = exports.ListSourceRepositoryBranchesResponseFilterSensitiveLog = exports.ListSourceRepositoryBranchesItemFilterSensitiveLog = exports.ListSourceRepositoryBranchesRequestFilterSensitiveLog = exports.CreateSourceRepositoryBranchResponseFilterSensitiveLog = exports.CreateSourceRepositoryBranchRequestFilterSensitiveLog = exports.ListSourceRepositoriesResponseFilterSensitiveLog = exports.ListSourceRepositoriesItemFilterSensitiveLog = exports.ListSourceRepositoriesRequestFilterSensitiveLog = exports.GetSourceRepositoryCloneUrlsResponseFilterSensitiveLog = exports.GetSourceRepositoryCloneUrlsRequestFilterSensitiveLog = exports.ListProjectsResponseFilterSensitiveLog = exports.ProjectSummaryFilterSensitiveLog = exports.ListProjectsRequestFilterSensitiveLog = exports.ProjectListFilterFilterSensitiveLog = exports.GetProjectResponseFilterSensitiveLog = exports.GetProjectRequestFilterSensitiveLog = exports.UpdateDevEnvironmentResponseFilterSensitiveLog = exports.UpdateDevEnvironmentRequestFilterSensitiveLog = exports.StopDevEnvironmentResponseFilterSensitiveLog = exports.StopDevEnvironmentRequestFilterSensitiveLog = exports.StartDevEnvironmentSessionResponseFilterSensitiveLog = exports.DevEnvironmentAccessDetailsFilterSensitiveLog = exports.StartDevEnvironmentSessionRequestFilterSensitiveLog = exports.DevEnvironmentSessionConfigurationFilterSensitiveLog = exports.ExecuteCommandSessionConfigurationFilterSensitiveLog = exports.StartDevEnvironmentResponseFilterSensitiveLog = exports.StartDevEnvironmentRequestFilterSensitiveLog = exports.ListDevEnvironmentsResponseFilterSensitiveLog = exports.DevEnvironmentSummaryFilterSensitiveLog = exports.ListDevEnvironmentsRequestFilterSensitiveLog = void 0;
4
+ exports.VerifySessionResponseFilterSensitiveLog = exports.GetSubscriptionResponseFilterSensitiveLog = exports.GetSubscriptionRequestFilterSensitiveLog = exports.ListSourceRepositoryBranchesResponseFilterSensitiveLog = exports.ListSourceRepositoryBranchesItemFilterSensitiveLog = exports.ListSourceRepositoryBranchesRequestFilterSensitiveLog = exports.CreateSourceRepositoryBranchResponseFilterSensitiveLog = exports.CreateSourceRepositoryBranchRequestFilterSensitiveLog = exports.ListSourceRepositoriesResponseFilterSensitiveLog = exports.ListSourceRepositoriesItemFilterSensitiveLog = exports.ListSourceRepositoriesRequestFilterSensitiveLog = exports.GetSourceRepositoryCloneUrlsResponseFilterSensitiveLog = exports.GetSourceRepositoryCloneUrlsRequestFilterSensitiveLog = exports.ListProjectsResponseFilterSensitiveLog = exports.ProjectSummaryFilterSensitiveLog = exports.ListProjectsRequestFilterSensitiveLog = exports.ProjectListFilterFilterSensitiveLog = exports.GetProjectResponseFilterSensitiveLog = exports.GetProjectRequestFilterSensitiveLog = exports.UpdateDevEnvironmentResponseFilterSensitiveLog = exports.UpdateDevEnvironmentRequestFilterSensitiveLog = exports.StopDevEnvironmentSessionResponseFilterSensitiveLog = exports.StopDevEnvironmentSessionRequestFilterSensitiveLog = exports.StopDevEnvironmentResponseFilterSensitiveLog = exports.StopDevEnvironmentRequestFilterSensitiveLog = exports.StartDevEnvironmentSessionResponseFilterSensitiveLog = exports.DevEnvironmentAccessDetailsFilterSensitiveLog = exports.StartDevEnvironmentSessionRequestFilterSensitiveLog = exports.DevEnvironmentSessionConfigurationFilterSensitiveLog = exports.ExecuteCommandSessionConfigurationFilterSensitiveLog = exports.StartDevEnvironmentResponseFilterSensitiveLog = exports.StartDevEnvironmentRequestFilterSensitiveLog = exports.ListDevEnvironmentsResponseFilterSensitiveLog = exports.DevEnvironmentSummaryFilterSensitiveLog = exports.ListDevEnvironmentsRequestFilterSensitiveLog = void 0;
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const CodeCatalystServiceException_1 = require("./CodeCatalystServiceException");
7
7
  class AccessDeniedException extends CodeCatalystServiceException_1.CodeCatalystServiceException {
@@ -330,6 +330,14 @@ const StopDevEnvironmentResponseFilterSensitiveLog = (obj) => ({
330
330
  ...obj,
331
331
  });
332
332
  exports.StopDevEnvironmentResponseFilterSensitiveLog = StopDevEnvironmentResponseFilterSensitiveLog;
333
+ const StopDevEnvironmentSessionRequestFilterSensitiveLog = (obj) => ({
334
+ ...obj,
335
+ });
336
+ exports.StopDevEnvironmentSessionRequestFilterSensitiveLog = StopDevEnvironmentSessionRequestFilterSensitiveLog;
337
+ const StopDevEnvironmentSessionResponseFilterSensitiveLog = (obj) => ({
338
+ ...obj,
339
+ });
340
+ exports.StopDevEnvironmentSessionResponseFilterSensitiveLog = StopDevEnvironmentSessionResponseFilterSensitiveLog;
333
341
  const UpdateDevEnvironmentRequestFilterSensitiveLog = (obj) => ({
334
342
  ...obj,
335
343
  });
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.deserializeAws_restJson1VerifySessionCommand = exports.deserializeAws_restJson1UpdateDevEnvironmentCommand = exports.deserializeAws_restJson1StopDevEnvironmentCommand = exports.deserializeAws_restJson1StartDevEnvironmentSessionCommand = exports.deserializeAws_restJson1StartDevEnvironmentCommand = exports.deserializeAws_restJson1ListSpacesCommand = exports.deserializeAws_restJson1ListSourceRepositoryBranchesCommand = exports.deserializeAws_restJson1ListSourceRepositoriesCommand = exports.deserializeAws_restJson1ListProjectsCommand = exports.deserializeAws_restJson1ListEventLogsCommand = exports.deserializeAws_restJson1ListDevEnvironmentsCommand = exports.deserializeAws_restJson1ListAccessTokensCommand = exports.deserializeAws_restJson1GetUserDetailsCommand = exports.deserializeAws_restJson1GetSubscriptionCommand = exports.deserializeAws_restJson1GetSpaceCommand = exports.deserializeAws_restJson1GetSourceRepositoryCloneUrlsCommand = exports.deserializeAws_restJson1GetProjectCommand = exports.deserializeAws_restJson1GetDevEnvironmentCommand = exports.deserializeAws_restJson1DeleteDevEnvironmentCommand = exports.deserializeAws_restJson1DeleteAccessTokenCommand = exports.deserializeAws_restJson1CreateSourceRepositoryBranchCommand = exports.deserializeAws_restJson1CreateProjectCommand = exports.deserializeAws_restJson1CreateDevEnvironmentCommand = exports.deserializeAws_restJson1CreateAccessTokenCommand = exports.serializeAws_restJson1VerifySessionCommand = exports.serializeAws_restJson1UpdateDevEnvironmentCommand = exports.serializeAws_restJson1StopDevEnvironmentCommand = exports.serializeAws_restJson1StartDevEnvironmentSessionCommand = exports.serializeAws_restJson1StartDevEnvironmentCommand = exports.serializeAws_restJson1ListSpacesCommand = exports.serializeAws_restJson1ListSourceRepositoryBranchesCommand = exports.serializeAws_restJson1ListSourceRepositoriesCommand = exports.serializeAws_restJson1ListProjectsCommand = exports.serializeAws_restJson1ListEventLogsCommand = exports.serializeAws_restJson1ListDevEnvironmentsCommand = exports.serializeAws_restJson1ListAccessTokensCommand = exports.serializeAws_restJson1GetUserDetailsCommand = exports.serializeAws_restJson1GetSubscriptionCommand = exports.serializeAws_restJson1GetSpaceCommand = exports.serializeAws_restJson1GetSourceRepositoryCloneUrlsCommand = exports.serializeAws_restJson1GetProjectCommand = exports.serializeAws_restJson1GetDevEnvironmentCommand = exports.serializeAws_restJson1DeleteDevEnvironmentCommand = exports.serializeAws_restJson1DeleteAccessTokenCommand = exports.serializeAws_restJson1CreateSourceRepositoryBranchCommand = exports.serializeAws_restJson1CreateProjectCommand = exports.serializeAws_restJson1CreateDevEnvironmentCommand = exports.serializeAws_restJson1CreateAccessTokenCommand = void 0;
3
+ exports.deserializeAws_restJson1VerifySessionCommand = exports.deserializeAws_restJson1UpdateDevEnvironmentCommand = exports.deserializeAws_restJson1StopDevEnvironmentSessionCommand = exports.deserializeAws_restJson1StopDevEnvironmentCommand = exports.deserializeAws_restJson1StartDevEnvironmentSessionCommand = exports.deserializeAws_restJson1StartDevEnvironmentCommand = exports.deserializeAws_restJson1ListSpacesCommand = exports.deserializeAws_restJson1ListSourceRepositoryBranchesCommand = exports.deserializeAws_restJson1ListSourceRepositoriesCommand = exports.deserializeAws_restJson1ListProjectsCommand = exports.deserializeAws_restJson1ListEventLogsCommand = exports.deserializeAws_restJson1ListDevEnvironmentsCommand = exports.deserializeAws_restJson1ListAccessTokensCommand = exports.deserializeAws_restJson1GetUserDetailsCommand = exports.deserializeAws_restJson1GetSubscriptionCommand = exports.deserializeAws_restJson1GetSpaceCommand = exports.deserializeAws_restJson1GetSourceRepositoryCloneUrlsCommand = exports.deserializeAws_restJson1GetProjectCommand = exports.deserializeAws_restJson1GetDevEnvironmentCommand = exports.deserializeAws_restJson1DeleteDevEnvironmentCommand = exports.deserializeAws_restJson1DeleteAccessTokenCommand = exports.deserializeAws_restJson1CreateSourceRepositoryBranchCommand = exports.deserializeAws_restJson1CreateProjectCommand = exports.deserializeAws_restJson1CreateDevEnvironmentCommand = exports.deserializeAws_restJson1CreateAccessTokenCommand = exports.serializeAws_restJson1VerifySessionCommand = exports.serializeAws_restJson1UpdateDevEnvironmentCommand = exports.serializeAws_restJson1StopDevEnvironmentSessionCommand = exports.serializeAws_restJson1StopDevEnvironmentCommand = exports.serializeAws_restJson1StartDevEnvironmentSessionCommand = exports.serializeAws_restJson1StartDevEnvironmentCommand = exports.serializeAws_restJson1ListSpacesCommand = exports.serializeAws_restJson1ListSourceRepositoryBranchesCommand = exports.serializeAws_restJson1ListSourceRepositoriesCommand = exports.serializeAws_restJson1ListProjectsCommand = exports.serializeAws_restJson1ListEventLogsCommand = exports.serializeAws_restJson1ListDevEnvironmentsCommand = exports.serializeAws_restJson1ListAccessTokensCommand = exports.serializeAws_restJson1GetUserDetailsCommand = exports.serializeAws_restJson1GetSubscriptionCommand = exports.serializeAws_restJson1GetSpaceCommand = exports.serializeAws_restJson1GetSourceRepositoryCloneUrlsCommand = exports.serializeAws_restJson1GetProjectCommand = exports.serializeAws_restJson1GetDevEnvironmentCommand = exports.serializeAws_restJson1DeleteDevEnvironmentCommand = exports.serializeAws_restJson1DeleteAccessTokenCommand = exports.serializeAws_restJson1CreateSourceRepositoryBranchCommand = exports.serializeAws_restJson1CreateProjectCommand = exports.serializeAws_restJson1CreateDevEnvironmentCommand = exports.serializeAws_restJson1CreateAccessTokenCommand = void 0;
4
4
  const protocol_http_1 = require("@aws-sdk/protocol-http");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const CodeCatalystServiceException_1 = require("../models/CodeCatalystServiceException");
@@ -504,6 +504,27 @@ const serializeAws_restJson1StopDevEnvironmentCommand = async (input, context) =
504
504
  });
505
505
  };
506
506
  exports.serializeAws_restJson1StopDevEnvironmentCommand = serializeAws_restJson1StopDevEnvironmentCommand;
507
+ const serializeAws_restJson1StopDevEnvironmentSessionCommand = async (input, context) => {
508
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
509
+ const headers = {};
510
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
511
+ "/v1/spaces/{spaceName}/projects/{projectName}/devEnvironments/{id}/session/{sessionId}";
512
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "spaceName", () => input.spaceName, "{spaceName}", false);
513
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "projectName", () => input.projectName, "{projectName}", false);
514
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "id", () => input.id, "{id}", false);
515
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "sessionId", () => input.sessionId, "{sessionId}", false);
516
+ let body;
517
+ return new protocol_http_1.HttpRequest({
518
+ protocol,
519
+ hostname,
520
+ port,
521
+ method: "DELETE",
522
+ headers,
523
+ path: resolvedPath,
524
+ body,
525
+ });
526
+ };
527
+ exports.serializeAws_restJson1StopDevEnvironmentSessionCommand = serializeAws_restJson1StopDevEnvironmentSessionCommand;
507
528
  const serializeAws_restJson1UpdateDevEnvironmentCommand = async (input, context) => {
508
529
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
509
530
  const headers = {
@@ -560,6 +581,9 @@ const deserializeAws_restJson1CreateAccessTokenCommand = async (output, context)
560
581
  $metadata: deserializeMetadata(output),
561
582
  });
562
583
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
584
+ if (data.accessTokenId != null) {
585
+ contents.accessTokenId = (0, smithy_client_1.expectString)(data.accessTokenId);
586
+ }
563
587
  if (data.expiresTime != null) {
564
588
  contents.expiresTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.expiresTime));
565
589
  }
@@ -1783,6 +1807,64 @@ const deserializeAws_restJson1StopDevEnvironmentCommandError = async (output, co
1783
1807
  });
1784
1808
  }
1785
1809
  };
1810
+ const deserializeAws_restJson1StopDevEnvironmentSessionCommand = async (output, context) => {
1811
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1812
+ return deserializeAws_restJson1StopDevEnvironmentSessionCommandError(output, context);
1813
+ }
1814
+ const contents = map({
1815
+ $metadata: deserializeMetadata(output),
1816
+ });
1817
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1818
+ if (data.id != null) {
1819
+ contents.id = (0, smithy_client_1.expectString)(data.id);
1820
+ }
1821
+ if (data.projectName != null) {
1822
+ contents.projectName = (0, smithy_client_1.expectString)(data.projectName);
1823
+ }
1824
+ if (data.sessionId != null) {
1825
+ contents.sessionId = (0, smithy_client_1.expectString)(data.sessionId);
1826
+ }
1827
+ if (data.spaceName != null) {
1828
+ contents.spaceName = (0, smithy_client_1.expectString)(data.spaceName);
1829
+ }
1830
+ return contents;
1831
+ };
1832
+ exports.deserializeAws_restJson1StopDevEnvironmentSessionCommand = deserializeAws_restJson1StopDevEnvironmentSessionCommand;
1833
+ const deserializeAws_restJson1StopDevEnvironmentSessionCommandError = async (output, context) => {
1834
+ const parsedOutput = {
1835
+ ...output,
1836
+ body: await parseErrorBody(output.body, context),
1837
+ };
1838
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1839
+ switch (errorCode) {
1840
+ case "AccessDeniedException":
1841
+ case "com.amazonaws.codecatalyst#AccessDeniedException":
1842
+ throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1843
+ case "ConflictException":
1844
+ case "com.amazonaws.codecatalyst#ConflictException":
1845
+ throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1846
+ case "ResourceNotFoundException":
1847
+ case "com.amazonaws.codecatalyst#ResourceNotFoundException":
1848
+ throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1849
+ case "ServiceQuotaExceededException":
1850
+ case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
1851
+ throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
1852
+ case "ThrottlingException":
1853
+ case "com.amazonaws.codecatalyst#ThrottlingException":
1854
+ throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1855
+ case "ValidationException":
1856
+ case "com.amazonaws.codecatalyst#ValidationException":
1857
+ throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1858
+ default:
1859
+ const parsedBody = parsedOutput.body;
1860
+ (0, smithy_client_1.throwDefaultError)({
1861
+ output,
1862
+ parsedBody,
1863
+ exceptionCtor: CodeCatalystServiceException_1.CodeCatalystServiceException,
1864
+ errorCode,
1865
+ });
1866
+ }
1867
+ };
1786
1868
  const deserializeAws_restJson1UpdateDevEnvironmentCommand = async (output, context) => {
1787
1869
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1788
1870
  return deserializeAws_restJson1UpdateDevEnvironmentCommandError(output, context);
@@ -21,6 +21,7 @@ import { ListSpacesCommand } from "./commands/ListSpacesCommand";
21
21
  import { StartDevEnvironmentCommand, } from "./commands/StartDevEnvironmentCommand";
22
22
  import { StartDevEnvironmentSessionCommand, } from "./commands/StartDevEnvironmentSessionCommand";
23
23
  import { StopDevEnvironmentCommand, } from "./commands/StopDevEnvironmentCommand";
24
+ import { StopDevEnvironmentSessionCommand, } from "./commands/StopDevEnvironmentSessionCommand";
24
25
  import { UpdateDevEnvironmentCommand, } from "./commands/UpdateDevEnvironmentCommand";
25
26
  import { VerifySessionCommand, } from "./commands/VerifySessionCommand";
26
27
  export class CodeCatalyst extends CodeCatalystClient {
@@ -332,6 +333,20 @@ export class CodeCatalyst extends CodeCatalystClient {
332
333
  return this.send(command, optionsOrCb);
333
334
  }
334
335
  }
336
+ stopDevEnvironmentSession(args, optionsOrCb, cb) {
337
+ const command = new StopDevEnvironmentSessionCommand(args);
338
+ if (typeof optionsOrCb === "function") {
339
+ this.send(command, optionsOrCb);
340
+ }
341
+ else if (typeof cb === "function") {
342
+ if (typeof optionsOrCb !== "object")
343
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
344
+ this.send(command, optionsOrCb || {}, cb);
345
+ }
346
+ else {
347
+ return this.send(command, optionsOrCb);
348
+ }
349
+ }
335
350
  updateDevEnvironment(args, optionsOrCb, cb) {
336
351
  const command = new UpdateDevEnvironmentCommand(args);
337
352
  if (typeof optionsOrCb === "function") {
@@ -0,0 +1,41 @@
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 { StopDevEnvironmentSessionRequestFilterSensitiveLog, StopDevEnvironmentSessionResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_restJson1StopDevEnvironmentSessionCommand, serializeAws_restJson1StopDevEnvironmentSessionCommand, } from "../protocols/Aws_restJson1";
6
+ export class StopDevEnvironmentSessionCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
10
+ }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ };
17
+ }
18
+ resolveMiddleware(clientStack, configuration, options) {
19
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
20
+ this.middlewareStack.use(getEndpointPlugin(configuration, StopDevEnvironmentSessionCommand.getEndpointParameterInstructions()));
21
+ const stack = clientStack.concat(this.middlewareStack);
22
+ const { logger } = configuration;
23
+ const clientName = "CodeCatalystClient";
24
+ const commandName = "StopDevEnvironmentSessionCommand";
25
+ const handlerExecutionContext = {
26
+ logger,
27
+ clientName,
28
+ commandName,
29
+ inputFilterSensitiveLog: StopDevEnvironmentSessionRequestFilterSensitiveLog,
30
+ outputFilterSensitiveLog: StopDevEnvironmentSessionResponseFilterSensitiveLog,
31
+ };
32
+ const { requestHandler } = configuration;
33
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
+ }
35
+ serialize(input, context) {
36
+ return serializeAws_restJson1StopDevEnvironmentSessionCommand(input, context);
37
+ }
38
+ deserialize(output, context) {
39
+ return deserializeAws_restJson1StopDevEnvironmentSessionCommand(output, context);
40
+ }
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";
@@ -272,6 +272,12 @@ export const StopDevEnvironmentRequestFilterSensitiveLog = (obj) => ({
272
272
  export const StopDevEnvironmentResponseFilterSensitiveLog = (obj) => ({
273
273
  ...obj,
274
274
  });
275
+ export const StopDevEnvironmentSessionRequestFilterSensitiveLog = (obj) => ({
276
+ ...obj,
277
+ });
278
+ export const StopDevEnvironmentSessionResponseFilterSensitiveLog = (obj) => ({
279
+ ...obj,
280
+ });
275
281
  export const UpdateDevEnvironmentRequestFilterSensitiveLog = (obj) => ({
276
282
  ...obj,
277
283
  });
@@ -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
- * By default, a Dev Environment is configured to have a 2 core processor, 4GB of RAM, and 16GB of persistent storage. </p>
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
- * By default, a Dev Environment is configured to have a 2 core processor, 4GB of RAM, and 16GB of persistent storage. </p>
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?: string;
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?: Date;
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.</p>
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.</p>
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. By default, a
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>Valid values for persistent storage are based on memory sizes in 16GB increments. Valid
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?: ListSourceRepositoryBranchesItem[];
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
  */
@@ -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";
@@ -18,8 +18,9 @@ export interface CreateAccessTokenRequest {
18
18
  }
19
19
  export interface CreateAccessTokenResponse {
20
20
  secret: string | undefined;
21
- name?: string;
22
- expiresTime?: Date;
21
+ name: string | undefined;
22
+ expiresTime: Date | undefined;
23
+ accessTokenId: string | undefined;
23
24
  }
24
25
  export declare class ResourceNotFoundException extends __BaseException {
25
26
  readonly name: "ResourceNotFoundException";
@@ -340,6 +341,18 @@ export interface StopDevEnvironmentResponse {
340
341
  id: string | undefined;
341
342
  status: DevEnvironmentStatus | string | undefined;
342
343
  }
344
+ export interface StopDevEnvironmentSessionRequest {
345
+ spaceName: string | undefined;
346
+ projectName: string | undefined;
347
+ id: string | undefined;
348
+ sessionId: string | undefined;
349
+ }
350
+ export interface StopDevEnvironmentSessionResponse {
351
+ spaceName: string | undefined;
352
+ projectName: string | undefined;
353
+ id: string | undefined;
354
+ sessionId: string | undefined;
355
+ }
343
356
  export interface UpdateDevEnvironmentRequest {
344
357
  spaceName: string | undefined;
345
358
  projectName: string | undefined;
@@ -453,7 +466,7 @@ export interface ListSourceRepositoryBranchesItem {
453
466
  }
454
467
  export interface ListSourceRepositoryBranchesResponse {
455
468
  nextToken?: string;
456
- items?: ListSourceRepositoryBranchesItem[];
469
+ items: ListSourceRepositoryBranchesItem[] | undefined;
457
470
  }
458
471
  export interface GetSubscriptionRequest {
459
472
  spaceName: string | undefined;
@@ -597,6 +610,12 @@ export declare const StopDevEnvironmentRequestFilterSensitiveLog: (
597
610
  export declare const StopDevEnvironmentResponseFilterSensitiveLog: (
598
611
  obj: StopDevEnvironmentResponse
599
612
  ) => any;
613
+ export declare const StopDevEnvironmentSessionRequestFilterSensitiveLog: (
614
+ obj: StopDevEnvironmentSessionRequest
615
+ ) => any;
616
+ export declare const StopDevEnvironmentSessionResponseFilterSensitiveLog: (
617
+ obj: StopDevEnvironmentSessionResponse
618
+ ) => any;
600
619
  export declare const UpdateDevEnvironmentRequestFilterSensitiveLog: (
601
620
  obj: UpdateDevEnvironmentRequest
602
621
  ) => any;
@@ -91,6 +91,10 @@ import {
91
91
  StopDevEnvironmentCommandInput,
92
92
  StopDevEnvironmentCommandOutput,
93
93
  } from "../commands/StopDevEnvironmentCommand";
94
+ import {
95
+ StopDevEnvironmentSessionCommandInput,
96
+ StopDevEnvironmentSessionCommandOutput,
97
+ } from "../commands/StopDevEnvironmentSessionCommand";
94
98
  import {
95
99
  UpdateDevEnvironmentCommandInput,
96
100
  UpdateDevEnvironmentCommandOutput,
@@ -187,6 +191,10 @@ export declare const serializeAws_restJson1StopDevEnvironmentCommand: (
187
191
  input: StopDevEnvironmentCommandInput,
188
192
  context: __SerdeContext
189
193
  ) => Promise<__HttpRequest>;
194
+ export declare const serializeAws_restJson1StopDevEnvironmentSessionCommand: (
195
+ input: StopDevEnvironmentSessionCommandInput,
196
+ context: __SerdeContext
197
+ ) => Promise<__HttpRequest>;
190
198
  export declare const serializeAws_restJson1UpdateDevEnvironmentCommand: (
191
199
  input: UpdateDevEnvironmentCommandInput,
192
200
  context: __SerdeContext
@@ -283,6 +291,10 @@ export declare const deserializeAws_restJson1StopDevEnvironmentCommand: (
283
291
  output: __HttpResponse,
284
292
  context: __SerdeContext
285
293
  ) => Promise<StopDevEnvironmentCommandOutput>;
294
+ export declare const deserializeAws_restJson1StopDevEnvironmentSessionCommand: (
295
+ output: __HttpResponse,
296
+ context: __SerdeContext
297
+ ) => Promise<StopDevEnvironmentSessionCommandOutput>;
286
298
  export declare const deserializeAws_restJson1UpdateDevEnvironmentCommand: (
287
299
  output: __HttpResponse,
288
300
  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.281.0",
4
+ "version": "3.282.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",
@@ -20,23 +20,23 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/config-resolver": "3.272.0",
24
- "@aws-sdk/fetch-http-handler": "3.272.0",
23
+ "@aws-sdk/config-resolver": "3.282.0",
24
+ "@aws-sdk/fetch-http-handler": "3.282.0",
25
25
  "@aws-sdk/hash-node": "3.272.0",
26
26
  "@aws-sdk/invalid-dependency": "3.272.0",
27
- "@aws-sdk/middleware-content-length": "3.272.0",
28
- "@aws-sdk/middleware-endpoint": "3.272.0",
29
- "@aws-sdk/middleware-host-header": "3.278.0",
27
+ "@aws-sdk/middleware-content-length": "3.282.0",
28
+ "@aws-sdk/middleware-endpoint": "3.282.0",
29
+ "@aws-sdk/middleware-host-header": "3.282.0",
30
30
  "@aws-sdk/middleware-logger": "3.272.0",
31
- "@aws-sdk/middleware-recursion-detection": "3.272.0",
32
- "@aws-sdk/middleware-retry": "3.272.0",
31
+ "@aws-sdk/middleware-recursion-detection": "3.282.0",
32
+ "@aws-sdk/middleware-retry": "3.282.0",
33
33
  "@aws-sdk/middleware-serde": "3.272.0",
34
34
  "@aws-sdk/middleware-stack": "3.272.0",
35
- "@aws-sdk/middleware-token": "3.281.0",
36
- "@aws-sdk/middleware-user-agent": "3.272.0",
35
+ "@aws-sdk/middleware-token": "3.282.0",
36
+ "@aws-sdk/middleware-user-agent": "3.282.0",
37
37
  "@aws-sdk/node-config-provider": "3.272.0",
38
- "@aws-sdk/node-http-handler": "3.272.0",
39
- "@aws-sdk/protocol-http": "3.272.0",
38
+ "@aws-sdk/node-http-handler": "3.282.0",
39
+ "@aws-sdk/protocol-http": "3.282.0",
40
40
  "@aws-sdk/smithy-client": "3.279.0",
41
41
  "@aws-sdk/types": "3.272.0",
42
42
  "@aws-sdk/url-parser": "3.272.0",
@@ -44,11 +44,11 @@
44
44
  "@aws-sdk/util-body-length-browser": "3.188.0",
45
45
  "@aws-sdk/util-body-length-node": "3.208.0",
46
46
  "@aws-sdk/util-defaults-mode-browser": "3.279.0",
47
- "@aws-sdk/util-defaults-mode-node": "3.279.0",
47
+ "@aws-sdk/util-defaults-mode-node": "3.282.0",
48
48
  "@aws-sdk/util-endpoints": "3.272.0",
49
49
  "@aws-sdk/util-retry": "3.272.0",
50
- "@aws-sdk/util-user-agent-browser": "3.272.0",
51
- "@aws-sdk/util-user-agent-node": "3.272.0",
50
+ "@aws-sdk/util-user-agent-browser": "3.282.0",
51
+ "@aws-sdk/util-user-agent-node": "3.282.0",
52
52
  "@aws-sdk/util-utf8": "3.254.0",
53
53
  "tslib": "^2.3.1"
54
54
  },