@aws-sdk/client-codecatalyst 3.332.0 → 3.335.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/README.md +12 -0
  2. package/dist-cjs/CodeCatalyst.js +2 -0
  3. package/dist-cjs/commands/ListDevEnvironmentSessionsCommand.js +44 -0
  4. package/dist-cjs/commands/index.js +1 -0
  5. package/dist-cjs/pagination/ListDevEnvironmentSessionsPaginator.js +29 -0
  6. package/dist-cjs/pagination/index.js +1 -0
  7. package/dist-cjs/protocols/Aws_restJson1.js +96 -2
  8. package/dist-es/CodeCatalyst.js +2 -0
  9. package/dist-es/commands/ListDevEnvironmentSessionsCommand.js +40 -0
  10. package/dist-es/commands/index.js +1 -0
  11. package/dist-es/pagination/ListDevEnvironmentSessionsPaginator.js +25 -0
  12. package/dist-es/pagination/index.js +1 -0
  13. package/dist-es/protocols/Aws_restJson1.js +92 -1
  14. package/dist-types/CodeCatalyst.d.ts +11 -0
  15. package/dist-types/CodeCatalystClient.d.ts +10 -4
  16. package/dist-types/commands/ListDevEnvironmentSessionsCommand.d.ts +102 -0
  17. package/dist-types/commands/index.d.ts +1 -0
  18. package/dist-types/endpoint/EndpointParameters.d.ts +2 -1
  19. package/dist-types/models/models_0.d.ts +65 -0
  20. package/dist-types/pagination/ListDevEnvironmentSessionsPaginator.d.ts +7 -0
  21. package/dist-types/pagination/index.d.ts +1 -0
  22. package/dist-types/protocols/Aws_restJson1.d.ts +11 -2
  23. package/dist-types/runtimeConfig.browser.d.ts +12 -12
  24. package/dist-types/runtimeConfig.d.ts +8 -8
  25. package/dist-types/runtimeConfig.native.d.ts +13 -13
  26. package/dist-types/runtimeConfig.shared.d.ts +4 -4
  27. package/dist-types/ts3.4/CodeCatalyst.d.ts +17 -0
  28. package/dist-types/ts3.4/CodeCatalystClient.d.ts +13 -5
  29. package/dist-types/ts3.4/commands/ListDevEnvironmentSessionsCommand.d.ts +41 -0
  30. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  31. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -2
  32. package/dist-types/ts3.4/models/models_0.d.ts +18 -0
  33. package/dist-types/ts3.4/pagination/ListDevEnvironmentSessionsPaginator.d.ts +11 -0
  34. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  35. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +14 -2
  36. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +21 -15
  37. package/dist-types/ts3.4/runtimeConfig.d.ts +14 -11
  38. package/dist-types/ts3.4/runtimeConfig.native.d.ts +24 -15
  39. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -4
  40. package/package.json +4 -3
@@ -0,0 +1,102 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { CodeCatalystClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCatalystClient";
5
+ import { ListDevEnvironmentSessionsRequest, ListDevEnvironmentSessionsResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link ListDevEnvironmentSessionsCommand}.
10
+ */
11
+ export interface ListDevEnvironmentSessionsCommandInput extends ListDevEnvironmentSessionsRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link ListDevEnvironmentSessionsCommand}.
17
+ */
18
+ export interface ListDevEnvironmentSessionsCommandOutput extends ListDevEnvironmentSessionsResponse, __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Retrieves a list of active sessions for a Dev Environment in a project.</p>
23
+ * @example
24
+ * Use a bare-bones client and the command you need to make an API call.
25
+ * ```javascript
26
+ * import { CodeCatalystClient, ListDevEnvironmentSessionsCommand } from "@aws-sdk/client-codecatalyst"; // ES Modules import
27
+ * // const { CodeCatalystClient, ListDevEnvironmentSessionsCommand } = require("@aws-sdk/client-codecatalyst"); // CommonJS import
28
+ * const client = new CodeCatalystClient(config);
29
+ * const input = { // ListDevEnvironmentSessionsRequest
30
+ * spaceName: "STRING_VALUE", // required
31
+ * projectName: "STRING_VALUE", // required
32
+ * devEnvironmentId: "STRING_VALUE", // required
33
+ * nextToken: "STRING_VALUE",
34
+ * maxResults: Number("int"),
35
+ * };
36
+ * const command = new ListDevEnvironmentSessionsCommand(input);
37
+ * const response = await client.send(command);
38
+ * // { // ListDevEnvironmentSessionsResponse
39
+ * // items: [ // DevEnvironmentSessionsSummaryList // required
40
+ * // { // DevEnvironmentSessionSummary
41
+ * // spaceName: "STRING_VALUE", // required
42
+ * // projectName: "STRING_VALUE", // required
43
+ * // devEnvironmentId: "STRING_VALUE", // required
44
+ * // startedTime: new Date("TIMESTAMP"), // required
45
+ * // id: "STRING_VALUE", // required
46
+ * // },
47
+ * // ],
48
+ * // nextToken: "STRING_VALUE",
49
+ * // };
50
+ *
51
+ * ```
52
+ *
53
+ * @param ListDevEnvironmentSessionsCommandInput - {@link ListDevEnvironmentSessionsCommandInput}
54
+ * @returns {@link ListDevEnvironmentSessionsCommandOutput}
55
+ * @see {@link ListDevEnvironmentSessionsCommandInput} for command's `input` shape.
56
+ * @see {@link ListDevEnvironmentSessionsCommandOutput} for command's `response` shape.
57
+ * @see {@link CodeCatalystClientResolvedConfig | config} for CodeCatalystClient's `config` shape.
58
+ *
59
+ * @throws {@link AccessDeniedException} (client fault)
60
+ * <p>The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.</p>
61
+ *
62
+ * @throws {@link ConflictException} (client fault)
63
+ * <p>The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request.
64
+ * Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.</p>
65
+ *
66
+ * @throws {@link ResourceNotFoundException} (client fault)
67
+ * <p>The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.</p>
68
+ *
69
+ * @throws {@link ServiceQuotaExceededException} (client fault)
70
+ * <p>The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce
71
+ * the number of resources, or change the tier if applicable.</p>
72
+ *
73
+ * @throws {@link ThrottlingException} (client fault)
74
+ * <p>The request was denied due to request throttling.</p>
75
+ *
76
+ * @throws {@link ValidationException} (client fault)
77
+ * <p>The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.</p>
78
+ *
79
+ * @throws {@link CodeCatalystServiceException}
80
+ * <p>Base exception class for all service exceptions from CodeCatalyst service.</p>
81
+ *
82
+ */
83
+ export declare class ListDevEnvironmentSessionsCommand extends $Command<ListDevEnvironmentSessionsCommandInput, ListDevEnvironmentSessionsCommandOutput, CodeCatalystClientResolvedConfig> {
84
+ readonly input: ListDevEnvironmentSessionsCommandInput;
85
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
86
+ /**
87
+ * @public
88
+ */
89
+ constructor(input: ListDevEnvironmentSessionsCommandInput);
90
+ /**
91
+ * @internal
92
+ */
93
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeCatalystClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListDevEnvironmentSessionsCommandInput, ListDevEnvironmentSessionsCommandOutput>;
94
+ /**
95
+ * @internal
96
+ */
97
+ private serialize;
98
+ /**
99
+ * @internal
100
+ */
101
+ private deserialize;
102
+ }
@@ -11,6 +11,7 @@ export * from "./GetSpaceCommand";
11
11
  export * from "./GetSubscriptionCommand";
12
12
  export * from "./GetUserDetailsCommand";
13
13
  export * from "./ListAccessTokensCommand";
14
+ export * from "./ListDevEnvironmentSessionsCommand";
14
15
  export * from "./ListDevEnvironmentsCommand";
15
16
  export * from "./ListEventLogsCommand";
16
17
  export * from "./ListProjectsCommand";
@@ -1,4 +1,5 @@
1
- import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@aws-sdk/types";
1
+ import { EndpointParameters as __EndpointParameters, EndpointV2 } from "@aws-sdk/types";
2
+ import { Endpoint, Provider } from "@smithy/types";
2
3
  export interface ClientInputEndpointParameters {
3
4
  useFipsEndpoint?: boolean | Provider<boolean>;
4
5
  region?: string | Provider<string>;
@@ -926,6 +926,71 @@ export interface ListDevEnvironmentsResponse {
926
926
  */
927
927
  nextToken?: string;
928
928
  }
929
+ /**
930
+ * @public
931
+ */
932
+ export interface ListDevEnvironmentSessionsRequest {
933
+ /**
934
+ * <p>The name of the space.</p>
935
+ */
936
+ spaceName: string | undefined;
937
+ /**
938
+ * <p>The name of the project in the space.</p>
939
+ */
940
+ projectName: string | undefined;
941
+ /**
942
+ * <p>The system-generated unique ID of the Dev Environment.</p>
943
+ */
944
+ devEnvironmentId: string | undefined;
945
+ /**
946
+ * <p>A token returned from a call to this API to indicate the next batch of results to return, if any.</p>
947
+ */
948
+ nextToken?: string;
949
+ /**
950
+ * <p>The maximum number of results to show in a single call to this API. If the number of results is larger than the number you specified, the response will include a <code>NextToken</code> element, which you can use to obtain additional results.</p>
951
+ */
952
+ maxResults?: number;
953
+ }
954
+ /**
955
+ * @public
956
+ * <p>Information about active sessions for a Dev Environment.</p>
957
+ */
958
+ export interface DevEnvironmentSessionSummary {
959
+ /**
960
+ * <p>The name of the space.</p>
961
+ */
962
+ spaceName: string | undefined;
963
+ /**
964
+ * <p>The name of the project in the space.</p>
965
+ */
966
+ projectName: string | undefined;
967
+ /**
968
+ * <p>The system-generated unique ID of the Dev Environment.</p>
969
+ */
970
+ devEnvironmentId: string | undefined;
971
+ /**
972
+ * <p>The date and time the session started, in coordinated universal time (UTC) timestamp format as specified in <a href="https://www.rfc-editor.org/rfc/rfc3339#section-5.6">RFC 3339</a>
973
+ * </p>
974
+ */
975
+ startedTime: Date | undefined;
976
+ /**
977
+ * <p>The system-generated unique ID of the Dev Environment session.</p>
978
+ */
979
+ id: string | undefined;
980
+ }
981
+ /**
982
+ * @public
983
+ */
984
+ export interface ListDevEnvironmentSessionsResponse {
985
+ /**
986
+ * <p>Information about each session retrieved in the list.</p>
987
+ */
988
+ items: DevEnvironmentSessionSummary[] | undefined;
989
+ /**
990
+ * <p>A token returned from a call to this API to indicate the next batch of results to return, if any.</p>
991
+ */
992
+ nextToken?: string;
993
+ }
929
994
  /**
930
995
  * @public
931
996
  */
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListDevEnvironmentSessionsCommandInput, ListDevEnvironmentSessionsCommandOutput } from "../commands/ListDevEnvironmentSessionsCommand";
3
+ import { CodeCatalystPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare function paginateListDevEnvironmentSessions(config: CodeCatalystPaginationConfiguration, input: ListDevEnvironmentSessionsCommandInput, ...additionalArguments: any): Paginator<ListDevEnvironmentSessionsCommandOutput>;
@@ -1,5 +1,6 @@
1
1
  export * from "./Interfaces";
2
2
  export * from "./ListAccessTokensPaginator";
3
+ export * from "./ListDevEnvironmentSessionsPaginator";
3
4
  export * from "./ListDevEnvironmentsPaginator";
4
5
  export * from "./ListEventLogsPaginator";
5
6
  export * from "./ListProjectsPaginator";
@@ -1,5 +1,5 @@
1
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
2
- import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
1
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
2
+ import { SerdeContext as __SerdeContext } from "@smithy/types";
3
3
  import { CreateAccessTokenCommandInput, CreateAccessTokenCommandOutput } from "../commands/CreateAccessTokenCommand";
4
4
  import { CreateDevEnvironmentCommandInput, CreateDevEnvironmentCommandOutput } from "../commands/CreateDevEnvironmentCommand";
5
5
  import { CreateProjectCommandInput, CreateProjectCommandOutput } from "../commands/CreateProjectCommand";
@@ -14,6 +14,7 @@ import { GetSubscriptionCommandInput, GetSubscriptionCommandOutput } from "../co
14
14
  import { GetUserDetailsCommandInput, GetUserDetailsCommandOutput } from "../commands/GetUserDetailsCommand";
15
15
  import { ListAccessTokensCommandInput, ListAccessTokensCommandOutput } from "../commands/ListAccessTokensCommand";
16
16
  import { ListDevEnvironmentsCommandInput, ListDevEnvironmentsCommandOutput } from "../commands/ListDevEnvironmentsCommand";
17
+ import { ListDevEnvironmentSessionsCommandInput, ListDevEnvironmentSessionsCommandOutput } from "../commands/ListDevEnvironmentSessionsCommand";
17
18
  import { ListEventLogsCommandInput, ListEventLogsCommandOutput } from "../commands/ListEventLogsCommand";
18
19
  import { ListProjectsCommandInput, ListProjectsCommandOutput } from "../commands/ListProjectsCommand";
19
20
  import { ListSourceRepositoriesCommandInput, ListSourceRepositoriesCommandOutput } from "../commands/ListSourceRepositoriesCommand";
@@ -81,6 +82,10 @@ export declare const se_ListAccessTokensCommand: (input: ListAccessTokensCommand
81
82
  * serializeAws_restJson1ListDevEnvironmentsCommand
82
83
  */
83
84
  export declare const se_ListDevEnvironmentsCommand: (input: ListDevEnvironmentsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
85
+ /**
86
+ * serializeAws_restJson1ListDevEnvironmentSessionsCommand
87
+ */
88
+ export declare const se_ListDevEnvironmentSessionsCommand: (input: ListDevEnvironmentSessionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
84
89
  /**
85
90
  * serializeAws_restJson1ListEventLogsCommand
86
91
  */
@@ -181,6 +186,10 @@ export declare const de_ListAccessTokensCommand: (output: __HttpResponse, contex
181
186
  * deserializeAws_restJson1ListDevEnvironmentsCommand
182
187
  */
183
188
  export declare const de_ListDevEnvironmentsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListDevEnvironmentsCommandOutput>;
189
+ /**
190
+ * deserializeAws_restJson1ListDevEnvironmentSessionsCommand
191
+ */
192
+ export declare const de_ListDevEnvironmentSessionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListDevEnvironmentSessionsCommandOutput>;
184
193
  /**
185
194
  * deserializeAws_restJson1ListEventLogsCommand
186
195
  */
@@ -8,24 +8,24 @@ export declare const getRuntimeConfig: (config: CodeCatalystClientConfig) => {
8
8
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
11
- maxAttempts: number | import("@aws-sdk/types").Provider<number>;
12
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
13
- retryMode: string | import("@aws-sdk/types").Provider<string>;
11
+ maxAttempts: (number | import("@smithy/types").Provider<number>) & (number | import("@aws-sdk/types").Provider<number>);
12
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@smithy/protocol-http").HttpHandler) | RequestHandler;
13
+ retryMode: string | import("@smithy/types").Provider<string>;
14
14
  sha256: import("@aws-sdk/types").HashConstructor;
15
- streamCollector: import("@aws-sdk/types").StreamCollector;
16
- useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
17
- useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
15
+ streamCollector: import("@smithy/types").StreamCollector;
16
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@aws-sdk/types").Provider<boolean>);
17
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@aws-sdk/types").Provider<boolean>);
18
18
  apiVersion: string;
19
19
  urlParser: import("@aws-sdk/types").UrlParser;
20
- base64Decoder: import("@aws-sdk/types").Decoder;
21
- base64Encoder: import("@aws-sdk/types").Encoder;
22
- utf8Decoder: import("@aws-sdk/types").Decoder;
23
- utf8Encoder: import("@aws-sdk/types").Encoder;
20
+ base64Decoder: import("@smithy/types").Decoder;
21
+ base64Encoder: import("@smithy/types").Encoder;
22
+ utf8Decoder: import("@smithy/types").Decoder;
23
+ utf8Encoder: import("@smithy/types").Encoder;
24
24
  disableHostPrefix: boolean;
25
25
  serviceId: string;
26
26
  logger: import("@aws-sdk/types").Logger;
27
- region?: string | import("@aws-sdk/types").Provider<string> | undefined;
28
- endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>)) | undefined;
27
+ region?: ((string | import("@aws-sdk/types").Provider<string>) & (string | import("@smithy/types").Provider<string>)) | undefined;
28
+ endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@smithy/types").Provider<import("@aws-sdk/types").EndpointV2>)) | undefined;
29
29
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
30
30
  logger?: import("@aws-sdk/types").Logger | undefined;
31
31
  }) => import("@aws-sdk/types").EndpointV2;
@@ -9,23 +9,23 @@ export declare const getRuntimeConfig: (config: CodeCatalystClientConfig) => {
9
9
  bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
11
11
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
12
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
12
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@smithy/protocol-http").HttpHandler) | RequestHandler;
13
13
  retryMode: string | import("@aws-sdk/types").Provider<string>;
14
14
  sha256: import("@aws-sdk/types").HashConstructor;
15
- streamCollector: import("@aws-sdk/types").StreamCollector;
15
+ streamCollector: import("@smithy/types").StreamCollector;
16
16
  useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
17
17
  useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
18
18
  apiVersion: string;
19
19
  urlParser: import("@aws-sdk/types").UrlParser;
20
- base64Decoder: import("@aws-sdk/types").Decoder;
21
- base64Encoder: import("@aws-sdk/types").Encoder;
22
- utf8Decoder: import("@aws-sdk/types").Decoder;
23
- utf8Encoder: import("@aws-sdk/types").Encoder;
20
+ base64Decoder: import("@smithy/types").Decoder;
21
+ base64Encoder: import("@smithy/types").Encoder;
22
+ utf8Decoder: import("@smithy/types").Decoder;
23
+ utf8Encoder: import("@smithy/types").Encoder;
24
24
  disableHostPrefix: boolean;
25
25
  serviceId: string;
26
26
  logger: import("@aws-sdk/types").Logger;
27
- region?: string | import("@aws-sdk/types").Provider<string> | undefined;
28
- endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>)) | undefined;
27
+ region?: ((string | import("@aws-sdk/types").Provider<string>) & (string | import("@smithy/types").Provider<string>)) | undefined;
28
+ endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@smithy/types").Provider<import("@aws-sdk/types").EndpointV2>)) | undefined;
29
29
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
30
30
  logger?: import("@aws-sdk/types").Logger | undefined;
31
31
  }) => import("@aws-sdk/types").EndpointV2;
@@ -5,26 +5,26 @@ import { CodeCatalystClientConfig } from "./CodeCatalystClient";
5
5
  export declare const getRuntimeConfig: (config: CodeCatalystClientConfig) => {
6
6
  runtime: string;
7
7
  sha256: import("@aws-sdk/types").HashConstructor;
8
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
8
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@smithy/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
9
9
  apiVersion: string;
10
10
  urlParser: import("@aws-sdk/types").UrlParser;
11
11
  bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
- streamCollector: import("@aws-sdk/types").StreamCollector;
13
- base64Decoder: import("@aws-sdk/types").Decoder;
14
- base64Encoder: import("@aws-sdk/types").Encoder;
15
- utf8Decoder: import("@aws-sdk/types").Decoder;
16
- utf8Encoder: import("@aws-sdk/types").Encoder;
12
+ streamCollector: import("@smithy/types").StreamCollector;
13
+ base64Decoder: import("@smithy/types").Decoder;
14
+ base64Encoder: import("@smithy/types").Encoder;
15
+ utf8Decoder: import("@smithy/types").Decoder;
16
+ utf8Encoder: import("@smithy/types").Encoder;
17
17
  disableHostPrefix: boolean;
18
18
  serviceId: string;
19
- useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
20
- useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
19
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@aws-sdk/types").Provider<boolean>);
20
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@aws-sdk/types").Provider<boolean>);
21
21
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
22
- maxAttempts: number | import("@aws-sdk/types").Provider<number>;
23
- retryMode: string | import("@aws-sdk/types").Provider<string>;
22
+ maxAttempts: (number | import("@smithy/types").Provider<number>) & (number | import("@aws-sdk/types").Provider<number>);
23
+ retryMode: string | import("@smithy/types").Provider<string>;
24
24
  logger: import("@aws-sdk/types").Logger;
25
- defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
26
- region?: string | import("@aws-sdk/types").Provider<string> | undefined;
27
- endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> | undefined;
25
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
26
+ region?: string | (import("@aws-sdk/types").Provider<string> & import("@smithy/types").Provider<string>) | undefined;
27
+ endpoint?: string | import("@aws-sdk/types").EndpointV2 | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> & import("@smithy/types").Provider<import("@smithy/types").Endpoint>) | (import("@aws-sdk/types").Endpoint & import("@smithy/types").Endpoint) | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> & import("@smithy/types").Provider<import("@aws-sdk/types").EndpointV2>) | undefined;
28
28
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
29
29
  logger?: import("@aws-sdk/types").Logger | undefined;
30
30
  }) => import("@aws-sdk/types").EndpointV2;
@@ -4,8 +4,8 @@ import { CodeCatalystClientConfig } from "./CodeCatalystClient";
4
4
  */
5
5
  export declare const getRuntimeConfig: (config: CodeCatalystClientConfig) => {
6
6
  apiVersion: string;
7
- base64Decoder: import("@aws-sdk/types").Decoder;
8
- base64Encoder: import("@aws-sdk/types").Encoder;
7
+ base64Decoder: import("@smithy/types").Decoder;
8
+ base64Encoder: import("@smithy/types").Encoder;
9
9
  disableHostPrefix: boolean;
10
10
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
11
11
  logger?: import("@aws-sdk/types").Logger | undefined;
@@ -13,6 +13,6 @@ export declare const getRuntimeConfig: (config: CodeCatalystClientConfig) => {
13
13
  logger: import("@aws-sdk/types").Logger;
14
14
  serviceId: string;
15
15
  urlParser: import("@aws-sdk/types").UrlParser;
16
- utf8Decoder: import("@aws-sdk/types").Decoder;
17
- utf8Encoder: import("@aws-sdk/types").Encoder;
16
+ utf8Decoder: import("@smithy/types").Decoder;
17
+ utf8Encoder: import("@smithy/types").Encoder;
18
18
  };
@@ -56,6 +56,10 @@ import {
56
56
  ListDevEnvironmentsCommandInput,
57
57
  ListDevEnvironmentsCommandOutput,
58
58
  } from "./commands/ListDevEnvironmentsCommand";
59
+ import {
60
+ ListDevEnvironmentSessionsCommandInput,
61
+ ListDevEnvironmentSessionsCommandOutput,
62
+ } from "./commands/ListDevEnvironmentSessionsCommand";
59
63
  import {
60
64
  ListEventLogsCommandInput,
61
65
  ListEventLogsCommandOutput,
@@ -283,6 +287,19 @@ export interface CodeCatalyst {
283
287
  options: __HttpHandlerOptions,
284
288
  cb: (err: any, data?: ListDevEnvironmentsCommandOutput) => void
285
289
  ): void;
290
+ listDevEnvironmentSessions(
291
+ args: ListDevEnvironmentSessionsCommandInput,
292
+ options?: __HttpHandlerOptions
293
+ ): Promise<ListDevEnvironmentSessionsCommandOutput>;
294
+ listDevEnvironmentSessions(
295
+ args: ListDevEnvironmentSessionsCommandInput,
296
+ cb: (err: any, data?: ListDevEnvironmentSessionsCommandOutput) => void
297
+ ): void;
298
+ listDevEnvironmentSessions(
299
+ args: ListDevEnvironmentSessionsCommandInput,
300
+ options: __HttpHandlerOptions,
301
+ cb: (err: any, data?: ListDevEnvironmentSessionsCommandOutput) => void
302
+ ): void;
286
303
  listEventLogs(
287
304
  args: ListEventLogsCommandInput,
288
305
  options?: __HttpHandlerOptions
@@ -22,7 +22,6 @@ import {
22
22
  UserAgentInputConfig,
23
23
  UserAgentResolvedConfig,
24
24
  } from "@aws-sdk/middleware-user-agent";
25
- import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
26
25
  import {
27
26
  Client as __Client,
28
27
  DefaultsMode as __DefaultsMode,
@@ -32,17 +31,20 @@ import {
32
31
  import {
33
32
  BodyLengthCalculator as __BodyLengthCalculator,
34
33
  ChecksumConstructor as __ChecksumConstructor,
35
- Decoder as __Decoder,
36
- Encoder as __Encoder,
37
34
  HashConstructor as __HashConstructor,
38
35
  HttpHandlerOptions as __HttpHandlerOptions,
39
36
  Logger as __Logger,
40
- Provider as __Provider,
41
37
  Provider,
42
- StreamCollector as __StreamCollector,
43
38
  UrlParser as __UrlParser,
44
39
  UserAgent as __UserAgent,
45
40
  } from "@aws-sdk/types";
41
+ import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
42
+ import {
43
+ Decoder as __Decoder,
44
+ Encoder as __Encoder,
45
+ Provider as __Provider,
46
+ StreamCollector as __StreamCollector,
47
+ } from "@smithy/types";
46
48
  import {
47
49
  CreateAccessTokenCommandInput,
48
50
  CreateAccessTokenCommandOutput,
@@ -99,6 +101,10 @@ import {
99
101
  ListDevEnvironmentsCommandInput,
100
102
  ListDevEnvironmentsCommandOutput,
101
103
  } from "./commands/ListDevEnvironmentsCommand";
104
+ import {
105
+ ListDevEnvironmentSessionsCommandInput,
106
+ ListDevEnvironmentSessionsCommandOutput,
107
+ } from "./commands/ListDevEnvironmentSessionsCommand";
102
108
  import {
103
109
  ListEventLogsCommandInput,
104
110
  ListEventLogsCommandOutput,
@@ -162,6 +168,7 @@ export type ServiceInputTypes =
162
168
  | GetSubscriptionCommandInput
163
169
  | GetUserDetailsCommandInput
164
170
  | ListAccessTokensCommandInput
171
+ | ListDevEnvironmentSessionsCommandInput
165
172
  | ListDevEnvironmentsCommandInput
166
173
  | ListEventLogsCommandInput
167
174
  | ListProjectsCommandInput
@@ -188,6 +195,7 @@ export type ServiceOutputTypes =
188
195
  | GetSubscriptionCommandOutput
189
196
  | GetUserDetailsCommandOutput
190
197
  | ListAccessTokensCommandOutput
198
+ | ListDevEnvironmentSessionsCommandOutput
191
199
  | ListDevEnvironmentsCommandOutput
192
200
  | ListEventLogsCommandOutput
193
201
  | ListProjectsCommandOutput
@@ -0,0 +1,41 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ CodeCatalystClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../CodeCatalystClient";
14
+ import {
15
+ ListDevEnvironmentSessionsRequest,
16
+ ListDevEnvironmentSessionsResponse,
17
+ } from "../models/models_0";
18
+ export interface ListDevEnvironmentSessionsCommandInput
19
+ extends ListDevEnvironmentSessionsRequest {}
20
+ export interface ListDevEnvironmentSessionsCommandOutput
21
+ extends ListDevEnvironmentSessionsResponse,
22
+ __MetadataBearer {}
23
+ export declare class ListDevEnvironmentSessionsCommand extends $Command<
24
+ ListDevEnvironmentSessionsCommandInput,
25
+ ListDevEnvironmentSessionsCommandOutput,
26
+ CodeCatalystClientResolvedConfig
27
+ > {
28
+ readonly input: ListDevEnvironmentSessionsCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: ListDevEnvironmentSessionsCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: CodeCatalystClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<
36
+ ListDevEnvironmentSessionsCommandInput,
37
+ ListDevEnvironmentSessionsCommandOutput
38
+ >;
39
+ private serialize;
40
+ private deserialize;
41
+ }
@@ -11,6 +11,7 @@ export * from "./GetSpaceCommand";
11
11
  export * from "./GetSubscriptionCommand";
12
12
  export * from "./GetUserDetailsCommand";
13
13
  export * from "./ListAccessTokensCommand";
14
+ export * from "./ListDevEnvironmentSessionsCommand";
14
15
  export * from "./ListDevEnvironmentsCommand";
15
16
  export * from "./ListEventLogsCommand";
16
17
  export * from "./ListProjectsCommand";
@@ -1,9 +1,8 @@
1
1
  import {
2
- Endpoint,
3
2
  EndpointParameters as __EndpointParameters,
4
3
  EndpointV2,
5
- Provider,
6
4
  } from "@aws-sdk/types";
5
+ import { Endpoint, Provider } from "@smithy/types";
7
6
  export interface ClientInputEndpointParameters {
8
7
  useFipsEndpoint?: boolean | Provider<boolean>;
9
8
  region?: string | Provider<string>;
@@ -288,6 +288,24 @@ export interface ListDevEnvironmentsResponse {
288
288
  items: DevEnvironmentSummary[] | undefined;
289
289
  nextToken?: string;
290
290
  }
291
+ export interface ListDevEnvironmentSessionsRequest {
292
+ spaceName: string | undefined;
293
+ projectName: string | undefined;
294
+ devEnvironmentId: string | undefined;
295
+ nextToken?: string;
296
+ maxResults?: number;
297
+ }
298
+ export interface DevEnvironmentSessionSummary {
299
+ spaceName: string | undefined;
300
+ projectName: string | undefined;
301
+ devEnvironmentId: string | undefined;
302
+ startedTime: Date | undefined;
303
+ id: string | undefined;
304
+ }
305
+ export interface ListDevEnvironmentSessionsResponse {
306
+ items: DevEnvironmentSessionSummary[] | undefined;
307
+ nextToken?: string;
308
+ }
291
309
  export interface StartDevEnvironmentRequest {
292
310
  spaceName: string | undefined;
293
311
  projectName: string | undefined;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import {
3
+ ListDevEnvironmentSessionsCommandInput,
4
+ ListDevEnvironmentSessionsCommandOutput,
5
+ } from "../commands/ListDevEnvironmentSessionsCommand";
6
+ import { CodeCatalystPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListDevEnvironmentSessions(
8
+ config: CodeCatalystPaginationConfiguration,
9
+ input: ListDevEnvironmentSessionsCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListDevEnvironmentSessionsCommandOutput>;
@@ -1,5 +1,6 @@
1
1
  export * from "./Interfaces";
2
2
  export * from "./ListAccessTokensPaginator";
3
+ export * from "./ListDevEnvironmentSessionsPaginator";
3
4
  export * from "./ListDevEnvironmentsPaginator";
4
5
  export * from "./ListEventLogsPaginator";
5
6
  export * from "./ListProjectsPaginator";
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  HttpRequest as __HttpRequest,
3
3
  HttpResponse as __HttpResponse,
4
- } from "@aws-sdk/protocol-http";
5
- import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
4
+ } from "@smithy/protocol-http";
5
+ import { SerdeContext as __SerdeContext } from "@smithy/types";
6
6
  import {
7
7
  CreateAccessTokenCommandInput,
8
8
  CreateAccessTokenCommandOutput,
@@ -59,6 +59,10 @@ import {
59
59
  ListDevEnvironmentsCommandInput,
60
60
  ListDevEnvironmentsCommandOutput,
61
61
  } from "../commands/ListDevEnvironmentsCommand";
62
+ import {
63
+ ListDevEnvironmentSessionsCommandInput,
64
+ ListDevEnvironmentSessionsCommandOutput,
65
+ } from "../commands/ListDevEnvironmentSessionsCommand";
62
66
  import {
63
67
  ListEventLogsCommandInput,
64
68
  ListEventLogsCommandOutput,
@@ -159,6 +163,10 @@ export declare const se_ListDevEnvironmentsCommand: (
159
163
  input: ListDevEnvironmentsCommandInput,
160
164
  context: __SerdeContext
161
165
  ) => Promise<__HttpRequest>;
166
+ export declare const se_ListDevEnvironmentSessionsCommand: (
167
+ input: ListDevEnvironmentSessionsCommandInput,
168
+ context: __SerdeContext
169
+ ) => Promise<__HttpRequest>;
162
170
  export declare const se_ListEventLogsCommand: (
163
171
  input: ListEventLogsCommandInput,
164
172
  context: __SerdeContext
@@ -259,6 +267,10 @@ export declare const de_ListDevEnvironmentsCommand: (
259
267
  output: __HttpResponse,
260
268
  context: __SerdeContext
261
269
  ) => Promise<ListDevEnvironmentsCommandOutput>;
270
+ export declare const de_ListDevEnvironmentSessionsCommand: (
271
+ output: __HttpResponse,
272
+ context: __SerdeContext
273
+ ) => Promise<ListDevEnvironmentSessionsCommandOutput>;
262
274
  export declare const de_ListEventLogsCommand: (
263
275
  output: __HttpResponse,
264
276
  context: __SerdeContext