@aws-sdk/client-workspaces-web 3.857.0 → 3.859.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 +56 -0
- package/dist-cjs/index.js +450 -0
- package/dist-es/WorkSpacesWeb.js +14 -0
- package/dist-es/commands/AssociateSessionLoggerCommand.js +22 -0
- package/dist-es/commands/CreateSessionLoggerCommand.js +23 -0
- package/dist-es/commands/DeleteSessionLoggerCommand.js +22 -0
- package/dist-es/commands/DisassociateSessionLoggerCommand.js +22 -0
- package/dist-es/commands/GetSessionLoggerCommand.js +23 -0
- package/dist-es/commands/ListSessionLoggersCommand.js +23 -0
- package/dist-es/commands/UpdateSessionLoggerCommand.js +23 -0
- package/dist-es/commands/index.js +7 -0
- package/dist-es/models/models_0.js +83 -0
- package/dist-es/pagination/ListSessionLoggersPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +210 -1
- package/dist-types/WorkSpacesWeb.d.ts +50 -0
- package/dist-types/WorkSpacesWebClient.d.ts +9 -2
- package/dist-types/commands/AssociateSessionLoggerCommand.d.ts +109 -0
- package/dist-types/commands/CreateSessionLoggerCommand.d.ts +189 -0
- package/dist-types/commands/DeleteSessionLoggerCommand.d.ts +98 -0
- package/dist-types/commands/DisassociateSessionLoggerCommand.d.ts +98 -0
- package/dist-types/commands/GetPortalCommand.d.ts +1 -0
- package/dist-types/commands/GetSessionLoggerCommand.d.ts +187 -0
- package/dist-types/commands/ListPortalsCommand.d.ts +1 -0
- package/dist-types/commands/ListSessionLoggersCommand.d.ts +175 -0
- package/dist-types/commands/UpdatePortalCommand.d.ts +1 -0
- package/dist-types/commands/UpdateSessionLoggerCommand.d.ts +217 -0
- package/dist-types/commands/index.d.ts +7 -0
- package/dist-types/models/models_0.d.ts +452 -0
- package/dist-types/pagination/ListSessionLoggersPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +63 -0
- package/dist-types/ts3.4/WorkSpacesWeb.d.ts +120 -0
- package/dist-types/ts3.4/WorkSpacesWebClient.d.ts +42 -0
- package/dist-types/ts3.4/commands/AssociateSessionLoggerCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateSessionLoggerCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteSessionLoggerCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DisassociateSessionLoggerCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetSessionLoggerCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListSessionLoggersCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateSessionLoggerCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +7 -0
- package/dist-types/ts3.4/models/models_0.d.ts +164 -0
- package/dist-types/ts3.4/pagination/ListSessionLoggersPaginator.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 +84 -0
- package/package.json +5 -5
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { AssociateSessionLoggerRequest, AssociateSessionLoggerResponse } 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 AssociateSessionLoggerCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface AssociateSessionLoggerCommandInput extends AssociateSessionLoggerRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link AssociateSessionLoggerCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface AssociateSessionLoggerCommandOutput extends AssociateSessionLoggerResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const AssociateSessionLoggerCommand_base: {
|
|
25
|
+
new (input: AssociateSessionLoggerCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateSessionLoggerCommandInput, AssociateSessionLoggerCommandOutput, WorkSpacesWebClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: AssociateSessionLoggerCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateSessionLoggerCommandInput, AssociateSessionLoggerCommandOutput, WorkSpacesWebClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Associates a session logger with a 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, AssociateSessionLoggerCommand } from "@aws-sdk/client-workspaces-web"; // ES Modules import
|
|
35
|
+
* // const { WorkSpacesWebClient, AssociateSessionLoggerCommand } = require("@aws-sdk/client-workspaces-web"); // CommonJS import
|
|
36
|
+
* const client = new WorkSpacesWebClient(config);
|
|
37
|
+
* const input = { // AssociateSessionLoggerRequest
|
|
38
|
+
* portalArn: "STRING_VALUE", // required
|
|
39
|
+
* sessionLoggerArn: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new AssociateSessionLoggerCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // AssociateSessionLoggerResponse
|
|
44
|
+
* // portalArn: "STRING_VALUE", // required
|
|
45
|
+
* // sessionLoggerArn: "STRING_VALUE", // required
|
|
46
|
+
* // };
|
|
47
|
+
*
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* @param AssociateSessionLoggerCommandInput - {@link AssociateSessionLoggerCommandInput}
|
|
51
|
+
* @returns {@link AssociateSessionLoggerCommandOutput}
|
|
52
|
+
* @see {@link AssociateSessionLoggerCommandInput} for command's `input` shape.
|
|
53
|
+
* @see {@link AssociateSessionLoggerCommandOutput} for command's `response` shape.
|
|
54
|
+
* @see {@link WorkSpacesWebClientResolvedConfig | config} for WorkSpacesWebClient's `config` shape.
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
57
|
+
* <p>Access is denied.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link ConflictException} (client fault)
|
|
60
|
+
* <p>There is a conflict.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link InternalServerException} (server fault)
|
|
63
|
+
* <p>There is an internal server error.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
66
|
+
* <p>The resource cannot be found.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
69
|
+
* <p>There is a throttling error.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ValidationException} (client fault)
|
|
72
|
+
* <p>There is a validation error.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link WorkSpacesWebServiceException}
|
|
75
|
+
* <p>Base exception class for all service exceptions from WorkSpacesWeb service.</p>
|
|
76
|
+
*
|
|
77
|
+
*
|
|
78
|
+
* @example Associate Session Logger with Portal
|
|
79
|
+
* ```javascript
|
|
80
|
+
* // Associates a session logger with a portal
|
|
81
|
+
* const input = {
|
|
82
|
+
* portalArn: "arn:aws:workspaces-web:us-west-2:123456789012:portal/12345678-1234-1234-1234-123456789012",
|
|
83
|
+
* sessionLoggerArn: "arn:aws:workspaces-web:us-west-2:123456789012:sessionLogger/11111111-1111-1111-1111-111111111111"
|
|
84
|
+
* };
|
|
85
|
+
* const command = new AssociateSessionLoggerCommand(input);
|
|
86
|
+
* const response = await client.send(command);
|
|
87
|
+
* /* response is
|
|
88
|
+
* {
|
|
89
|
+
* portalArn: "arn:aws:workspaces-web:us-west-2:123456789012:portal/12345678-1234-1234-1234-123456789012",
|
|
90
|
+
* sessionLoggerArn: "arn:aws:workspaces-web:us-west-2:123456789012:sessionLogger/11111111-1111-1111-1111-111111111111"
|
|
91
|
+
* }
|
|
92
|
+
* *\/
|
|
93
|
+
* ```
|
|
94
|
+
*
|
|
95
|
+
* @public
|
|
96
|
+
*/
|
|
97
|
+
export declare class AssociateSessionLoggerCommand extends AssociateSessionLoggerCommand_base {
|
|
98
|
+
/** @internal type navigation helper, not in runtime. */
|
|
99
|
+
protected static __types: {
|
|
100
|
+
api: {
|
|
101
|
+
input: AssociateSessionLoggerRequest;
|
|
102
|
+
output: AssociateSessionLoggerResponse;
|
|
103
|
+
};
|
|
104
|
+
sdk: {
|
|
105
|
+
input: AssociateSessionLoggerCommandInput;
|
|
106
|
+
output: AssociateSessionLoggerCommandOutput;
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
}
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CreateSessionLoggerRequest, CreateSessionLoggerResponse } 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 CreateSessionLoggerCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateSessionLoggerCommandInput extends CreateSessionLoggerRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateSessionLoggerCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateSessionLoggerCommandOutput extends CreateSessionLoggerResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateSessionLoggerCommand_base: {
|
|
25
|
+
new (input: CreateSessionLoggerCommandInput): import("@smithy/smithy-client").CommandImpl<CreateSessionLoggerCommandInput, CreateSessionLoggerCommandOutput, WorkSpacesWebClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateSessionLoggerCommandInput): import("@smithy/smithy-client").CommandImpl<CreateSessionLoggerCommandInput, CreateSessionLoggerCommandOutput, WorkSpacesWebClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates a session logger.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { WorkSpacesWebClient, CreateSessionLoggerCommand } from "@aws-sdk/client-workspaces-web"; // ES Modules import
|
|
35
|
+
* // const { WorkSpacesWebClient, CreateSessionLoggerCommand } = require("@aws-sdk/client-workspaces-web"); // CommonJS import
|
|
36
|
+
* const client = new WorkSpacesWebClient(config);
|
|
37
|
+
* const input = { // CreateSessionLoggerRequest
|
|
38
|
+
* eventFilter: { // EventFilter Union: only one key present
|
|
39
|
+
* all: {},
|
|
40
|
+
* include: [ // Events
|
|
41
|
+
* "WebsiteInteract" || "FileDownloadFromSecureBrowserToRemoteDisk" || "FileTransferFromRemoteToLocalDisk" || "FileTransferFromLocalToRemoteDisk" || "FileUploadFromRemoteDiskToSecureBrowser" || "ContentPasteToWebsite" || "ContentTransferFromLocalToRemoteClipboard" || "ContentCopyFromWebsite" || "UrlLoad" || "TabOpen" || "TabClose" || "PrintJobSubmit" || "SessionConnect" || "SessionStart" || "SessionDisconnect" || "SessionEnd",
|
|
42
|
+
* ],
|
|
43
|
+
* },
|
|
44
|
+
* logConfiguration: { // LogConfiguration
|
|
45
|
+
* s3: { // S3LogConfiguration
|
|
46
|
+
* bucket: "STRING_VALUE", // required
|
|
47
|
+
* keyPrefix: "STRING_VALUE",
|
|
48
|
+
* bucketOwner: "STRING_VALUE",
|
|
49
|
+
* logFileFormat: "JSONLines" || "Json", // required
|
|
50
|
+
* folderStructure: "Flat" || "NestedByDate", // required
|
|
51
|
+
* },
|
|
52
|
+
* },
|
|
53
|
+
* displayName: "STRING_VALUE",
|
|
54
|
+
* customerManagedKey: "STRING_VALUE",
|
|
55
|
+
* additionalEncryptionContext: { // EncryptionContextMap
|
|
56
|
+
* "<keys>": "STRING_VALUE",
|
|
57
|
+
* },
|
|
58
|
+
* tags: [ // TagList
|
|
59
|
+
* { // Tag
|
|
60
|
+
* Key: "STRING_VALUE", // required
|
|
61
|
+
* Value: "STRING_VALUE", // required
|
|
62
|
+
* },
|
|
63
|
+
* ],
|
|
64
|
+
* clientToken: "STRING_VALUE",
|
|
65
|
+
* };
|
|
66
|
+
* const command = new CreateSessionLoggerCommand(input);
|
|
67
|
+
* const response = await client.send(command);
|
|
68
|
+
* // { // CreateSessionLoggerResponse
|
|
69
|
+
* // sessionLoggerArn: "STRING_VALUE", // required
|
|
70
|
+
* // };
|
|
71
|
+
*
|
|
72
|
+
* ```
|
|
73
|
+
*
|
|
74
|
+
* @param CreateSessionLoggerCommandInput - {@link CreateSessionLoggerCommandInput}
|
|
75
|
+
* @returns {@link CreateSessionLoggerCommandOutput}
|
|
76
|
+
* @see {@link CreateSessionLoggerCommandInput} for command's `input` shape.
|
|
77
|
+
* @see {@link CreateSessionLoggerCommandOutput} for command's `response` shape.
|
|
78
|
+
* @see {@link WorkSpacesWebClientResolvedConfig | config} for WorkSpacesWebClient's `config` shape.
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
81
|
+
* <p>Access is denied.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ConflictException} (client fault)
|
|
84
|
+
* <p>There is a conflict.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link InternalServerException} (server fault)
|
|
87
|
+
* <p>There is an internal server error.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
90
|
+
* <p>The service quota has been exceeded.</p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
93
|
+
* <p>There is a throttling error.</p>
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link ValidationException} (client fault)
|
|
96
|
+
* <p>There is a validation error.</p>
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link WorkSpacesWebServiceException}
|
|
99
|
+
* <p>Base exception class for all service exceptions from WorkSpacesWeb service.</p>
|
|
100
|
+
*
|
|
101
|
+
*
|
|
102
|
+
* @example Create Session Logger with All Events
|
|
103
|
+
* ```javascript
|
|
104
|
+
* // Creates a session logger that captures all events and stores them in S3 with JSON format and flat folder structure
|
|
105
|
+
* const input = {
|
|
106
|
+
* displayName: "Session Logger with All Events",
|
|
107
|
+
* eventFilter: {
|
|
108
|
+
* all: { /* empty *\/ }
|
|
109
|
+
* },
|
|
110
|
+
* logConfiguration: {
|
|
111
|
+
* s3: {
|
|
112
|
+
* bucket: "my-session-logs-bucket",
|
|
113
|
+
* bucketOwner: "123456789012",
|
|
114
|
+
* folderStructure: "Flat",
|
|
115
|
+
* keyPrefix: "session-logs/all/events",
|
|
116
|
+
* logFileFormat: "Json"
|
|
117
|
+
* }
|
|
118
|
+
* }
|
|
119
|
+
* };
|
|
120
|
+
* const command = new CreateSessionLoggerCommand(input);
|
|
121
|
+
* const response = await client.send(command);
|
|
122
|
+
* /* response is
|
|
123
|
+
* {
|
|
124
|
+
* sessionLoggerArn: "arn:aws:workspaces-web:us-west-2:123456789012:sessionLogger/12345678-1234-1234-1234-123456789012"
|
|
125
|
+
* }
|
|
126
|
+
* *\/
|
|
127
|
+
* ```
|
|
128
|
+
*
|
|
129
|
+
* @example Create Session Logger with Specific Events
|
|
130
|
+
* ```javascript
|
|
131
|
+
* // Creates a session logger that captures only specific events with JSONLines format and nested folder structure
|
|
132
|
+
* const input = {
|
|
133
|
+
* additionalEncryptionContext: {
|
|
134
|
+
* EncryptionContextKey: "EncryptionContextValue"
|
|
135
|
+
* },
|
|
136
|
+
* customerManagedKey: "arn:aws:kms:us-west-2:123456789012:key/12345678-1234-1234-1234-123456789012",
|
|
137
|
+
* displayName: "Session Logger with Each Events",
|
|
138
|
+
* eventFilter: {
|
|
139
|
+
* include: [
|
|
140
|
+
* "SessionStart",
|
|
141
|
+
* "SessionEnd",
|
|
142
|
+
* "UrlLoad",
|
|
143
|
+
* "WebsiteInteract"
|
|
144
|
+
* ]
|
|
145
|
+
* },
|
|
146
|
+
* logConfiguration: {
|
|
147
|
+
* s3: {
|
|
148
|
+
* bucket: "my-session-logs-bucket",
|
|
149
|
+
* bucketOwner: "123456789012",
|
|
150
|
+
* folderStructure: "NestedByDate",
|
|
151
|
+
* keyPrefix: "session-logs/each/event",
|
|
152
|
+
* logFileFormat: "JSONLines"
|
|
153
|
+
* }
|
|
154
|
+
* },
|
|
155
|
+
* tags: [
|
|
156
|
+
* {
|
|
157
|
+
* Key: "KEY-1",
|
|
158
|
+
* Value: "VALUE-1"
|
|
159
|
+
* },
|
|
160
|
+
* {
|
|
161
|
+
* Key: "KEY-2",
|
|
162
|
+
* Value: "VALUE-2"
|
|
163
|
+
* }
|
|
164
|
+
* ]
|
|
165
|
+
* };
|
|
166
|
+
* const command = new CreateSessionLoggerCommand(input);
|
|
167
|
+
* const response = await client.send(command);
|
|
168
|
+
* /* response is
|
|
169
|
+
* {
|
|
170
|
+
* sessionLoggerArn: "arn:aws:workspaces-web:us-west-2:123456789012:sessionLogger/87654321-4321-4321-4321-210987654321"
|
|
171
|
+
* }
|
|
172
|
+
* *\/
|
|
173
|
+
* ```
|
|
174
|
+
*
|
|
175
|
+
* @public
|
|
176
|
+
*/
|
|
177
|
+
export declare class CreateSessionLoggerCommand extends CreateSessionLoggerCommand_base {
|
|
178
|
+
/** @internal type navigation helper, not in runtime. */
|
|
179
|
+
protected static __types: {
|
|
180
|
+
api: {
|
|
181
|
+
input: CreateSessionLoggerRequest;
|
|
182
|
+
output: CreateSessionLoggerResponse;
|
|
183
|
+
};
|
|
184
|
+
sdk: {
|
|
185
|
+
input: CreateSessionLoggerCommandInput;
|
|
186
|
+
output: CreateSessionLoggerCommandOutput;
|
|
187
|
+
};
|
|
188
|
+
};
|
|
189
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { DeleteSessionLoggerRequest, DeleteSessionLoggerResponse } 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 DeleteSessionLoggerCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteSessionLoggerCommandInput extends DeleteSessionLoggerRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteSessionLoggerCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteSessionLoggerCommandOutput extends DeleteSessionLoggerResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteSessionLoggerCommand_base: {
|
|
25
|
+
new (input: DeleteSessionLoggerCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteSessionLoggerCommandInput, DeleteSessionLoggerCommandOutput, WorkSpacesWebClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteSessionLoggerCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteSessionLoggerCommandInput, DeleteSessionLoggerCommandOutput, WorkSpacesWebClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes a session logger resource.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { WorkSpacesWebClient, DeleteSessionLoggerCommand } from "@aws-sdk/client-workspaces-web"; // ES Modules import
|
|
35
|
+
* // const { WorkSpacesWebClient, DeleteSessionLoggerCommand } = require("@aws-sdk/client-workspaces-web"); // CommonJS import
|
|
36
|
+
* const client = new WorkSpacesWebClient(config);
|
|
37
|
+
* const input = { // DeleteSessionLoggerRequest
|
|
38
|
+
* sessionLoggerArn: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new DeleteSessionLoggerCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // {};
|
|
43
|
+
*
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* @param DeleteSessionLoggerCommandInput - {@link DeleteSessionLoggerCommandInput}
|
|
47
|
+
* @returns {@link DeleteSessionLoggerCommandOutput}
|
|
48
|
+
* @see {@link DeleteSessionLoggerCommandInput} for command's `input` shape.
|
|
49
|
+
* @see {@link DeleteSessionLoggerCommandOutput} for command's `response` shape.
|
|
50
|
+
* @see {@link WorkSpacesWebClientResolvedConfig | config} for WorkSpacesWebClient's `config` shape.
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
53
|
+
* <p>Access is denied.</p>
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link ConflictException} (client fault)
|
|
56
|
+
* <p>There is a conflict.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link InternalServerException} (server fault)
|
|
59
|
+
* <p>There is an internal server error.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
62
|
+
* <p>There is a throttling error.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ValidationException} (client fault)
|
|
65
|
+
* <p>There is a validation error.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link WorkSpacesWebServiceException}
|
|
68
|
+
* <p>Base exception class for all service exceptions from WorkSpacesWeb service.</p>
|
|
69
|
+
*
|
|
70
|
+
*
|
|
71
|
+
* @example Delete Session Logger
|
|
72
|
+
* ```javascript
|
|
73
|
+
* // Deletes a session logger resource
|
|
74
|
+
* const input = {
|
|
75
|
+
* sessionLoggerArn: "arn:aws:workspaces-web:us-west-2:123456789012:sessionLogger/12345678-1234-1234-1234-123456789012"
|
|
76
|
+
* };
|
|
77
|
+
* const command = new DeleteSessionLoggerCommand(input);
|
|
78
|
+
* const response = await client.send(command);
|
|
79
|
+
* /* response is
|
|
80
|
+
* { /* empty *\/ }
|
|
81
|
+
* *\/
|
|
82
|
+
* ```
|
|
83
|
+
*
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
export declare class DeleteSessionLoggerCommand extends DeleteSessionLoggerCommand_base {
|
|
87
|
+
/** @internal type navigation helper, not in runtime. */
|
|
88
|
+
protected static __types: {
|
|
89
|
+
api: {
|
|
90
|
+
input: DeleteSessionLoggerRequest;
|
|
91
|
+
output: {};
|
|
92
|
+
};
|
|
93
|
+
sdk: {
|
|
94
|
+
input: DeleteSessionLoggerCommandInput;
|
|
95
|
+
output: DeleteSessionLoggerCommandOutput;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { DisassociateSessionLoggerRequest, DisassociateSessionLoggerResponse } 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 DisassociateSessionLoggerCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DisassociateSessionLoggerCommandInput extends DisassociateSessionLoggerRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DisassociateSessionLoggerCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DisassociateSessionLoggerCommandOutput extends DisassociateSessionLoggerResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DisassociateSessionLoggerCommand_base: {
|
|
25
|
+
new (input: DisassociateSessionLoggerCommandInput): import("@smithy/smithy-client").CommandImpl<DisassociateSessionLoggerCommandInput, DisassociateSessionLoggerCommandOutput, WorkSpacesWebClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DisassociateSessionLoggerCommandInput): import("@smithy/smithy-client").CommandImpl<DisassociateSessionLoggerCommandInput, DisassociateSessionLoggerCommandOutput, WorkSpacesWebClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Disassociates a session logger from a 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, DisassociateSessionLoggerCommand } from "@aws-sdk/client-workspaces-web"; // ES Modules import
|
|
35
|
+
* // const { WorkSpacesWebClient, DisassociateSessionLoggerCommand } = require("@aws-sdk/client-workspaces-web"); // CommonJS import
|
|
36
|
+
* const client = new WorkSpacesWebClient(config);
|
|
37
|
+
* const input = { // DisassociateSessionLoggerRequest
|
|
38
|
+
* portalArn: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new DisassociateSessionLoggerCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // {};
|
|
43
|
+
*
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* @param DisassociateSessionLoggerCommandInput - {@link DisassociateSessionLoggerCommandInput}
|
|
47
|
+
* @returns {@link DisassociateSessionLoggerCommandOutput}
|
|
48
|
+
* @see {@link DisassociateSessionLoggerCommandInput} for command's `input` shape.
|
|
49
|
+
* @see {@link DisassociateSessionLoggerCommandOutput} for command's `response` shape.
|
|
50
|
+
* @see {@link WorkSpacesWebClientResolvedConfig | config} for WorkSpacesWebClient's `config` shape.
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
53
|
+
* <p>Access is denied.</p>
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link InternalServerException} (server fault)
|
|
56
|
+
* <p>There is an internal server error.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
59
|
+
* <p>The resource cannot be found.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
62
|
+
* <p>There is a throttling error.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ValidationException} (client fault)
|
|
65
|
+
* <p>There is a validation error.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link WorkSpacesWebServiceException}
|
|
68
|
+
* <p>Base exception class for all service exceptions from WorkSpacesWeb service.</p>
|
|
69
|
+
*
|
|
70
|
+
*
|
|
71
|
+
* @example Disassociate Session Logger from Portal
|
|
72
|
+
* ```javascript
|
|
73
|
+
* // Removes the association between a session logger and a portal
|
|
74
|
+
* const input = {
|
|
75
|
+
* portalArn: "arn:aws:workspaces-web:us-west-2:123456789012:portal/12345678-1234-1234-1234-123456789012"
|
|
76
|
+
* };
|
|
77
|
+
* const command = new DisassociateSessionLoggerCommand(input);
|
|
78
|
+
* const response = await client.send(command);
|
|
79
|
+
* /* response is
|
|
80
|
+
* { /* empty *\/ }
|
|
81
|
+
* *\/
|
|
82
|
+
* ```
|
|
83
|
+
*
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
export declare class DisassociateSessionLoggerCommand extends DisassociateSessionLoggerCommand_base {
|
|
87
|
+
/** @internal type navigation helper, not in runtime. */
|
|
88
|
+
protected static __types: {
|
|
89
|
+
api: {
|
|
90
|
+
input: DisassociateSessionLoggerRequest;
|
|
91
|
+
output: {};
|
|
92
|
+
};
|
|
93
|
+
sdk: {
|
|
94
|
+
input: DisassociateSessionLoggerCommandInput;
|
|
95
|
+
output: DisassociateSessionLoggerCommandOutput;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
}
|
|
@@ -52,6 +52,7 @@ declare const GetPortalCommand_base: {
|
|
|
52
52
|
* // dataProtectionSettingsArn: "STRING_VALUE",
|
|
53
53
|
* // userSettingsArn: "STRING_VALUE",
|
|
54
54
|
* // networkSettingsArn: "STRING_VALUE",
|
|
55
|
+
* // sessionLoggerArn: "STRING_VALUE",
|
|
55
56
|
* // trustStoreArn: "STRING_VALUE",
|
|
56
57
|
* // statusReason: "STRING_VALUE",
|
|
57
58
|
* // userAccessLoggingSettingsArn: "STRING_VALUE",
|