Skip to content

Commit 62b4da5

Browse files
author
awstools
committed
feat(client-appstream): This release introduces configurable clipboard, allowing admins to specify the maximum length of text that can be copied by the users from their device to the remote session and vice-versa.
1 parent 864e50e commit 62b4da5

File tree

5 files changed

+21
-0
lines changed

5 files changed

+21
-0
lines changed

clients/client-appstream/src/commands/CreateStackCommand.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ export interface CreateStackCommandOutput extends CreateStackResult, __MetadataB
6363
* { // UserSetting
6464
* Action: "CLIPBOARD_COPY_FROM_LOCAL_DEVICE" || "CLIPBOARD_COPY_TO_LOCAL_DEVICE" || "FILE_UPLOAD" || "FILE_DOWNLOAD" || "PRINTING_TO_LOCAL_DEVICE" || "DOMAIN_PASSWORD_SIGNIN" || "DOMAIN_SMART_CARD_SIGNIN", // required
6565
* Permission: "ENABLED" || "DISABLED", // required
66+
* MaximumLength: Number("int"),
6667
* },
6768
* ],
6869
* ApplicationSettings: { // ApplicationSettings
@@ -115,6 +116,7 @@ export interface CreateStackCommandOutput extends CreateStackResult, __MetadataB
115116
* // { // UserSetting
116117
* // Action: "CLIPBOARD_COPY_FROM_LOCAL_DEVICE" || "CLIPBOARD_COPY_TO_LOCAL_DEVICE" || "FILE_UPLOAD" || "FILE_DOWNLOAD" || "PRINTING_TO_LOCAL_DEVICE" || "DOMAIN_PASSWORD_SIGNIN" || "DOMAIN_SMART_CARD_SIGNIN", // required
117118
* // Permission: "ENABLED" || "DISABLED", // required
119+
* // MaximumLength: Number("int"),
118120
* // },
119121
* // ],
120122
* // ApplicationSettings: { // ApplicationSettingsResponse
@@ -160,6 +162,9 @@ export interface CreateStackCommandOutput extends CreateStackResult, __MetadataB
160162
* @throws {@link LimitExceededException} (client fault)
161163
* <p>The requested limit exceeds the permitted limit for an account.</p>
162164
*
165+
* @throws {@link OperationNotPermittedException} (client fault)
166+
* <p>The attempted operation is not permitted.</p>
167+
*
163168
* @throws {@link ResourceAlreadyExistsException} (client fault)
164169
* <p>The specified resource already exists.</p>
165170
*

clients/client-appstream/src/commands/DescribeStacksCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ export interface DescribeStacksCommandOutput extends DescribeStacksResult, __Met
8181
* // { // UserSetting
8282
* // Action: "CLIPBOARD_COPY_FROM_LOCAL_DEVICE" || "CLIPBOARD_COPY_TO_LOCAL_DEVICE" || "FILE_UPLOAD" || "FILE_DOWNLOAD" || "PRINTING_TO_LOCAL_DEVICE" || "DOMAIN_PASSWORD_SIGNIN" || "DOMAIN_SMART_CARD_SIGNIN", // required
8383
* // Permission: "ENABLED" || "DISABLED", // required
84+
* // MaximumLength: Number("int"),
8485
* // },
8586
* // ],
8687
* // ApplicationSettings: { // ApplicationSettingsResponse

clients/client-appstream/src/commands/UpdateStackCommand.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ export interface UpdateStackCommandOutput extends UpdateStackResult, __MetadataB
6767
* { // UserSetting
6868
* Action: "CLIPBOARD_COPY_FROM_LOCAL_DEVICE" || "CLIPBOARD_COPY_TO_LOCAL_DEVICE" || "FILE_UPLOAD" || "FILE_DOWNLOAD" || "PRINTING_TO_LOCAL_DEVICE" || "DOMAIN_PASSWORD_SIGNIN" || "DOMAIN_SMART_CARD_SIGNIN", // required
6969
* Permission: "ENABLED" || "DISABLED", // required
70+
* MaximumLength: Number("int"),
7071
* },
7172
* ],
7273
* ApplicationSettings: { // ApplicationSettings
@@ -116,6 +117,7 @@ export interface UpdateStackCommandOutput extends UpdateStackResult, __MetadataB
116117
* // { // UserSetting
117118
* // Action: "CLIPBOARD_COPY_FROM_LOCAL_DEVICE" || "CLIPBOARD_COPY_TO_LOCAL_DEVICE" || "FILE_UPLOAD" || "FILE_DOWNLOAD" || "PRINTING_TO_LOCAL_DEVICE" || "DOMAIN_PASSWORD_SIGNIN" || "DOMAIN_SMART_CARD_SIGNIN", // required
118119
* // Permission: "ENABLED" || "DISABLED", // required
120+
* // MaximumLength: Number("int"),
119121
* // },
120122
* // ],
121123
* // ApplicationSettings: { // ApplicationSettingsResponse

clients/client-appstream/src/models/models_0.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3310,6 +3310,16 @@ export interface UserSetting {
33103310
* <p>Indicates whether the action is enabled or disabled.</p>
33113311
*/
33123312
Permission: Permission | undefined;
3313+
3314+
/**
3315+
* @public
3316+
* <p>Specifies the number of characters that can be copied by end users from the local device to the remote session, and to the local device from the remote session.</p>
3317+
* <p>This can be specified only for the <code>CLIPBOARD_COPY_FROM_LOCAL_DEVICE</code> and <code>CLIPBOARD_COPY_TO_LOCAL_DEVICE</code> actions.</p>
3318+
* <p>This defaults to 20,971,520 (20 MB) when unspecified and the permission is <code>ENABLED</code>. This can't be specified when the permission is <code>DISABLED</code>. </p>
3319+
* <p>This can only be specified for AlwaysOn and OnDemand fleets. The attribute is not supported on Elastic fleets.</p>
3320+
* <p>The value can be between 1 and 20,971,520 (20 MB).</p>
3321+
*/
3322+
MaximumLength?: number;
33133323
}
33143324

33153325
/**

clients/client-appstream/src/protocols/Aws_json1_1.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2331,6 +2331,9 @@ const de_CreateStackCommandError = async (
23312331
case "LimitExceededException":
23322332
case "com.amazonaws.appstream#LimitExceededException":
23332333
throw await de_LimitExceededExceptionRes(parsedOutput, context);
2334+
case "OperationNotPermittedException":
2335+
case "com.amazonaws.appstream#OperationNotPermittedException":
2336+
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
23342337
case "ResourceAlreadyExistsException":
23352338
case "com.amazonaws.appstream#ResourceAlreadyExistsException":
23362339
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);

0 commit comments

Comments
 (0)