From cf6979c33295e9329d04a299a60cdbbb554aa832 Mon Sep 17 00:00:00 2001 From: awstools Date: Wed, 2 Oct 2024 18:23:51 +0000 Subject: [PATCH] feat(client-appstream): Added support for Automatic Time Zone Redirection on Amazon AppStream 2.0 --- clients/client-appstream/src/commands/CreateStackCommand.ts | 4 ++-- .../client-appstream/src/commands/DescribeStacksCommand.ts | 2 +- clients/client-appstream/src/commands/UpdateStackCommand.ts | 4 ++-- clients/client-appstream/src/models/models_0.ts | 1 + codegen/sdk-codegen/aws-models/appstream.json | 6 ++++++ 5 files changed, 12 insertions(+), 5 deletions(-) diff --git a/clients/client-appstream/src/commands/CreateStackCommand.ts b/clients/client-appstream/src/commands/CreateStackCommand.ts index 308011d9f67e..0fb3d12d0d47 100644 --- a/clients/client-appstream/src/commands/CreateStackCommand.ts +++ b/clients/client-appstream/src/commands/CreateStackCommand.ts @@ -52,7 +52,7 @@ export interface CreateStackCommandOutput extends CreateStackResult, __MetadataB * FeedbackURL: "STRING_VALUE", * UserSettings: [ // UserSettingList * { // UserSetting - * 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 + * 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" || "AUTO_TIME_ZONE_REDIRECTION", // required * Permission: "ENABLED" || "DISABLED", // required * MaximumLength: Number("int"), * }, @@ -105,7 +105,7 @@ export interface CreateStackCommandOutput extends CreateStackResult, __MetadataB * // ], * // UserSettings: [ // UserSettingList * // { // UserSetting - * // 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 + * // 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" || "AUTO_TIME_ZONE_REDIRECTION", // required * // Permission: "ENABLED" || "DISABLED", // required * // MaximumLength: Number("int"), * // }, diff --git a/clients/client-appstream/src/commands/DescribeStacksCommand.ts b/clients/client-appstream/src/commands/DescribeStacksCommand.ts index 77b841a8f462..4ee48f5515a0 100644 --- a/clients/client-appstream/src/commands/DescribeStacksCommand.ts +++ b/clients/client-appstream/src/commands/DescribeStacksCommand.ts @@ -70,7 +70,7 @@ export interface DescribeStacksCommandOutput extends DescribeStacksResult, __Met * // ], * // UserSettings: [ // UserSettingList * // { // UserSetting - * // 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 + * // 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" || "AUTO_TIME_ZONE_REDIRECTION", // required * // Permission: "ENABLED" || "DISABLED", // required * // MaximumLength: Number("int"), * // }, diff --git a/clients/client-appstream/src/commands/UpdateStackCommand.ts b/clients/client-appstream/src/commands/UpdateStackCommand.ts index 97777f9e20b4..20970c672178 100644 --- a/clients/client-appstream/src/commands/UpdateStackCommand.ts +++ b/clients/client-appstream/src/commands/UpdateStackCommand.ts @@ -56,7 +56,7 @@ export interface UpdateStackCommandOutput extends UpdateStackResult, __MetadataB * ], * UserSettings: [ // UserSettingList * { // UserSetting - * 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 + * 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" || "AUTO_TIME_ZONE_REDIRECTION", // required * Permission: "ENABLED" || "DISABLED", // required * MaximumLength: Number("int"), * }, @@ -106,7 +106,7 @@ export interface UpdateStackCommandOutput extends UpdateStackResult, __MetadataB * // ], * // UserSettings: [ // UserSettingList * // { // UserSetting - * // 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 + * // 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" || "AUTO_TIME_ZONE_REDIRECTION", // required * // Permission: "ENABLED" || "DISABLED", // required * // MaximumLength: Number("int"), * // }, diff --git a/clients/client-appstream/src/models/models_0.ts b/clients/client-appstream/src/models/models_0.ts index 03185735e39b..d1891c362746 100644 --- a/clients/client-appstream/src/models/models_0.ts +++ b/clients/client-appstream/src/models/models_0.ts @@ -39,6 +39,7 @@ export interface AccessEndpoint { * @enum */ export const Action = { + AUTO_TIME_ZONE_REDIRECTION: "AUTO_TIME_ZONE_REDIRECTION", CLIPBOARD_COPY_FROM_LOCAL_DEVICE: "CLIPBOARD_COPY_FROM_LOCAL_DEVICE", CLIPBOARD_COPY_TO_LOCAL_DEVICE: "CLIPBOARD_COPY_TO_LOCAL_DEVICE", DOMAIN_PASSWORD_SIGNIN: "DOMAIN_PASSWORD_SIGNIN", diff --git a/codegen/sdk-codegen/aws-models/appstream.json b/codegen/sdk-codegen/aws-models/appstream.json index 4eac9e0a2615..4f8622dcb872 100644 --- a/codegen/sdk-codegen/aws-models/appstream.json +++ b/codegen/sdk-codegen/aws-models/appstream.json @@ -137,6 +137,12 @@ "traits": { "smithy.api#enumValue": "DOMAIN_SMART_CARD_SIGNIN" } + }, + "AUTO_TIME_ZONE_REDIRECTION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AUTO_TIME_ZONE_REDIRECTION" + } } } },