Skip to content

Commit a42b84c

Browse files
author
awstools
committed
feat(client-workspaces-web): Add support for WebAuthn under user settings.
1 parent bbbf580 commit a42b84c

File tree

7 files changed

+65
-4
lines changed

7 files changed

+65
-4
lines changed

clients/client-workspaces-web/src/commands/CreateUserSettingsCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ export interface CreateUserSettingsCommandOutput extends CreateUserSettingsRespo
108108
* colorTheme: "Light" || "Dark", // required
109109
* termsOfService: "STRING_VALUE",
110110
* },
111+
* webAuthnAllowed: "STRING_VALUE",
111112
* };
112113
* const command = new CreateUserSettingsCommand(input);
113114
* const response = await client.send(command);

clients/client-workspaces-web/src/commands/GetUserSettingsCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ export interface GetUserSettingsCommandOutput extends GetUserSettingsResponse, _
114114
* // colorTheme: "Light" || "Dark", // required
115115
* // termsOfService: "STRING_VALUE",
116116
* // },
117+
* // webAuthnAllowed: "STRING_VALUE",
117118
* // },
118119
* // };
119120
*

clients/client-workspaces-web/src/commands/ListUserSettingsCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ export interface ListUserSettingsCommandOutput extends ListUserSettingsResponse,
109109
* // colorTheme: "Light" || "Dark", // required
110110
* // termsOfService: "STRING_VALUE",
111111
* // },
112+
* // webAuthnAllowed: "STRING_VALUE",
112113
* // },
113114
* // ],
114115
* // nextToken: "STRING_VALUE",

clients/client-workspaces-web/src/commands/UpdateUserSettingsCommand.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ export interface UpdateUserSettingsCommandOutput extends UpdateUserSettingsRespo
9999
* colorTheme: "Light" || "Dark",
100100
* termsOfService: "STRING_VALUE",
101101
* },
102+
* webAuthnAllowed: "STRING_VALUE",
102103
* };
103104
* const command = new UpdateUserSettingsCommand(input);
104105
* const response = await client.send(command);
@@ -175,6 +176,7 @@ export interface UpdateUserSettingsCommandOutput extends UpdateUserSettingsRespo
175176
* // colorTheme: "Light" || "Dark", // required
176177
* // termsOfService: "STRING_VALUE",
177178
* // },
179+
* // webAuthnAllowed: "STRING_VALUE",
178180
* // },
179181
* // };
180182
*

clients/client-workspaces-web/src/models/models_0.ts

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3848,6 +3848,12 @@ export interface CreateUserSettingsRequest {
38483848
* @public
38493849
*/
38503850
brandingConfigurationInput?: BrandingConfigurationCreateInput | undefined;
3851+
3852+
/**
3853+
* <p>Specifies whether the user can use WebAuthn redirection for passwordless login to websites within the streaming session.</p>
3854+
* @public
3855+
*/
3856+
webAuthnAllowed?: EnabledType | undefined;
38513857
}
38523858

38533859
/**
@@ -3982,6 +3988,12 @@ export interface UserSettings {
39823988
* @public
39833989
*/
39843990
brandingConfiguration?: BrandingConfiguration | undefined;
3991+
3992+
/**
3993+
* <p>Specifies whether the user can use WebAuthn redirection for passwordless login to websites within the streaming session.</p>
3994+
* @public
3995+
*/
3996+
webAuthnAllowed?: EnabledType | undefined;
39853997
}
39863998

39873999
/**
@@ -4088,6 +4100,12 @@ export interface UserSettingsSummary {
40884100
* @public
40894101
*/
40904102
brandingConfiguration?: BrandingConfiguration | undefined;
4103+
4104+
/**
4105+
* <p>Specifies whether the user can use WebAuthn redirection for passwordless login to websites within the streaming session.</p>
4106+
* @public
4107+
*/
4108+
webAuthnAllowed?: EnabledType | undefined;
40914109
}
40924110

40934111
/**
@@ -4230,6 +4248,12 @@ export interface UpdateUserSettingsRequest {
42304248
* @public
42314249
*/
42324250
brandingConfigurationInput?: BrandingConfigurationUpdateInput | undefined;
4251+
4252+
/**
4253+
* <p>Specifies whether the user can use WebAuthn redirection for passwordless login to websites within the streaming session.</p>
4254+
* @public
4255+
*/
4256+
webAuthnAllowed?: EnabledType | undefined;
42334257
}
42344258

42354259
/**

clients/client-workspaces-web/src/schemas/schemas_0.ts

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -493,6 +493,7 @@ const _uSA = "userSettingsArn";
493493
const _vI = "vpcId";
494494
const _vM = "visualMode";
495495
const _w = "wallpaper";
496+
const _wAA = "webAuthnAllowed";
496497
const _wCFP = "webContentFilteringPolicy";
497498
const _wT = "welcomeText";
498499
const n0 = "com.amazonaws.workspacesweb";
@@ -835,7 +836,7 @@ export var CreateUserSettingsRequest$: StaticStructureSchema = [
835836
n0,
836837
_CUSR,
837838
0,
838-
[_cA, _pAa, _dA, _uA, _pAr, _ta, _dTIM, _iDTIM, _cTl, _cSC, _cMK, _aEC, _dLA, _tC, _bCI],
839+
[_cA, _pAa, _dA, _uA, _pAr, _ta, _dTIM, _iDTIM, _cTl, _cSC, _cMK, _aEC, _dLA, _tC, _bCI, _wAA],
839840
[
840841
0,
841842
0,
@@ -852,6 +853,7 @@ export var CreateUserSettingsRequest$: StaticStructureSchema = [
852853
0,
853854
() => ToolbarConfiguration$,
854855
[() => BrandingConfigurationCreateInput$, 0],
856+
0,
855857
],
856858
];
857859
export var CreateUserSettingsResponse$: StaticStructureSchema = [3, n0, _CUSRr, 0, [_uSA], [0]];
@@ -1652,7 +1654,7 @@ export var UpdateUserSettingsRequest$: StaticStructureSchema = [
16521654
n0,
16531655
_UUSR,
16541656
0,
1655-
[_uSA, _cA, _pAa, _dA, _uA, _pAr, _dTIM, _iDTIM, _cTl, _cSC, _dLA, _tC, _bCI],
1657+
[_uSA, _cA, _pAa, _dA, _uA, _pAr, _dTIM, _iDTIM, _cTl, _cSC, _dLA, _tC, _bCI, _wAA],
16561658
[
16571659
[0, 1],
16581660
0,
@@ -1667,6 +1669,7 @@ export var UpdateUserSettingsRequest$: StaticStructureSchema = [
16671669
0,
16681670
() => ToolbarConfiguration$,
16691671
[() => BrandingConfigurationUpdateInput$, 0],
1672+
0,
16701673
],
16711674
];
16721675
export var UpdateUserSettingsResponse$: StaticStructureSchema = [3, n0, _UUSRp, 0, [_uS], [[() => UserSettings$, 0]]];
@@ -1677,7 +1680,7 @@ export var UserSettings$: StaticStructureSchema = [
16771680
n0,
16781681
_US,
16791682
0,
1680-
[_uSA, _aPA, _cA, _pAa, _dA, _uA, _pAr, _dTIM, _iDTIM, _cSC, _cMK, _aEC, _dLA, _tC, _bC],
1683+
[_uSA, _aPA, _cA, _pAa, _dA, _uA, _pAr, _dTIM, _iDTIM, _cSC, _cMK, _aEC, _dLA, _tC, _bC, _wAA],
16811684
[
16821685
0,
16831686
64 | 0,
@@ -1694,14 +1697,15 @@ export var UserSettings$: StaticStructureSchema = [
16941697
0,
16951698
() => ToolbarConfiguration$,
16961699
[() => BrandingConfiguration$, 0],
1700+
0,
16971701
],
16981702
];
16991703
export var UserSettingsSummary$: StaticStructureSchema = [
17001704
3,
17011705
n0,
17021706
_USS,
17031707
0,
1704-
[_uSA, _cA, _pAa, _dA, _uA, _pAr, _dTIM, _iDTIM, _cSC, _dLA, _tC, _bC],
1708+
[_uSA, _cA, _pAa, _dA, _uA, _pAr, _dTIM, _iDTIM, _cSC, _dLA, _tC, _bC, _wAA],
17051709
[
17061710
0,
17071711
0,
@@ -1715,6 +1719,7 @@ export var UserSettingsSummary$: StaticStructureSchema = [
17151719
0,
17161720
() => ToolbarConfiguration$,
17171721
[() => BrandingConfiguration$, 0],
1722+
0,
17181723
],
17191724
];
17201725
export var ValidationException$: StaticErrorSchema = [

codegen/sdk-codegen/aws-models/workspaces-web.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3316,6 +3316,12 @@
33163316
"smithy.api#documentation": "<p>The branding configuration input that customizes the appearance of the web portal for end users. This includes a custom logo, favicon, wallpaper, localized strings, color theme, and an optional terms of service.</p>",
33173317
"smithy.api#notProperty": {}
33183318
}
3319+
},
3320+
"webAuthnAllowed": {
3321+
"target": "com.amazonaws.workspacesweb#EnabledType",
3322+
"traits": {
3323+
"smithy.api#documentation": "<p>Specifies whether the user can use WebAuthn redirection for passwordless login to websites within the streaming session.</p>"
3324+
}
33193325
}
33203326
},
33213327
"traits": {
@@ -10623,6 +10629,12 @@
1062310629
"smithy.api#documentation": "<p>The branding configuration that customizes the appearance of the web portal for end users. When updating user settings without an existing branding configuration, all fields (logo, favicon, wallpaper, localized strings, and color theme) are required except for terms of service. When updating user settings with an existing branding configuration, all fields are optional.</p>",
1062410630
"smithy.api#notProperty": {}
1062510631
}
10632+
},
10633+
"webAuthnAllowed": {
10634+
"target": "com.amazonaws.workspacesweb#EnabledType",
10635+
"traits": {
10636+
"smithy.api#documentation": "<p>Specifies whether the user can use WebAuthn redirection for passwordless login to websites within the streaming session.</p>"
10637+
}
1062610638
}
1062710639
},
1062810640
"traits": {
@@ -10862,6 +10874,12 @@
1086210874
"traits": {
1086310875
"smithy.api#documentation": "<p>The branding configuration output that customizes the appearance of the web portal for end users.</p>"
1086410876
}
10877+
},
10878+
"webAuthnAllowed": {
10879+
"target": "com.amazonaws.workspacesweb#EnabledType",
10880+
"traits": {
10881+
"smithy.api#documentation": "<p>Specifies whether the user can use WebAuthn redirection for passwordless login to websites within the streaming session.</p>"
10882+
}
1086510883
}
1086610884
},
1086710885
"traits": {
@@ -10926,6 +10944,9 @@
1092610944
},
1092710945
"brandingConfiguration": {
1092810946
"target": "com.amazonaws.workspacesweb#BrandingConfiguration"
10947+
},
10948+
"webAuthnAllowed": {
10949+
"target": "com.amazonaws.workspacesweb#EnabledType"
1092910950
}
1093010951
},
1093110952
"create": {
@@ -11034,6 +11055,12 @@
1103411055
"traits": {
1103511056
"smithy.api#documentation": "<p>The branding configuration output that customizes the appearance of the web portal for end users.</p>"
1103611057
}
11058+
},
11059+
"webAuthnAllowed": {
11060+
"target": "com.amazonaws.workspacesweb#EnabledType",
11061+
"traits": {
11062+
"smithy.api#documentation": "<p>Specifies whether the user can use WebAuthn redirection for passwordless login to websites within the streaming session.</p>"
11063+
}
1103711064
}
1103811065
},
1103911066
"traits": {

0 commit comments

Comments
 (0)