Skip to content

Commit afd41b4

Browse files
author
awstools
committed
feat(client-workspaces-web): Support for configuring and managing custom domain names for WorkSpaces Secure Browser portals.
1 parent 69bec69 commit afd41b4

7 files changed

Lines changed: 75 additions & 8 deletions

File tree

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ export interface CreatePortalCommandOutput extends CreatePortalResponse, __Metad
5252
* authenticationType: "STRING_VALUE",
5353
* instanceType: "STRING_VALUE",
5454
* maxConcurrentSessions: Number("int"),
55+
* portalCustomDomain: "STRING_VALUE",
5556
* };
5657
* const command = new CreatePortalCommand(input);
5758
* const response = await client.send(command);

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ export interface GetPortalCommandOutput extends GetPortalResponse, __MetadataBea
6666
* // },
6767
* // instanceType: "STRING_VALUE",
6868
* // maxConcurrentSessions: Number("int"),
69+
* // portalCustomDomain: "STRING_VALUE",
6970
* // },
7071
* // };
7172
*

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ export interface ListPortalsCommandOutput extends ListPortalsResponse, __Metadat
6363
* // ipAccessSettingsArn: "STRING_VALUE",
6464
* // instanceType: "STRING_VALUE",
6565
* // maxConcurrentSessions: Number("int"),
66+
* // portalCustomDomain: "STRING_VALUE",
6667
* // },
6768
* // ],
6869
* // nextToken: "STRING_VALUE",

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ export interface UpdatePortalCommandOutput extends UpdatePortalResponse, __Metad
4242
* authenticationType: "STRING_VALUE",
4343
* instanceType: "STRING_VALUE",
4444
* maxConcurrentSessions: Number("int"),
45+
* portalCustomDomain: "STRING_VALUE",
4546
* };
4647
* const command = new UpdatePortalCommand(input);
4748
* const response = await client.send(command);
@@ -70,6 +71,7 @@ export interface UpdatePortalCommandOutput extends UpdatePortalResponse, __Metad
7071
* // },
7172
* // instanceType: "STRING_VALUE",
7273
* // maxConcurrentSessions: Number("int"),
74+
* // portalCustomDomain: "STRING_VALUE",
7375
* // },
7476
* // };
7577
*

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1956,6 +1956,12 @@ export interface CreatePortalRequest {
19561956
* @public
19571957
*/
19581958
maxConcurrentSessions?: number | undefined;
1959+
1960+
/**
1961+
* <p>The custom domain of the web portal that users access in order to start streaming sessions.</p>
1962+
* @public
1963+
*/
1964+
portalCustomDomain?: string | undefined;
19591965
}
19601966

19611967
/**
@@ -2260,6 +2266,12 @@ export interface Portal {
22602266
* @public
22612267
*/
22622268
maxConcurrentSessions?: number | undefined;
2269+
2270+
/**
2271+
* <p>The custom domain of the web portal that users access in order to start streaming sessions.</p>
2272+
* @public
2273+
*/
2274+
portalCustomDomain?: string | undefined;
22632275
}
22642276

22652277
/**
@@ -2430,6 +2442,12 @@ export interface PortalSummary {
24302442
* @public
24312443
*/
24322444
maxConcurrentSessions?: number | undefined;
2445+
2446+
/**
2447+
* <p>The custom domain of the web portal that users access in order to start streaming sessions.</p>
2448+
* @public
2449+
*/
2450+
portalCustomDomain?: string | undefined;
24332451
}
24342452

24352453
/**
@@ -2482,6 +2500,12 @@ export interface UpdatePortalRequest {
24822500
* @public
24832501
*/
24842502
maxConcurrentSessions?: number | undefined;
2503+
2504+
/**
2505+
* <p>The custom domain of the web portal that users access in order to start streaming sessions. </p>
2506+
* @public
2507+
*/
2508+
portalCustomDomain?: string | undefined;
24852509
}
24862510

24872511
/**

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

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -435,6 +435,7 @@ const _p = "path";
435435
const _pA = "portalArn";
436436
const _pAa = "pasteAllowed";
437437
const _pAr = "printAllowed";
438+
const _pCD = "portalCustomDomain";
438439
const _pD = "patternDescription";
439440
const _pE = "portalEndpoint";
440441
const _pI = "portalId";
@@ -737,8 +738,8 @@ export var CreateNetworkSettingsResponse$: StaticStructureSchema = [3, n0, _CNSR
737738
];
738739
export var CreatePortalRequest$: StaticStructureSchema = [3, n0, _CPR,
739740
0,
740-
[_dN, _ta, _cMK, _aEC, _cTl, _aT, _iT, _mCS],
741-
[[() => DisplayName, 0], [() => TagList, 0], 0, 128 | 0, [0, 4], 0, 0, 1]
741+
[_dN, _ta, _cMK, _aEC, _cTl, _aT, _iT, _mCS, _pCD],
742+
[[() => DisplayName, 0], [() => TagList, 0], 0, 128 | 0, [0, 4], 0, 0, 1, 0]
742743
];
743744
export var CreatePortalResponse$: StaticStructureSchema = [3, n0, _CPRr,
744745
0,
@@ -1318,13 +1319,13 @@ export var NetworkSettingsSummary$: StaticStructureSchema = [3, n0, _NSS,
13181319
];
13191320
export var Portal$: StaticStructureSchema = [3, n0, _P,
13201321
0,
1321-
[_pA, _rTe, _bT, _pS, _pE, _dN, _cD, _bSA, _dPSA, _uSA, _nSA, _sLA, _tSA, _sR, _uALSA, _aT, _iASA, _cMK, _aEC, _iT, _mCS],
1322-
[0, 0, 0, 0, 0, [() => DisplayName, 0], 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128 | 0, 0, 1], 1
1322+
[_pA, _rTe, _bT, _pS, _pE, _dN, _cD, _bSA, _dPSA, _uSA, _nSA, _sLA, _tSA, _sR, _uALSA, _aT, _iASA, _cMK, _aEC, _iT, _mCS, _pCD],
1323+
[0, 0, 0, 0, 0, [() => DisplayName, 0], 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128 | 0, 0, 1, 0], 1
13231324
];
13241325
export var PortalSummary$: StaticStructureSchema = [3, n0, _PS,
13251326
0,
1326-
[_pA, _rTe, _bT, _pS, _pE, _dN, _cD, _bSA, _dPSA, _uSA, _nSA, _sLA, _tSA, _uALSA, _aT, _iASA, _iT, _mCS],
1327-
[0, 0, 0, 0, 0, [() => DisplayName, 0], 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], 1
1327+
[_pA, _rTe, _bT, _pS, _pE, _dN, _cD, _bSA, _dPSA, _uSA, _nSA, _sLA, _tSA, _uALSA, _aT, _iASA, _iT, _mCS, _pCD],
1328+
[0, 0, 0, 0, 0, [() => DisplayName, 0], 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0], 1
13281329
];
13291330
export var RedactionPlaceHolder$: StaticStructureSchema = [3, n0, _RPH,
13301331
0,
@@ -1472,8 +1473,8 @@ export var UpdateNetworkSettingsResponse$: StaticStructureSchema = [3, n0, _UNSR
14721473
];
14731474
export var UpdatePortalRequest$: StaticStructureSchema = [3, n0, _UPR,
14741475
0,
1475-
[_pA, _dN, _aT, _iT, _mCS],
1476-
[[0, 1], [() => DisplayName, 0], 0, 0, 1], 1
1476+
[_pA, _dN, _aT, _iT, _mCS, _pCD],
1477+
[[0, 1], [() => DisplayName, 0], 0, 0, 1, 0], 1
14771478
];
14781479
export var UpdatePortalResponse$: StaticStructureSchema = [3, n0, _UPRp,
14791480
0,

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

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2814,6 +2814,12 @@
28142814
"traits": {
28152815
"smithy.api#documentation": "<p>The maximum number of concurrent sessions for the portal.</p>"
28162816
}
2817+
},
2818+
"portalCustomDomain": {
2819+
"target": "com.amazonaws.workspacesweb#PortalCustomDomain",
2820+
"traits": {
2821+
"smithy.api#documentation": "<p>The custom domain of the web portal that users access in order to start streaming sessions.</p>"
2822+
}
28172823
}
28182824
},
28192825
"traits": {
@@ -8243,6 +8249,12 @@
82438249
"traits": {
82448250
"smithy.api#documentation": "<p>The maximum number of concurrent sessions for the portal.</p>"
82458251
}
8252+
},
8253+
"portalCustomDomain": {
8254+
"target": "com.amazonaws.workspacesweb#PortalCustomDomain",
8255+
"traits": {
8256+
"smithy.api#documentation": "<p>The custom domain of the web portal that users access in order to start streaming sessions.</p>"
8257+
}
82468258
}
82478259
},
82488260
"traits": {
@@ -8254,6 +8266,16 @@
82548266
]
82558267
}
82568268
},
8269+
"com.amazonaws.workspacesweb#PortalCustomDomain": {
8270+
"type": "string",
8271+
"traits": {
8272+
"smithy.api#length": {
8273+
"min": 0,
8274+
"max": 128
8275+
},
8276+
"smithy.api#pattern": "^(|[a-zA-Z0-9]?((?!-)([A-Za-z0-9-]*[A-Za-z0-9])\\.)+[a-zA-Z0-9]+)$"
8277+
}
8278+
},
82578279
"com.amazonaws.workspacesweb#PortalEndpoint": {
82588280
"type": "string",
82598281
"traits": {
@@ -8353,6 +8375,9 @@
83538375
},
83548376
"maxConcurrentSessions": {
83558377
"target": "com.amazonaws.workspacesweb#MaxConcurrentSessions"
8378+
},
8379+
"portalCustomDomain": {
8380+
"target": "com.amazonaws.workspacesweb#PortalCustomDomain"
83568381
}
83578382
},
83588383
"create": {
@@ -8579,6 +8604,12 @@
85798604
"traits": {
85808605
"smithy.api#documentation": "<p>The maximum number of concurrent sessions for the portal.</p>"
85818606
}
8607+
},
8608+
"portalCustomDomain": {
8609+
"target": "com.amazonaws.workspacesweb#PortalCustomDomain",
8610+
"traits": {
8611+
"smithy.api#documentation": "<p>The custom domain of the web portal that users access in order to start streaming sessions.</p>"
8612+
}
85828613
}
85838614
},
85848615
"traits": {
@@ -10161,6 +10192,12 @@
1016110192
"traits": {
1016210193
"smithy.api#documentation": "<p>The maximum number of concurrent sessions for the portal.</p>"
1016310194
}
10195+
},
10196+
"portalCustomDomain": {
10197+
"target": "com.amazonaws.workspacesweb#PortalCustomDomain",
10198+
"traits": {
10199+
"smithy.api#documentation": "<p>The custom domain of the web portal that users access in order to start streaming sessions. </p>"
10200+
}
1016410201
}
1016510202
},
1016610203
"traits": {

0 commit comments

Comments
 (0)