@aws-sdk/client-workspaces-web 3.928.0 → 3.929.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/index.js +2743 -3261
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/WorkSpacesWebClient.js +2 -0
- package/dist-es/commands/AssociateBrowserSettingsCommand.js +3 -9
- package/dist-es/commands/AssociateDataProtectionSettingsCommand.js +3 -9
- package/dist-es/commands/AssociateIpAccessSettingsCommand.js +3 -9
- package/dist-es/commands/AssociateNetworkSettingsCommand.js +3 -9
- package/dist-es/commands/AssociateSessionLoggerCommand.js +3 -9
- package/dist-es/commands/AssociateTrustStoreCommand.js +3 -9
- package/dist-es/commands/AssociateUserAccessLoggingSettingsCommand.js +3 -9
- package/dist-es/commands/AssociateUserSettingsCommand.js +3 -9
- package/dist-es/commands/CreateBrowserSettingsCommand.js +3 -10
- package/dist-es/commands/CreateDataProtectionSettingsCommand.js +3 -10
- package/dist-es/commands/CreateIdentityProviderCommand.js +3 -10
- package/dist-es/commands/CreateIpAccessSettingsCommand.js +3 -10
- package/dist-es/commands/CreateNetworkSettingsCommand.js +3 -10
- package/dist-es/commands/CreatePortalCommand.js +3 -10
- package/dist-es/commands/CreateSessionLoggerCommand.js +3 -10
- package/dist-es/commands/CreateTrustStoreCommand.js +3 -10
- package/dist-es/commands/CreateUserAccessLoggingSettingsCommand.js +3 -10
- package/dist-es/commands/CreateUserSettingsCommand.js +3 -10
- package/dist-es/commands/DeleteBrowserSettingsCommand.js +3 -9
- package/dist-es/commands/DeleteDataProtectionSettingsCommand.js +3 -9
- package/dist-es/commands/DeleteIdentityProviderCommand.js +3 -9
- package/dist-es/commands/DeleteIpAccessSettingsCommand.js +3 -9
- package/dist-es/commands/DeleteNetworkSettingsCommand.js +3 -9
- package/dist-es/commands/DeletePortalCommand.js +3 -9
- package/dist-es/commands/DeleteSessionLoggerCommand.js +3 -9
- package/dist-es/commands/DeleteTrustStoreCommand.js +3 -9
- package/dist-es/commands/DeleteUserAccessLoggingSettingsCommand.js +3 -9
- package/dist-es/commands/DeleteUserSettingsCommand.js +3 -9
- package/dist-es/commands/DisassociateBrowserSettingsCommand.js +3 -9
- package/dist-es/commands/DisassociateDataProtectionSettingsCommand.js +3 -9
- package/dist-es/commands/DisassociateIpAccessSettingsCommand.js +3 -9
- package/dist-es/commands/DisassociateNetworkSettingsCommand.js +3 -9
- package/dist-es/commands/DisassociateSessionLoggerCommand.js +3 -9
- package/dist-es/commands/DisassociateTrustStoreCommand.js +3 -9
- package/dist-es/commands/DisassociateUserAccessLoggingSettingsCommand.js +3 -9
- package/dist-es/commands/DisassociateUserSettingsCommand.js +3 -9
- package/dist-es/commands/ExpireSessionCommand.js +3 -9
- package/dist-es/commands/GetBrowserSettingsCommand.js +3 -10
- package/dist-es/commands/GetDataProtectionSettingsCommand.js +3 -10
- package/dist-es/commands/GetIdentityProviderCommand.js +3 -10
- package/dist-es/commands/GetIpAccessSettingsCommand.js +3 -10
- package/dist-es/commands/GetNetworkSettingsCommand.js +3 -9
- package/dist-es/commands/GetPortalCommand.js +3 -10
- package/dist-es/commands/GetPortalServiceProviderMetadataCommand.js +3 -9
- package/dist-es/commands/GetSessionCommand.js +3 -10
- package/dist-es/commands/GetSessionLoggerCommand.js +3 -10
- package/dist-es/commands/GetTrustStoreCertificateCommand.js +3 -9
- package/dist-es/commands/GetTrustStoreCommand.js +3 -9
- package/dist-es/commands/GetUserAccessLoggingSettingsCommand.js +3 -9
- package/dist-es/commands/GetUserSettingsCommand.js +3 -10
- package/dist-es/commands/ListBrowserSettingsCommand.js +3 -9
- package/dist-es/commands/ListDataProtectionSettingsCommand.js +3 -10
- package/dist-es/commands/ListIdentityProvidersCommand.js +3 -10
- package/dist-es/commands/ListIpAccessSettingsCommand.js +3 -10
- package/dist-es/commands/ListNetworkSettingsCommand.js +3 -9
- package/dist-es/commands/ListPortalsCommand.js +3 -10
- package/dist-es/commands/ListSessionLoggersCommand.js +3 -10
- package/dist-es/commands/ListSessionsCommand.js +3 -10
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -10
- package/dist-es/commands/ListTrustStoreCertificatesCommand.js +3 -9
- package/dist-es/commands/ListTrustStoresCommand.js +3 -9
- package/dist-es/commands/ListUserAccessLoggingSettingsCommand.js +3 -9
- package/dist-es/commands/ListUserSettingsCommand.js +3 -10
- package/dist-es/commands/TagResourceCommand.js +3 -10
- package/dist-es/commands/UntagResourceCommand.js +3 -10
- package/dist-es/commands/UpdateBrowserSettingsCommand.js +3 -10
- package/dist-es/commands/UpdateDataProtectionSettingsCommand.js +3 -10
- package/dist-es/commands/UpdateIdentityProviderCommand.js +3 -10
- package/dist-es/commands/UpdateIpAccessSettingsCommand.js +3 -10
- package/dist-es/commands/UpdateNetworkSettingsCommand.js +3 -9
- package/dist-es/commands/UpdatePortalCommand.js +3 -10
- package/dist-es/commands/UpdateSessionLoggerCommand.js +3 -10
- package/dist-es/commands/UpdateTrustStoreCommand.js +3 -9
- package/dist-es/commands/UpdateUserAccessLoggingSettingsCommand.js +3 -9
- package/dist-es/commands/UpdateUserSettingsCommand.js +3 -10
- package/dist-es/models/models_0.js +0 -344
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +2590 -0
- package/dist-types/WorkSpacesWebClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -272
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +324 -0
- package/dist-types/ts3.4/WorkSpacesWebClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -194
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +331 -0
- package/package.json +2 -3
- package/dist-es/protocols/Aws_restJson1.js +0 -2317
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -677
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -905
|
@@ -1,2317 +0,0 @@
|
|
|
1
|
-
import { awsExpectUnion as __expectUnion, loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody, } from "@aws-sdk/core";
|
|
2
|
-
import { requestBuilder as rb } from "@smithy/core";
|
|
3
|
-
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, map, parseEpochTimestamp as __parseEpochTimestamp, strictParseInt32 as __strictParseInt32, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
|
-
import { v4 as generateIdempotencyToken } from "@smithy/uuid";
|
|
5
|
-
import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, TooManyTagsException, ValidationException, } from "../models/models_0";
|
|
6
|
-
import { WorkSpacesWebServiceException as __BaseException } from "../models/WorkSpacesWebServiceException";
|
|
7
|
-
export const se_AssociateBrowserSettingsCommand = async (input, context) => {
|
|
8
|
-
const b = rb(input, context);
|
|
9
|
-
const headers = {};
|
|
10
|
-
b.bp("/portals/{portalArn+}/browserSettings");
|
|
11
|
-
b.p("portalArn", () => input.portalArn, "{portalArn+}", true);
|
|
12
|
-
const query = map({
|
|
13
|
-
[_bSA]: [, __expectNonNull(input[_bSA], `browserSettingsArn`)],
|
|
14
|
-
});
|
|
15
|
-
let body;
|
|
16
|
-
b.m("PUT").h(headers).q(query).b(body);
|
|
17
|
-
return b.build();
|
|
18
|
-
};
|
|
19
|
-
export const se_AssociateDataProtectionSettingsCommand = async (input, context) => {
|
|
20
|
-
const b = rb(input, context);
|
|
21
|
-
const headers = {};
|
|
22
|
-
b.bp("/portals/{portalArn+}/dataProtectionSettings");
|
|
23
|
-
b.p("portalArn", () => input.portalArn, "{portalArn+}", true);
|
|
24
|
-
const query = map({
|
|
25
|
-
[_dPSA]: [, __expectNonNull(input[_dPSA], `dataProtectionSettingsArn`)],
|
|
26
|
-
});
|
|
27
|
-
let body;
|
|
28
|
-
b.m("PUT").h(headers).q(query).b(body);
|
|
29
|
-
return b.build();
|
|
30
|
-
};
|
|
31
|
-
export const se_AssociateIpAccessSettingsCommand = async (input, context) => {
|
|
32
|
-
const b = rb(input, context);
|
|
33
|
-
const headers = {};
|
|
34
|
-
b.bp("/portals/{portalArn+}/ipAccessSettings");
|
|
35
|
-
b.p("portalArn", () => input.portalArn, "{portalArn+}", true);
|
|
36
|
-
const query = map({
|
|
37
|
-
[_iASA]: [, __expectNonNull(input[_iASA], `ipAccessSettingsArn`)],
|
|
38
|
-
});
|
|
39
|
-
let body;
|
|
40
|
-
b.m("PUT").h(headers).q(query).b(body);
|
|
41
|
-
return b.build();
|
|
42
|
-
};
|
|
43
|
-
export const se_AssociateNetworkSettingsCommand = async (input, context) => {
|
|
44
|
-
const b = rb(input, context);
|
|
45
|
-
const headers = {};
|
|
46
|
-
b.bp("/portals/{portalArn+}/networkSettings");
|
|
47
|
-
b.p("portalArn", () => input.portalArn, "{portalArn+}", true);
|
|
48
|
-
const query = map({
|
|
49
|
-
[_nSA]: [, __expectNonNull(input[_nSA], `networkSettingsArn`)],
|
|
50
|
-
});
|
|
51
|
-
let body;
|
|
52
|
-
b.m("PUT").h(headers).q(query).b(body);
|
|
53
|
-
return b.build();
|
|
54
|
-
};
|
|
55
|
-
export const se_AssociateSessionLoggerCommand = async (input, context) => {
|
|
56
|
-
const b = rb(input, context);
|
|
57
|
-
const headers = {};
|
|
58
|
-
b.bp("/portals/{portalArn+}/sessionLogger");
|
|
59
|
-
b.p("portalArn", () => input.portalArn, "{portalArn+}", true);
|
|
60
|
-
const query = map({
|
|
61
|
-
[_sLA]: [, __expectNonNull(input[_sLA], `sessionLoggerArn`)],
|
|
62
|
-
});
|
|
63
|
-
let body;
|
|
64
|
-
b.m("PUT").h(headers).q(query).b(body);
|
|
65
|
-
return b.build();
|
|
66
|
-
};
|
|
67
|
-
export const se_AssociateTrustStoreCommand = async (input, context) => {
|
|
68
|
-
const b = rb(input, context);
|
|
69
|
-
const headers = {};
|
|
70
|
-
b.bp("/portals/{portalArn+}/trustStores");
|
|
71
|
-
b.p("portalArn", () => input.portalArn, "{portalArn+}", true);
|
|
72
|
-
const query = map({
|
|
73
|
-
[_tSA]: [, __expectNonNull(input[_tSA], `trustStoreArn`)],
|
|
74
|
-
});
|
|
75
|
-
let body;
|
|
76
|
-
b.m("PUT").h(headers).q(query).b(body);
|
|
77
|
-
return b.build();
|
|
78
|
-
};
|
|
79
|
-
export const se_AssociateUserAccessLoggingSettingsCommand = async (input, context) => {
|
|
80
|
-
const b = rb(input, context);
|
|
81
|
-
const headers = {};
|
|
82
|
-
b.bp("/portals/{portalArn+}/userAccessLoggingSettings");
|
|
83
|
-
b.p("portalArn", () => input.portalArn, "{portalArn+}", true);
|
|
84
|
-
const query = map({
|
|
85
|
-
[_uALSA]: [, __expectNonNull(input[_uALSA], `userAccessLoggingSettingsArn`)],
|
|
86
|
-
});
|
|
87
|
-
let body;
|
|
88
|
-
b.m("PUT").h(headers).q(query).b(body);
|
|
89
|
-
return b.build();
|
|
90
|
-
};
|
|
91
|
-
export const se_AssociateUserSettingsCommand = async (input, context) => {
|
|
92
|
-
const b = rb(input, context);
|
|
93
|
-
const headers = {};
|
|
94
|
-
b.bp("/portals/{portalArn+}/userSettings");
|
|
95
|
-
b.p("portalArn", () => input.portalArn, "{portalArn+}", true);
|
|
96
|
-
const query = map({
|
|
97
|
-
[_uSA]: [, __expectNonNull(input[_uSA], `userSettingsArn`)],
|
|
98
|
-
});
|
|
99
|
-
let body;
|
|
100
|
-
b.m("PUT").h(headers).q(query).b(body);
|
|
101
|
-
return b.build();
|
|
102
|
-
};
|
|
103
|
-
export const se_CreateBrowserSettingsCommand = async (input, context) => {
|
|
104
|
-
const b = rb(input, context);
|
|
105
|
-
const headers = {
|
|
106
|
-
"content-type": "application/json",
|
|
107
|
-
};
|
|
108
|
-
b.bp("/browserSettings");
|
|
109
|
-
let body;
|
|
110
|
-
body = JSON.stringify(take(input, {
|
|
111
|
-
additionalEncryptionContext: (_) => _json(_),
|
|
112
|
-
browserPolicy: [],
|
|
113
|
-
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
114
|
-
customerManagedKey: [],
|
|
115
|
-
tags: (_) => _json(_),
|
|
116
|
-
}));
|
|
117
|
-
b.m("POST").h(headers).b(body);
|
|
118
|
-
return b.build();
|
|
119
|
-
};
|
|
120
|
-
export const se_CreateDataProtectionSettingsCommand = async (input, context) => {
|
|
121
|
-
const b = rb(input, context);
|
|
122
|
-
const headers = {
|
|
123
|
-
"content-type": "application/json",
|
|
124
|
-
};
|
|
125
|
-
b.bp("/dataProtectionSettings");
|
|
126
|
-
let body;
|
|
127
|
-
body = JSON.stringify(take(input, {
|
|
128
|
-
additionalEncryptionContext: (_) => _json(_),
|
|
129
|
-
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
130
|
-
customerManagedKey: [],
|
|
131
|
-
description: [],
|
|
132
|
-
displayName: [],
|
|
133
|
-
inlineRedactionConfiguration: (_) => _json(_),
|
|
134
|
-
tags: (_) => _json(_),
|
|
135
|
-
}));
|
|
136
|
-
b.m("POST").h(headers).b(body);
|
|
137
|
-
return b.build();
|
|
138
|
-
};
|
|
139
|
-
export const se_CreateIdentityProviderCommand = async (input, context) => {
|
|
140
|
-
const b = rb(input, context);
|
|
141
|
-
const headers = {
|
|
142
|
-
"content-type": "application/json",
|
|
143
|
-
};
|
|
144
|
-
b.bp("/identityProviders");
|
|
145
|
-
let body;
|
|
146
|
-
body = JSON.stringify(take(input, {
|
|
147
|
-
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
148
|
-
identityProviderDetails: (_) => _json(_),
|
|
149
|
-
identityProviderName: [],
|
|
150
|
-
identityProviderType: [],
|
|
151
|
-
portalArn: [],
|
|
152
|
-
tags: (_) => _json(_),
|
|
153
|
-
}));
|
|
154
|
-
b.m("POST").h(headers).b(body);
|
|
155
|
-
return b.build();
|
|
156
|
-
};
|
|
157
|
-
export const se_CreateIpAccessSettingsCommand = async (input, context) => {
|
|
158
|
-
const b = rb(input, context);
|
|
159
|
-
const headers = {
|
|
160
|
-
"content-type": "application/json",
|
|
161
|
-
};
|
|
162
|
-
b.bp("/ipAccessSettings");
|
|
163
|
-
let body;
|
|
164
|
-
body = JSON.stringify(take(input, {
|
|
165
|
-
additionalEncryptionContext: (_) => _json(_),
|
|
166
|
-
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
167
|
-
customerManagedKey: [],
|
|
168
|
-
description: [],
|
|
169
|
-
displayName: [],
|
|
170
|
-
ipRules: (_) => _json(_),
|
|
171
|
-
tags: (_) => _json(_),
|
|
172
|
-
}));
|
|
173
|
-
b.m("POST").h(headers).b(body);
|
|
174
|
-
return b.build();
|
|
175
|
-
};
|
|
176
|
-
export const se_CreateNetworkSettingsCommand = async (input, context) => {
|
|
177
|
-
const b = rb(input, context);
|
|
178
|
-
const headers = {
|
|
179
|
-
"content-type": "application/json",
|
|
180
|
-
};
|
|
181
|
-
b.bp("/networkSettings");
|
|
182
|
-
let body;
|
|
183
|
-
body = JSON.stringify(take(input, {
|
|
184
|
-
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
185
|
-
securityGroupIds: (_) => _json(_),
|
|
186
|
-
subnetIds: (_) => _json(_),
|
|
187
|
-
tags: (_) => _json(_),
|
|
188
|
-
vpcId: [],
|
|
189
|
-
}));
|
|
190
|
-
b.m("POST").h(headers).b(body);
|
|
191
|
-
return b.build();
|
|
192
|
-
};
|
|
193
|
-
export const se_CreatePortalCommand = async (input, context) => {
|
|
194
|
-
const b = rb(input, context);
|
|
195
|
-
const headers = {
|
|
196
|
-
"content-type": "application/json",
|
|
197
|
-
};
|
|
198
|
-
b.bp("/portals");
|
|
199
|
-
let body;
|
|
200
|
-
body = JSON.stringify(take(input, {
|
|
201
|
-
additionalEncryptionContext: (_) => _json(_),
|
|
202
|
-
authenticationType: [],
|
|
203
|
-
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
204
|
-
customerManagedKey: [],
|
|
205
|
-
displayName: [],
|
|
206
|
-
instanceType: [],
|
|
207
|
-
maxConcurrentSessions: [],
|
|
208
|
-
tags: (_) => _json(_),
|
|
209
|
-
}));
|
|
210
|
-
b.m("POST").h(headers).b(body);
|
|
211
|
-
return b.build();
|
|
212
|
-
};
|
|
213
|
-
export const se_CreateSessionLoggerCommand = async (input, context) => {
|
|
214
|
-
const b = rb(input, context);
|
|
215
|
-
const headers = {
|
|
216
|
-
"content-type": "application/json",
|
|
217
|
-
};
|
|
218
|
-
b.bp("/sessionLoggers");
|
|
219
|
-
let body;
|
|
220
|
-
body = JSON.stringify(take(input, {
|
|
221
|
-
additionalEncryptionContext: (_) => _json(_),
|
|
222
|
-
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
223
|
-
customerManagedKey: [],
|
|
224
|
-
displayName: [],
|
|
225
|
-
eventFilter: (_) => _json(_),
|
|
226
|
-
logConfiguration: (_) => _json(_),
|
|
227
|
-
tags: (_) => _json(_),
|
|
228
|
-
}));
|
|
229
|
-
b.m("POST").h(headers).b(body);
|
|
230
|
-
return b.build();
|
|
231
|
-
};
|
|
232
|
-
export const se_CreateTrustStoreCommand = async (input, context) => {
|
|
233
|
-
const b = rb(input, context);
|
|
234
|
-
const headers = {
|
|
235
|
-
"content-type": "application/json",
|
|
236
|
-
};
|
|
237
|
-
b.bp("/trustStores");
|
|
238
|
-
let body;
|
|
239
|
-
body = JSON.stringify(take(input, {
|
|
240
|
-
certificateList: (_) => se_CertificateList(_, context),
|
|
241
|
-
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
242
|
-
tags: (_) => _json(_),
|
|
243
|
-
}));
|
|
244
|
-
b.m("POST").h(headers).b(body);
|
|
245
|
-
return b.build();
|
|
246
|
-
};
|
|
247
|
-
export const se_CreateUserAccessLoggingSettingsCommand = async (input, context) => {
|
|
248
|
-
const b = rb(input, context);
|
|
249
|
-
const headers = {
|
|
250
|
-
"content-type": "application/json",
|
|
251
|
-
};
|
|
252
|
-
b.bp("/userAccessLoggingSettings");
|
|
253
|
-
let body;
|
|
254
|
-
body = JSON.stringify(take(input, {
|
|
255
|
-
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
256
|
-
kinesisStreamArn: [],
|
|
257
|
-
tags: (_) => _json(_),
|
|
258
|
-
}));
|
|
259
|
-
b.m("POST").h(headers).b(body);
|
|
260
|
-
return b.build();
|
|
261
|
-
};
|
|
262
|
-
export const se_CreateUserSettingsCommand = async (input, context) => {
|
|
263
|
-
const b = rb(input, context);
|
|
264
|
-
const headers = {
|
|
265
|
-
"content-type": "application/json",
|
|
266
|
-
};
|
|
267
|
-
b.bp("/userSettings");
|
|
268
|
-
let body;
|
|
269
|
-
body = JSON.stringify(take(input, {
|
|
270
|
-
additionalEncryptionContext: (_) => _json(_),
|
|
271
|
-
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
272
|
-
cookieSynchronizationConfiguration: (_) => _json(_),
|
|
273
|
-
copyAllowed: [],
|
|
274
|
-
customerManagedKey: [],
|
|
275
|
-
deepLinkAllowed: [],
|
|
276
|
-
disconnectTimeoutInMinutes: [],
|
|
277
|
-
downloadAllowed: [],
|
|
278
|
-
idleDisconnectTimeoutInMinutes: [],
|
|
279
|
-
pasteAllowed: [],
|
|
280
|
-
printAllowed: [],
|
|
281
|
-
tags: (_) => _json(_),
|
|
282
|
-
toolbarConfiguration: (_) => _json(_),
|
|
283
|
-
uploadAllowed: [],
|
|
284
|
-
}));
|
|
285
|
-
b.m("POST").h(headers).b(body);
|
|
286
|
-
return b.build();
|
|
287
|
-
};
|
|
288
|
-
export const se_DeleteBrowserSettingsCommand = async (input, context) => {
|
|
289
|
-
const b = rb(input, context);
|
|
290
|
-
const headers = {};
|
|
291
|
-
b.bp("/browserSettings/{browserSettingsArn+}");
|
|
292
|
-
b.p("browserSettingsArn", () => input.browserSettingsArn, "{browserSettingsArn+}", true);
|
|
293
|
-
let body;
|
|
294
|
-
b.m("DELETE").h(headers).b(body);
|
|
295
|
-
return b.build();
|
|
296
|
-
};
|
|
297
|
-
export const se_DeleteDataProtectionSettingsCommand = async (input, context) => {
|
|
298
|
-
const b = rb(input, context);
|
|
299
|
-
const headers = {};
|
|
300
|
-
b.bp("/dataProtectionSettings/{dataProtectionSettingsArn+}");
|
|
301
|
-
b.p("dataProtectionSettingsArn", () => input.dataProtectionSettingsArn, "{dataProtectionSettingsArn+}", true);
|
|
302
|
-
let body;
|
|
303
|
-
b.m("DELETE").h(headers).b(body);
|
|
304
|
-
return b.build();
|
|
305
|
-
};
|
|
306
|
-
export const se_DeleteIdentityProviderCommand = async (input, context) => {
|
|
307
|
-
const b = rb(input, context);
|
|
308
|
-
const headers = {};
|
|
309
|
-
b.bp("/identityProviders/{identityProviderArn+}");
|
|
310
|
-
b.p("identityProviderArn", () => input.identityProviderArn, "{identityProviderArn+}", true);
|
|
311
|
-
let body;
|
|
312
|
-
b.m("DELETE").h(headers).b(body);
|
|
313
|
-
return b.build();
|
|
314
|
-
};
|
|
315
|
-
export const se_DeleteIpAccessSettingsCommand = async (input, context) => {
|
|
316
|
-
const b = rb(input, context);
|
|
317
|
-
const headers = {};
|
|
318
|
-
b.bp("/ipAccessSettings/{ipAccessSettingsArn+}");
|
|
319
|
-
b.p("ipAccessSettingsArn", () => input.ipAccessSettingsArn, "{ipAccessSettingsArn+}", true);
|
|
320
|
-
let body;
|
|
321
|
-
b.m("DELETE").h(headers).b(body);
|
|
322
|
-
return b.build();
|
|
323
|
-
};
|
|
324
|
-
export const se_DeleteNetworkSettingsCommand = async (input, context) => {
|
|
325
|
-
const b = rb(input, context);
|
|
326
|
-
const headers = {};
|
|
327
|
-
b.bp("/networkSettings/{networkSettingsArn+}");
|
|
328
|
-
b.p("networkSettingsArn", () => input.networkSettingsArn, "{networkSettingsArn+}", true);
|
|
329
|
-
let body;
|
|
330
|
-
b.m("DELETE").h(headers).b(body);
|
|
331
|
-
return b.build();
|
|
332
|
-
};
|
|
333
|
-
export const se_DeletePortalCommand = async (input, context) => {
|
|
334
|
-
const b = rb(input, context);
|
|
335
|
-
const headers = {};
|
|
336
|
-
b.bp("/portals/{portalArn+}");
|
|
337
|
-
b.p("portalArn", () => input.portalArn, "{portalArn+}", true);
|
|
338
|
-
let body;
|
|
339
|
-
b.m("DELETE").h(headers).b(body);
|
|
340
|
-
return b.build();
|
|
341
|
-
};
|
|
342
|
-
export const se_DeleteSessionLoggerCommand = async (input, context) => {
|
|
343
|
-
const b = rb(input, context);
|
|
344
|
-
const headers = {};
|
|
345
|
-
b.bp("/sessionLoggers/{sessionLoggerArn+}");
|
|
346
|
-
b.p("sessionLoggerArn", () => input.sessionLoggerArn, "{sessionLoggerArn+}", true);
|
|
347
|
-
let body;
|
|
348
|
-
b.m("DELETE").h(headers).b(body);
|
|
349
|
-
return b.build();
|
|
350
|
-
};
|
|
351
|
-
export const se_DeleteTrustStoreCommand = async (input, context) => {
|
|
352
|
-
const b = rb(input, context);
|
|
353
|
-
const headers = {};
|
|
354
|
-
b.bp("/trustStores/{trustStoreArn+}");
|
|
355
|
-
b.p("trustStoreArn", () => input.trustStoreArn, "{trustStoreArn+}", true);
|
|
356
|
-
let body;
|
|
357
|
-
b.m("DELETE").h(headers).b(body);
|
|
358
|
-
return b.build();
|
|
359
|
-
};
|
|
360
|
-
export const se_DeleteUserAccessLoggingSettingsCommand = async (input, context) => {
|
|
361
|
-
const b = rb(input, context);
|
|
362
|
-
const headers = {};
|
|
363
|
-
b.bp("/userAccessLoggingSettings/{userAccessLoggingSettingsArn+}");
|
|
364
|
-
b.p("userAccessLoggingSettingsArn", () => input.userAccessLoggingSettingsArn, "{userAccessLoggingSettingsArn+}", true);
|
|
365
|
-
let body;
|
|
366
|
-
b.m("DELETE").h(headers).b(body);
|
|
367
|
-
return b.build();
|
|
368
|
-
};
|
|
369
|
-
export const se_DeleteUserSettingsCommand = async (input, context) => {
|
|
370
|
-
const b = rb(input, context);
|
|
371
|
-
const headers = {};
|
|
372
|
-
b.bp("/userSettings/{userSettingsArn+}");
|
|
373
|
-
b.p("userSettingsArn", () => input.userSettingsArn, "{userSettingsArn+}", true);
|
|
374
|
-
let body;
|
|
375
|
-
b.m("DELETE").h(headers).b(body);
|
|
376
|
-
return b.build();
|
|
377
|
-
};
|
|
378
|
-
export const se_DisassociateBrowserSettingsCommand = async (input, context) => {
|
|
379
|
-
const b = rb(input, context);
|
|
380
|
-
const headers = {};
|
|
381
|
-
b.bp("/portals/{portalArn+}/browserSettings");
|
|
382
|
-
b.p("portalArn", () => input.portalArn, "{portalArn+}", true);
|
|
383
|
-
let body;
|
|
384
|
-
b.m("DELETE").h(headers).b(body);
|
|
385
|
-
return b.build();
|
|
386
|
-
};
|
|
387
|
-
export const se_DisassociateDataProtectionSettingsCommand = async (input, context) => {
|
|
388
|
-
const b = rb(input, context);
|
|
389
|
-
const headers = {};
|
|
390
|
-
b.bp("/portals/{portalArn+}/dataProtectionSettings");
|
|
391
|
-
b.p("portalArn", () => input.portalArn, "{portalArn+}", true);
|
|
392
|
-
let body;
|
|
393
|
-
b.m("DELETE").h(headers).b(body);
|
|
394
|
-
return b.build();
|
|
395
|
-
};
|
|
396
|
-
export const se_DisassociateIpAccessSettingsCommand = async (input, context) => {
|
|
397
|
-
const b = rb(input, context);
|
|
398
|
-
const headers = {};
|
|
399
|
-
b.bp("/portals/{portalArn+}/ipAccessSettings");
|
|
400
|
-
b.p("portalArn", () => input.portalArn, "{portalArn+}", true);
|
|
401
|
-
let body;
|
|
402
|
-
b.m("DELETE").h(headers).b(body);
|
|
403
|
-
return b.build();
|
|
404
|
-
};
|
|
405
|
-
export const se_DisassociateNetworkSettingsCommand = async (input, context) => {
|
|
406
|
-
const b = rb(input, context);
|
|
407
|
-
const headers = {};
|
|
408
|
-
b.bp("/portals/{portalArn+}/networkSettings");
|
|
409
|
-
b.p("portalArn", () => input.portalArn, "{portalArn+}", true);
|
|
410
|
-
let body;
|
|
411
|
-
b.m("DELETE").h(headers).b(body);
|
|
412
|
-
return b.build();
|
|
413
|
-
};
|
|
414
|
-
export const se_DisassociateSessionLoggerCommand = async (input, context) => {
|
|
415
|
-
const b = rb(input, context);
|
|
416
|
-
const headers = {};
|
|
417
|
-
b.bp("/portals/{portalArn+}/sessionLogger");
|
|
418
|
-
b.p("portalArn", () => input.portalArn, "{portalArn+}", true);
|
|
419
|
-
let body;
|
|
420
|
-
b.m("DELETE").h(headers).b(body);
|
|
421
|
-
return b.build();
|
|
422
|
-
};
|
|
423
|
-
export const se_DisassociateTrustStoreCommand = async (input, context) => {
|
|
424
|
-
const b = rb(input, context);
|
|
425
|
-
const headers = {};
|
|
426
|
-
b.bp("/portals/{portalArn+}/trustStores");
|
|
427
|
-
b.p("portalArn", () => input.portalArn, "{portalArn+}", true);
|
|
428
|
-
let body;
|
|
429
|
-
b.m("DELETE").h(headers).b(body);
|
|
430
|
-
return b.build();
|
|
431
|
-
};
|
|
432
|
-
export const se_DisassociateUserAccessLoggingSettingsCommand = async (input, context) => {
|
|
433
|
-
const b = rb(input, context);
|
|
434
|
-
const headers = {};
|
|
435
|
-
b.bp("/portals/{portalArn+}/userAccessLoggingSettings");
|
|
436
|
-
b.p("portalArn", () => input.portalArn, "{portalArn+}", true);
|
|
437
|
-
let body;
|
|
438
|
-
b.m("DELETE").h(headers).b(body);
|
|
439
|
-
return b.build();
|
|
440
|
-
};
|
|
441
|
-
export const se_DisassociateUserSettingsCommand = async (input, context) => {
|
|
442
|
-
const b = rb(input, context);
|
|
443
|
-
const headers = {};
|
|
444
|
-
b.bp("/portals/{portalArn+}/userSettings");
|
|
445
|
-
b.p("portalArn", () => input.portalArn, "{portalArn+}", true);
|
|
446
|
-
let body;
|
|
447
|
-
b.m("DELETE").h(headers).b(body);
|
|
448
|
-
return b.build();
|
|
449
|
-
};
|
|
450
|
-
export const se_ExpireSessionCommand = async (input, context) => {
|
|
451
|
-
const b = rb(input, context);
|
|
452
|
-
const headers = {};
|
|
453
|
-
b.bp("/portals/{portalId}/sessions/{sessionId}");
|
|
454
|
-
b.p("portalId", () => input.portalId, "{portalId}", false);
|
|
455
|
-
b.p("sessionId", () => input.sessionId, "{sessionId}", false);
|
|
456
|
-
let body;
|
|
457
|
-
b.m("DELETE").h(headers).b(body);
|
|
458
|
-
return b.build();
|
|
459
|
-
};
|
|
460
|
-
export const se_GetBrowserSettingsCommand = async (input, context) => {
|
|
461
|
-
const b = rb(input, context);
|
|
462
|
-
const headers = {};
|
|
463
|
-
b.bp("/browserSettings/{browserSettingsArn+}");
|
|
464
|
-
b.p("browserSettingsArn", () => input.browserSettingsArn, "{browserSettingsArn+}", true);
|
|
465
|
-
let body;
|
|
466
|
-
b.m("GET").h(headers).b(body);
|
|
467
|
-
return b.build();
|
|
468
|
-
};
|
|
469
|
-
export const se_GetDataProtectionSettingsCommand = async (input, context) => {
|
|
470
|
-
const b = rb(input, context);
|
|
471
|
-
const headers = {};
|
|
472
|
-
b.bp("/dataProtectionSettings/{dataProtectionSettingsArn+}");
|
|
473
|
-
b.p("dataProtectionSettingsArn", () => input.dataProtectionSettingsArn, "{dataProtectionSettingsArn+}", true);
|
|
474
|
-
let body;
|
|
475
|
-
b.m("GET").h(headers).b(body);
|
|
476
|
-
return b.build();
|
|
477
|
-
};
|
|
478
|
-
export const se_GetIdentityProviderCommand = async (input, context) => {
|
|
479
|
-
const b = rb(input, context);
|
|
480
|
-
const headers = {};
|
|
481
|
-
b.bp("/identityProviders/{identityProviderArn+}");
|
|
482
|
-
b.p("identityProviderArn", () => input.identityProviderArn, "{identityProviderArn+}", true);
|
|
483
|
-
let body;
|
|
484
|
-
b.m("GET").h(headers).b(body);
|
|
485
|
-
return b.build();
|
|
486
|
-
};
|
|
487
|
-
export const se_GetIpAccessSettingsCommand = async (input, context) => {
|
|
488
|
-
const b = rb(input, context);
|
|
489
|
-
const headers = {};
|
|
490
|
-
b.bp("/ipAccessSettings/{ipAccessSettingsArn+}");
|
|
491
|
-
b.p("ipAccessSettingsArn", () => input.ipAccessSettingsArn, "{ipAccessSettingsArn+}", true);
|
|
492
|
-
let body;
|
|
493
|
-
b.m("GET").h(headers).b(body);
|
|
494
|
-
return b.build();
|
|
495
|
-
};
|
|
496
|
-
export const se_GetNetworkSettingsCommand = async (input, context) => {
|
|
497
|
-
const b = rb(input, context);
|
|
498
|
-
const headers = {};
|
|
499
|
-
b.bp("/networkSettings/{networkSettingsArn+}");
|
|
500
|
-
b.p("networkSettingsArn", () => input.networkSettingsArn, "{networkSettingsArn+}", true);
|
|
501
|
-
let body;
|
|
502
|
-
b.m("GET").h(headers).b(body);
|
|
503
|
-
return b.build();
|
|
504
|
-
};
|
|
505
|
-
export const se_GetPortalCommand = async (input, context) => {
|
|
506
|
-
const b = rb(input, context);
|
|
507
|
-
const headers = {};
|
|
508
|
-
b.bp("/portals/{portalArn+}");
|
|
509
|
-
b.p("portalArn", () => input.portalArn, "{portalArn+}", true);
|
|
510
|
-
let body;
|
|
511
|
-
b.m("GET").h(headers).b(body);
|
|
512
|
-
return b.build();
|
|
513
|
-
};
|
|
514
|
-
export const se_GetPortalServiceProviderMetadataCommand = async (input, context) => {
|
|
515
|
-
const b = rb(input, context);
|
|
516
|
-
const headers = {};
|
|
517
|
-
b.bp("/portalIdp/{portalArn+}");
|
|
518
|
-
b.p("portalArn", () => input.portalArn, "{portalArn+}", true);
|
|
519
|
-
let body;
|
|
520
|
-
b.m("GET").h(headers).b(body);
|
|
521
|
-
return b.build();
|
|
522
|
-
};
|
|
523
|
-
export const se_GetSessionCommand = async (input, context) => {
|
|
524
|
-
const b = rb(input, context);
|
|
525
|
-
const headers = {};
|
|
526
|
-
b.bp("/portals/{portalId}/sessions/{sessionId}");
|
|
527
|
-
b.p("portalId", () => input.portalId, "{portalId}", false);
|
|
528
|
-
b.p("sessionId", () => input.sessionId, "{sessionId}", false);
|
|
529
|
-
let body;
|
|
530
|
-
b.m("GET").h(headers).b(body);
|
|
531
|
-
return b.build();
|
|
532
|
-
};
|
|
533
|
-
export const se_GetSessionLoggerCommand = async (input, context) => {
|
|
534
|
-
const b = rb(input, context);
|
|
535
|
-
const headers = {};
|
|
536
|
-
b.bp("/sessionLoggers/{sessionLoggerArn+}");
|
|
537
|
-
b.p("sessionLoggerArn", () => input.sessionLoggerArn, "{sessionLoggerArn+}", true);
|
|
538
|
-
let body;
|
|
539
|
-
b.m("GET").h(headers).b(body);
|
|
540
|
-
return b.build();
|
|
541
|
-
};
|
|
542
|
-
export const se_GetTrustStoreCommand = async (input, context) => {
|
|
543
|
-
const b = rb(input, context);
|
|
544
|
-
const headers = {};
|
|
545
|
-
b.bp("/trustStores/{trustStoreArn+}");
|
|
546
|
-
b.p("trustStoreArn", () => input.trustStoreArn, "{trustStoreArn+}", true);
|
|
547
|
-
let body;
|
|
548
|
-
b.m("GET").h(headers).b(body);
|
|
549
|
-
return b.build();
|
|
550
|
-
};
|
|
551
|
-
export const se_GetTrustStoreCertificateCommand = async (input, context) => {
|
|
552
|
-
const b = rb(input, context);
|
|
553
|
-
const headers = {};
|
|
554
|
-
b.bp("/trustStores/{trustStoreArn+}/certificate");
|
|
555
|
-
b.p("trustStoreArn", () => input.trustStoreArn, "{trustStoreArn+}", true);
|
|
556
|
-
const query = map({
|
|
557
|
-
[_t]: [, __expectNonNull(input[_t], `thumbprint`)],
|
|
558
|
-
});
|
|
559
|
-
let body;
|
|
560
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
561
|
-
return b.build();
|
|
562
|
-
};
|
|
563
|
-
export const se_GetUserAccessLoggingSettingsCommand = async (input, context) => {
|
|
564
|
-
const b = rb(input, context);
|
|
565
|
-
const headers = {};
|
|
566
|
-
b.bp("/userAccessLoggingSettings/{userAccessLoggingSettingsArn+}");
|
|
567
|
-
b.p("userAccessLoggingSettingsArn", () => input.userAccessLoggingSettingsArn, "{userAccessLoggingSettingsArn+}", true);
|
|
568
|
-
let body;
|
|
569
|
-
b.m("GET").h(headers).b(body);
|
|
570
|
-
return b.build();
|
|
571
|
-
};
|
|
572
|
-
export const se_GetUserSettingsCommand = async (input, context) => {
|
|
573
|
-
const b = rb(input, context);
|
|
574
|
-
const headers = {};
|
|
575
|
-
b.bp("/userSettings/{userSettingsArn+}");
|
|
576
|
-
b.p("userSettingsArn", () => input.userSettingsArn, "{userSettingsArn+}", true);
|
|
577
|
-
let body;
|
|
578
|
-
b.m("GET").h(headers).b(body);
|
|
579
|
-
return b.build();
|
|
580
|
-
};
|
|
581
|
-
export const se_ListBrowserSettingsCommand = async (input, context) => {
|
|
582
|
-
const b = rb(input, context);
|
|
583
|
-
const headers = {};
|
|
584
|
-
b.bp("/browserSettings");
|
|
585
|
-
const query = map({
|
|
586
|
-
[_nT]: [, input[_nT]],
|
|
587
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
588
|
-
});
|
|
589
|
-
let body;
|
|
590
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
591
|
-
return b.build();
|
|
592
|
-
};
|
|
593
|
-
export const se_ListDataProtectionSettingsCommand = async (input, context) => {
|
|
594
|
-
const b = rb(input, context);
|
|
595
|
-
const headers = {};
|
|
596
|
-
b.bp("/dataProtectionSettings");
|
|
597
|
-
const query = map({
|
|
598
|
-
[_nT]: [, input[_nT]],
|
|
599
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
600
|
-
});
|
|
601
|
-
let body;
|
|
602
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
603
|
-
return b.build();
|
|
604
|
-
};
|
|
605
|
-
export const se_ListIdentityProvidersCommand = async (input, context) => {
|
|
606
|
-
const b = rb(input, context);
|
|
607
|
-
const headers = {};
|
|
608
|
-
b.bp("/portals/{portalArn+}/identityProviders");
|
|
609
|
-
b.p("portalArn", () => input.portalArn, "{portalArn+}", true);
|
|
610
|
-
const query = map({
|
|
611
|
-
[_nT]: [, input[_nT]],
|
|
612
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
613
|
-
});
|
|
614
|
-
let body;
|
|
615
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
616
|
-
return b.build();
|
|
617
|
-
};
|
|
618
|
-
export const se_ListIpAccessSettingsCommand = async (input, context) => {
|
|
619
|
-
const b = rb(input, context);
|
|
620
|
-
const headers = {};
|
|
621
|
-
b.bp("/ipAccessSettings");
|
|
622
|
-
const query = map({
|
|
623
|
-
[_nT]: [, input[_nT]],
|
|
624
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
625
|
-
});
|
|
626
|
-
let body;
|
|
627
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
628
|
-
return b.build();
|
|
629
|
-
};
|
|
630
|
-
export const se_ListNetworkSettingsCommand = async (input, context) => {
|
|
631
|
-
const b = rb(input, context);
|
|
632
|
-
const headers = {};
|
|
633
|
-
b.bp("/networkSettings");
|
|
634
|
-
const query = map({
|
|
635
|
-
[_nT]: [, input[_nT]],
|
|
636
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
637
|
-
});
|
|
638
|
-
let body;
|
|
639
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
640
|
-
return b.build();
|
|
641
|
-
};
|
|
642
|
-
export const se_ListPortalsCommand = async (input, context) => {
|
|
643
|
-
const b = rb(input, context);
|
|
644
|
-
const headers = {};
|
|
645
|
-
b.bp("/portals");
|
|
646
|
-
const query = map({
|
|
647
|
-
[_nT]: [, input[_nT]],
|
|
648
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
649
|
-
});
|
|
650
|
-
let body;
|
|
651
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
652
|
-
return b.build();
|
|
653
|
-
};
|
|
654
|
-
export const se_ListSessionLoggersCommand = async (input, context) => {
|
|
655
|
-
const b = rb(input, context);
|
|
656
|
-
const headers = {};
|
|
657
|
-
b.bp("/sessionLoggers");
|
|
658
|
-
const query = map({
|
|
659
|
-
[_nT]: [, input[_nT]],
|
|
660
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
661
|
-
});
|
|
662
|
-
let body;
|
|
663
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
664
|
-
return b.build();
|
|
665
|
-
};
|
|
666
|
-
export const se_ListSessionsCommand = async (input, context) => {
|
|
667
|
-
const b = rb(input, context);
|
|
668
|
-
const headers = {};
|
|
669
|
-
b.bp("/portals/{portalId}/sessions");
|
|
670
|
-
b.p("portalId", () => input.portalId, "{portalId}", false);
|
|
671
|
-
const query = map({
|
|
672
|
-
[_u]: [, input[_u]],
|
|
673
|
-
[_sI]: [, input[_sI]],
|
|
674
|
-
[_sB]: [, input[_sB]],
|
|
675
|
-
[_s]: [, input[_s]],
|
|
676
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
677
|
-
[_nT]: [, input[_nT]],
|
|
678
|
-
});
|
|
679
|
-
let body;
|
|
680
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
681
|
-
return b.build();
|
|
682
|
-
};
|
|
683
|
-
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
684
|
-
const b = rb(input, context);
|
|
685
|
-
const headers = {};
|
|
686
|
-
b.bp("/tags/{resourceArn+}");
|
|
687
|
-
b.p("resourceArn", () => input.resourceArn, "{resourceArn+}", true);
|
|
688
|
-
let body;
|
|
689
|
-
b.m("GET").h(headers).b(body);
|
|
690
|
-
return b.build();
|
|
691
|
-
};
|
|
692
|
-
export const se_ListTrustStoreCertificatesCommand = async (input, context) => {
|
|
693
|
-
const b = rb(input, context);
|
|
694
|
-
const headers = {};
|
|
695
|
-
b.bp("/trustStores/{trustStoreArn+}/certificates");
|
|
696
|
-
b.p("trustStoreArn", () => input.trustStoreArn, "{trustStoreArn+}", true);
|
|
697
|
-
const query = map({
|
|
698
|
-
[_nT]: [, input[_nT]],
|
|
699
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
700
|
-
});
|
|
701
|
-
let body;
|
|
702
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
703
|
-
return b.build();
|
|
704
|
-
};
|
|
705
|
-
export const se_ListTrustStoresCommand = async (input, context) => {
|
|
706
|
-
const b = rb(input, context);
|
|
707
|
-
const headers = {};
|
|
708
|
-
b.bp("/trustStores");
|
|
709
|
-
const query = map({
|
|
710
|
-
[_nT]: [, input[_nT]],
|
|
711
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
712
|
-
});
|
|
713
|
-
let body;
|
|
714
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
715
|
-
return b.build();
|
|
716
|
-
};
|
|
717
|
-
export const se_ListUserAccessLoggingSettingsCommand = async (input, context) => {
|
|
718
|
-
const b = rb(input, context);
|
|
719
|
-
const headers = {};
|
|
720
|
-
b.bp("/userAccessLoggingSettings");
|
|
721
|
-
const query = map({
|
|
722
|
-
[_nT]: [, input[_nT]],
|
|
723
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
724
|
-
});
|
|
725
|
-
let body;
|
|
726
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
727
|
-
return b.build();
|
|
728
|
-
};
|
|
729
|
-
export const se_ListUserSettingsCommand = async (input, context) => {
|
|
730
|
-
const b = rb(input, context);
|
|
731
|
-
const headers = {};
|
|
732
|
-
b.bp("/userSettings");
|
|
733
|
-
const query = map({
|
|
734
|
-
[_nT]: [, input[_nT]],
|
|
735
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
736
|
-
});
|
|
737
|
-
let body;
|
|
738
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
739
|
-
return b.build();
|
|
740
|
-
};
|
|
741
|
-
export const se_TagResourceCommand = async (input, context) => {
|
|
742
|
-
const b = rb(input, context);
|
|
743
|
-
const headers = {
|
|
744
|
-
"content-type": "application/json",
|
|
745
|
-
};
|
|
746
|
-
b.bp("/tags/{resourceArn+}");
|
|
747
|
-
b.p("resourceArn", () => input.resourceArn, "{resourceArn+}", true);
|
|
748
|
-
let body;
|
|
749
|
-
body = JSON.stringify(take(input, {
|
|
750
|
-
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
751
|
-
tags: (_) => _json(_),
|
|
752
|
-
}));
|
|
753
|
-
b.m("POST").h(headers).b(body);
|
|
754
|
-
return b.build();
|
|
755
|
-
};
|
|
756
|
-
export const se_UntagResourceCommand = async (input, context) => {
|
|
757
|
-
const b = rb(input, context);
|
|
758
|
-
const headers = {};
|
|
759
|
-
b.bp("/tags/{resourceArn+}");
|
|
760
|
-
b.p("resourceArn", () => input.resourceArn, "{resourceArn+}", true);
|
|
761
|
-
const query = map({
|
|
762
|
-
[_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []],
|
|
763
|
-
});
|
|
764
|
-
let body;
|
|
765
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
766
|
-
return b.build();
|
|
767
|
-
};
|
|
768
|
-
export const se_UpdateBrowserSettingsCommand = async (input, context) => {
|
|
769
|
-
const b = rb(input, context);
|
|
770
|
-
const headers = {
|
|
771
|
-
"content-type": "application/json",
|
|
772
|
-
};
|
|
773
|
-
b.bp("/browserSettings/{browserSettingsArn+}");
|
|
774
|
-
b.p("browserSettingsArn", () => input.browserSettingsArn, "{browserSettingsArn+}", true);
|
|
775
|
-
let body;
|
|
776
|
-
body = JSON.stringify(take(input, {
|
|
777
|
-
browserPolicy: [],
|
|
778
|
-
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
779
|
-
}));
|
|
780
|
-
b.m("PATCH").h(headers).b(body);
|
|
781
|
-
return b.build();
|
|
782
|
-
};
|
|
783
|
-
export const se_UpdateDataProtectionSettingsCommand = async (input, context) => {
|
|
784
|
-
const b = rb(input, context);
|
|
785
|
-
const headers = {
|
|
786
|
-
"content-type": "application/json",
|
|
787
|
-
};
|
|
788
|
-
b.bp("/dataProtectionSettings/{dataProtectionSettingsArn+}");
|
|
789
|
-
b.p("dataProtectionSettingsArn", () => input.dataProtectionSettingsArn, "{dataProtectionSettingsArn+}", true);
|
|
790
|
-
let body;
|
|
791
|
-
body = JSON.stringify(take(input, {
|
|
792
|
-
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
793
|
-
description: [],
|
|
794
|
-
displayName: [],
|
|
795
|
-
inlineRedactionConfiguration: (_) => _json(_),
|
|
796
|
-
}));
|
|
797
|
-
b.m("PATCH").h(headers).b(body);
|
|
798
|
-
return b.build();
|
|
799
|
-
};
|
|
800
|
-
export const se_UpdateIdentityProviderCommand = async (input, context) => {
|
|
801
|
-
const b = rb(input, context);
|
|
802
|
-
const headers = {
|
|
803
|
-
"content-type": "application/json",
|
|
804
|
-
};
|
|
805
|
-
b.bp("/identityProviders/{identityProviderArn+}");
|
|
806
|
-
b.p("identityProviderArn", () => input.identityProviderArn, "{identityProviderArn+}", true);
|
|
807
|
-
let body;
|
|
808
|
-
body = JSON.stringify(take(input, {
|
|
809
|
-
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
810
|
-
identityProviderDetails: (_) => _json(_),
|
|
811
|
-
identityProviderName: [],
|
|
812
|
-
identityProviderType: [],
|
|
813
|
-
}));
|
|
814
|
-
b.m("PATCH").h(headers).b(body);
|
|
815
|
-
return b.build();
|
|
816
|
-
};
|
|
817
|
-
export const se_UpdateIpAccessSettingsCommand = async (input, context) => {
|
|
818
|
-
const b = rb(input, context);
|
|
819
|
-
const headers = {
|
|
820
|
-
"content-type": "application/json",
|
|
821
|
-
};
|
|
822
|
-
b.bp("/ipAccessSettings/{ipAccessSettingsArn+}");
|
|
823
|
-
b.p("ipAccessSettingsArn", () => input.ipAccessSettingsArn, "{ipAccessSettingsArn+}", true);
|
|
824
|
-
let body;
|
|
825
|
-
body = JSON.stringify(take(input, {
|
|
826
|
-
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
827
|
-
description: [],
|
|
828
|
-
displayName: [],
|
|
829
|
-
ipRules: (_) => _json(_),
|
|
830
|
-
}));
|
|
831
|
-
b.m("PATCH").h(headers).b(body);
|
|
832
|
-
return b.build();
|
|
833
|
-
};
|
|
834
|
-
export const se_UpdateNetworkSettingsCommand = async (input, context) => {
|
|
835
|
-
const b = rb(input, context);
|
|
836
|
-
const headers = {
|
|
837
|
-
"content-type": "application/json",
|
|
838
|
-
};
|
|
839
|
-
b.bp("/networkSettings/{networkSettingsArn+}");
|
|
840
|
-
b.p("networkSettingsArn", () => input.networkSettingsArn, "{networkSettingsArn+}", true);
|
|
841
|
-
let body;
|
|
842
|
-
body = JSON.stringify(take(input, {
|
|
843
|
-
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
844
|
-
securityGroupIds: (_) => _json(_),
|
|
845
|
-
subnetIds: (_) => _json(_),
|
|
846
|
-
vpcId: [],
|
|
847
|
-
}));
|
|
848
|
-
b.m("PATCH").h(headers).b(body);
|
|
849
|
-
return b.build();
|
|
850
|
-
};
|
|
851
|
-
export const se_UpdatePortalCommand = async (input, context) => {
|
|
852
|
-
const b = rb(input, context);
|
|
853
|
-
const headers = {
|
|
854
|
-
"content-type": "application/json",
|
|
855
|
-
};
|
|
856
|
-
b.bp("/portals/{portalArn+}");
|
|
857
|
-
b.p("portalArn", () => input.portalArn, "{portalArn+}", true);
|
|
858
|
-
let body;
|
|
859
|
-
body = JSON.stringify(take(input, {
|
|
860
|
-
authenticationType: [],
|
|
861
|
-
displayName: [],
|
|
862
|
-
instanceType: [],
|
|
863
|
-
maxConcurrentSessions: [],
|
|
864
|
-
}));
|
|
865
|
-
b.m("PUT").h(headers).b(body);
|
|
866
|
-
return b.build();
|
|
867
|
-
};
|
|
868
|
-
export const se_UpdateSessionLoggerCommand = async (input, context) => {
|
|
869
|
-
const b = rb(input, context);
|
|
870
|
-
const headers = {
|
|
871
|
-
"content-type": "application/json",
|
|
872
|
-
};
|
|
873
|
-
b.bp("/sessionLoggers/{sessionLoggerArn+}");
|
|
874
|
-
b.p("sessionLoggerArn", () => input.sessionLoggerArn, "{sessionLoggerArn+}", true);
|
|
875
|
-
let body;
|
|
876
|
-
body = JSON.stringify(take(input, {
|
|
877
|
-
displayName: [],
|
|
878
|
-
eventFilter: (_) => _json(_),
|
|
879
|
-
logConfiguration: (_) => _json(_),
|
|
880
|
-
}));
|
|
881
|
-
b.m("POST").h(headers).b(body);
|
|
882
|
-
return b.build();
|
|
883
|
-
};
|
|
884
|
-
export const se_UpdateTrustStoreCommand = async (input, context) => {
|
|
885
|
-
const b = rb(input, context);
|
|
886
|
-
const headers = {
|
|
887
|
-
"content-type": "application/json",
|
|
888
|
-
};
|
|
889
|
-
b.bp("/trustStores/{trustStoreArn+}");
|
|
890
|
-
b.p("trustStoreArn", () => input.trustStoreArn, "{trustStoreArn+}", true);
|
|
891
|
-
let body;
|
|
892
|
-
body = JSON.stringify(take(input, {
|
|
893
|
-
certificatesToAdd: (_) => se_CertificateList(_, context),
|
|
894
|
-
certificatesToDelete: (_) => _json(_),
|
|
895
|
-
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
896
|
-
}));
|
|
897
|
-
b.m("PATCH").h(headers).b(body);
|
|
898
|
-
return b.build();
|
|
899
|
-
};
|
|
900
|
-
export const se_UpdateUserAccessLoggingSettingsCommand = async (input, context) => {
|
|
901
|
-
const b = rb(input, context);
|
|
902
|
-
const headers = {
|
|
903
|
-
"content-type": "application/json",
|
|
904
|
-
};
|
|
905
|
-
b.bp("/userAccessLoggingSettings/{userAccessLoggingSettingsArn+}");
|
|
906
|
-
b.p("userAccessLoggingSettingsArn", () => input.userAccessLoggingSettingsArn, "{userAccessLoggingSettingsArn+}", true);
|
|
907
|
-
let body;
|
|
908
|
-
body = JSON.stringify(take(input, {
|
|
909
|
-
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
910
|
-
kinesisStreamArn: [],
|
|
911
|
-
}));
|
|
912
|
-
b.m("PATCH").h(headers).b(body);
|
|
913
|
-
return b.build();
|
|
914
|
-
};
|
|
915
|
-
export const se_UpdateUserSettingsCommand = async (input, context) => {
|
|
916
|
-
const b = rb(input, context);
|
|
917
|
-
const headers = {
|
|
918
|
-
"content-type": "application/json",
|
|
919
|
-
};
|
|
920
|
-
b.bp("/userSettings/{userSettingsArn+}");
|
|
921
|
-
b.p("userSettingsArn", () => input.userSettingsArn, "{userSettingsArn+}", true);
|
|
922
|
-
let body;
|
|
923
|
-
body = JSON.stringify(take(input, {
|
|
924
|
-
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
925
|
-
cookieSynchronizationConfiguration: (_) => _json(_),
|
|
926
|
-
copyAllowed: [],
|
|
927
|
-
deepLinkAllowed: [],
|
|
928
|
-
disconnectTimeoutInMinutes: [],
|
|
929
|
-
downloadAllowed: [],
|
|
930
|
-
idleDisconnectTimeoutInMinutes: [],
|
|
931
|
-
pasteAllowed: [],
|
|
932
|
-
printAllowed: [],
|
|
933
|
-
toolbarConfiguration: (_) => _json(_),
|
|
934
|
-
uploadAllowed: [],
|
|
935
|
-
}));
|
|
936
|
-
b.m("PATCH").h(headers).b(body);
|
|
937
|
-
return b.build();
|
|
938
|
-
};
|
|
939
|
-
export const de_AssociateBrowserSettingsCommand = async (output, context) => {
|
|
940
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
941
|
-
return de_CommandError(output, context);
|
|
942
|
-
}
|
|
943
|
-
const contents = map({
|
|
944
|
-
$metadata: deserializeMetadata(output),
|
|
945
|
-
});
|
|
946
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
947
|
-
const doc = take(data, {
|
|
948
|
-
browserSettingsArn: __expectString,
|
|
949
|
-
portalArn: __expectString,
|
|
950
|
-
});
|
|
951
|
-
Object.assign(contents, doc);
|
|
952
|
-
return contents;
|
|
953
|
-
};
|
|
954
|
-
export const de_AssociateDataProtectionSettingsCommand = async (output, context) => {
|
|
955
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
956
|
-
return de_CommandError(output, context);
|
|
957
|
-
}
|
|
958
|
-
const contents = map({
|
|
959
|
-
$metadata: deserializeMetadata(output),
|
|
960
|
-
});
|
|
961
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
962
|
-
const doc = take(data, {
|
|
963
|
-
dataProtectionSettingsArn: __expectString,
|
|
964
|
-
portalArn: __expectString,
|
|
965
|
-
});
|
|
966
|
-
Object.assign(contents, doc);
|
|
967
|
-
return contents;
|
|
968
|
-
};
|
|
969
|
-
export const de_AssociateIpAccessSettingsCommand = async (output, context) => {
|
|
970
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
971
|
-
return de_CommandError(output, context);
|
|
972
|
-
}
|
|
973
|
-
const contents = map({
|
|
974
|
-
$metadata: deserializeMetadata(output),
|
|
975
|
-
});
|
|
976
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
977
|
-
const doc = take(data, {
|
|
978
|
-
ipAccessSettingsArn: __expectString,
|
|
979
|
-
portalArn: __expectString,
|
|
980
|
-
});
|
|
981
|
-
Object.assign(contents, doc);
|
|
982
|
-
return contents;
|
|
983
|
-
};
|
|
984
|
-
export const de_AssociateNetworkSettingsCommand = async (output, context) => {
|
|
985
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
986
|
-
return de_CommandError(output, context);
|
|
987
|
-
}
|
|
988
|
-
const contents = map({
|
|
989
|
-
$metadata: deserializeMetadata(output),
|
|
990
|
-
});
|
|
991
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
992
|
-
const doc = take(data, {
|
|
993
|
-
networkSettingsArn: __expectString,
|
|
994
|
-
portalArn: __expectString,
|
|
995
|
-
});
|
|
996
|
-
Object.assign(contents, doc);
|
|
997
|
-
return contents;
|
|
998
|
-
};
|
|
999
|
-
export const de_AssociateSessionLoggerCommand = async (output, context) => {
|
|
1000
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1001
|
-
return de_CommandError(output, context);
|
|
1002
|
-
}
|
|
1003
|
-
const contents = map({
|
|
1004
|
-
$metadata: deserializeMetadata(output),
|
|
1005
|
-
});
|
|
1006
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1007
|
-
const doc = take(data, {
|
|
1008
|
-
portalArn: __expectString,
|
|
1009
|
-
sessionLoggerArn: __expectString,
|
|
1010
|
-
});
|
|
1011
|
-
Object.assign(contents, doc);
|
|
1012
|
-
return contents;
|
|
1013
|
-
};
|
|
1014
|
-
export const de_AssociateTrustStoreCommand = async (output, context) => {
|
|
1015
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1016
|
-
return de_CommandError(output, context);
|
|
1017
|
-
}
|
|
1018
|
-
const contents = map({
|
|
1019
|
-
$metadata: deserializeMetadata(output),
|
|
1020
|
-
});
|
|
1021
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1022
|
-
const doc = take(data, {
|
|
1023
|
-
portalArn: __expectString,
|
|
1024
|
-
trustStoreArn: __expectString,
|
|
1025
|
-
});
|
|
1026
|
-
Object.assign(contents, doc);
|
|
1027
|
-
return contents;
|
|
1028
|
-
};
|
|
1029
|
-
export const de_AssociateUserAccessLoggingSettingsCommand = async (output, context) => {
|
|
1030
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1031
|
-
return de_CommandError(output, context);
|
|
1032
|
-
}
|
|
1033
|
-
const contents = map({
|
|
1034
|
-
$metadata: deserializeMetadata(output),
|
|
1035
|
-
});
|
|
1036
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1037
|
-
const doc = take(data, {
|
|
1038
|
-
portalArn: __expectString,
|
|
1039
|
-
userAccessLoggingSettingsArn: __expectString,
|
|
1040
|
-
});
|
|
1041
|
-
Object.assign(contents, doc);
|
|
1042
|
-
return contents;
|
|
1043
|
-
};
|
|
1044
|
-
export const de_AssociateUserSettingsCommand = async (output, context) => {
|
|
1045
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1046
|
-
return de_CommandError(output, context);
|
|
1047
|
-
}
|
|
1048
|
-
const contents = map({
|
|
1049
|
-
$metadata: deserializeMetadata(output),
|
|
1050
|
-
});
|
|
1051
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1052
|
-
const doc = take(data, {
|
|
1053
|
-
portalArn: __expectString,
|
|
1054
|
-
userSettingsArn: __expectString,
|
|
1055
|
-
});
|
|
1056
|
-
Object.assign(contents, doc);
|
|
1057
|
-
return contents;
|
|
1058
|
-
};
|
|
1059
|
-
export const de_CreateBrowserSettingsCommand = async (output, context) => {
|
|
1060
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1061
|
-
return de_CommandError(output, context);
|
|
1062
|
-
}
|
|
1063
|
-
const contents = map({
|
|
1064
|
-
$metadata: deserializeMetadata(output),
|
|
1065
|
-
});
|
|
1066
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1067
|
-
const doc = take(data, {
|
|
1068
|
-
browserSettingsArn: __expectString,
|
|
1069
|
-
});
|
|
1070
|
-
Object.assign(contents, doc);
|
|
1071
|
-
return contents;
|
|
1072
|
-
};
|
|
1073
|
-
export const de_CreateDataProtectionSettingsCommand = async (output, context) => {
|
|
1074
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1075
|
-
return de_CommandError(output, context);
|
|
1076
|
-
}
|
|
1077
|
-
const contents = map({
|
|
1078
|
-
$metadata: deserializeMetadata(output),
|
|
1079
|
-
});
|
|
1080
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1081
|
-
const doc = take(data, {
|
|
1082
|
-
dataProtectionSettingsArn: __expectString,
|
|
1083
|
-
});
|
|
1084
|
-
Object.assign(contents, doc);
|
|
1085
|
-
return contents;
|
|
1086
|
-
};
|
|
1087
|
-
export const de_CreateIdentityProviderCommand = async (output, context) => {
|
|
1088
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1089
|
-
return de_CommandError(output, context);
|
|
1090
|
-
}
|
|
1091
|
-
const contents = map({
|
|
1092
|
-
$metadata: deserializeMetadata(output),
|
|
1093
|
-
});
|
|
1094
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1095
|
-
const doc = take(data, {
|
|
1096
|
-
identityProviderArn: __expectString,
|
|
1097
|
-
});
|
|
1098
|
-
Object.assign(contents, doc);
|
|
1099
|
-
return contents;
|
|
1100
|
-
};
|
|
1101
|
-
export const de_CreateIpAccessSettingsCommand = async (output, context) => {
|
|
1102
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1103
|
-
return de_CommandError(output, context);
|
|
1104
|
-
}
|
|
1105
|
-
const contents = map({
|
|
1106
|
-
$metadata: deserializeMetadata(output),
|
|
1107
|
-
});
|
|
1108
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1109
|
-
const doc = take(data, {
|
|
1110
|
-
ipAccessSettingsArn: __expectString,
|
|
1111
|
-
});
|
|
1112
|
-
Object.assign(contents, doc);
|
|
1113
|
-
return contents;
|
|
1114
|
-
};
|
|
1115
|
-
export const de_CreateNetworkSettingsCommand = async (output, context) => {
|
|
1116
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1117
|
-
return de_CommandError(output, context);
|
|
1118
|
-
}
|
|
1119
|
-
const contents = map({
|
|
1120
|
-
$metadata: deserializeMetadata(output),
|
|
1121
|
-
});
|
|
1122
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1123
|
-
const doc = take(data, {
|
|
1124
|
-
networkSettingsArn: __expectString,
|
|
1125
|
-
});
|
|
1126
|
-
Object.assign(contents, doc);
|
|
1127
|
-
return contents;
|
|
1128
|
-
};
|
|
1129
|
-
export const de_CreatePortalCommand = async (output, context) => {
|
|
1130
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1131
|
-
return de_CommandError(output, context);
|
|
1132
|
-
}
|
|
1133
|
-
const contents = map({
|
|
1134
|
-
$metadata: deserializeMetadata(output),
|
|
1135
|
-
});
|
|
1136
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1137
|
-
const doc = take(data, {
|
|
1138
|
-
portalArn: __expectString,
|
|
1139
|
-
portalEndpoint: __expectString,
|
|
1140
|
-
});
|
|
1141
|
-
Object.assign(contents, doc);
|
|
1142
|
-
return contents;
|
|
1143
|
-
};
|
|
1144
|
-
export const de_CreateSessionLoggerCommand = async (output, context) => {
|
|
1145
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1146
|
-
return de_CommandError(output, context);
|
|
1147
|
-
}
|
|
1148
|
-
const contents = map({
|
|
1149
|
-
$metadata: deserializeMetadata(output),
|
|
1150
|
-
});
|
|
1151
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1152
|
-
const doc = take(data, {
|
|
1153
|
-
sessionLoggerArn: __expectString,
|
|
1154
|
-
});
|
|
1155
|
-
Object.assign(contents, doc);
|
|
1156
|
-
return contents;
|
|
1157
|
-
};
|
|
1158
|
-
export const de_CreateTrustStoreCommand = async (output, context) => {
|
|
1159
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1160
|
-
return de_CommandError(output, context);
|
|
1161
|
-
}
|
|
1162
|
-
const contents = map({
|
|
1163
|
-
$metadata: deserializeMetadata(output),
|
|
1164
|
-
});
|
|
1165
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1166
|
-
const doc = take(data, {
|
|
1167
|
-
trustStoreArn: __expectString,
|
|
1168
|
-
});
|
|
1169
|
-
Object.assign(contents, doc);
|
|
1170
|
-
return contents;
|
|
1171
|
-
};
|
|
1172
|
-
export const de_CreateUserAccessLoggingSettingsCommand = async (output, context) => {
|
|
1173
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1174
|
-
return de_CommandError(output, context);
|
|
1175
|
-
}
|
|
1176
|
-
const contents = map({
|
|
1177
|
-
$metadata: deserializeMetadata(output),
|
|
1178
|
-
});
|
|
1179
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1180
|
-
const doc = take(data, {
|
|
1181
|
-
userAccessLoggingSettingsArn: __expectString,
|
|
1182
|
-
});
|
|
1183
|
-
Object.assign(contents, doc);
|
|
1184
|
-
return contents;
|
|
1185
|
-
};
|
|
1186
|
-
export const de_CreateUserSettingsCommand = async (output, context) => {
|
|
1187
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1188
|
-
return de_CommandError(output, context);
|
|
1189
|
-
}
|
|
1190
|
-
const contents = map({
|
|
1191
|
-
$metadata: deserializeMetadata(output),
|
|
1192
|
-
});
|
|
1193
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1194
|
-
const doc = take(data, {
|
|
1195
|
-
userSettingsArn: __expectString,
|
|
1196
|
-
});
|
|
1197
|
-
Object.assign(contents, doc);
|
|
1198
|
-
return contents;
|
|
1199
|
-
};
|
|
1200
|
-
export const de_DeleteBrowserSettingsCommand = async (output, context) => {
|
|
1201
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1202
|
-
return de_CommandError(output, context);
|
|
1203
|
-
}
|
|
1204
|
-
const contents = map({
|
|
1205
|
-
$metadata: deserializeMetadata(output),
|
|
1206
|
-
});
|
|
1207
|
-
await collectBody(output.body, context);
|
|
1208
|
-
return contents;
|
|
1209
|
-
};
|
|
1210
|
-
export const de_DeleteDataProtectionSettingsCommand = async (output, context) => {
|
|
1211
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1212
|
-
return de_CommandError(output, context);
|
|
1213
|
-
}
|
|
1214
|
-
const contents = map({
|
|
1215
|
-
$metadata: deserializeMetadata(output),
|
|
1216
|
-
});
|
|
1217
|
-
await collectBody(output.body, context);
|
|
1218
|
-
return contents;
|
|
1219
|
-
};
|
|
1220
|
-
export const de_DeleteIdentityProviderCommand = async (output, context) => {
|
|
1221
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1222
|
-
return de_CommandError(output, context);
|
|
1223
|
-
}
|
|
1224
|
-
const contents = map({
|
|
1225
|
-
$metadata: deserializeMetadata(output),
|
|
1226
|
-
});
|
|
1227
|
-
await collectBody(output.body, context);
|
|
1228
|
-
return contents;
|
|
1229
|
-
};
|
|
1230
|
-
export const de_DeleteIpAccessSettingsCommand = async (output, context) => {
|
|
1231
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1232
|
-
return de_CommandError(output, context);
|
|
1233
|
-
}
|
|
1234
|
-
const contents = map({
|
|
1235
|
-
$metadata: deserializeMetadata(output),
|
|
1236
|
-
});
|
|
1237
|
-
await collectBody(output.body, context);
|
|
1238
|
-
return contents;
|
|
1239
|
-
};
|
|
1240
|
-
export const de_DeleteNetworkSettingsCommand = async (output, context) => {
|
|
1241
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1242
|
-
return de_CommandError(output, context);
|
|
1243
|
-
}
|
|
1244
|
-
const contents = map({
|
|
1245
|
-
$metadata: deserializeMetadata(output),
|
|
1246
|
-
});
|
|
1247
|
-
await collectBody(output.body, context);
|
|
1248
|
-
return contents;
|
|
1249
|
-
};
|
|
1250
|
-
export const de_DeletePortalCommand = async (output, context) => {
|
|
1251
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1252
|
-
return de_CommandError(output, context);
|
|
1253
|
-
}
|
|
1254
|
-
const contents = map({
|
|
1255
|
-
$metadata: deserializeMetadata(output),
|
|
1256
|
-
});
|
|
1257
|
-
await collectBody(output.body, context);
|
|
1258
|
-
return contents;
|
|
1259
|
-
};
|
|
1260
|
-
export const de_DeleteSessionLoggerCommand = async (output, context) => {
|
|
1261
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1262
|
-
return de_CommandError(output, context);
|
|
1263
|
-
}
|
|
1264
|
-
const contents = map({
|
|
1265
|
-
$metadata: deserializeMetadata(output),
|
|
1266
|
-
});
|
|
1267
|
-
await collectBody(output.body, context);
|
|
1268
|
-
return contents;
|
|
1269
|
-
};
|
|
1270
|
-
export const de_DeleteTrustStoreCommand = async (output, context) => {
|
|
1271
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1272
|
-
return de_CommandError(output, context);
|
|
1273
|
-
}
|
|
1274
|
-
const contents = map({
|
|
1275
|
-
$metadata: deserializeMetadata(output),
|
|
1276
|
-
});
|
|
1277
|
-
await collectBody(output.body, context);
|
|
1278
|
-
return contents;
|
|
1279
|
-
};
|
|
1280
|
-
export const de_DeleteUserAccessLoggingSettingsCommand = async (output, context) => {
|
|
1281
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1282
|
-
return de_CommandError(output, context);
|
|
1283
|
-
}
|
|
1284
|
-
const contents = map({
|
|
1285
|
-
$metadata: deserializeMetadata(output),
|
|
1286
|
-
});
|
|
1287
|
-
await collectBody(output.body, context);
|
|
1288
|
-
return contents;
|
|
1289
|
-
};
|
|
1290
|
-
export const de_DeleteUserSettingsCommand = async (output, context) => {
|
|
1291
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1292
|
-
return de_CommandError(output, context);
|
|
1293
|
-
}
|
|
1294
|
-
const contents = map({
|
|
1295
|
-
$metadata: deserializeMetadata(output),
|
|
1296
|
-
});
|
|
1297
|
-
await collectBody(output.body, context);
|
|
1298
|
-
return contents;
|
|
1299
|
-
};
|
|
1300
|
-
export const de_DisassociateBrowserSettingsCommand = async (output, context) => {
|
|
1301
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1302
|
-
return de_CommandError(output, context);
|
|
1303
|
-
}
|
|
1304
|
-
const contents = map({
|
|
1305
|
-
$metadata: deserializeMetadata(output),
|
|
1306
|
-
});
|
|
1307
|
-
await collectBody(output.body, context);
|
|
1308
|
-
return contents;
|
|
1309
|
-
};
|
|
1310
|
-
export const de_DisassociateDataProtectionSettingsCommand = async (output, context) => {
|
|
1311
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1312
|
-
return de_CommandError(output, context);
|
|
1313
|
-
}
|
|
1314
|
-
const contents = map({
|
|
1315
|
-
$metadata: deserializeMetadata(output),
|
|
1316
|
-
});
|
|
1317
|
-
await collectBody(output.body, context);
|
|
1318
|
-
return contents;
|
|
1319
|
-
};
|
|
1320
|
-
export const de_DisassociateIpAccessSettingsCommand = async (output, context) => {
|
|
1321
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1322
|
-
return de_CommandError(output, context);
|
|
1323
|
-
}
|
|
1324
|
-
const contents = map({
|
|
1325
|
-
$metadata: deserializeMetadata(output),
|
|
1326
|
-
});
|
|
1327
|
-
await collectBody(output.body, context);
|
|
1328
|
-
return contents;
|
|
1329
|
-
};
|
|
1330
|
-
export const de_DisassociateNetworkSettingsCommand = async (output, context) => {
|
|
1331
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1332
|
-
return de_CommandError(output, context);
|
|
1333
|
-
}
|
|
1334
|
-
const contents = map({
|
|
1335
|
-
$metadata: deserializeMetadata(output),
|
|
1336
|
-
});
|
|
1337
|
-
await collectBody(output.body, context);
|
|
1338
|
-
return contents;
|
|
1339
|
-
};
|
|
1340
|
-
export const de_DisassociateSessionLoggerCommand = async (output, context) => {
|
|
1341
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1342
|
-
return de_CommandError(output, context);
|
|
1343
|
-
}
|
|
1344
|
-
const contents = map({
|
|
1345
|
-
$metadata: deserializeMetadata(output),
|
|
1346
|
-
});
|
|
1347
|
-
await collectBody(output.body, context);
|
|
1348
|
-
return contents;
|
|
1349
|
-
};
|
|
1350
|
-
export const de_DisassociateTrustStoreCommand = async (output, context) => {
|
|
1351
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1352
|
-
return de_CommandError(output, context);
|
|
1353
|
-
}
|
|
1354
|
-
const contents = map({
|
|
1355
|
-
$metadata: deserializeMetadata(output),
|
|
1356
|
-
});
|
|
1357
|
-
await collectBody(output.body, context);
|
|
1358
|
-
return contents;
|
|
1359
|
-
};
|
|
1360
|
-
export const de_DisassociateUserAccessLoggingSettingsCommand = async (output, context) => {
|
|
1361
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1362
|
-
return de_CommandError(output, context);
|
|
1363
|
-
}
|
|
1364
|
-
const contents = map({
|
|
1365
|
-
$metadata: deserializeMetadata(output),
|
|
1366
|
-
});
|
|
1367
|
-
await collectBody(output.body, context);
|
|
1368
|
-
return contents;
|
|
1369
|
-
};
|
|
1370
|
-
export const de_DisassociateUserSettingsCommand = async (output, context) => {
|
|
1371
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1372
|
-
return de_CommandError(output, context);
|
|
1373
|
-
}
|
|
1374
|
-
const contents = map({
|
|
1375
|
-
$metadata: deserializeMetadata(output),
|
|
1376
|
-
});
|
|
1377
|
-
await collectBody(output.body, context);
|
|
1378
|
-
return contents;
|
|
1379
|
-
};
|
|
1380
|
-
export const de_ExpireSessionCommand = async (output, context) => {
|
|
1381
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1382
|
-
return de_CommandError(output, context);
|
|
1383
|
-
}
|
|
1384
|
-
const contents = map({
|
|
1385
|
-
$metadata: deserializeMetadata(output),
|
|
1386
|
-
});
|
|
1387
|
-
await collectBody(output.body, context);
|
|
1388
|
-
return contents;
|
|
1389
|
-
};
|
|
1390
|
-
export const de_GetBrowserSettingsCommand = async (output, context) => {
|
|
1391
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1392
|
-
return de_CommandError(output, context);
|
|
1393
|
-
}
|
|
1394
|
-
const contents = map({
|
|
1395
|
-
$metadata: deserializeMetadata(output),
|
|
1396
|
-
});
|
|
1397
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1398
|
-
const doc = take(data, {
|
|
1399
|
-
browserSettings: _json,
|
|
1400
|
-
});
|
|
1401
|
-
Object.assign(contents, doc);
|
|
1402
|
-
return contents;
|
|
1403
|
-
};
|
|
1404
|
-
export const de_GetDataProtectionSettingsCommand = async (output, context) => {
|
|
1405
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1406
|
-
return de_CommandError(output, context);
|
|
1407
|
-
}
|
|
1408
|
-
const contents = map({
|
|
1409
|
-
$metadata: deserializeMetadata(output),
|
|
1410
|
-
});
|
|
1411
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1412
|
-
const doc = take(data, {
|
|
1413
|
-
dataProtectionSettings: (_) => de_DataProtectionSettings(_, context),
|
|
1414
|
-
});
|
|
1415
|
-
Object.assign(contents, doc);
|
|
1416
|
-
return contents;
|
|
1417
|
-
};
|
|
1418
|
-
export const de_GetIdentityProviderCommand = async (output, context) => {
|
|
1419
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1420
|
-
return de_CommandError(output, context);
|
|
1421
|
-
}
|
|
1422
|
-
const contents = map({
|
|
1423
|
-
$metadata: deserializeMetadata(output),
|
|
1424
|
-
});
|
|
1425
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1426
|
-
const doc = take(data, {
|
|
1427
|
-
identityProvider: _json,
|
|
1428
|
-
});
|
|
1429
|
-
Object.assign(contents, doc);
|
|
1430
|
-
return contents;
|
|
1431
|
-
};
|
|
1432
|
-
export const de_GetIpAccessSettingsCommand = async (output, context) => {
|
|
1433
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1434
|
-
return de_CommandError(output, context);
|
|
1435
|
-
}
|
|
1436
|
-
const contents = map({
|
|
1437
|
-
$metadata: deserializeMetadata(output),
|
|
1438
|
-
});
|
|
1439
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1440
|
-
const doc = take(data, {
|
|
1441
|
-
ipAccessSettings: (_) => de_IpAccessSettings(_, context),
|
|
1442
|
-
});
|
|
1443
|
-
Object.assign(contents, doc);
|
|
1444
|
-
return contents;
|
|
1445
|
-
};
|
|
1446
|
-
export const de_GetNetworkSettingsCommand = async (output, context) => {
|
|
1447
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1448
|
-
return de_CommandError(output, context);
|
|
1449
|
-
}
|
|
1450
|
-
const contents = map({
|
|
1451
|
-
$metadata: deserializeMetadata(output),
|
|
1452
|
-
});
|
|
1453
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1454
|
-
const doc = take(data, {
|
|
1455
|
-
networkSettings: _json,
|
|
1456
|
-
});
|
|
1457
|
-
Object.assign(contents, doc);
|
|
1458
|
-
return contents;
|
|
1459
|
-
};
|
|
1460
|
-
export const de_GetPortalCommand = async (output, context) => {
|
|
1461
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1462
|
-
return de_CommandError(output, context);
|
|
1463
|
-
}
|
|
1464
|
-
const contents = map({
|
|
1465
|
-
$metadata: deserializeMetadata(output),
|
|
1466
|
-
});
|
|
1467
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1468
|
-
const doc = take(data, {
|
|
1469
|
-
portal: (_) => de_Portal(_, context),
|
|
1470
|
-
});
|
|
1471
|
-
Object.assign(contents, doc);
|
|
1472
|
-
return contents;
|
|
1473
|
-
};
|
|
1474
|
-
export const de_GetPortalServiceProviderMetadataCommand = async (output, context) => {
|
|
1475
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1476
|
-
return de_CommandError(output, context);
|
|
1477
|
-
}
|
|
1478
|
-
const contents = map({
|
|
1479
|
-
$metadata: deserializeMetadata(output),
|
|
1480
|
-
});
|
|
1481
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1482
|
-
const doc = take(data, {
|
|
1483
|
-
portalArn: __expectString,
|
|
1484
|
-
serviceProviderSamlMetadata: __expectString,
|
|
1485
|
-
});
|
|
1486
|
-
Object.assign(contents, doc);
|
|
1487
|
-
return contents;
|
|
1488
|
-
};
|
|
1489
|
-
export const de_GetSessionCommand = async (output, context) => {
|
|
1490
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1491
|
-
return de_CommandError(output, context);
|
|
1492
|
-
}
|
|
1493
|
-
const contents = map({
|
|
1494
|
-
$metadata: deserializeMetadata(output),
|
|
1495
|
-
});
|
|
1496
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1497
|
-
const doc = take(data, {
|
|
1498
|
-
session: (_) => de_Session(_, context),
|
|
1499
|
-
});
|
|
1500
|
-
Object.assign(contents, doc);
|
|
1501
|
-
return contents;
|
|
1502
|
-
};
|
|
1503
|
-
export const de_GetSessionLoggerCommand = async (output, context) => {
|
|
1504
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1505
|
-
return de_CommandError(output, context);
|
|
1506
|
-
}
|
|
1507
|
-
const contents = map({
|
|
1508
|
-
$metadata: deserializeMetadata(output),
|
|
1509
|
-
});
|
|
1510
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1511
|
-
const doc = take(data, {
|
|
1512
|
-
sessionLogger: (_) => de_SessionLogger(_, context),
|
|
1513
|
-
});
|
|
1514
|
-
Object.assign(contents, doc);
|
|
1515
|
-
return contents;
|
|
1516
|
-
};
|
|
1517
|
-
export const de_GetTrustStoreCommand = async (output, context) => {
|
|
1518
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1519
|
-
return de_CommandError(output, context);
|
|
1520
|
-
}
|
|
1521
|
-
const contents = map({
|
|
1522
|
-
$metadata: deserializeMetadata(output),
|
|
1523
|
-
});
|
|
1524
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1525
|
-
const doc = take(data, {
|
|
1526
|
-
trustStore: _json,
|
|
1527
|
-
});
|
|
1528
|
-
Object.assign(contents, doc);
|
|
1529
|
-
return contents;
|
|
1530
|
-
};
|
|
1531
|
-
export const de_GetTrustStoreCertificateCommand = async (output, context) => {
|
|
1532
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1533
|
-
return de_CommandError(output, context);
|
|
1534
|
-
}
|
|
1535
|
-
const contents = map({
|
|
1536
|
-
$metadata: deserializeMetadata(output),
|
|
1537
|
-
});
|
|
1538
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1539
|
-
const doc = take(data, {
|
|
1540
|
-
certificate: (_) => de_Certificate(_, context),
|
|
1541
|
-
trustStoreArn: __expectString,
|
|
1542
|
-
});
|
|
1543
|
-
Object.assign(contents, doc);
|
|
1544
|
-
return contents;
|
|
1545
|
-
};
|
|
1546
|
-
export const de_GetUserAccessLoggingSettingsCommand = async (output, context) => {
|
|
1547
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1548
|
-
return de_CommandError(output, context);
|
|
1549
|
-
}
|
|
1550
|
-
const contents = map({
|
|
1551
|
-
$metadata: deserializeMetadata(output),
|
|
1552
|
-
});
|
|
1553
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1554
|
-
const doc = take(data, {
|
|
1555
|
-
userAccessLoggingSettings: _json,
|
|
1556
|
-
});
|
|
1557
|
-
Object.assign(contents, doc);
|
|
1558
|
-
return contents;
|
|
1559
|
-
};
|
|
1560
|
-
export const de_GetUserSettingsCommand = async (output, context) => {
|
|
1561
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1562
|
-
return de_CommandError(output, context);
|
|
1563
|
-
}
|
|
1564
|
-
const contents = map({
|
|
1565
|
-
$metadata: deserializeMetadata(output),
|
|
1566
|
-
});
|
|
1567
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1568
|
-
const doc = take(data, {
|
|
1569
|
-
userSettings: _json,
|
|
1570
|
-
});
|
|
1571
|
-
Object.assign(contents, doc);
|
|
1572
|
-
return contents;
|
|
1573
|
-
};
|
|
1574
|
-
export const de_ListBrowserSettingsCommand = async (output, context) => {
|
|
1575
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1576
|
-
return de_CommandError(output, context);
|
|
1577
|
-
}
|
|
1578
|
-
const contents = map({
|
|
1579
|
-
$metadata: deserializeMetadata(output),
|
|
1580
|
-
});
|
|
1581
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1582
|
-
const doc = take(data, {
|
|
1583
|
-
browserSettings: _json,
|
|
1584
|
-
nextToken: __expectString,
|
|
1585
|
-
});
|
|
1586
|
-
Object.assign(contents, doc);
|
|
1587
|
-
return contents;
|
|
1588
|
-
};
|
|
1589
|
-
export const de_ListDataProtectionSettingsCommand = async (output, context) => {
|
|
1590
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1591
|
-
return de_CommandError(output, context);
|
|
1592
|
-
}
|
|
1593
|
-
const contents = map({
|
|
1594
|
-
$metadata: deserializeMetadata(output),
|
|
1595
|
-
});
|
|
1596
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1597
|
-
const doc = take(data, {
|
|
1598
|
-
dataProtectionSettings: (_) => de_DataProtectionSettingsList(_, context),
|
|
1599
|
-
nextToken: __expectString,
|
|
1600
|
-
});
|
|
1601
|
-
Object.assign(contents, doc);
|
|
1602
|
-
return contents;
|
|
1603
|
-
};
|
|
1604
|
-
export const de_ListIdentityProvidersCommand = async (output, context) => {
|
|
1605
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1606
|
-
return de_CommandError(output, context);
|
|
1607
|
-
}
|
|
1608
|
-
const contents = map({
|
|
1609
|
-
$metadata: deserializeMetadata(output),
|
|
1610
|
-
});
|
|
1611
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1612
|
-
const doc = take(data, {
|
|
1613
|
-
identityProviders: _json,
|
|
1614
|
-
nextToken: __expectString,
|
|
1615
|
-
});
|
|
1616
|
-
Object.assign(contents, doc);
|
|
1617
|
-
return contents;
|
|
1618
|
-
};
|
|
1619
|
-
export const de_ListIpAccessSettingsCommand = async (output, context) => {
|
|
1620
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1621
|
-
return de_CommandError(output, context);
|
|
1622
|
-
}
|
|
1623
|
-
const contents = map({
|
|
1624
|
-
$metadata: deserializeMetadata(output),
|
|
1625
|
-
});
|
|
1626
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1627
|
-
const doc = take(data, {
|
|
1628
|
-
ipAccessSettings: (_) => de_IpAccessSettingsList(_, context),
|
|
1629
|
-
nextToken: __expectString,
|
|
1630
|
-
});
|
|
1631
|
-
Object.assign(contents, doc);
|
|
1632
|
-
return contents;
|
|
1633
|
-
};
|
|
1634
|
-
export const de_ListNetworkSettingsCommand = async (output, context) => {
|
|
1635
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1636
|
-
return de_CommandError(output, context);
|
|
1637
|
-
}
|
|
1638
|
-
const contents = map({
|
|
1639
|
-
$metadata: deserializeMetadata(output),
|
|
1640
|
-
});
|
|
1641
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1642
|
-
const doc = take(data, {
|
|
1643
|
-
networkSettings: _json,
|
|
1644
|
-
nextToken: __expectString,
|
|
1645
|
-
});
|
|
1646
|
-
Object.assign(contents, doc);
|
|
1647
|
-
return contents;
|
|
1648
|
-
};
|
|
1649
|
-
export const de_ListPortalsCommand = async (output, context) => {
|
|
1650
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1651
|
-
return de_CommandError(output, context);
|
|
1652
|
-
}
|
|
1653
|
-
const contents = map({
|
|
1654
|
-
$metadata: deserializeMetadata(output),
|
|
1655
|
-
});
|
|
1656
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1657
|
-
const doc = take(data, {
|
|
1658
|
-
nextToken: __expectString,
|
|
1659
|
-
portals: (_) => de_PortalList(_, context),
|
|
1660
|
-
});
|
|
1661
|
-
Object.assign(contents, doc);
|
|
1662
|
-
return contents;
|
|
1663
|
-
};
|
|
1664
|
-
export const de_ListSessionLoggersCommand = async (output, context) => {
|
|
1665
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1666
|
-
return de_CommandError(output, context);
|
|
1667
|
-
}
|
|
1668
|
-
const contents = map({
|
|
1669
|
-
$metadata: deserializeMetadata(output),
|
|
1670
|
-
});
|
|
1671
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1672
|
-
const doc = take(data, {
|
|
1673
|
-
nextToken: __expectString,
|
|
1674
|
-
sessionLoggers: (_) => de_SessionLoggerList(_, context),
|
|
1675
|
-
});
|
|
1676
|
-
Object.assign(contents, doc);
|
|
1677
|
-
return contents;
|
|
1678
|
-
};
|
|
1679
|
-
export const de_ListSessionsCommand = async (output, context) => {
|
|
1680
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1681
|
-
return de_CommandError(output, context);
|
|
1682
|
-
}
|
|
1683
|
-
const contents = map({
|
|
1684
|
-
$metadata: deserializeMetadata(output),
|
|
1685
|
-
});
|
|
1686
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1687
|
-
const doc = take(data, {
|
|
1688
|
-
nextToken: __expectString,
|
|
1689
|
-
sessions: (_) => de_SessionSummaryList(_, context),
|
|
1690
|
-
});
|
|
1691
|
-
Object.assign(contents, doc);
|
|
1692
|
-
return contents;
|
|
1693
|
-
};
|
|
1694
|
-
export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
1695
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1696
|
-
return de_CommandError(output, context);
|
|
1697
|
-
}
|
|
1698
|
-
const contents = map({
|
|
1699
|
-
$metadata: deserializeMetadata(output),
|
|
1700
|
-
});
|
|
1701
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1702
|
-
const doc = take(data, {
|
|
1703
|
-
tags: _json,
|
|
1704
|
-
});
|
|
1705
|
-
Object.assign(contents, doc);
|
|
1706
|
-
return contents;
|
|
1707
|
-
};
|
|
1708
|
-
export const de_ListTrustStoreCertificatesCommand = async (output, context) => {
|
|
1709
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1710
|
-
return de_CommandError(output, context);
|
|
1711
|
-
}
|
|
1712
|
-
const contents = map({
|
|
1713
|
-
$metadata: deserializeMetadata(output),
|
|
1714
|
-
});
|
|
1715
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1716
|
-
const doc = take(data, {
|
|
1717
|
-
certificateList: (_) => de_CertificateSummaryList(_, context),
|
|
1718
|
-
nextToken: __expectString,
|
|
1719
|
-
trustStoreArn: __expectString,
|
|
1720
|
-
});
|
|
1721
|
-
Object.assign(contents, doc);
|
|
1722
|
-
return contents;
|
|
1723
|
-
};
|
|
1724
|
-
export const de_ListTrustStoresCommand = async (output, context) => {
|
|
1725
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1726
|
-
return de_CommandError(output, context);
|
|
1727
|
-
}
|
|
1728
|
-
const contents = map({
|
|
1729
|
-
$metadata: deserializeMetadata(output),
|
|
1730
|
-
});
|
|
1731
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1732
|
-
const doc = take(data, {
|
|
1733
|
-
nextToken: __expectString,
|
|
1734
|
-
trustStores: _json,
|
|
1735
|
-
});
|
|
1736
|
-
Object.assign(contents, doc);
|
|
1737
|
-
return contents;
|
|
1738
|
-
};
|
|
1739
|
-
export const de_ListUserAccessLoggingSettingsCommand = async (output, context) => {
|
|
1740
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1741
|
-
return de_CommandError(output, context);
|
|
1742
|
-
}
|
|
1743
|
-
const contents = map({
|
|
1744
|
-
$metadata: deserializeMetadata(output),
|
|
1745
|
-
});
|
|
1746
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1747
|
-
const doc = take(data, {
|
|
1748
|
-
nextToken: __expectString,
|
|
1749
|
-
userAccessLoggingSettings: _json,
|
|
1750
|
-
});
|
|
1751
|
-
Object.assign(contents, doc);
|
|
1752
|
-
return contents;
|
|
1753
|
-
};
|
|
1754
|
-
export const de_ListUserSettingsCommand = async (output, context) => {
|
|
1755
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1756
|
-
return de_CommandError(output, context);
|
|
1757
|
-
}
|
|
1758
|
-
const contents = map({
|
|
1759
|
-
$metadata: deserializeMetadata(output),
|
|
1760
|
-
});
|
|
1761
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1762
|
-
const doc = take(data, {
|
|
1763
|
-
nextToken: __expectString,
|
|
1764
|
-
userSettings: _json,
|
|
1765
|
-
});
|
|
1766
|
-
Object.assign(contents, doc);
|
|
1767
|
-
return contents;
|
|
1768
|
-
};
|
|
1769
|
-
export const de_TagResourceCommand = async (output, context) => {
|
|
1770
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1771
|
-
return de_CommandError(output, context);
|
|
1772
|
-
}
|
|
1773
|
-
const contents = map({
|
|
1774
|
-
$metadata: deserializeMetadata(output),
|
|
1775
|
-
});
|
|
1776
|
-
await collectBody(output.body, context);
|
|
1777
|
-
return contents;
|
|
1778
|
-
};
|
|
1779
|
-
export const de_UntagResourceCommand = async (output, context) => {
|
|
1780
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1781
|
-
return de_CommandError(output, context);
|
|
1782
|
-
}
|
|
1783
|
-
const contents = map({
|
|
1784
|
-
$metadata: deserializeMetadata(output),
|
|
1785
|
-
});
|
|
1786
|
-
await collectBody(output.body, context);
|
|
1787
|
-
return contents;
|
|
1788
|
-
};
|
|
1789
|
-
export const de_UpdateBrowserSettingsCommand = async (output, context) => {
|
|
1790
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1791
|
-
return de_CommandError(output, context);
|
|
1792
|
-
}
|
|
1793
|
-
const contents = map({
|
|
1794
|
-
$metadata: deserializeMetadata(output),
|
|
1795
|
-
});
|
|
1796
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1797
|
-
const doc = take(data, {
|
|
1798
|
-
browserSettings: _json,
|
|
1799
|
-
});
|
|
1800
|
-
Object.assign(contents, doc);
|
|
1801
|
-
return contents;
|
|
1802
|
-
};
|
|
1803
|
-
export const de_UpdateDataProtectionSettingsCommand = async (output, context) => {
|
|
1804
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1805
|
-
return de_CommandError(output, context);
|
|
1806
|
-
}
|
|
1807
|
-
const contents = map({
|
|
1808
|
-
$metadata: deserializeMetadata(output),
|
|
1809
|
-
});
|
|
1810
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1811
|
-
const doc = take(data, {
|
|
1812
|
-
dataProtectionSettings: (_) => de_DataProtectionSettings(_, context),
|
|
1813
|
-
});
|
|
1814
|
-
Object.assign(contents, doc);
|
|
1815
|
-
return contents;
|
|
1816
|
-
};
|
|
1817
|
-
export const de_UpdateIdentityProviderCommand = async (output, context) => {
|
|
1818
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1819
|
-
return de_CommandError(output, context);
|
|
1820
|
-
}
|
|
1821
|
-
const contents = map({
|
|
1822
|
-
$metadata: deserializeMetadata(output),
|
|
1823
|
-
});
|
|
1824
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1825
|
-
const doc = take(data, {
|
|
1826
|
-
identityProvider: _json,
|
|
1827
|
-
});
|
|
1828
|
-
Object.assign(contents, doc);
|
|
1829
|
-
return contents;
|
|
1830
|
-
};
|
|
1831
|
-
export const de_UpdateIpAccessSettingsCommand = async (output, context) => {
|
|
1832
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1833
|
-
return de_CommandError(output, context);
|
|
1834
|
-
}
|
|
1835
|
-
const contents = map({
|
|
1836
|
-
$metadata: deserializeMetadata(output),
|
|
1837
|
-
});
|
|
1838
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1839
|
-
const doc = take(data, {
|
|
1840
|
-
ipAccessSettings: (_) => de_IpAccessSettings(_, context),
|
|
1841
|
-
});
|
|
1842
|
-
Object.assign(contents, doc);
|
|
1843
|
-
return contents;
|
|
1844
|
-
};
|
|
1845
|
-
export const de_UpdateNetworkSettingsCommand = async (output, context) => {
|
|
1846
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1847
|
-
return de_CommandError(output, context);
|
|
1848
|
-
}
|
|
1849
|
-
const contents = map({
|
|
1850
|
-
$metadata: deserializeMetadata(output),
|
|
1851
|
-
});
|
|
1852
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1853
|
-
const doc = take(data, {
|
|
1854
|
-
networkSettings: _json,
|
|
1855
|
-
});
|
|
1856
|
-
Object.assign(contents, doc);
|
|
1857
|
-
return contents;
|
|
1858
|
-
};
|
|
1859
|
-
export const de_UpdatePortalCommand = async (output, context) => {
|
|
1860
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1861
|
-
return de_CommandError(output, context);
|
|
1862
|
-
}
|
|
1863
|
-
const contents = map({
|
|
1864
|
-
$metadata: deserializeMetadata(output),
|
|
1865
|
-
});
|
|
1866
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1867
|
-
const doc = take(data, {
|
|
1868
|
-
portal: (_) => de_Portal(_, context),
|
|
1869
|
-
});
|
|
1870
|
-
Object.assign(contents, doc);
|
|
1871
|
-
return contents;
|
|
1872
|
-
};
|
|
1873
|
-
export const de_UpdateSessionLoggerCommand = async (output, context) => {
|
|
1874
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1875
|
-
return de_CommandError(output, context);
|
|
1876
|
-
}
|
|
1877
|
-
const contents = map({
|
|
1878
|
-
$metadata: deserializeMetadata(output),
|
|
1879
|
-
});
|
|
1880
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1881
|
-
const doc = take(data, {
|
|
1882
|
-
sessionLogger: (_) => de_SessionLogger(_, context),
|
|
1883
|
-
});
|
|
1884
|
-
Object.assign(contents, doc);
|
|
1885
|
-
return contents;
|
|
1886
|
-
};
|
|
1887
|
-
export const de_UpdateTrustStoreCommand = async (output, context) => {
|
|
1888
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1889
|
-
return de_CommandError(output, context);
|
|
1890
|
-
}
|
|
1891
|
-
const contents = map({
|
|
1892
|
-
$metadata: deserializeMetadata(output),
|
|
1893
|
-
});
|
|
1894
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1895
|
-
const doc = take(data, {
|
|
1896
|
-
trustStoreArn: __expectString,
|
|
1897
|
-
});
|
|
1898
|
-
Object.assign(contents, doc);
|
|
1899
|
-
return contents;
|
|
1900
|
-
};
|
|
1901
|
-
export const de_UpdateUserAccessLoggingSettingsCommand = async (output, context) => {
|
|
1902
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1903
|
-
return de_CommandError(output, context);
|
|
1904
|
-
}
|
|
1905
|
-
const contents = map({
|
|
1906
|
-
$metadata: deserializeMetadata(output),
|
|
1907
|
-
});
|
|
1908
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1909
|
-
const doc = take(data, {
|
|
1910
|
-
userAccessLoggingSettings: _json,
|
|
1911
|
-
});
|
|
1912
|
-
Object.assign(contents, doc);
|
|
1913
|
-
return contents;
|
|
1914
|
-
};
|
|
1915
|
-
export const de_UpdateUserSettingsCommand = async (output, context) => {
|
|
1916
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1917
|
-
return de_CommandError(output, context);
|
|
1918
|
-
}
|
|
1919
|
-
const contents = map({
|
|
1920
|
-
$metadata: deserializeMetadata(output),
|
|
1921
|
-
});
|
|
1922
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1923
|
-
const doc = take(data, {
|
|
1924
|
-
userSettings: _json,
|
|
1925
|
-
});
|
|
1926
|
-
Object.assign(contents, doc);
|
|
1927
|
-
return contents;
|
|
1928
|
-
};
|
|
1929
|
-
const de_CommandError = async (output, context) => {
|
|
1930
|
-
const parsedOutput = {
|
|
1931
|
-
...output,
|
|
1932
|
-
body: await parseErrorBody(output.body, context),
|
|
1933
|
-
};
|
|
1934
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1935
|
-
switch (errorCode) {
|
|
1936
|
-
case "AccessDeniedException":
|
|
1937
|
-
case "com.amazonaws.workspacesweb#AccessDeniedException":
|
|
1938
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1939
|
-
case "ConflictException":
|
|
1940
|
-
case "com.amazonaws.workspacesweb#ConflictException":
|
|
1941
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1942
|
-
case "InternalServerException":
|
|
1943
|
-
case "com.amazonaws.workspacesweb#InternalServerException":
|
|
1944
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1945
|
-
case "ResourceNotFoundException":
|
|
1946
|
-
case "com.amazonaws.workspacesweb#ResourceNotFoundException":
|
|
1947
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1948
|
-
case "ThrottlingException":
|
|
1949
|
-
case "com.amazonaws.workspacesweb#ThrottlingException":
|
|
1950
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1951
|
-
case "ValidationException":
|
|
1952
|
-
case "com.amazonaws.workspacesweb#ValidationException":
|
|
1953
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1954
|
-
case "ServiceQuotaExceededException":
|
|
1955
|
-
case "com.amazonaws.workspacesweb#ServiceQuotaExceededException":
|
|
1956
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1957
|
-
case "TooManyTagsException":
|
|
1958
|
-
case "com.amazonaws.workspacesweb#TooManyTagsException":
|
|
1959
|
-
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
1960
|
-
default:
|
|
1961
|
-
const parsedBody = parsedOutput.body;
|
|
1962
|
-
return throwDefaultError({
|
|
1963
|
-
output,
|
|
1964
|
-
parsedBody,
|
|
1965
|
-
errorCode,
|
|
1966
|
-
});
|
|
1967
|
-
}
|
|
1968
|
-
};
|
|
1969
|
-
const throwDefaultError = withBaseException(__BaseException);
|
|
1970
|
-
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
1971
|
-
const contents = map({});
|
|
1972
|
-
const data = parsedOutput.body;
|
|
1973
|
-
const doc = take(data, {
|
|
1974
|
-
message: __expectString,
|
|
1975
|
-
});
|
|
1976
|
-
Object.assign(contents, doc);
|
|
1977
|
-
const exception = new AccessDeniedException({
|
|
1978
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1979
|
-
...contents,
|
|
1980
|
-
});
|
|
1981
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1982
|
-
};
|
|
1983
|
-
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
1984
|
-
const contents = map({});
|
|
1985
|
-
const data = parsedOutput.body;
|
|
1986
|
-
const doc = take(data, {
|
|
1987
|
-
message: __expectString,
|
|
1988
|
-
resourceId: __expectString,
|
|
1989
|
-
resourceType: __expectString,
|
|
1990
|
-
});
|
|
1991
|
-
Object.assign(contents, doc);
|
|
1992
|
-
const exception = new ConflictException({
|
|
1993
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1994
|
-
...contents,
|
|
1995
|
-
});
|
|
1996
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1997
|
-
};
|
|
1998
|
-
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
1999
|
-
const contents = map({
|
|
2000
|
-
[_rAS]: [() => void 0 !== parsedOutput.headers[_ra], () => __strictParseInt32(parsedOutput.headers[_ra])],
|
|
2001
|
-
});
|
|
2002
|
-
const data = parsedOutput.body;
|
|
2003
|
-
const doc = take(data, {
|
|
2004
|
-
message: __expectString,
|
|
2005
|
-
});
|
|
2006
|
-
Object.assign(contents, doc);
|
|
2007
|
-
const exception = new InternalServerException({
|
|
2008
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2009
|
-
...contents,
|
|
2010
|
-
});
|
|
2011
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
2012
|
-
};
|
|
2013
|
-
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
2014
|
-
const contents = map({});
|
|
2015
|
-
const data = parsedOutput.body;
|
|
2016
|
-
const doc = take(data, {
|
|
2017
|
-
message: __expectString,
|
|
2018
|
-
resourceId: __expectString,
|
|
2019
|
-
resourceType: __expectString,
|
|
2020
|
-
});
|
|
2021
|
-
Object.assign(contents, doc);
|
|
2022
|
-
const exception = new ResourceNotFoundException({
|
|
2023
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2024
|
-
...contents,
|
|
2025
|
-
});
|
|
2026
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
2027
|
-
};
|
|
2028
|
-
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
2029
|
-
const contents = map({});
|
|
2030
|
-
const data = parsedOutput.body;
|
|
2031
|
-
const doc = take(data, {
|
|
2032
|
-
message: __expectString,
|
|
2033
|
-
quotaCode: __expectString,
|
|
2034
|
-
resourceId: __expectString,
|
|
2035
|
-
resourceType: __expectString,
|
|
2036
|
-
serviceCode: __expectString,
|
|
2037
|
-
});
|
|
2038
|
-
Object.assign(contents, doc);
|
|
2039
|
-
const exception = new ServiceQuotaExceededException({
|
|
2040
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2041
|
-
...contents,
|
|
2042
|
-
});
|
|
2043
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
2044
|
-
};
|
|
2045
|
-
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
2046
|
-
const contents = map({
|
|
2047
|
-
[_rAS]: [() => void 0 !== parsedOutput.headers[_ra], () => __strictParseInt32(parsedOutput.headers[_ra])],
|
|
2048
|
-
});
|
|
2049
|
-
const data = parsedOutput.body;
|
|
2050
|
-
const doc = take(data, {
|
|
2051
|
-
message: __expectString,
|
|
2052
|
-
quotaCode: __expectString,
|
|
2053
|
-
serviceCode: __expectString,
|
|
2054
|
-
});
|
|
2055
|
-
Object.assign(contents, doc);
|
|
2056
|
-
const exception = new ThrottlingException({
|
|
2057
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2058
|
-
...contents,
|
|
2059
|
-
});
|
|
2060
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
2061
|
-
};
|
|
2062
|
-
const de_TooManyTagsExceptionRes = async (parsedOutput, context) => {
|
|
2063
|
-
const contents = map({});
|
|
2064
|
-
const data = parsedOutput.body;
|
|
2065
|
-
const doc = take(data, {
|
|
2066
|
-
message: __expectString,
|
|
2067
|
-
resourceName: __expectString,
|
|
2068
|
-
});
|
|
2069
|
-
Object.assign(contents, doc);
|
|
2070
|
-
const exception = new TooManyTagsException({
|
|
2071
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2072
|
-
...contents,
|
|
2073
|
-
});
|
|
2074
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
2075
|
-
};
|
|
2076
|
-
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
2077
|
-
const contents = map({});
|
|
2078
|
-
const data = parsedOutput.body;
|
|
2079
|
-
const doc = take(data, {
|
|
2080
|
-
fieldList: _json,
|
|
2081
|
-
message: __expectString,
|
|
2082
|
-
reason: __expectString,
|
|
2083
|
-
});
|
|
2084
|
-
Object.assign(contents, doc);
|
|
2085
|
-
const exception = new ValidationException({
|
|
2086
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2087
|
-
...contents,
|
|
2088
|
-
});
|
|
2089
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
2090
|
-
};
|
|
2091
|
-
const se_CertificateList = (input, context) => {
|
|
2092
|
-
return input
|
|
2093
|
-
.filter((e) => e != null)
|
|
2094
|
-
.map((entry) => {
|
|
2095
|
-
return context.base64Encoder(entry);
|
|
2096
|
-
});
|
|
2097
|
-
};
|
|
2098
|
-
const de_Certificate = (output, context) => {
|
|
2099
|
-
return take(output, {
|
|
2100
|
-
body: context.base64Decoder,
|
|
2101
|
-
issuer: __expectString,
|
|
2102
|
-
notValidAfter: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2103
|
-
notValidBefore: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2104
|
-
subject: __expectString,
|
|
2105
|
-
thumbprint: __expectString,
|
|
2106
|
-
});
|
|
2107
|
-
};
|
|
2108
|
-
const de_CertificateSummary = (output, context) => {
|
|
2109
|
-
return take(output, {
|
|
2110
|
-
issuer: __expectString,
|
|
2111
|
-
notValidAfter: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2112
|
-
notValidBefore: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2113
|
-
subject: __expectString,
|
|
2114
|
-
thumbprint: __expectString,
|
|
2115
|
-
});
|
|
2116
|
-
};
|
|
2117
|
-
const de_CertificateSummaryList = (output, context) => {
|
|
2118
|
-
const retVal = (output || [])
|
|
2119
|
-
.filter((e) => e != null)
|
|
2120
|
-
.map((entry) => {
|
|
2121
|
-
return de_CertificateSummary(entry, context);
|
|
2122
|
-
});
|
|
2123
|
-
return retVal;
|
|
2124
|
-
};
|
|
2125
|
-
const de_DataProtectionSettings = (output, context) => {
|
|
2126
|
-
return take(output, {
|
|
2127
|
-
additionalEncryptionContext: _json,
|
|
2128
|
-
associatedPortalArns: _json,
|
|
2129
|
-
creationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2130
|
-
customerManagedKey: __expectString,
|
|
2131
|
-
dataProtectionSettingsArn: __expectString,
|
|
2132
|
-
description: __expectString,
|
|
2133
|
-
displayName: __expectString,
|
|
2134
|
-
inlineRedactionConfiguration: _json,
|
|
2135
|
-
});
|
|
2136
|
-
};
|
|
2137
|
-
const de_DataProtectionSettingsList = (output, context) => {
|
|
2138
|
-
const retVal = (output || [])
|
|
2139
|
-
.filter((e) => e != null)
|
|
2140
|
-
.map((entry) => {
|
|
2141
|
-
return de_DataProtectionSettingsSummary(entry, context);
|
|
2142
|
-
});
|
|
2143
|
-
return retVal;
|
|
2144
|
-
};
|
|
2145
|
-
const de_DataProtectionSettingsSummary = (output, context) => {
|
|
2146
|
-
return take(output, {
|
|
2147
|
-
creationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2148
|
-
dataProtectionSettingsArn: __expectString,
|
|
2149
|
-
description: __expectString,
|
|
2150
|
-
displayName: __expectString,
|
|
2151
|
-
});
|
|
2152
|
-
};
|
|
2153
|
-
const de_IpAccessSettings = (output, context) => {
|
|
2154
|
-
return take(output, {
|
|
2155
|
-
additionalEncryptionContext: _json,
|
|
2156
|
-
associatedPortalArns: _json,
|
|
2157
|
-
creationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2158
|
-
customerManagedKey: __expectString,
|
|
2159
|
-
description: __expectString,
|
|
2160
|
-
displayName: __expectString,
|
|
2161
|
-
ipAccessSettingsArn: __expectString,
|
|
2162
|
-
ipRules: _json,
|
|
2163
|
-
});
|
|
2164
|
-
};
|
|
2165
|
-
const de_IpAccessSettingsList = (output, context) => {
|
|
2166
|
-
const retVal = (output || [])
|
|
2167
|
-
.filter((e) => e != null)
|
|
2168
|
-
.map((entry) => {
|
|
2169
|
-
return de_IpAccessSettingsSummary(entry, context);
|
|
2170
|
-
});
|
|
2171
|
-
return retVal;
|
|
2172
|
-
};
|
|
2173
|
-
const de_IpAccessSettingsSummary = (output, context) => {
|
|
2174
|
-
return take(output, {
|
|
2175
|
-
creationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2176
|
-
description: __expectString,
|
|
2177
|
-
displayName: __expectString,
|
|
2178
|
-
ipAccessSettingsArn: __expectString,
|
|
2179
|
-
});
|
|
2180
|
-
};
|
|
2181
|
-
const de_Portal = (output, context) => {
|
|
2182
|
-
return take(output, {
|
|
2183
|
-
additionalEncryptionContext: _json,
|
|
2184
|
-
authenticationType: __expectString,
|
|
2185
|
-
browserSettingsArn: __expectString,
|
|
2186
|
-
browserType: __expectString,
|
|
2187
|
-
creationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2188
|
-
customerManagedKey: __expectString,
|
|
2189
|
-
dataProtectionSettingsArn: __expectString,
|
|
2190
|
-
displayName: __expectString,
|
|
2191
|
-
instanceType: __expectString,
|
|
2192
|
-
ipAccessSettingsArn: __expectString,
|
|
2193
|
-
maxConcurrentSessions: __expectInt32,
|
|
2194
|
-
networkSettingsArn: __expectString,
|
|
2195
|
-
portalArn: __expectString,
|
|
2196
|
-
portalEndpoint: __expectString,
|
|
2197
|
-
portalStatus: __expectString,
|
|
2198
|
-
rendererType: __expectString,
|
|
2199
|
-
sessionLoggerArn: __expectString,
|
|
2200
|
-
statusReason: __expectString,
|
|
2201
|
-
trustStoreArn: __expectString,
|
|
2202
|
-
userAccessLoggingSettingsArn: __expectString,
|
|
2203
|
-
userSettingsArn: __expectString,
|
|
2204
|
-
});
|
|
2205
|
-
};
|
|
2206
|
-
const de_PortalList = (output, context) => {
|
|
2207
|
-
const retVal = (output || [])
|
|
2208
|
-
.filter((e) => e != null)
|
|
2209
|
-
.map((entry) => {
|
|
2210
|
-
return de_PortalSummary(entry, context);
|
|
2211
|
-
});
|
|
2212
|
-
return retVal;
|
|
2213
|
-
};
|
|
2214
|
-
const de_PortalSummary = (output, context) => {
|
|
2215
|
-
return take(output, {
|
|
2216
|
-
authenticationType: __expectString,
|
|
2217
|
-
browserSettingsArn: __expectString,
|
|
2218
|
-
browserType: __expectString,
|
|
2219
|
-
creationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2220
|
-
dataProtectionSettingsArn: __expectString,
|
|
2221
|
-
displayName: __expectString,
|
|
2222
|
-
instanceType: __expectString,
|
|
2223
|
-
ipAccessSettingsArn: __expectString,
|
|
2224
|
-
maxConcurrentSessions: __expectInt32,
|
|
2225
|
-
networkSettingsArn: __expectString,
|
|
2226
|
-
portalArn: __expectString,
|
|
2227
|
-
portalEndpoint: __expectString,
|
|
2228
|
-
portalStatus: __expectString,
|
|
2229
|
-
rendererType: __expectString,
|
|
2230
|
-
sessionLoggerArn: __expectString,
|
|
2231
|
-
trustStoreArn: __expectString,
|
|
2232
|
-
userAccessLoggingSettingsArn: __expectString,
|
|
2233
|
-
userSettingsArn: __expectString,
|
|
2234
|
-
});
|
|
2235
|
-
};
|
|
2236
|
-
const de_Session = (output, context) => {
|
|
2237
|
-
return take(output, {
|
|
2238
|
-
clientIpAddresses: _json,
|
|
2239
|
-
endTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2240
|
-
portalArn: __expectString,
|
|
2241
|
-
sessionId: __expectString,
|
|
2242
|
-
startTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2243
|
-
status: __expectString,
|
|
2244
|
-
username: __expectString,
|
|
2245
|
-
});
|
|
2246
|
-
};
|
|
2247
|
-
const de_SessionLogger = (output, context) => {
|
|
2248
|
-
return take(output, {
|
|
2249
|
-
additionalEncryptionContext: _json,
|
|
2250
|
-
associatedPortalArns: _json,
|
|
2251
|
-
creationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2252
|
-
customerManagedKey: __expectString,
|
|
2253
|
-
displayName: __expectString,
|
|
2254
|
-
eventFilter: (_) => _json(__expectUnion(_)),
|
|
2255
|
-
logConfiguration: _json,
|
|
2256
|
-
sessionLoggerArn: __expectString,
|
|
2257
|
-
});
|
|
2258
|
-
};
|
|
2259
|
-
const de_SessionLoggerList = (output, context) => {
|
|
2260
|
-
const retVal = (output || [])
|
|
2261
|
-
.filter((e) => e != null)
|
|
2262
|
-
.map((entry) => {
|
|
2263
|
-
return de_SessionLoggerSummary(entry, context);
|
|
2264
|
-
});
|
|
2265
|
-
return retVal;
|
|
2266
|
-
};
|
|
2267
|
-
const de_SessionLoggerSummary = (output, context) => {
|
|
2268
|
-
return take(output, {
|
|
2269
|
-
creationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2270
|
-
displayName: __expectString,
|
|
2271
|
-
logConfiguration: _json,
|
|
2272
|
-
sessionLoggerArn: __expectString,
|
|
2273
|
-
});
|
|
2274
|
-
};
|
|
2275
|
-
const de_SessionSummary = (output, context) => {
|
|
2276
|
-
return take(output, {
|
|
2277
|
-
endTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2278
|
-
portalArn: __expectString,
|
|
2279
|
-
sessionId: __expectString,
|
|
2280
|
-
startTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2281
|
-
status: __expectString,
|
|
2282
|
-
username: __expectString,
|
|
2283
|
-
});
|
|
2284
|
-
};
|
|
2285
|
-
const de_SessionSummaryList = (output, context) => {
|
|
2286
|
-
const retVal = (output || [])
|
|
2287
|
-
.filter((e) => e != null)
|
|
2288
|
-
.map((entry) => {
|
|
2289
|
-
return de_SessionSummary(entry, context);
|
|
2290
|
-
});
|
|
2291
|
-
return retVal;
|
|
2292
|
-
};
|
|
2293
|
-
const deserializeMetadata = (output) => ({
|
|
2294
|
-
httpStatusCode: output.statusCode,
|
|
2295
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
2296
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
2297
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
2298
|
-
});
|
|
2299
|
-
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
2300
|
-
const _bSA = "browserSettingsArn";
|
|
2301
|
-
const _dPSA = "dataProtectionSettingsArn";
|
|
2302
|
-
const _iASA = "ipAccessSettingsArn";
|
|
2303
|
-
const _mR = "maxResults";
|
|
2304
|
-
const _nSA = "networkSettingsArn";
|
|
2305
|
-
const _nT = "nextToken";
|
|
2306
|
-
const _rAS = "retryAfterSeconds";
|
|
2307
|
-
const _ra = "retry-after";
|
|
2308
|
-
const _s = "status";
|
|
2309
|
-
const _sB = "sortBy";
|
|
2310
|
-
const _sI = "sessionId";
|
|
2311
|
-
const _sLA = "sessionLoggerArn";
|
|
2312
|
-
const _t = "thumbprint";
|
|
2313
|
-
const _tK = "tagKeys";
|
|
2314
|
-
const _tSA = "trustStoreArn";
|
|
2315
|
-
const _u = "username";
|
|
2316
|
-
const _uALSA = "userAccessLoggingSettingsArn";
|
|
2317
|
-
const _uSA = "userSettingsArn";
|