@aws-sdk/client-workspaces-web 3.654.0 → 3.655.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 +31 -6
- package/dist-cjs/index.js +207 -0
- package/dist-es/WorkSpacesWeb.js +6 -0
- package/dist-es/commands/ExpireSessionCommand.js +22 -0
- package/dist-es/commands/GetSessionCommand.js +23 -0
- package/dist-es/commands/ListSessionsCommand.js +23 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +29 -0
- package/dist-es/pagination/ListSessionsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +109 -0
- package/dist-types/WorkSpacesWeb.d.ts +28 -6
- package/dist-types/WorkSpacesWebClient.d.ts +12 -8
- package/dist-types/commands/CreateUserAccessLoggingSettingsCommand.d.ts +2 -1
- package/dist-types/commands/ExpireSessionCommand.d.ts +85 -0
- package/dist-types/commands/GetSessionCommand.d.ts +97 -0
- package/dist-types/commands/ListSessionsCommand.d.ts +102 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/index.d.ts +7 -6
- package/dist-types/models/models_0.d.ts +352 -75
- package/dist-types/pagination/ListSessionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
- package/dist-types/ts3.4/WorkSpacesWeb.d.ts +51 -0
- package/dist-types/ts3.4/WorkSpacesWebClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/ExpireSessionCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetSessionCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListSessionsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +65 -0
- package/dist-types/ts3.4/pagination/ListSessionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
- package/package.json +1 -1
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ListSessionsRequest, ListSessionsResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesWebClientResolvedConfig } from "../WorkSpacesWebClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListSessionsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListSessionsCommandInput extends ListSessionsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListSessionsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListSessionsCommandOutput extends ListSessionsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListSessionsCommand_base: {
|
|
25
|
+
new (input: ListSessionsCommandInput): import("@smithy/smithy-client").CommandImpl<ListSessionsCommandInput, ListSessionsCommandOutput, WorkSpacesWebClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: ListSessionsCommandInput): import("@smithy/smithy-client").CommandImpl<ListSessionsCommandInput, ListSessionsCommandOutput, WorkSpacesWebClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists information for multiple secure browser sessions from a specific portal.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { WorkSpacesWebClient, ListSessionsCommand } from "@aws-sdk/client-workspaces-web"; // ES Modules import
|
|
35
|
+
* // const { WorkSpacesWebClient, ListSessionsCommand } = require("@aws-sdk/client-workspaces-web"); // CommonJS import
|
|
36
|
+
* const client = new WorkSpacesWebClient(config);
|
|
37
|
+
* const input = { // ListSessionsRequest
|
|
38
|
+
* portalId: "STRING_VALUE", // required
|
|
39
|
+
* username: "STRING_VALUE",
|
|
40
|
+
* sessionId: "STRING_VALUE",
|
|
41
|
+
* sortBy: "StartTimeAscending" || "StartTimeDescending",
|
|
42
|
+
* status: "Active" || "Terminated",
|
|
43
|
+
* maxResults: Number("int"),
|
|
44
|
+
* nextToken: "STRING_VALUE",
|
|
45
|
+
* };
|
|
46
|
+
* const command = new ListSessionsCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // { // ListSessionsResponse
|
|
49
|
+
* // sessions: [ // SessionSummaryList // required
|
|
50
|
+
* // { // SessionSummary
|
|
51
|
+
* // portalArn: "STRING_VALUE",
|
|
52
|
+
* // sessionId: "STRING_VALUE",
|
|
53
|
+
* // username: "STRING_VALUE",
|
|
54
|
+
* // status: "Active" || "Terminated",
|
|
55
|
+
* // startTime: new Date("TIMESTAMP"),
|
|
56
|
+
* // endTime: new Date("TIMESTAMP"),
|
|
57
|
+
* // },
|
|
58
|
+
* // ],
|
|
59
|
+
* // nextToken: "STRING_VALUE",
|
|
60
|
+
* // };
|
|
61
|
+
*
|
|
62
|
+
* ```
|
|
63
|
+
*
|
|
64
|
+
* @param ListSessionsCommandInput - {@link ListSessionsCommandInput}
|
|
65
|
+
* @returns {@link ListSessionsCommandOutput}
|
|
66
|
+
* @see {@link ListSessionsCommandInput} for command's `input` shape.
|
|
67
|
+
* @see {@link ListSessionsCommandOutput} for command's `response` shape.
|
|
68
|
+
* @see {@link WorkSpacesWebClientResolvedConfig | config} for WorkSpacesWebClient's `config` shape.
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
71
|
+
* <p>Access is denied.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link InternalServerException} (server fault)
|
|
74
|
+
* <p>There is an internal server error.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
77
|
+
* <p>The resource cannot be found.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
80
|
+
* <p>There is a throttling error.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ValidationException} (client fault)
|
|
83
|
+
* <p>There is a validation error.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link WorkSpacesWebServiceException}
|
|
86
|
+
* <p>Base exception class for all service exceptions from WorkSpacesWeb service.</p>
|
|
87
|
+
*
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
|
+
export declare class ListSessionsCommand extends ListSessionsCommand_base {
|
|
91
|
+
/** @internal type navigation helper, not in runtime. */
|
|
92
|
+
protected static __types: {
|
|
93
|
+
api: {
|
|
94
|
+
input: ListSessionsRequest;
|
|
95
|
+
output: ListSessionsResponse;
|
|
96
|
+
};
|
|
97
|
+
sdk: {
|
|
98
|
+
input: ListSessionsCommandInput;
|
|
99
|
+
output: ListSessionsCommandOutput;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
}
|
|
@@ -26,12 +26,14 @@ export * from "./DisassociateNetworkSettingsCommand";
|
|
|
26
26
|
export * from "./DisassociateTrustStoreCommand";
|
|
27
27
|
export * from "./DisassociateUserAccessLoggingSettingsCommand";
|
|
28
28
|
export * from "./DisassociateUserSettingsCommand";
|
|
29
|
+
export * from "./ExpireSessionCommand";
|
|
29
30
|
export * from "./GetBrowserSettingsCommand";
|
|
30
31
|
export * from "./GetIdentityProviderCommand";
|
|
31
32
|
export * from "./GetIpAccessSettingsCommand";
|
|
32
33
|
export * from "./GetNetworkSettingsCommand";
|
|
33
34
|
export * from "./GetPortalCommand";
|
|
34
35
|
export * from "./GetPortalServiceProviderMetadataCommand";
|
|
36
|
+
export * from "./GetSessionCommand";
|
|
35
37
|
export * from "./GetTrustStoreCertificateCommand";
|
|
36
38
|
export * from "./GetTrustStoreCommand";
|
|
37
39
|
export * from "./GetUserAccessLoggingSettingsCommand";
|
|
@@ -41,6 +43,7 @@ export * from "./ListIdentityProvidersCommand";
|
|
|
41
43
|
export * from "./ListIpAccessSettingsCommand";
|
|
42
44
|
export * from "./ListNetworkSettingsCommand";
|
|
43
45
|
export * from "./ListPortalsCommand";
|
|
46
|
+
export * from "./ListSessionsCommand";
|
|
44
47
|
export * from "./ListTagsForResourceCommand";
|
|
45
48
|
export * from "./ListTrustStoreCertificatesCommand";
|
|
46
49
|
export * from "./ListTrustStoresCommand";
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* <p>Amazon WorkSpaces Secure Browser is a low cost, fully managed WorkSpace built
|
|
3
|
-
* secure, web-based workloads. WorkSpaces Secure Browser makes it
|
|
4
|
-
* their employees with access to internal websites and
|
|
5
|
-
* administrative burden of appliances or specialized client
|
|
6
|
-
* simple policy tools tailored for user
|
|
7
|
-
* capacity management, scaling, and
|
|
2
|
+
* <p>Amazon WorkSpaces Secure Browser is a low cost, fully managed WorkSpace built
|
|
3
|
+
* specifically to facilitate secure, web-based workloads. WorkSpaces Secure Browser makes it
|
|
4
|
+
* easy for customers to safely provide their employees with access to internal websites and
|
|
5
|
+
* SaaS web applications without the administrative burden of appliances or specialized client
|
|
6
|
+
* software. WorkSpaces Secure Browser provides simple policy tools tailored for user
|
|
7
|
+
* interactions, while offloading common tasks like capacity management, scaling, and
|
|
8
|
+
* maintaining browser images.</p>
|
|
8
9
|
*
|
|
9
10
|
* @packageDocumentation
|
|
10
11
|
*/
|