@aws-sdk/client-workspaces-web 3.245.0 → 3.252.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/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +8 -3
- package/dist-cjs/protocols/Aws_restJson1.js +4 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +5 -0
- package/dist-es/protocols/Aws_restJson1.js +4 -0
- package/dist-types/models/models_0.d.ts +68 -0
- package/dist-types/ts3.4/models/models_0.d.ts +8 -0
- package/package.json +4 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const
|
|
5
|
-
const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [
|
|
4
|
+
const q = "fn", r = "argv", s = "ref";
|
|
5
|
+
const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [s]: "Endpoint" }, j = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, k = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, l = {}, m = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsFIPS"] }] }, n = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsDualStack"] }] }, o = [j], p = [k];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [q]: "isSet", [r]: [i] }], type: e, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: p, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ endpoint: { url: "https://workspaces-web-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: o, type: e, rules: [{ conditions: [m], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://workspaces-web-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [n], type: e, rules: [{ endpoint: { url: "https://workspaces-web.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { endpoint: { url: "https://workspaces-web.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.UpdateUserSettingsResponseFilterSensitiveLog = exports.UpdateUserSettingsRequestFilterSensitiveLog = exports.UpdateUserAccessLoggingSettingsResponseFilterSensitiveLog = exports.UpdateUserAccessLoggingSettingsRequestFilterSensitiveLog = exports.UpdateTrustStoreResponseFilterSensitiveLog = exports.UpdateTrustStoreRequestFilterSensitiveLog = exports.UpdatePortalResponseFilterSensitiveLog = exports.UpdatePortalRequestFilterSensitiveLog = exports.UpdateNetworkSettingsResponseFilterSensitiveLog = exports.UpdateNetworkSettingsRequestFilterSensitiveLog = exports.UpdateIdentityProviderResponseFilterSensitiveLog = exports.UpdateIdentityProviderRequestFilterSensitiveLog = exports.UpdateBrowserSettingsResponseFilterSensitiveLog = exports.UpdateBrowserSettingsRequestFilterSensitiveLog = exports.UntagResourceResponseFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.TagResourceResponseFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.ListUserSettingsResponseFilterSensitiveLog = exports.UserSettingsSummaryFilterSensitiveLog = exports.ListUserSettingsRequestFilterSensitiveLog = exports.ListUserAccessLoggingSettingsResponseFilterSensitiveLog = exports.UserAccessLoggingSettingsSummaryFilterSensitiveLog = exports.ListUserAccessLoggingSettingsRequestFilterSensitiveLog = exports.ListTrustStoresResponseFilterSensitiveLog = exports.TrustStoreSummaryFilterSensitiveLog = exports.ListTrustStoresRequestFilterSensitiveLog = exports.ListTrustStoreCertificatesResponseFilterSensitiveLog = exports.CertificateSummaryFilterSensitiveLog = exports.ListTrustStoreCertificatesRequestFilterSensitiveLog = exports.ListTagsForResourceResponseFilterSensitiveLog = exports.ListTagsForResourceRequestFilterSensitiveLog = exports.ListPortalsResponseFilterSensitiveLog = exports.PortalSummaryFilterSensitiveLog = void 0;
|
|
3
|
+
exports.DeleteTrustStoreRequestFilterSensitiveLog = exports.DeletePortalResponseFilterSensitiveLog = exports.DeletePortalRequestFilterSensitiveLog = exports.DeleteNetworkSettingsResponseFilterSensitiveLog = exports.DeleteNetworkSettingsRequestFilterSensitiveLog = exports.DeleteIdentityProviderResponseFilterSensitiveLog = exports.DeleteIdentityProviderRequestFilterSensitiveLog = exports.DeleteBrowserSettingsResponseFilterSensitiveLog = exports.DeleteBrowserSettingsRequestFilterSensitiveLog = exports.CreateUserSettingsResponseFilterSensitiveLog = exports.CreateUserSettingsRequestFilterSensitiveLog = exports.CreateUserAccessLoggingSettingsResponseFilterSensitiveLog = exports.CreateUserAccessLoggingSettingsRequestFilterSensitiveLog = exports.CreateTrustStoreResponseFilterSensitiveLog = exports.CreateTrustStoreRequestFilterSensitiveLog = exports.CreatePortalResponseFilterSensitiveLog = exports.CreatePortalRequestFilterSensitiveLog = exports.CreateNetworkSettingsResponseFilterSensitiveLog = exports.CreateNetworkSettingsRequestFilterSensitiveLog = exports.CreateIdentityProviderResponseFilterSensitiveLog = exports.CreateIdentityProviderRequestFilterSensitiveLog = exports.CreateBrowserSettingsResponseFilterSensitiveLog = exports.CreateBrowserSettingsRequestFilterSensitiveLog = exports.TagFilterSensitiveLog = exports.AssociateUserSettingsResponseFilterSensitiveLog = exports.AssociateUserSettingsRequestFilterSensitiveLog = exports.AssociateUserAccessLoggingSettingsResponseFilterSensitiveLog = exports.AssociateUserAccessLoggingSettingsRequestFilterSensitiveLog = exports.AssociateTrustStoreResponseFilterSensitiveLog = exports.AssociateTrustStoreRequestFilterSensitiveLog = exports.AssociateNetworkSettingsResponseFilterSensitiveLog = exports.AssociateNetworkSettingsRequestFilterSensitiveLog = exports.ValidationExceptionFieldFilterSensitiveLog = exports.AssociateBrowserSettingsResponseFilterSensitiveLog = exports.AssociateBrowserSettingsRequestFilterSensitiveLog = exports.TooManyTagsException = exports.RendererType = exports.PortalStatus = exports.BrowserType = exports.EnabledType = exports.IdentityProviderType = exports.ServiceQuotaExceededException = exports.AuthenticationType = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.AccessDeniedException = void 0;
|
|
4
|
+
exports.ListNetworkSettingsResponseFilterSensitiveLog = exports.NetworkSettingsSummaryFilterSensitiveLog = exports.ListNetworkSettingsRequestFilterSensitiveLog = exports.ListIdentityProvidersResponseFilterSensitiveLog = exports.IdentityProviderSummaryFilterSensitiveLog = exports.ListIdentityProvidersRequestFilterSensitiveLog = exports.ListBrowserSettingsResponseFilterSensitiveLog = exports.BrowserSettingsSummaryFilterSensitiveLog = exports.ListBrowserSettingsRequestFilterSensitiveLog = exports.GetUserSettingsResponseFilterSensitiveLog = exports.UserSettingsFilterSensitiveLog = exports.GetUserSettingsRequestFilterSensitiveLog = exports.GetUserAccessLoggingSettingsResponseFilterSensitiveLog = exports.UserAccessLoggingSettingsFilterSensitiveLog = exports.GetUserAccessLoggingSettingsRequestFilterSensitiveLog = exports.GetTrustStoreCertificateResponseFilterSensitiveLog = exports.CertificateFilterSensitiveLog = exports.GetTrustStoreCertificateRequestFilterSensitiveLog = exports.GetTrustStoreResponseFilterSensitiveLog = exports.TrustStoreFilterSensitiveLog = exports.GetTrustStoreRequestFilterSensitiveLog = exports.GetPortalServiceProviderMetadataResponseFilterSensitiveLog = exports.GetPortalServiceProviderMetadataRequestFilterSensitiveLog = exports.GetPortalResponseFilterSensitiveLog = exports.PortalFilterSensitiveLog = exports.GetPortalRequestFilterSensitiveLog = exports.GetNetworkSettingsResponseFilterSensitiveLog = exports.NetworkSettingsFilterSensitiveLog = exports.GetNetworkSettingsRequestFilterSensitiveLog = exports.GetIdentityProviderResponseFilterSensitiveLog = exports.IdentityProviderFilterSensitiveLog = exports.GetIdentityProviderRequestFilterSensitiveLog = exports.GetBrowserSettingsResponseFilterSensitiveLog = exports.BrowserSettingsFilterSensitiveLog = exports.GetBrowserSettingsRequestFilterSensitiveLog = exports.DisassociateUserSettingsResponseFilterSensitiveLog = exports.DisassociateUserSettingsRequestFilterSensitiveLog = exports.DisassociateUserAccessLoggingSettingsResponseFilterSensitiveLog = exports.DisassociateUserAccessLoggingSettingsRequestFilterSensitiveLog = exports.DisassociateTrustStoreResponseFilterSensitiveLog = exports.DisassociateTrustStoreRequestFilterSensitiveLog = exports.DisassociateNetworkSettingsResponseFilterSensitiveLog = exports.DisassociateNetworkSettingsRequestFilterSensitiveLog = exports.DisassociateBrowserSettingsResponseFilterSensitiveLog = exports.DisassociateBrowserSettingsRequestFilterSensitiveLog = exports.DeleteUserSettingsResponseFilterSensitiveLog = exports.DeleteUserSettingsRequestFilterSensitiveLog = exports.DeleteUserAccessLoggingSettingsResponseFilterSensitiveLog = exports.DeleteUserAccessLoggingSettingsRequestFilterSensitiveLog = exports.DeleteTrustStoreResponseFilterSensitiveLog = void 0;
|
|
5
|
+
exports.UpdateUserSettingsResponseFilterSensitiveLog = exports.UpdateUserSettingsRequestFilterSensitiveLog = exports.UpdateUserAccessLoggingSettingsResponseFilterSensitiveLog = exports.UpdateUserAccessLoggingSettingsRequestFilterSensitiveLog = exports.UpdateTrustStoreResponseFilterSensitiveLog = exports.UpdateTrustStoreRequestFilterSensitiveLog = exports.UpdatePortalResponseFilterSensitiveLog = exports.UpdatePortalRequestFilterSensitiveLog = exports.UpdateNetworkSettingsResponseFilterSensitiveLog = exports.UpdateNetworkSettingsRequestFilterSensitiveLog = exports.UpdateIdentityProviderResponseFilterSensitiveLog = exports.UpdateIdentityProviderRequestFilterSensitiveLog = exports.UpdateBrowserSettingsResponseFilterSensitiveLog = exports.UpdateBrowserSettingsRequestFilterSensitiveLog = exports.UntagResourceResponseFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.TagResourceResponseFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.ListUserSettingsResponseFilterSensitiveLog = exports.UserSettingsSummaryFilterSensitiveLog = exports.ListUserSettingsRequestFilterSensitiveLog = exports.ListUserAccessLoggingSettingsResponseFilterSensitiveLog = exports.UserAccessLoggingSettingsSummaryFilterSensitiveLog = exports.ListUserAccessLoggingSettingsRequestFilterSensitiveLog = exports.ListTrustStoresResponseFilterSensitiveLog = exports.TrustStoreSummaryFilterSensitiveLog = exports.ListTrustStoresRequestFilterSensitiveLog = exports.ListTrustStoreCertificatesResponseFilterSensitiveLog = exports.CertificateSummaryFilterSensitiveLog = exports.ListTrustStoreCertificatesRequestFilterSensitiveLog = exports.ListTagsForResourceResponseFilterSensitiveLog = exports.ListTagsForResourceRequestFilterSensitiveLog = exports.ListPortalsResponseFilterSensitiveLog = exports.PortalSummaryFilterSensitiveLog = exports.ListPortalsRequestFilterSensitiveLog = void 0;
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const WorkSpacesWebServiceException_1 = require("./WorkSpacesWebServiceException");
|
|
8
8
|
class AccessDeniedException extends WorkSpacesWebServiceException_1.WorkSpacesWebServiceException {
|
|
@@ -100,6 +100,11 @@ class ValidationException extends WorkSpacesWebServiceException_1.WorkSpacesWebS
|
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
102
|
exports.ValidationException = ValidationException;
|
|
103
|
+
var AuthenticationType;
|
|
104
|
+
(function (AuthenticationType) {
|
|
105
|
+
AuthenticationType["IAM_IDENTITY_CENTER"] = "IAM_Identity_Center";
|
|
106
|
+
AuthenticationType["STANDARD"] = "Standard";
|
|
107
|
+
})(AuthenticationType = exports.AuthenticationType || (exports.AuthenticationType = {}));
|
|
103
108
|
class ServiceQuotaExceededException extends WorkSpacesWebServiceException_1.WorkSpacesWebServiceException {
|
|
104
109
|
constructor(opts) {
|
|
105
110
|
super({
|
|
@@ -209,6 +209,7 @@ const serializeAws_restJson1CreatePortalCommand = async (input, context) => {
|
|
|
209
209
|
...(input.additionalEncryptionContext != null && {
|
|
210
210
|
additionalEncryptionContext: serializeAws_restJson1EncryptionContextMap(input.additionalEncryptionContext, context),
|
|
211
211
|
}),
|
|
212
|
+
...(input.authenticationType != null && { authenticationType: input.authenticationType }),
|
|
212
213
|
clientToken: input.clientToken ?? (0, uuid_1.v4)(),
|
|
213
214
|
...(input.customerManagedKey != null && { customerManagedKey: input.customerManagedKey }),
|
|
214
215
|
...(input.displayName != null && { displayName: input.displayName }),
|
|
@@ -989,6 +990,7 @@ const serializeAws_restJson1UpdatePortalCommand = async (input, context) => {
|
|
|
989
990
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "portalArn", () => input.portalArn, "{portalArn+}", true);
|
|
990
991
|
let body;
|
|
991
992
|
body = JSON.stringify({
|
|
993
|
+
...(input.authenticationType != null && { authenticationType: input.authenticationType }),
|
|
992
994
|
...(input.displayName != null && { displayName: input.displayName }),
|
|
993
995
|
});
|
|
994
996
|
return new protocol_http_1.HttpRequest({
|
|
@@ -3815,6 +3817,7 @@ const deserializeAws_restJson1NetworkSettingsSummary = (output, context) => {
|
|
|
3815
3817
|
};
|
|
3816
3818
|
const deserializeAws_restJson1Portal = (output, context) => {
|
|
3817
3819
|
return {
|
|
3820
|
+
authenticationType: (0, smithy_client_1.expectString)(output.authenticationType),
|
|
3818
3821
|
browserSettingsArn: (0, smithy_client_1.expectString)(output.browserSettingsArn),
|
|
3819
3822
|
browserType: (0, smithy_client_1.expectString)(output.browserType),
|
|
3820
3823
|
creationDate: output.creationDate != null
|
|
@@ -3845,6 +3848,7 @@ const deserializeAws_restJson1PortalList = (output, context) => {
|
|
|
3845
3848
|
};
|
|
3846
3849
|
const deserializeAws_restJson1PortalSummary = (output, context) => {
|
|
3847
3850
|
return {
|
|
3851
|
+
authenticationType: (0, smithy_client_1.expectString)(output.authenticationType),
|
|
3848
3852
|
browserSettingsArn: (0, smithy_client_1.expectString)(output.browserSettingsArn),
|
|
3849
3853
|
browserType: (0, smithy_client_1.expectString)(output.browserType),
|
|
3850
3854
|
creationDate: output.creationDate != null
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [
|
|
1
|
+
const q = "fn", r = "argv", s = "ref";
|
|
2
|
+
const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [s]: "Endpoint" }, j = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, k = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, l = {}, m = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsFIPS"] }] }, n = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsDualStack"] }] }, o = [j], p = [k];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [q]: "isSet", [r]: [i] }], type: e, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: p, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ endpoint: { url: "https://workspaces-web-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: o, type: e, rules: [{ conditions: [m], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://workspaces-web-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [n], type: e, rules: [{ endpoint: { url: "https://workspaces-web.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { endpoint: { url: "https://workspaces-web.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -89,6 +89,11 @@ export class ValidationException extends __BaseException {
|
|
|
89
89
|
this.fieldList = opts.fieldList;
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
|
+
export var AuthenticationType;
|
|
93
|
+
(function (AuthenticationType) {
|
|
94
|
+
AuthenticationType["IAM_IDENTITY_CENTER"] = "IAM_Identity_Center";
|
|
95
|
+
AuthenticationType["STANDARD"] = "Standard";
|
|
96
|
+
})(AuthenticationType || (AuthenticationType = {}));
|
|
92
97
|
export class ServiceQuotaExceededException extends __BaseException {
|
|
93
98
|
constructor(opts) {
|
|
94
99
|
super({
|
|
@@ -196,6 +196,7 @@ export const serializeAws_restJson1CreatePortalCommand = async (input, context)
|
|
|
196
196
|
...(input.additionalEncryptionContext != null && {
|
|
197
197
|
additionalEncryptionContext: serializeAws_restJson1EncryptionContextMap(input.additionalEncryptionContext, context),
|
|
198
198
|
}),
|
|
199
|
+
...(input.authenticationType != null && { authenticationType: input.authenticationType }),
|
|
199
200
|
clientToken: input.clientToken ?? generateIdempotencyToken(),
|
|
200
201
|
...(input.customerManagedKey != null && { customerManagedKey: input.customerManagedKey }),
|
|
201
202
|
...(input.displayName != null && { displayName: input.displayName }),
|
|
@@ -937,6 +938,7 @@ export const serializeAws_restJson1UpdatePortalCommand = async (input, context)
|
|
|
937
938
|
resolvedPath = __resolvedPath(resolvedPath, input, "portalArn", () => input.portalArn, "{portalArn+}", true);
|
|
938
939
|
let body;
|
|
939
940
|
body = JSON.stringify({
|
|
941
|
+
...(input.authenticationType != null && { authenticationType: input.authenticationType }),
|
|
940
942
|
...(input.displayName != null && { displayName: input.displayName }),
|
|
941
943
|
});
|
|
942
944
|
return new __HttpRequest({
|
|
@@ -3708,6 +3710,7 @@ const deserializeAws_restJson1NetworkSettingsSummary = (output, context) => {
|
|
|
3708
3710
|
};
|
|
3709
3711
|
const deserializeAws_restJson1Portal = (output, context) => {
|
|
3710
3712
|
return {
|
|
3713
|
+
authenticationType: __expectString(output.authenticationType),
|
|
3711
3714
|
browserSettingsArn: __expectString(output.browserSettingsArn),
|
|
3712
3715
|
browserType: __expectString(output.browserType),
|
|
3713
3716
|
creationDate: output.creationDate != null
|
|
@@ -3738,6 +3741,7 @@ const deserializeAws_restJson1PortalList = (output, context) => {
|
|
|
3738
3741
|
};
|
|
3739
3742
|
const deserializeAws_restJson1PortalSummary = (output, context) => {
|
|
3740
3743
|
return {
|
|
3744
|
+
authenticationType: __expectString(output.authenticationType),
|
|
3741
3745
|
browserSettingsArn: __expectString(output.browserSettingsArn),
|
|
3742
3746
|
browserType: __expectString(output.browserType),
|
|
3743
3747
|
creationDate: output.creationDate != null
|
|
@@ -225,6 +225,10 @@ export interface AssociateUserSettingsResponse {
|
|
|
225
225
|
*/
|
|
226
226
|
userSettingsArn: string | undefined;
|
|
227
227
|
}
|
|
228
|
+
export declare enum AuthenticationType {
|
|
229
|
+
IAM_IDENTITY_CENTER = "IAM_Identity_Center",
|
|
230
|
+
STANDARD = "Standard"
|
|
231
|
+
}
|
|
228
232
|
/**
|
|
229
233
|
* <p>The tag.</p>
|
|
230
234
|
*/
|
|
@@ -550,6 +554,22 @@ export interface CreatePortalRequest {
|
|
|
550
554
|
* SDK.</p>
|
|
551
555
|
*/
|
|
552
556
|
clientToken?: string;
|
|
557
|
+
/**
|
|
558
|
+
* <p>The type of authentication integration points used when signing into the web portal.
|
|
559
|
+
* Defaults to <code>Standard</code>.</p>
|
|
560
|
+
* <p>
|
|
561
|
+
* <code>Standard</code> web portals are authenticated directly through your identity
|
|
562
|
+
* provider. You need to call <code>CreateIdentityProvider</code> to integrate your identity
|
|
563
|
+
* provider with your web portal. User and group access to your web portal is controlled
|
|
564
|
+
* through your identity provider.</p>
|
|
565
|
+
* <p>
|
|
566
|
+
* <code>IAM_Identity_Center</code> web portals are authenticated through AWS IAM Identity
|
|
567
|
+
* Center (successor to AWS Single Sign-On). They provide additional features, such as
|
|
568
|
+
* IdP-initiated authentication. Identity sources (including external identity provider
|
|
569
|
+
* integration), plus user and group access to your web portal, can be configured in the IAM
|
|
570
|
+
* Identity Center.</p>
|
|
571
|
+
*/
|
|
572
|
+
authenticationType?: AuthenticationType | string;
|
|
553
573
|
}
|
|
554
574
|
export interface CreatePortalResponse {
|
|
555
575
|
/**
|
|
@@ -1094,6 +1114,22 @@ export interface Portal {
|
|
|
1094
1114
|
* <p>The ARN of the user access logging settings that is associated with the web portal.</p>
|
|
1095
1115
|
*/
|
|
1096
1116
|
userAccessLoggingSettingsArn?: string;
|
|
1117
|
+
/**
|
|
1118
|
+
* <p>The type of authentication integration points used when signing into the web portal.
|
|
1119
|
+
* Defaults to <code>Standard</code>.</p>
|
|
1120
|
+
* <p>
|
|
1121
|
+
* <code>Standard</code> web portals are authenticated directly through your identity
|
|
1122
|
+
* provider. You need to call <code>CreateIdentityProvider</code> to integrate your identity
|
|
1123
|
+
* provider with your web portal. User and group access to your web portal is controlled
|
|
1124
|
+
* through your identity provider.</p>
|
|
1125
|
+
* <p>
|
|
1126
|
+
* <code>IAM_Identity_Center</code> web portals are authenticated through AWS IAM Identity
|
|
1127
|
+
* Center (successor to AWS Single Sign-On). They provide additional features, such as
|
|
1128
|
+
* IdP-initiated authentication. Identity sources (including external identity provider
|
|
1129
|
+
* integration), plus user and group access to your web portal, can be configured in the IAM
|
|
1130
|
+
* Identity Center.</p>
|
|
1131
|
+
*/
|
|
1132
|
+
authenticationType?: AuthenticationType | string;
|
|
1097
1133
|
}
|
|
1098
1134
|
export interface GetPortalResponse {
|
|
1099
1135
|
/**
|
|
@@ -1449,6 +1485,22 @@ export interface PortalSummary {
|
|
|
1449
1485
|
* <p>The ARN of the user access logging settings that is associated with the web portal.</p>
|
|
1450
1486
|
*/
|
|
1451
1487
|
userAccessLoggingSettingsArn?: string;
|
|
1488
|
+
/**
|
|
1489
|
+
* <p>The type of authentication integration points used when signing into the web portal.
|
|
1490
|
+
* Defaults to <code>Standard</code>.</p>
|
|
1491
|
+
* <p>
|
|
1492
|
+
* <code>Standard</code> web portals are authenticated directly through your identity
|
|
1493
|
+
* provider. You need to call <code>CreateIdentityProvider</code> to integrate your identity
|
|
1494
|
+
* provider with your web portal. User and group access to your web portal is controlled
|
|
1495
|
+
* through your identity provider.</p>
|
|
1496
|
+
* <p>
|
|
1497
|
+
* <code>IAM_Identity_Center</code> web portals are authenticated through AWS IAM Identity
|
|
1498
|
+
* Center (successor to AWS Single Sign-On). They provide additional features, such as
|
|
1499
|
+
* IdP-initiated authentication. Identity sources (including external identity provider
|
|
1500
|
+
* integration), plus user and group access to your web portal, can be configured in the IAM
|
|
1501
|
+
* Identity Center.</p>
|
|
1502
|
+
*/
|
|
1503
|
+
authenticationType?: AuthenticationType | string;
|
|
1452
1504
|
}
|
|
1453
1505
|
export interface ListPortalsResponse {
|
|
1454
1506
|
/**
|
|
@@ -1949,6 +2001,22 @@ export interface UpdatePortalRequest {
|
|
|
1949
2001
|
* <p>The name of the web portal. This is not visible to users who log into the web portal.</p>
|
|
1950
2002
|
*/
|
|
1951
2003
|
displayName?: string;
|
|
2004
|
+
/**
|
|
2005
|
+
* <p>The type of authentication integration points used when signing into the web portal.
|
|
2006
|
+
* Defaults to <code>Standard</code>.</p>
|
|
2007
|
+
* <p>
|
|
2008
|
+
* <code>Standard</code> web portals are authenticated directly through your identity
|
|
2009
|
+
* provider. You need to call <code>CreateIdentityProvider</code> to integrate your identity
|
|
2010
|
+
* provider with your web portal. User and group access to your web portal is controlled
|
|
2011
|
+
* through your identity provider.</p>
|
|
2012
|
+
* <p>
|
|
2013
|
+
* <code>IAM_Identity_Center</code> web portals are authenticated through AWS IAM Identity
|
|
2014
|
+
* Center (successor to AWS Single Sign-On). They provide additional features, such as
|
|
2015
|
+
* IdP-initiated authentication. Identity sources (including external identity provider
|
|
2016
|
+
* integration), plus user and group access to your web portal, can be configured in the IAM
|
|
2017
|
+
* Identity Center.</p>
|
|
2018
|
+
*/
|
|
2019
|
+
authenticationType?: AuthenticationType | string;
|
|
1952
2020
|
}
|
|
1953
2021
|
export interface UpdatePortalResponse {
|
|
1954
2022
|
/**
|
|
@@ -100,6 +100,10 @@ export interface AssociateUserSettingsResponse {
|
|
|
100
100
|
portalArn: string | undefined;
|
|
101
101
|
userSettingsArn: string | undefined;
|
|
102
102
|
}
|
|
103
|
+
export declare enum AuthenticationType {
|
|
104
|
+
IAM_IDENTITY_CENTER = "IAM_Identity_Center",
|
|
105
|
+
STANDARD = "Standard",
|
|
106
|
+
}
|
|
103
107
|
export interface Tag {
|
|
104
108
|
Key: string | undefined;
|
|
105
109
|
Value: string | undefined;
|
|
@@ -159,6 +163,7 @@ export interface CreatePortalRequest {
|
|
|
159
163
|
customerManagedKey?: string;
|
|
160
164
|
additionalEncryptionContext?: Record<string, string>;
|
|
161
165
|
clientToken?: string;
|
|
166
|
+
authenticationType?: AuthenticationType | string;
|
|
162
167
|
}
|
|
163
168
|
export interface CreatePortalResponse {
|
|
164
169
|
portalArn: string | undefined;
|
|
@@ -310,6 +315,7 @@ export interface Portal {
|
|
|
310
315
|
trustStoreArn?: string;
|
|
311
316
|
statusReason?: string;
|
|
312
317
|
userAccessLoggingSettingsArn?: string;
|
|
318
|
+
authenticationType?: AuthenticationType | string;
|
|
313
319
|
}
|
|
314
320
|
export interface GetPortalResponse {
|
|
315
321
|
portal?: Portal;
|
|
@@ -429,6 +435,7 @@ export interface PortalSummary {
|
|
|
429
435
|
networkSettingsArn?: string;
|
|
430
436
|
trustStoreArn?: string;
|
|
431
437
|
userAccessLoggingSettingsArn?: string;
|
|
438
|
+
authenticationType?: AuthenticationType | string;
|
|
432
439
|
}
|
|
433
440
|
export interface ListPortalsResponse {
|
|
434
441
|
portals?: PortalSummary[];
|
|
@@ -548,6 +555,7 @@ export interface UpdateNetworkSettingsResponse {
|
|
|
548
555
|
export interface UpdatePortalRequest {
|
|
549
556
|
portalArn: string | undefined;
|
|
550
557
|
displayName?: string;
|
|
558
|
+
authenticationType?: AuthenticationType | string;
|
|
551
559
|
}
|
|
552
560
|
export interface UpdatePortalResponse {
|
|
553
561
|
portal?: Portal;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-workspaces-web",
|
|
3
3
|
"description": "AWS SDK for JavaScript Workspaces Web Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.252.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"build:types": "tsc -p tsconfig.types.json",
|
|
12
12
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
13
13
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
14
|
-
"generate:client": "
|
|
14
|
+
"generate:client": "node ../../scripts/generate-clients/single-service --solo workspaces-web"
|
|
15
15
|
},
|
|
16
16
|
"main": "./dist-cjs/index.js",
|
|
17
17
|
"types": "./dist-types/index.d.ts",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.252.0",
|
|
24
24
|
"@aws-sdk/config-resolver": "3.234.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.252.0",
|
|
26
26
|
"@aws-sdk/fetch-http-handler": "3.226.0",
|
|
27
27
|
"@aws-sdk/hash-node": "3.226.0",
|
|
28
28
|
"@aws-sdk/invalid-dependency": "3.226.0",
|