@aws-sdk/client-workspaces-web 3.398.0 → 3.401.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/commands/GetUserSettingsCommand.js +2 -1
- package/dist-cjs/commands/ListUserSettingsCommand.js +2 -1
- package/dist-cjs/commands/UpdateUserSettingsCommand.js +3 -2
- package/dist-cjs/endpoint/ruleset.js +1 -1
- package/dist-cjs/models/models_0.js +136 -98
- package/dist-cjs/protocols/Aws_restJson1.js +4 -0
- package/dist-es/commands/GetUserSettingsCommand.js +2 -1
- package/dist-es/commands/ListUserSettingsCommand.js +2 -1
- package/dist-es/commands/UpdateUserSettingsCommand.js +3 -2
- package/dist-es/endpoint/ruleset.js +1 -1
- package/dist-es/models/models_0.js +100 -70
- package/dist-es/protocols/Aws_restJson1.js +4 -0
- package/dist-types/commands/CreateUserSettingsCommand.d.ts +20 -0
- package/dist-types/commands/GetPortalCommand.d.ts +1 -1
- package/dist-types/commands/GetTrustStoreCertificateCommand.d.ts +1 -1
- package/dist-types/commands/GetTrustStoreCommand.d.ts +1 -1
- package/dist-types/commands/GetUserSettingsCommand.d.ts +16 -0
- package/dist-types/commands/ListBrowserSettingsCommand.d.ts +1 -1
- package/dist-types/commands/ListIdentityProvidersCommand.d.ts +1 -1
- package/dist-types/commands/ListIpAccessSettingsCommand.d.ts +1 -1
- package/dist-types/commands/ListNetworkSettingsCommand.d.ts +1 -1
- package/dist-types/commands/ListPortalsCommand.d.ts +1 -1
- package/dist-types/commands/ListTrustStoreCertificatesCommand.d.ts +1 -1
- package/dist-types/commands/ListUserAccessLoggingSettingsCommand.d.ts +1 -1
- package/dist-types/commands/ListUserSettingsCommand.d.ts +17 -1
- package/dist-types/commands/UpdatePortalCommand.d.ts +1 -1
- package/dist-types/commands/UpdateUserSettingsCommand.d.ts +32 -0
- package/dist-types/models/models_0.d.ts +1375 -1279
- package/dist-types/ts3.4/models/models_0.d.ts +403 -369
- package/package.json +1 -1
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const models_0_1 = require("../models/models_0");
|
|
8
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
10
|
class GetUserSettingsCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -31,7 +32,7 @@ class GetUserSettingsCommand extends smithy_client_1.Command {
|
|
|
31
32
|
clientName,
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
|
-
outputFilterSensitiveLog:
|
|
35
|
+
outputFilterSensitiveLog: models_0_1.GetUserSettingsResponseFilterSensitiveLog,
|
|
35
36
|
};
|
|
36
37
|
const { requestHandler } = configuration;
|
|
37
38
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const models_0_1 = require("../models/models_0");
|
|
8
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
10
|
class ListUserSettingsCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -31,7 +32,7 @@ class ListUserSettingsCommand extends smithy_client_1.Command {
|
|
|
31
32
|
clientName,
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
|
-
outputFilterSensitiveLog:
|
|
35
|
+
outputFilterSensitiveLog: models_0_1.ListUserSettingsResponseFilterSensitiveLog,
|
|
35
36
|
};
|
|
36
37
|
const { requestHandler } = configuration;
|
|
37
38
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const models_0_1 = require("../models/models_0");
|
|
8
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
10
|
class UpdateUserSettingsCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -30,8 +31,8 @@ class UpdateUserSettingsCommand extends smithy_client_1.Command {
|
|
|
30
31
|
logger,
|
|
31
32
|
clientName,
|
|
32
33
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
34
|
+
inputFilterSensitiveLog: models_0_1.UpdateUserSettingsRequestFilterSensitiveLog,
|
|
35
|
+
outputFilterSensitiveLog: models_0_1.UpdateUserSettingsResponseFilterSensitiveLog,
|
|
35
36
|
};
|
|
36
37
|
const { requestHandler } = configuration;
|
|
37
38
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -3,5 +3,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
4
|
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
5
5
|
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, {
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }, { conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ endpoint: { url: "https://workspaces-web-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://workspaces-web-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://workspaces-web.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://workspaces-web.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.CookieSynchronizationConfigurationFilterSensitiveLog = exports.CreateUserAccessLoggingSettingsRequestFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.CreateTrustStoreRequestFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.UpdatePortalResponseFilterSensitiveLog = exports.UpdatePortalRequestFilterSensitiveLog = exports.ListPortalsResponseFilterSensitiveLog = exports.PortalSummaryFilterSensitiveLog = exports.GetPortalResponseFilterSensitiveLog = exports.PortalFilterSensitiveLog = exports.CreatePortalRequestFilterSensitiveLog = exports.CreateNetworkSettingsRequestFilterSensitiveLog = exports.ListTagsForResourceResponseFilterSensitiveLog = exports.UpdateIpAccessSettingsResponseFilterSensitiveLog = exports.UpdateIpAccessSettingsRequestFilterSensitiveLog = exports.ListIpAccessSettingsResponseFilterSensitiveLog = exports.IpAccessSettingsSummaryFilterSensitiveLog = exports.GetIpAccessSettingsResponseFilterSensitiveLog = exports.IpAccessSettingsFilterSensitiveLog = exports.CreateIpAccessSettingsRequestFilterSensitiveLog = exports.IpRuleFilterSensitiveLog = exports.UpdateIdentityProviderResponseFilterSensitiveLog = exports.UpdateIdentityProviderRequestFilterSensitiveLog = exports.ListIdentityProvidersResponseFilterSensitiveLog = exports.IdentityProviderSummaryFilterSensitiveLog = exports.GetIdentityProviderResponseFilterSensitiveLog = exports.IdentityProviderFilterSensitiveLog = exports.CreateIdentityProviderRequestFilterSensitiveLog = exports.UpdateBrowserSettingsResponseFilterSensitiveLog = exports.UpdateBrowserSettingsRequestFilterSensitiveLog = exports.GetBrowserSettingsResponseFilterSensitiveLog = exports.BrowserSettingsFilterSensitiveLog = exports.CreateBrowserSettingsRequestFilterSensitiveLog = exports.TagFilterSensitiveLog = exports.EnabledType = exports.TooManyTagsException = exports.RendererType = exports.PortalStatus = exports.BrowserType = exports.IdentityProviderType = exports.ServiceQuotaExceededException = exports.AuthenticationType = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.AccessDeniedException = void 0;
|
|
4
|
+
exports.UpdateUserSettingsResponseFilterSensitiveLog = exports.UpdateUserSettingsRequestFilterSensitiveLog = exports.ListUserSettingsResponseFilterSensitiveLog = exports.UserSettingsSummaryFilterSensitiveLog = exports.GetUserSettingsResponseFilterSensitiveLog = exports.UserSettingsFilterSensitiveLog = exports.CreateUserSettingsRequestFilterSensitiveLog = void 0;
|
|
4
5
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
6
|
const WorkSpacesWebServiceException_1 = require("./WorkSpacesWebServiceException");
|
|
6
7
|
class AccessDeniedException extends WorkSpacesWebServiceException_1.WorkSpacesWebServiceException {
|
|
@@ -126,10 +127,6 @@ exports.IdentityProviderType = {
|
|
|
126
127
|
SAML: "SAML",
|
|
127
128
|
SignInWithApple: "SignInWithApple",
|
|
128
129
|
};
|
|
129
|
-
exports.EnabledType = {
|
|
130
|
-
DISABLED: "Disabled",
|
|
131
|
-
ENABLED: "Enabled",
|
|
132
|
-
};
|
|
133
130
|
exports.BrowserType = {
|
|
134
131
|
CHROME: "Chrome",
|
|
135
132
|
};
|
|
@@ -155,6 +152,10 @@ class TooManyTagsException extends WorkSpacesWebServiceException_1.WorkSpacesWeb
|
|
|
155
152
|
}
|
|
156
153
|
}
|
|
157
154
|
exports.TooManyTagsException = TooManyTagsException;
|
|
155
|
+
exports.EnabledType = {
|
|
156
|
+
DISABLED: "Disabled",
|
|
157
|
+
ENABLED: "Enabled",
|
|
158
|
+
};
|
|
158
159
|
const TagFilterSensitiveLog = (obj) => ({
|
|
159
160
|
...obj,
|
|
160
161
|
...(obj.Key && { Key: smithy_client_1.SENSITIVE_STRING }),
|
|
@@ -167,73 +168,80 @@ const CreateBrowserSettingsRequestFilterSensitiveLog = (obj) => ({
|
|
|
167
168
|
...(obj.browserPolicy && { browserPolicy: smithy_client_1.SENSITIVE_STRING }),
|
|
168
169
|
});
|
|
169
170
|
exports.CreateBrowserSettingsRequestFilterSensitiveLog = CreateBrowserSettingsRequestFilterSensitiveLog;
|
|
170
|
-
const
|
|
171
|
-
...obj,
|
|
172
|
-
...(obj.identityProviderName && { identityProviderName: smithy_client_1.SENSITIVE_STRING }),
|
|
173
|
-
...(obj.identityProviderDetails && { identityProviderDetails: smithy_client_1.SENSITIVE_STRING }),
|
|
174
|
-
});
|
|
175
|
-
exports.CreateIdentityProviderRequestFilterSensitiveLog = CreateIdentityProviderRequestFilterSensitiveLog;
|
|
176
|
-
const IpRuleFilterSensitiveLog = (obj) => ({
|
|
171
|
+
const BrowserSettingsFilterSensitiveLog = (obj) => ({
|
|
177
172
|
...obj,
|
|
178
|
-
...(obj.
|
|
179
|
-
...(obj.description && { description: smithy_client_1.SENSITIVE_STRING }),
|
|
173
|
+
...(obj.browserPolicy && { browserPolicy: smithy_client_1.SENSITIVE_STRING }),
|
|
180
174
|
});
|
|
181
|
-
exports.
|
|
182
|
-
const
|
|
175
|
+
exports.BrowserSettingsFilterSensitiveLog = BrowserSettingsFilterSensitiveLog;
|
|
176
|
+
const GetBrowserSettingsResponseFilterSensitiveLog = (obj) => ({
|
|
183
177
|
...obj,
|
|
184
|
-
...(obj.
|
|
185
|
-
...(obj.description && { description: smithy_client_1.SENSITIVE_STRING }),
|
|
186
|
-
...(obj.tags && { tags: smithy_client_1.SENSITIVE_STRING }),
|
|
187
|
-
...(obj.ipRules && { ipRules: smithy_client_1.SENSITIVE_STRING }),
|
|
178
|
+
...(obj.browserSettings && { browserSettings: (0, exports.BrowserSettingsFilterSensitiveLog)(obj.browserSettings) }),
|
|
188
179
|
});
|
|
189
|
-
exports.
|
|
190
|
-
const
|
|
180
|
+
exports.GetBrowserSettingsResponseFilterSensitiveLog = GetBrowserSettingsResponseFilterSensitiveLog;
|
|
181
|
+
const UpdateBrowserSettingsRequestFilterSensitiveLog = (obj) => ({
|
|
191
182
|
...obj,
|
|
192
|
-
...(obj.
|
|
183
|
+
...(obj.browserPolicy && { browserPolicy: smithy_client_1.SENSITIVE_STRING }),
|
|
193
184
|
});
|
|
194
|
-
exports.
|
|
195
|
-
const
|
|
185
|
+
exports.UpdateBrowserSettingsRequestFilterSensitiveLog = UpdateBrowserSettingsRequestFilterSensitiveLog;
|
|
186
|
+
const UpdateBrowserSettingsResponseFilterSensitiveLog = (obj) => ({
|
|
196
187
|
...obj,
|
|
197
|
-
...(obj.
|
|
198
|
-
...(obj.tags && { tags: smithy_client_1.SENSITIVE_STRING }),
|
|
188
|
+
...(obj.browserSettings && { browserSettings: (0, exports.BrowserSettingsFilterSensitiveLog)(obj.browserSettings) }),
|
|
199
189
|
});
|
|
200
|
-
exports.
|
|
201
|
-
const
|
|
190
|
+
exports.UpdateBrowserSettingsResponseFilterSensitiveLog = UpdateBrowserSettingsResponseFilterSensitiveLog;
|
|
191
|
+
const CreateIdentityProviderRequestFilterSensitiveLog = (obj) => ({
|
|
202
192
|
...obj,
|
|
203
|
-
...(obj.
|
|
193
|
+
...(obj.identityProviderName && { identityProviderName: smithy_client_1.SENSITIVE_STRING }),
|
|
194
|
+
...(obj.identityProviderDetails && { identityProviderDetails: smithy_client_1.SENSITIVE_STRING }),
|
|
204
195
|
});
|
|
205
|
-
exports.
|
|
206
|
-
const
|
|
196
|
+
exports.CreateIdentityProviderRequestFilterSensitiveLog = CreateIdentityProviderRequestFilterSensitiveLog;
|
|
197
|
+
const IdentityProviderFilterSensitiveLog = (obj) => ({
|
|
207
198
|
...obj,
|
|
208
|
-
...(obj.
|
|
199
|
+
...(obj.identityProviderName && { identityProviderName: smithy_client_1.SENSITIVE_STRING }),
|
|
200
|
+
...(obj.identityProviderDetails && { identityProviderDetails: smithy_client_1.SENSITIVE_STRING }),
|
|
209
201
|
});
|
|
210
|
-
exports.
|
|
211
|
-
const
|
|
202
|
+
exports.IdentityProviderFilterSensitiveLog = IdentityProviderFilterSensitiveLog;
|
|
203
|
+
const GetIdentityProviderResponseFilterSensitiveLog = (obj) => ({
|
|
212
204
|
...obj,
|
|
213
|
-
...(obj.
|
|
205
|
+
...(obj.identityProvider && { identityProvider: (0, exports.IdentityProviderFilterSensitiveLog)(obj.identityProvider) }),
|
|
214
206
|
});
|
|
215
|
-
exports.
|
|
216
|
-
const
|
|
207
|
+
exports.GetIdentityProviderResponseFilterSensitiveLog = GetIdentityProviderResponseFilterSensitiveLog;
|
|
208
|
+
const IdentityProviderSummaryFilterSensitiveLog = (obj) => ({
|
|
217
209
|
...obj,
|
|
218
|
-
...(obj.
|
|
210
|
+
...(obj.identityProviderName && { identityProviderName: smithy_client_1.SENSITIVE_STRING }),
|
|
219
211
|
});
|
|
220
|
-
exports.
|
|
221
|
-
const
|
|
212
|
+
exports.IdentityProviderSummaryFilterSensitiveLog = IdentityProviderSummaryFilterSensitiveLog;
|
|
213
|
+
const ListIdentityProvidersResponseFilterSensitiveLog = (obj) => ({
|
|
222
214
|
...obj,
|
|
223
|
-
...(obj.
|
|
215
|
+
...(obj.identityProviders && {
|
|
216
|
+
identityProviders: obj.identityProviders.map((item) => (0, exports.IdentityProviderSummaryFilterSensitiveLog)(item)),
|
|
217
|
+
}),
|
|
224
218
|
});
|
|
225
|
-
exports.
|
|
226
|
-
const
|
|
219
|
+
exports.ListIdentityProvidersResponseFilterSensitiveLog = ListIdentityProvidersResponseFilterSensitiveLog;
|
|
220
|
+
const UpdateIdentityProviderRequestFilterSensitiveLog = (obj) => ({
|
|
227
221
|
...obj,
|
|
228
222
|
...(obj.identityProviderName && { identityProviderName: smithy_client_1.SENSITIVE_STRING }),
|
|
229
223
|
...(obj.identityProviderDetails && { identityProviderDetails: smithy_client_1.SENSITIVE_STRING }),
|
|
230
224
|
});
|
|
231
|
-
exports.
|
|
232
|
-
const
|
|
225
|
+
exports.UpdateIdentityProviderRequestFilterSensitiveLog = UpdateIdentityProviderRequestFilterSensitiveLog;
|
|
226
|
+
const UpdateIdentityProviderResponseFilterSensitiveLog = (obj) => ({
|
|
233
227
|
...obj,
|
|
234
228
|
...(obj.identityProvider && { identityProvider: (0, exports.IdentityProviderFilterSensitiveLog)(obj.identityProvider) }),
|
|
235
229
|
});
|
|
236
|
-
exports.
|
|
230
|
+
exports.UpdateIdentityProviderResponseFilterSensitiveLog = UpdateIdentityProviderResponseFilterSensitiveLog;
|
|
231
|
+
const IpRuleFilterSensitiveLog = (obj) => ({
|
|
232
|
+
...obj,
|
|
233
|
+
...(obj.ipRange && { ipRange: smithy_client_1.SENSITIVE_STRING }),
|
|
234
|
+
...(obj.description && { description: smithy_client_1.SENSITIVE_STRING }),
|
|
235
|
+
});
|
|
236
|
+
exports.IpRuleFilterSensitiveLog = IpRuleFilterSensitiveLog;
|
|
237
|
+
const CreateIpAccessSettingsRequestFilterSensitiveLog = (obj) => ({
|
|
238
|
+
...obj,
|
|
239
|
+
...(obj.displayName && { displayName: smithy_client_1.SENSITIVE_STRING }),
|
|
240
|
+
...(obj.description && { description: smithy_client_1.SENSITIVE_STRING }),
|
|
241
|
+
...(obj.tags && { tags: smithy_client_1.SENSITIVE_STRING }),
|
|
242
|
+
...(obj.ipRules && { ipRules: smithy_client_1.SENSITIVE_STRING }),
|
|
243
|
+
});
|
|
244
|
+
exports.CreateIpAccessSettingsRequestFilterSensitiveLog = CreateIpAccessSettingsRequestFilterSensitiveLog;
|
|
237
245
|
const IpAccessSettingsFilterSensitiveLog = (obj) => ({
|
|
238
246
|
...obj,
|
|
239
247
|
...(obj.ipRules && { ipRules: smithy_client_1.SENSITIVE_STRING }),
|
|
@@ -246,41 +254,57 @@ const GetIpAccessSettingsResponseFilterSensitiveLog = (obj) => ({
|
|
|
246
254
|
...(obj.ipAccessSettings && { ipAccessSettings: (0, exports.IpAccessSettingsFilterSensitiveLog)(obj.ipAccessSettings) }),
|
|
247
255
|
});
|
|
248
256
|
exports.GetIpAccessSettingsResponseFilterSensitiveLog = GetIpAccessSettingsResponseFilterSensitiveLog;
|
|
249
|
-
const
|
|
257
|
+
const IpAccessSettingsSummaryFilterSensitiveLog = (obj) => ({
|
|
250
258
|
...obj,
|
|
251
259
|
...(obj.displayName && { displayName: smithy_client_1.SENSITIVE_STRING }),
|
|
260
|
+
...(obj.description && { description: smithy_client_1.SENSITIVE_STRING }),
|
|
252
261
|
});
|
|
253
|
-
exports.
|
|
254
|
-
const
|
|
262
|
+
exports.IpAccessSettingsSummaryFilterSensitiveLog = IpAccessSettingsSummaryFilterSensitiveLog;
|
|
263
|
+
const ListIpAccessSettingsResponseFilterSensitiveLog = (obj) => ({
|
|
255
264
|
...obj,
|
|
256
|
-
...(obj.
|
|
265
|
+
...(obj.ipAccessSettings && {
|
|
266
|
+
ipAccessSettings: obj.ipAccessSettings.map((item) => (0, exports.IpAccessSettingsSummaryFilterSensitiveLog)(item)),
|
|
267
|
+
}),
|
|
257
268
|
});
|
|
258
|
-
exports.
|
|
259
|
-
const
|
|
269
|
+
exports.ListIpAccessSettingsResponseFilterSensitiveLog = ListIpAccessSettingsResponseFilterSensitiveLog;
|
|
270
|
+
const UpdateIpAccessSettingsRequestFilterSensitiveLog = (obj) => ({
|
|
260
271
|
...obj,
|
|
261
|
-
...(obj.
|
|
272
|
+
...(obj.displayName && { displayName: smithy_client_1.SENSITIVE_STRING }),
|
|
273
|
+
...(obj.description && { description: smithy_client_1.SENSITIVE_STRING }),
|
|
274
|
+
...(obj.ipRules && { ipRules: smithy_client_1.SENSITIVE_STRING }),
|
|
262
275
|
});
|
|
263
|
-
exports.
|
|
264
|
-
const
|
|
276
|
+
exports.UpdateIpAccessSettingsRequestFilterSensitiveLog = UpdateIpAccessSettingsRequestFilterSensitiveLog;
|
|
277
|
+
const UpdateIpAccessSettingsResponseFilterSensitiveLog = (obj) => ({
|
|
265
278
|
...obj,
|
|
266
|
-
...(obj.
|
|
267
|
-
identityProviders: obj.identityProviders.map((item) => (0, exports.IdentityProviderSummaryFilterSensitiveLog)(item)),
|
|
268
|
-
}),
|
|
279
|
+
...(obj.ipAccessSettings && { ipAccessSettings: (0, exports.IpAccessSettingsFilterSensitiveLog)(obj.ipAccessSettings) }),
|
|
269
280
|
});
|
|
270
|
-
exports.
|
|
271
|
-
const
|
|
281
|
+
exports.UpdateIpAccessSettingsResponseFilterSensitiveLog = UpdateIpAccessSettingsResponseFilterSensitiveLog;
|
|
282
|
+
const ListTagsForResourceResponseFilterSensitiveLog = (obj) => ({
|
|
283
|
+
...obj,
|
|
284
|
+
...(obj.tags && { tags: smithy_client_1.SENSITIVE_STRING }),
|
|
285
|
+
});
|
|
286
|
+
exports.ListTagsForResourceResponseFilterSensitiveLog = ListTagsForResourceResponseFilterSensitiveLog;
|
|
287
|
+
const CreateNetworkSettingsRequestFilterSensitiveLog = (obj) => ({
|
|
288
|
+
...obj,
|
|
289
|
+
...(obj.tags && { tags: smithy_client_1.SENSITIVE_STRING }),
|
|
290
|
+
});
|
|
291
|
+
exports.CreateNetworkSettingsRequestFilterSensitiveLog = CreateNetworkSettingsRequestFilterSensitiveLog;
|
|
292
|
+
const CreatePortalRequestFilterSensitiveLog = (obj) => ({
|
|
272
293
|
...obj,
|
|
273
294
|
...(obj.displayName && { displayName: smithy_client_1.SENSITIVE_STRING }),
|
|
274
|
-
...(obj.
|
|
295
|
+
...(obj.tags && { tags: smithy_client_1.SENSITIVE_STRING }),
|
|
275
296
|
});
|
|
276
|
-
exports.
|
|
277
|
-
const
|
|
297
|
+
exports.CreatePortalRequestFilterSensitiveLog = CreatePortalRequestFilterSensitiveLog;
|
|
298
|
+
const PortalFilterSensitiveLog = (obj) => ({
|
|
278
299
|
...obj,
|
|
279
|
-
...(obj.
|
|
280
|
-
ipAccessSettings: obj.ipAccessSettings.map((item) => (0, exports.IpAccessSettingsSummaryFilterSensitiveLog)(item)),
|
|
281
|
-
}),
|
|
300
|
+
...(obj.displayName && { displayName: smithy_client_1.SENSITIVE_STRING }),
|
|
282
301
|
});
|
|
283
|
-
exports.
|
|
302
|
+
exports.PortalFilterSensitiveLog = PortalFilterSensitiveLog;
|
|
303
|
+
const GetPortalResponseFilterSensitiveLog = (obj) => ({
|
|
304
|
+
...obj,
|
|
305
|
+
...(obj.portal && { portal: (0, exports.PortalFilterSensitiveLog)(obj.portal) }),
|
|
306
|
+
});
|
|
307
|
+
exports.GetPortalResponseFilterSensitiveLog = GetPortalResponseFilterSensitiveLog;
|
|
284
308
|
const PortalSummaryFilterSensitiveLog = (obj) => ({
|
|
285
309
|
...obj,
|
|
286
310
|
...(obj.displayName && { displayName: smithy_client_1.SENSITIVE_STRING }),
|
|
@@ -291,61 +315,75 @@ const ListPortalsResponseFilterSensitiveLog = (obj) => ({
|
|
|
291
315
|
...(obj.portals && { portals: obj.portals.map((item) => (0, exports.PortalSummaryFilterSensitiveLog)(item)) }),
|
|
292
316
|
});
|
|
293
317
|
exports.ListPortalsResponseFilterSensitiveLog = ListPortalsResponseFilterSensitiveLog;
|
|
294
|
-
const
|
|
318
|
+
const UpdatePortalRequestFilterSensitiveLog = (obj) => ({
|
|
295
319
|
...obj,
|
|
296
|
-
...(obj.
|
|
320
|
+
...(obj.displayName && { displayName: smithy_client_1.SENSITIVE_STRING }),
|
|
297
321
|
});
|
|
298
|
-
exports.
|
|
322
|
+
exports.UpdatePortalRequestFilterSensitiveLog = UpdatePortalRequestFilterSensitiveLog;
|
|
323
|
+
const UpdatePortalResponseFilterSensitiveLog = (obj) => ({
|
|
324
|
+
...obj,
|
|
325
|
+
...(obj.portal && { portal: (0, exports.PortalFilterSensitiveLog)(obj.portal) }),
|
|
326
|
+
});
|
|
327
|
+
exports.UpdatePortalResponseFilterSensitiveLog = UpdatePortalResponseFilterSensitiveLog;
|
|
299
328
|
const TagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
300
329
|
...obj,
|
|
301
330
|
...(obj.tags && { tags: smithy_client_1.SENSITIVE_STRING }),
|
|
302
331
|
});
|
|
303
332
|
exports.TagResourceRequestFilterSensitiveLog = TagResourceRequestFilterSensitiveLog;
|
|
333
|
+
const CreateTrustStoreRequestFilterSensitiveLog = (obj) => ({
|
|
334
|
+
...obj,
|
|
335
|
+
...(obj.tags && { tags: smithy_client_1.SENSITIVE_STRING }),
|
|
336
|
+
});
|
|
337
|
+
exports.CreateTrustStoreRequestFilterSensitiveLog = CreateTrustStoreRequestFilterSensitiveLog;
|
|
304
338
|
const UntagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
305
339
|
...obj,
|
|
306
340
|
...(obj.tagKeys && { tagKeys: smithy_client_1.SENSITIVE_STRING }),
|
|
307
341
|
});
|
|
308
342
|
exports.UntagResourceRequestFilterSensitiveLog = UntagResourceRequestFilterSensitiveLog;
|
|
309
|
-
const
|
|
343
|
+
const CreateUserAccessLoggingSettingsRequestFilterSensitiveLog = (obj) => ({
|
|
310
344
|
...obj,
|
|
311
|
-
...(obj.
|
|
345
|
+
...(obj.tags && { tags: smithy_client_1.SENSITIVE_STRING }),
|
|
312
346
|
});
|
|
313
|
-
exports.
|
|
314
|
-
const
|
|
347
|
+
exports.CreateUserAccessLoggingSettingsRequestFilterSensitiveLog = CreateUserAccessLoggingSettingsRequestFilterSensitiveLog;
|
|
348
|
+
const CookieSynchronizationConfigurationFilterSensitiveLog = (obj) => ({
|
|
315
349
|
...obj,
|
|
316
|
-
...(obj.browserSettings && { browserSettings: (0, exports.BrowserSettingsFilterSensitiveLog)(obj.browserSettings) }),
|
|
317
350
|
});
|
|
318
|
-
exports.
|
|
319
|
-
const
|
|
351
|
+
exports.CookieSynchronizationConfigurationFilterSensitiveLog = CookieSynchronizationConfigurationFilterSensitiveLog;
|
|
352
|
+
const CreateUserSettingsRequestFilterSensitiveLog = (obj) => ({
|
|
320
353
|
...obj,
|
|
321
|
-
...(obj.
|
|
322
|
-
...(obj.
|
|
354
|
+
...(obj.tags && { tags: smithy_client_1.SENSITIVE_STRING }),
|
|
355
|
+
...(obj.cookieSynchronizationConfiguration && { cookieSynchronizationConfiguration: smithy_client_1.SENSITIVE_STRING }),
|
|
323
356
|
});
|
|
324
|
-
exports.
|
|
325
|
-
const
|
|
357
|
+
exports.CreateUserSettingsRequestFilterSensitiveLog = CreateUserSettingsRequestFilterSensitiveLog;
|
|
358
|
+
const UserSettingsFilterSensitiveLog = (obj) => ({
|
|
326
359
|
...obj,
|
|
327
|
-
...(obj.
|
|
360
|
+
...(obj.cookieSynchronizationConfiguration && { cookieSynchronizationConfiguration: smithy_client_1.SENSITIVE_STRING }),
|
|
328
361
|
});
|
|
329
|
-
exports.
|
|
330
|
-
const
|
|
362
|
+
exports.UserSettingsFilterSensitiveLog = UserSettingsFilterSensitiveLog;
|
|
363
|
+
const GetUserSettingsResponseFilterSensitiveLog = (obj) => ({
|
|
331
364
|
...obj,
|
|
332
|
-
...(obj.
|
|
333
|
-
...(obj.description && { description: smithy_client_1.SENSITIVE_STRING }),
|
|
334
|
-
...(obj.ipRules && { ipRules: smithy_client_1.SENSITIVE_STRING }),
|
|
365
|
+
...(obj.userSettings && { userSettings: (0, exports.UserSettingsFilterSensitiveLog)(obj.userSettings) }),
|
|
335
366
|
});
|
|
336
|
-
exports.
|
|
337
|
-
const
|
|
367
|
+
exports.GetUserSettingsResponseFilterSensitiveLog = GetUserSettingsResponseFilterSensitiveLog;
|
|
368
|
+
const UserSettingsSummaryFilterSensitiveLog = (obj) => ({
|
|
338
369
|
...obj,
|
|
339
|
-
...(obj.
|
|
370
|
+
...(obj.cookieSynchronizationConfiguration && { cookieSynchronizationConfiguration: smithy_client_1.SENSITIVE_STRING }),
|
|
340
371
|
});
|
|
341
|
-
exports.
|
|
342
|
-
const
|
|
372
|
+
exports.UserSettingsSummaryFilterSensitiveLog = UserSettingsSummaryFilterSensitiveLog;
|
|
373
|
+
const ListUserSettingsResponseFilterSensitiveLog = (obj) => ({
|
|
343
374
|
...obj,
|
|
344
|
-
...(obj.
|
|
375
|
+
...(obj.userSettings && {
|
|
376
|
+
userSettings: obj.userSettings.map((item) => (0, exports.UserSettingsSummaryFilterSensitiveLog)(item)),
|
|
377
|
+
}),
|
|
345
378
|
});
|
|
346
|
-
exports.
|
|
347
|
-
const
|
|
379
|
+
exports.ListUserSettingsResponseFilterSensitiveLog = ListUserSettingsResponseFilterSensitiveLog;
|
|
380
|
+
const UpdateUserSettingsRequestFilterSensitiveLog = (obj) => ({
|
|
348
381
|
...obj,
|
|
349
|
-
...(obj.
|
|
382
|
+
...(obj.cookieSynchronizationConfiguration && { cookieSynchronizationConfiguration: smithy_client_1.SENSITIVE_STRING }),
|
|
350
383
|
});
|
|
351
|
-
exports.
|
|
384
|
+
exports.UpdateUserSettingsRequestFilterSensitiveLog = UpdateUserSettingsRequestFilterSensitiveLog;
|
|
385
|
+
const UpdateUserSettingsResponseFilterSensitiveLog = (obj) => ({
|
|
386
|
+
...obj,
|
|
387
|
+
...(obj.userSettings && { userSettings: (0, exports.UserSettingsFilterSensitiveLog)(obj.userSettings) }),
|
|
388
|
+
});
|
|
389
|
+
exports.UpdateUserSettingsResponseFilterSensitiveLog = UpdateUserSettingsResponseFilterSensitiveLog;
|
|
@@ -320,8 +320,11 @@ const se_CreateUserSettingsCommand = async (input, context) => {
|
|
|
320
320
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/userSettings";
|
|
321
321
|
let body;
|
|
322
322
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
323
|
+
additionalEncryptionContext: (_) => (0, smithy_client_1._json)(_),
|
|
323
324
|
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
325
|
+
cookieSynchronizationConfiguration: (_) => (0, smithy_client_1._json)(_),
|
|
324
326
|
copyAllowed: [],
|
|
327
|
+
customerManagedKey: [],
|
|
325
328
|
disconnectTimeoutInMinutes: [],
|
|
326
329
|
downloadAllowed: [],
|
|
327
330
|
idleDisconnectTimeoutInMinutes: [],
|
|
@@ -1191,6 +1194,7 @@ const se_UpdateUserSettingsCommand = async (input, context) => {
|
|
|
1191
1194
|
let body;
|
|
1192
1195
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1193
1196
|
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
1197
|
+
cookieSynchronizationConfiguration: (_) => (0, smithy_client_1._json)(_),
|
|
1194
1198
|
copyAllowed: [],
|
|
1195
1199
|
disconnectTimeoutInMinutes: [],
|
|
1196
1200
|
downloadAllowed: [],
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { GetUserSettingsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { de_GetUserSettingsCommand, se_GetUserSettingsCommand } from "../protocols/Aws_restJson1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class GetUserSettingsCommand extends $Command {
|
|
@@ -28,7 +29,7 @@ export class GetUserSettingsCommand extends $Command {
|
|
|
28
29
|
clientName,
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
|
-
outputFilterSensitiveLog:
|
|
32
|
+
outputFilterSensitiveLog: GetUserSettingsResponseFilterSensitiveLog,
|
|
32
33
|
};
|
|
33
34
|
const { requestHandler } = configuration;
|
|
34
35
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { ListUserSettingsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { de_ListUserSettingsCommand, se_ListUserSettingsCommand } from "../protocols/Aws_restJson1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class ListUserSettingsCommand extends $Command {
|
|
@@ -28,7 +29,7 @@ export class ListUserSettingsCommand extends $Command {
|
|
|
28
29
|
clientName,
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
|
-
outputFilterSensitiveLog:
|
|
32
|
+
outputFilterSensitiveLog: ListUserSettingsResponseFilterSensitiveLog,
|
|
32
33
|
};
|
|
33
34
|
const { requestHandler } = configuration;
|
|
34
35
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { UpdateUserSettingsRequestFilterSensitiveLog, UpdateUserSettingsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { de_UpdateUserSettingsCommand, se_UpdateUserSettingsCommand } from "../protocols/Aws_restJson1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class UpdateUserSettingsCommand extends $Command {
|
|
@@ -27,8 +28,8 @@ export class UpdateUserSettingsCommand extends $Command {
|
|
|
27
28
|
logger,
|
|
28
29
|
clientName,
|
|
29
30
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
31
|
-
outputFilterSensitiveLog:
|
|
31
|
+
inputFilterSensitiveLog: UpdateUserSettingsRequestFilterSensitiveLog,
|
|
32
|
+
outputFilterSensitiveLog: UpdateUserSettingsResponseFilterSensitiveLog,
|
|
32
33
|
};
|
|
33
34
|
const { requestHandler } = configuration;
|
|
34
35
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
2
2
|
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, {
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }, { conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ endpoint: { url: "https://workspaces-web-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://workspaces-web-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://workspaces-web.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://workspaces-web.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
|
|
4
4
|
export const ruleSet = _data;
|