@aws-sdk/client-workspaces-web 3.476.0 → 3.477.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/protocols/Aws_restJson1.js +317 -743
- package/dist-es/protocols/Aws_restJson1.js +318 -744
- package/package.json +5 -4
|
@@ -3,147 +3,95 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_ListUserSettingsCommand = exports.se_ListUserAccessLoggingSettingsCommand = exports.se_ListTrustStoresCommand = exports.se_ListTrustStoreCertificatesCommand = exports.se_ListTagsForResourceCommand = exports.se_ListPortalsCommand = exports.se_ListNetworkSettingsCommand = exports.se_ListIpAccessSettingsCommand = exports.se_ListIdentityProvidersCommand = exports.se_ListBrowserSettingsCommand = exports.se_GetUserSettingsCommand = exports.se_GetUserAccessLoggingSettingsCommand = exports.se_GetTrustStoreCertificateCommand = exports.se_GetTrustStoreCommand = exports.se_GetPortalServiceProviderMetadataCommand = exports.se_GetPortalCommand = exports.se_GetNetworkSettingsCommand = exports.se_GetIpAccessSettingsCommand = exports.se_GetIdentityProviderCommand = exports.se_GetBrowserSettingsCommand = exports.se_DisassociateUserSettingsCommand = exports.se_DisassociateUserAccessLoggingSettingsCommand = exports.se_DisassociateTrustStoreCommand = exports.se_DisassociateNetworkSettingsCommand = exports.se_DisassociateIpAccessSettingsCommand = exports.se_DisassociateBrowserSettingsCommand = exports.se_DeleteUserSettingsCommand = exports.se_DeleteUserAccessLoggingSettingsCommand = exports.se_DeleteTrustStoreCommand = exports.se_DeletePortalCommand = exports.se_DeleteNetworkSettingsCommand = exports.se_DeleteIpAccessSettingsCommand = exports.se_DeleteIdentityProviderCommand = exports.se_DeleteBrowserSettingsCommand = exports.se_CreateUserSettingsCommand = exports.se_CreateUserAccessLoggingSettingsCommand = exports.se_CreateTrustStoreCommand = exports.se_CreatePortalCommand = exports.se_CreateNetworkSettingsCommand = exports.se_CreateIpAccessSettingsCommand = exports.se_CreateIdentityProviderCommand = exports.se_CreateBrowserSettingsCommand = exports.se_AssociateUserSettingsCommand = exports.se_AssociateUserAccessLoggingSettingsCommand = exports.se_AssociateTrustStoreCommand = exports.se_AssociateNetworkSettingsCommand = exports.se_AssociateIpAccessSettingsCommand = exports.se_AssociateBrowserSettingsCommand = void 0;
|
|
4
4
|
exports.de_ListNetworkSettingsCommand = exports.de_ListIpAccessSettingsCommand = exports.de_ListIdentityProvidersCommand = exports.de_ListBrowserSettingsCommand = exports.de_GetUserSettingsCommand = exports.de_GetUserAccessLoggingSettingsCommand = exports.de_GetTrustStoreCertificateCommand = exports.de_GetTrustStoreCommand = exports.de_GetPortalServiceProviderMetadataCommand = exports.de_GetPortalCommand = exports.de_GetNetworkSettingsCommand = exports.de_GetIpAccessSettingsCommand = exports.de_GetIdentityProviderCommand = exports.de_GetBrowserSettingsCommand = exports.de_DisassociateUserSettingsCommand = exports.de_DisassociateUserAccessLoggingSettingsCommand = exports.de_DisassociateTrustStoreCommand = exports.de_DisassociateNetworkSettingsCommand = exports.de_DisassociateIpAccessSettingsCommand = exports.de_DisassociateBrowserSettingsCommand = exports.de_DeleteUserSettingsCommand = exports.de_DeleteUserAccessLoggingSettingsCommand = exports.de_DeleteTrustStoreCommand = exports.de_DeletePortalCommand = exports.de_DeleteNetworkSettingsCommand = exports.de_DeleteIpAccessSettingsCommand = exports.de_DeleteIdentityProviderCommand = exports.de_DeleteBrowserSettingsCommand = exports.de_CreateUserSettingsCommand = exports.de_CreateUserAccessLoggingSettingsCommand = exports.de_CreateTrustStoreCommand = exports.de_CreatePortalCommand = exports.de_CreateNetworkSettingsCommand = exports.de_CreateIpAccessSettingsCommand = exports.de_CreateIdentityProviderCommand = exports.de_CreateBrowserSettingsCommand = exports.de_AssociateUserSettingsCommand = exports.de_AssociateUserAccessLoggingSettingsCommand = exports.de_AssociateTrustStoreCommand = exports.de_AssociateNetworkSettingsCommand = exports.de_AssociateIpAccessSettingsCommand = exports.de_AssociateBrowserSettingsCommand = exports.se_UpdateUserSettingsCommand = exports.se_UpdateUserAccessLoggingSettingsCommand = exports.se_UpdateTrustStoreCommand = exports.se_UpdatePortalCommand = exports.se_UpdateNetworkSettingsCommand = exports.se_UpdateIpAccessSettingsCommand = exports.se_UpdateIdentityProviderCommand = exports.se_UpdateBrowserSettingsCommand = void 0;
|
|
5
5
|
exports.de_UpdateUserSettingsCommand = exports.de_UpdateUserAccessLoggingSettingsCommand = exports.de_UpdateTrustStoreCommand = exports.de_UpdatePortalCommand = exports.de_UpdateNetworkSettingsCommand = exports.de_UpdateIpAccessSettingsCommand = exports.de_UpdateIdentityProviderCommand = exports.de_UpdateBrowserSettingsCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_ListUserSettingsCommand = exports.de_ListUserAccessLoggingSettingsCommand = exports.de_ListTrustStoresCommand = exports.de_ListTrustStoreCertificatesCommand = exports.de_ListTagsForResourceCommand = exports.de_ListPortalsCommand = void 0;
|
|
6
|
-
const
|
|
6
|
+
const core_1 = require("@smithy/core");
|
|
7
7
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
8
8
|
const uuid_1 = require("uuid");
|
|
9
9
|
const models_0_1 = require("../models/models_0");
|
|
10
10
|
const WorkSpacesWebServiceException_1 = require("../models/WorkSpacesWebServiceException");
|
|
11
11
|
const se_AssociateBrowserSettingsCommand = async (input, context) => {
|
|
12
|
-
const
|
|
12
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
13
13
|
const headers = {};
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
b.bp("/portals/{portalArn+}/browserSettings");
|
|
15
|
+
b.p("portalArn", () => input.portalArn, "{portalArn+}", true);
|
|
16
16
|
const query = (0, smithy_client_1.map)({
|
|
17
|
-
|
|
17
|
+
[_bSA]: [, (0, smithy_client_1.expectNonNull)(input[_bSA], `browserSettingsArn`)],
|
|
18
18
|
});
|
|
19
19
|
let body;
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
hostname,
|
|
23
|
-
port,
|
|
24
|
-
method: "PUT",
|
|
25
|
-
headers,
|
|
26
|
-
path: resolvedPath,
|
|
27
|
-
query,
|
|
28
|
-
body,
|
|
29
|
-
});
|
|
20
|
+
b.m("PUT").h(headers).q(query).b(body);
|
|
21
|
+
return b.build();
|
|
30
22
|
};
|
|
31
23
|
exports.se_AssociateBrowserSettingsCommand = se_AssociateBrowserSettingsCommand;
|
|
32
24
|
const se_AssociateIpAccessSettingsCommand = async (input, context) => {
|
|
33
|
-
const
|
|
25
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
34
26
|
const headers = {};
|
|
35
|
-
|
|
36
|
-
|
|
27
|
+
b.bp("/portals/{portalArn+}/ipAccessSettings");
|
|
28
|
+
b.p("portalArn", () => input.portalArn, "{portalArn+}", true);
|
|
37
29
|
const query = (0, smithy_client_1.map)({
|
|
38
|
-
|
|
30
|
+
[_iASA]: [, (0, smithy_client_1.expectNonNull)(input[_iASA], `ipAccessSettingsArn`)],
|
|
39
31
|
});
|
|
40
32
|
let body;
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
hostname,
|
|
44
|
-
port,
|
|
45
|
-
method: "PUT",
|
|
46
|
-
headers,
|
|
47
|
-
path: resolvedPath,
|
|
48
|
-
query,
|
|
49
|
-
body,
|
|
50
|
-
});
|
|
33
|
+
b.m("PUT").h(headers).q(query).b(body);
|
|
34
|
+
return b.build();
|
|
51
35
|
};
|
|
52
36
|
exports.se_AssociateIpAccessSettingsCommand = se_AssociateIpAccessSettingsCommand;
|
|
53
37
|
const se_AssociateNetworkSettingsCommand = async (input, context) => {
|
|
54
|
-
const
|
|
38
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
55
39
|
const headers = {};
|
|
56
|
-
|
|
57
|
-
|
|
40
|
+
b.bp("/portals/{portalArn+}/networkSettings");
|
|
41
|
+
b.p("portalArn", () => input.portalArn, "{portalArn+}", true);
|
|
58
42
|
const query = (0, smithy_client_1.map)({
|
|
59
|
-
|
|
43
|
+
[_nSA]: [, (0, smithy_client_1.expectNonNull)(input[_nSA], `networkSettingsArn`)],
|
|
60
44
|
});
|
|
61
45
|
let body;
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
hostname,
|
|
65
|
-
port,
|
|
66
|
-
method: "PUT",
|
|
67
|
-
headers,
|
|
68
|
-
path: resolvedPath,
|
|
69
|
-
query,
|
|
70
|
-
body,
|
|
71
|
-
});
|
|
46
|
+
b.m("PUT").h(headers).q(query).b(body);
|
|
47
|
+
return b.build();
|
|
72
48
|
};
|
|
73
49
|
exports.se_AssociateNetworkSettingsCommand = se_AssociateNetworkSettingsCommand;
|
|
74
50
|
const se_AssociateTrustStoreCommand = async (input, context) => {
|
|
75
|
-
const
|
|
51
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
76
52
|
const headers = {};
|
|
77
|
-
|
|
78
|
-
|
|
53
|
+
b.bp("/portals/{portalArn+}/trustStores");
|
|
54
|
+
b.p("portalArn", () => input.portalArn, "{portalArn+}", true);
|
|
79
55
|
const query = (0, smithy_client_1.map)({
|
|
80
|
-
|
|
56
|
+
[_tSA]: [, (0, smithy_client_1.expectNonNull)(input[_tSA], `trustStoreArn`)],
|
|
81
57
|
});
|
|
82
58
|
let body;
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
hostname,
|
|
86
|
-
port,
|
|
87
|
-
method: "PUT",
|
|
88
|
-
headers,
|
|
89
|
-
path: resolvedPath,
|
|
90
|
-
query,
|
|
91
|
-
body,
|
|
92
|
-
});
|
|
59
|
+
b.m("PUT").h(headers).q(query).b(body);
|
|
60
|
+
return b.build();
|
|
93
61
|
};
|
|
94
62
|
exports.se_AssociateTrustStoreCommand = se_AssociateTrustStoreCommand;
|
|
95
63
|
const se_AssociateUserAccessLoggingSettingsCommand = async (input, context) => {
|
|
96
|
-
const
|
|
64
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
97
65
|
const headers = {};
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "portalArn", () => input.portalArn, "{portalArn+}", true);
|
|
66
|
+
b.bp("/portals/{portalArn+}/userAccessLoggingSettings");
|
|
67
|
+
b.p("portalArn", () => input.portalArn, "{portalArn+}", true);
|
|
101
68
|
const query = (0, smithy_client_1.map)({
|
|
102
|
-
|
|
103
|
-
,
|
|
104
|
-
(0, smithy_client_1.expectNonNull)(input.userAccessLoggingSettingsArn, `userAccessLoggingSettingsArn`),
|
|
105
|
-
],
|
|
69
|
+
[_uALSA]: [, (0, smithy_client_1.expectNonNull)(input[_uALSA], `userAccessLoggingSettingsArn`)],
|
|
106
70
|
});
|
|
107
71
|
let body;
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
hostname,
|
|
111
|
-
port,
|
|
112
|
-
method: "PUT",
|
|
113
|
-
headers,
|
|
114
|
-
path: resolvedPath,
|
|
115
|
-
query,
|
|
116
|
-
body,
|
|
117
|
-
});
|
|
72
|
+
b.m("PUT").h(headers).q(query).b(body);
|
|
73
|
+
return b.build();
|
|
118
74
|
};
|
|
119
75
|
exports.se_AssociateUserAccessLoggingSettingsCommand = se_AssociateUserAccessLoggingSettingsCommand;
|
|
120
76
|
const se_AssociateUserSettingsCommand = async (input, context) => {
|
|
121
|
-
const
|
|
77
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
122
78
|
const headers = {};
|
|
123
|
-
|
|
124
|
-
|
|
79
|
+
b.bp("/portals/{portalArn+}/userSettings");
|
|
80
|
+
b.p("portalArn", () => input.portalArn, "{portalArn+}", true);
|
|
125
81
|
const query = (0, smithy_client_1.map)({
|
|
126
|
-
|
|
82
|
+
[_uSA]: [, (0, smithy_client_1.expectNonNull)(input[_uSA], `userSettingsArn`)],
|
|
127
83
|
});
|
|
128
84
|
let body;
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
hostname,
|
|
132
|
-
port,
|
|
133
|
-
method: "PUT",
|
|
134
|
-
headers,
|
|
135
|
-
path: resolvedPath,
|
|
136
|
-
query,
|
|
137
|
-
body,
|
|
138
|
-
});
|
|
85
|
+
b.m("PUT").h(headers).q(query).b(body);
|
|
86
|
+
return b.build();
|
|
139
87
|
};
|
|
140
88
|
exports.se_AssociateUserSettingsCommand = se_AssociateUserSettingsCommand;
|
|
141
89
|
const se_CreateBrowserSettingsCommand = async (input, context) => {
|
|
142
|
-
const
|
|
90
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
143
91
|
const headers = {
|
|
144
92
|
"content-type": "application/json",
|
|
145
93
|
};
|
|
146
|
-
|
|
94
|
+
b.bp("/browserSettings");
|
|
147
95
|
let body;
|
|
148
96
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
149
97
|
additionalEncryptionContext: (_) => (0, smithy_client_1._json)(_),
|
|
@@ -152,23 +100,16 @@ const se_CreateBrowserSettingsCommand = async (input, context) => {
|
|
|
152
100
|
customerManagedKey: [],
|
|
153
101
|
tags: (_) => (0, smithy_client_1._json)(_),
|
|
154
102
|
}));
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
hostname,
|
|
158
|
-
port,
|
|
159
|
-
method: "POST",
|
|
160
|
-
headers,
|
|
161
|
-
path: resolvedPath,
|
|
162
|
-
body,
|
|
163
|
-
});
|
|
103
|
+
b.m("POST").h(headers).b(body);
|
|
104
|
+
return b.build();
|
|
164
105
|
};
|
|
165
106
|
exports.se_CreateBrowserSettingsCommand = se_CreateBrowserSettingsCommand;
|
|
166
107
|
const se_CreateIdentityProviderCommand = async (input, context) => {
|
|
167
|
-
const
|
|
108
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
168
109
|
const headers = {
|
|
169
110
|
"content-type": "application/json",
|
|
170
111
|
};
|
|
171
|
-
|
|
112
|
+
b.bp("/identityProviders");
|
|
172
113
|
let body;
|
|
173
114
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
174
115
|
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
@@ -177,23 +118,16 @@ const se_CreateIdentityProviderCommand = async (input, context) => {
|
|
|
177
118
|
identityProviderType: [],
|
|
178
119
|
portalArn: [],
|
|
179
120
|
}));
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
hostname,
|
|
183
|
-
port,
|
|
184
|
-
method: "POST",
|
|
185
|
-
headers,
|
|
186
|
-
path: resolvedPath,
|
|
187
|
-
body,
|
|
188
|
-
});
|
|
121
|
+
b.m("POST").h(headers).b(body);
|
|
122
|
+
return b.build();
|
|
189
123
|
};
|
|
190
124
|
exports.se_CreateIdentityProviderCommand = se_CreateIdentityProviderCommand;
|
|
191
125
|
const se_CreateIpAccessSettingsCommand = async (input, context) => {
|
|
192
|
-
const
|
|
126
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
193
127
|
const headers = {
|
|
194
128
|
"content-type": "application/json",
|
|
195
129
|
};
|
|
196
|
-
|
|
130
|
+
b.bp("/ipAccessSettings");
|
|
197
131
|
let body;
|
|
198
132
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
199
133
|
additionalEncryptionContext: (_) => (0, smithy_client_1._json)(_),
|
|
@@ -204,23 +138,16 @@ const se_CreateIpAccessSettingsCommand = async (input, context) => {
|
|
|
204
138
|
ipRules: (_) => (0, smithy_client_1._json)(_),
|
|
205
139
|
tags: (_) => (0, smithy_client_1._json)(_),
|
|
206
140
|
}));
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
hostname,
|
|
210
|
-
port,
|
|
211
|
-
method: "POST",
|
|
212
|
-
headers,
|
|
213
|
-
path: resolvedPath,
|
|
214
|
-
body,
|
|
215
|
-
});
|
|
141
|
+
b.m("POST").h(headers).b(body);
|
|
142
|
+
return b.build();
|
|
216
143
|
};
|
|
217
144
|
exports.se_CreateIpAccessSettingsCommand = se_CreateIpAccessSettingsCommand;
|
|
218
145
|
const se_CreateNetworkSettingsCommand = async (input, context) => {
|
|
219
|
-
const
|
|
146
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
220
147
|
const headers = {
|
|
221
148
|
"content-type": "application/json",
|
|
222
149
|
};
|
|
223
|
-
|
|
150
|
+
b.bp("/networkSettings");
|
|
224
151
|
let body;
|
|
225
152
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
226
153
|
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
@@ -229,23 +156,16 @@ const se_CreateNetworkSettingsCommand = async (input, context) => {
|
|
|
229
156
|
tags: (_) => (0, smithy_client_1._json)(_),
|
|
230
157
|
vpcId: [],
|
|
231
158
|
}));
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
hostname,
|
|
235
|
-
port,
|
|
236
|
-
method: "POST",
|
|
237
|
-
headers,
|
|
238
|
-
path: resolvedPath,
|
|
239
|
-
body,
|
|
240
|
-
});
|
|
159
|
+
b.m("POST").h(headers).b(body);
|
|
160
|
+
return b.build();
|
|
241
161
|
};
|
|
242
162
|
exports.se_CreateNetworkSettingsCommand = se_CreateNetworkSettingsCommand;
|
|
243
163
|
const se_CreatePortalCommand = async (input, context) => {
|
|
244
|
-
const
|
|
164
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
245
165
|
const headers = {
|
|
246
166
|
"content-type": "application/json",
|
|
247
167
|
};
|
|
248
|
-
|
|
168
|
+
b.bp("/portals");
|
|
249
169
|
let body;
|
|
250
170
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
251
171
|
additionalEncryptionContext: (_) => (0, smithy_client_1._json)(_),
|
|
@@ -255,69 +175,48 @@ const se_CreatePortalCommand = async (input, context) => {
|
|
|
255
175
|
displayName: [],
|
|
256
176
|
tags: (_) => (0, smithy_client_1._json)(_),
|
|
257
177
|
}));
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
hostname,
|
|
261
|
-
port,
|
|
262
|
-
method: "POST",
|
|
263
|
-
headers,
|
|
264
|
-
path: resolvedPath,
|
|
265
|
-
body,
|
|
266
|
-
});
|
|
178
|
+
b.m("POST").h(headers).b(body);
|
|
179
|
+
return b.build();
|
|
267
180
|
};
|
|
268
181
|
exports.se_CreatePortalCommand = se_CreatePortalCommand;
|
|
269
182
|
const se_CreateTrustStoreCommand = async (input, context) => {
|
|
270
|
-
const
|
|
183
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
271
184
|
const headers = {
|
|
272
185
|
"content-type": "application/json",
|
|
273
186
|
};
|
|
274
|
-
|
|
187
|
+
b.bp("/trustStores");
|
|
275
188
|
let body;
|
|
276
189
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
277
190
|
certificateList: (_) => se_CertificateList(_, context),
|
|
278
191
|
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
279
192
|
tags: (_) => (0, smithy_client_1._json)(_),
|
|
280
193
|
}));
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
hostname,
|
|
284
|
-
port,
|
|
285
|
-
method: "POST",
|
|
286
|
-
headers,
|
|
287
|
-
path: resolvedPath,
|
|
288
|
-
body,
|
|
289
|
-
});
|
|
194
|
+
b.m("POST").h(headers).b(body);
|
|
195
|
+
return b.build();
|
|
290
196
|
};
|
|
291
197
|
exports.se_CreateTrustStoreCommand = se_CreateTrustStoreCommand;
|
|
292
198
|
const se_CreateUserAccessLoggingSettingsCommand = async (input, context) => {
|
|
293
|
-
const
|
|
199
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
294
200
|
const headers = {
|
|
295
201
|
"content-type": "application/json",
|
|
296
202
|
};
|
|
297
|
-
|
|
203
|
+
b.bp("/userAccessLoggingSettings");
|
|
298
204
|
let body;
|
|
299
205
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
300
206
|
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
301
207
|
kinesisStreamArn: [],
|
|
302
208
|
tags: (_) => (0, smithy_client_1._json)(_),
|
|
303
209
|
}));
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
hostname,
|
|
307
|
-
port,
|
|
308
|
-
method: "POST",
|
|
309
|
-
headers,
|
|
310
|
-
path: resolvedPath,
|
|
311
|
-
body,
|
|
312
|
-
});
|
|
210
|
+
b.m("POST").h(headers).b(body);
|
|
211
|
+
return b.build();
|
|
313
212
|
};
|
|
314
213
|
exports.se_CreateUserAccessLoggingSettingsCommand = se_CreateUserAccessLoggingSettingsCommand;
|
|
315
214
|
const se_CreateUserSettingsCommand = async (input, context) => {
|
|
316
|
-
const
|
|
215
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
317
216
|
const headers = {
|
|
318
217
|
"content-type": "application/json",
|
|
319
218
|
};
|
|
320
|
-
|
|
219
|
+
b.bp("/userSettings");
|
|
321
220
|
let body;
|
|
322
221
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
323
222
|
additionalEncryptionContext: (_) => (0, smithy_client_1._json)(_),
|
|
@@ -333,718 +232,437 @@ const se_CreateUserSettingsCommand = async (input, context) => {
|
|
|
333
232
|
tags: (_) => (0, smithy_client_1._json)(_),
|
|
334
233
|
uploadAllowed: [],
|
|
335
234
|
}));
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
hostname,
|
|
339
|
-
port,
|
|
340
|
-
method: "POST",
|
|
341
|
-
headers,
|
|
342
|
-
path: resolvedPath,
|
|
343
|
-
body,
|
|
344
|
-
});
|
|
235
|
+
b.m("POST").h(headers).b(body);
|
|
236
|
+
return b.build();
|
|
345
237
|
};
|
|
346
238
|
exports.se_CreateUserSettingsCommand = se_CreateUserSettingsCommand;
|
|
347
239
|
const se_DeleteBrowserSettingsCommand = async (input, context) => {
|
|
348
|
-
const
|
|
240
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
349
241
|
const headers = {};
|
|
350
|
-
|
|
351
|
-
|
|
242
|
+
b.bp("/browserSettings/{browserSettingsArn+}");
|
|
243
|
+
b.p("browserSettingsArn", () => input.browserSettingsArn, "{browserSettingsArn+}", true);
|
|
352
244
|
let body;
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
hostname,
|
|
356
|
-
port,
|
|
357
|
-
method: "DELETE",
|
|
358
|
-
headers,
|
|
359
|
-
path: resolvedPath,
|
|
360
|
-
body,
|
|
361
|
-
});
|
|
245
|
+
b.m("DELETE").h(headers).b(body);
|
|
246
|
+
return b.build();
|
|
362
247
|
};
|
|
363
248
|
exports.se_DeleteBrowserSettingsCommand = se_DeleteBrowserSettingsCommand;
|
|
364
249
|
const se_DeleteIdentityProviderCommand = async (input, context) => {
|
|
365
|
-
const
|
|
250
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
366
251
|
const headers = {};
|
|
367
|
-
|
|
368
|
-
|
|
252
|
+
b.bp("/identityProviders/{identityProviderArn+}");
|
|
253
|
+
b.p("identityProviderArn", () => input.identityProviderArn, "{identityProviderArn+}", true);
|
|
369
254
|
let body;
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
hostname,
|
|
373
|
-
port,
|
|
374
|
-
method: "DELETE",
|
|
375
|
-
headers,
|
|
376
|
-
path: resolvedPath,
|
|
377
|
-
body,
|
|
378
|
-
});
|
|
255
|
+
b.m("DELETE").h(headers).b(body);
|
|
256
|
+
return b.build();
|
|
379
257
|
};
|
|
380
258
|
exports.se_DeleteIdentityProviderCommand = se_DeleteIdentityProviderCommand;
|
|
381
259
|
const se_DeleteIpAccessSettingsCommand = async (input, context) => {
|
|
382
|
-
const
|
|
260
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
383
261
|
const headers = {};
|
|
384
|
-
|
|
385
|
-
|
|
262
|
+
b.bp("/ipAccessSettings/{ipAccessSettingsArn+}");
|
|
263
|
+
b.p("ipAccessSettingsArn", () => input.ipAccessSettingsArn, "{ipAccessSettingsArn+}", true);
|
|
386
264
|
let body;
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
hostname,
|
|
390
|
-
port,
|
|
391
|
-
method: "DELETE",
|
|
392
|
-
headers,
|
|
393
|
-
path: resolvedPath,
|
|
394
|
-
body,
|
|
395
|
-
});
|
|
265
|
+
b.m("DELETE").h(headers).b(body);
|
|
266
|
+
return b.build();
|
|
396
267
|
};
|
|
397
268
|
exports.se_DeleteIpAccessSettingsCommand = se_DeleteIpAccessSettingsCommand;
|
|
398
269
|
const se_DeleteNetworkSettingsCommand = async (input, context) => {
|
|
399
|
-
const
|
|
270
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
400
271
|
const headers = {};
|
|
401
|
-
|
|
402
|
-
|
|
272
|
+
b.bp("/networkSettings/{networkSettingsArn+}");
|
|
273
|
+
b.p("networkSettingsArn", () => input.networkSettingsArn, "{networkSettingsArn+}", true);
|
|
403
274
|
let body;
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
hostname,
|
|
407
|
-
port,
|
|
408
|
-
method: "DELETE",
|
|
409
|
-
headers,
|
|
410
|
-
path: resolvedPath,
|
|
411
|
-
body,
|
|
412
|
-
});
|
|
275
|
+
b.m("DELETE").h(headers).b(body);
|
|
276
|
+
return b.build();
|
|
413
277
|
};
|
|
414
278
|
exports.se_DeleteNetworkSettingsCommand = se_DeleteNetworkSettingsCommand;
|
|
415
279
|
const se_DeletePortalCommand = async (input, context) => {
|
|
416
|
-
const
|
|
280
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
417
281
|
const headers = {};
|
|
418
|
-
|
|
419
|
-
|
|
282
|
+
b.bp("/portals/{portalArn+}");
|
|
283
|
+
b.p("portalArn", () => input.portalArn, "{portalArn+}", true);
|
|
420
284
|
let body;
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
hostname,
|
|
424
|
-
port,
|
|
425
|
-
method: "DELETE",
|
|
426
|
-
headers,
|
|
427
|
-
path: resolvedPath,
|
|
428
|
-
body,
|
|
429
|
-
});
|
|
285
|
+
b.m("DELETE").h(headers).b(body);
|
|
286
|
+
return b.build();
|
|
430
287
|
};
|
|
431
288
|
exports.se_DeletePortalCommand = se_DeletePortalCommand;
|
|
432
289
|
const se_DeleteTrustStoreCommand = async (input, context) => {
|
|
433
|
-
const
|
|
290
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
434
291
|
const headers = {};
|
|
435
|
-
|
|
436
|
-
|
|
292
|
+
b.bp("/trustStores/{trustStoreArn+}");
|
|
293
|
+
b.p("trustStoreArn", () => input.trustStoreArn, "{trustStoreArn+}", true);
|
|
437
294
|
let body;
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
hostname,
|
|
441
|
-
port,
|
|
442
|
-
method: "DELETE",
|
|
443
|
-
headers,
|
|
444
|
-
path: resolvedPath,
|
|
445
|
-
body,
|
|
446
|
-
});
|
|
295
|
+
b.m("DELETE").h(headers).b(body);
|
|
296
|
+
return b.build();
|
|
447
297
|
};
|
|
448
298
|
exports.se_DeleteTrustStoreCommand = se_DeleteTrustStoreCommand;
|
|
449
299
|
const se_DeleteUserAccessLoggingSettingsCommand = async (input, context) => {
|
|
450
|
-
const
|
|
300
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
451
301
|
const headers = {};
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "userAccessLoggingSettingsArn", () => input.userAccessLoggingSettingsArn, "{userAccessLoggingSettingsArn+}", true);
|
|
302
|
+
b.bp("/userAccessLoggingSettings/{userAccessLoggingSettingsArn+}");
|
|
303
|
+
b.p("userAccessLoggingSettingsArn", () => input.userAccessLoggingSettingsArn, "{userAccessLoggingSettingsArn+}", true);
|
|
455
304
|
let body;
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
hostname,
|
|
459
|
-
port,
|
|
460
|
-
method: "DELETE",
|
|
461
|
-
headers,
|
|
462
|
-
path: resolvedPath,
|
|
463
|
-
body,
|
|
464
|
-
});
|
|
305
|
+
b.m("DELETE").h(headers).b(body);
|
|
306
|
+
return b.build();
|
|
465
307
|
};
|
|
466
308
|
exports.se_DeleteUserAccessLoggingSettingsCommand = se_DeleteUserAccessLoggingSettingsCommand;
|
|
467
309
|
const se_DeleteUserSettingsCommand = async (input, context) => {
|
|
468
|
-
const
|
|
310
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
469
311
|
const headers = {};
|
|
470
|
-
|
|
471
|
-
|
|
312
|
+
b.bp("/userSettings/{userSettingsArn+}");
|
|
313
|
+
b.p("userSettingsArn", () => input.userSettingsArn, "{userSettingsArn+}", true);
|
|
472
314
|
let body;
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
hostname,
|
|
476
|
-
port,
|
|
477
|
-
method: "DELETE",
|
|
478
|
-
headers,
|
|
479
|
-
path: resolvedPath,
|
|
480
|
-
body,
|
|
481
|
-
});
|
|
315
|
+
b.m("DELETE").h(headers).b(body);
|
|
316
|
+
return b.build();
|
|
482
317
|
};
|
|
483
318
|
exports.se_DeleteUserSettingsCommand = se_DeleteUserSettingsCommand;
|
|
484
319
|
const se_DisassociateBrowserSettingsCommand = async (input, context) => {
|
|
485
|
-
const
|
|
320
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
486
321
|
const headers = {};
|
|
487
|
-
|
|
488
|
-
|
|
322
|
+
b.bp("/portals/{portalArn+}/browserSettings");
|
|
323
|
+
b.p("portalArn", () => input.portalArn, "{portalArn+}", true);
|
|
489
324
|
let body;
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
hostname,
|
|
493
|
-
port,
|
|
494
|
-
method: "DELETE",
|
|
495
|
-
headers,
|
|
496
|
-
path: resolvedPath,
|
|
497
|
-
body,
|
|
498
|
-
});
|
|
325
|
+
b.m("DELETE").h(headers).b(body);
|
|
326
|
+
return b.build();
|
|
499
327
|
};
|
|
500
328
|
exports.se_DisassociateBrowserSettingsCommand = se_DisassociateBrowserSettingsCommand;
|
|
501
329
|
const se_DisassociateIpAccessSettingsCommand = async (input, context) => {
|
|
502
|
-
const
|
|
330
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
503
331
|
const headers = {};
|
|
504
|
-
|
|
505
|
-
|
|
332
|
+
b.bp("/portals/{portalArn+}/ipAccessSettings");
|
|
333
|
+
b.p("portalArn", () => input.portalArn, "{portalArn+}", true);
|
|
506
334
|
let body;
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
hostname,
|
|
510
|
-
port,
|
|
511
|
-
method: "DELETE",
|
|
512
|
-
headers,
|
|
513
|
-
path: resolvedPath,
|
|
514
|
-
body,
|
|
515
|
-
});
|
|
335
|
+
b.m("DELETE").h(headers).b(body);
|
|
336
|
+
return b.build();
|
|
516
337
|
};
|
|
517
338
|
exports.se_DisassociateIpAccessSettingsCommand = se_DisassociateIpAccessSettingsCommand;
|
|
518
339
|
const se_DisassociateNetworkSettingsCommand = async (input, context) => {
|
|
519
|
-
const
|
|
340
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
520
341
|
const headers = {};
|
|
521
|
-
|
|
522
|
-
|
|
342
|
+
b.bp("/portals/{portalArn+}/networkSettings");
|
|
343
|
+
b.p("portalArn", () => input.portalArn, "{portalArn+}", true);
|
|
523
344
|
let body;
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
hostname,
|
|
527
|
-
port,
|
|
528
|
-
method: "DELETE",
|
|
529
|
-
headers,
|
|
530
|
-
path: resolvedPath,
|
|
531
|
-
body,
|
|
532
|
-
});
|
|
345
|
+
b.m("DELETE").h(headers).b(body);
|
|
346
|
+
return b.build();
|
|
533
347
|
};
|
|
534
348
|
exports.se_DisassociateNetworkSettingsCommand = se_DisassociateNetworkSettingsCommand;
|
|
535
349
|
const se_DisassociateTrustStoreCommand = async (input, context) => {
|
|
536
|
-
const
|
|
350
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
537
351
|
const headers = {};
|
|
538
|
-
|
|
539
|
-
|
|
352
|
+
b.bp("/portals/{portalArn+}/trustStores");
|
|
353
|
+
b.p("portalArn", () => input.portalArn, "{portalArn+}", true);
|
|
540
354
|
let body;
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
hostname,
|
|
544
|
-
port,
|
|
545
|
-
method: "DELETE",
|
|
546
|
-
headers,
|
|
547
|
-
path: resolvedPath,
|
|
548
|
-
body,
|
|
549
|
-
});
|
|
355
|
+
b.m("DELETE").h(headers).b(body);
|
|
356
|
+
return b.build();
|
|
550
357
|
};
|
|
551
358
|
exports.se_DisassociateTrustStoreCommand = se_DisassociateTrustStoreCommand;
|
|
552
359
|
const se_DisassociateUserAccessLoggingSettingsCommand = async (input, context) => {
|
|
553
|
-
const
|
|
360
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
554
361
|
const headers = {};
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "portalArn", () => input.portalArn, "{portalArn+}", true);
|
|
362
|
+
b.bp("/portals/{portalArn+}/userAccessLoggingSettings");
|
|
363
|
+
b.p("portalArn", () => input.portalArn, "{portalArn+}", true);
|
|
558
364
|
let body;
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
hostname,
|
|
562
|
-
port,
|
|
563
|
-
method: "DELETE",
|
|
564
|
-
headers,
|
|
565
|
-
path: resolvedPath,
|
|
566
|
-
body,
|
|
567
|
-
});
|
|
365
|
+
b.m("DELETE").h(headers).b(body);
|
|
366
|
+
return b.build();
|
|
568
367
|
};
|
|
569
368
|
exports.se_DisassociateUserAccessLoggingSettingsCommand = se_DisassociateUserAccessLoggingSettingsCommand;
|
|
570
369
|
const se_DisassociateUserSettingsCommand = async (input, context) => {
|
|
571
|
-
const
|
|
370
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
572
371
|
const headers = {};
|
|
573
|
-
|
|
574
|
-
|
|
372
|
+
b.bp("/portals/{portalArn+}/userSettings");
|
|
373
|
+
b.p("portalArn", () => input.portalArn, "{portalArn+}", true);
|
|
575
374
|
let body;
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
hostname,
|
|
579
|
-
port,
|
|
580
|
-
method: "DELETE",
|
|
581
|
-
headers,
|
|
582
|
-
path: resolvedPath,
|
|
583
|
-
body,
|
|
584
|
-
});
|
|
375
|
+
b.m("DELETE").h(headers).b(body);
|
|
376
|
+
return b.build();
|
|
585
377
|
};
|
|
586
378
|
exports.se_DisassociateUserSettingsCommand = se_DisassociateUserSettingsCommand;
|
|
587
379
|
const se_GetBrowserSettingsCommand = async (input, context) => {
|
|
588
|
-
const
|
|
380
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
589
381
|
const headers = {};
|
|
590
|
-
|
|
591
|
-
|
|
382
|
+
b.bp("/browserSettings/{browserSettingsArn+}");
|
|
383
|
+
b.p("browserSettingsArn", () => input.browserSettingsArn, "{browserSettingsArn+}", true);
|
|
592
384
|
let body;
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
hostname,
|
|
596
|
-
port,
|
|
597
|
-
method: "GET",
|
|
598
|
-
headers,
|
|
599
|
-
path: resolvedPath,
|
|
600
|
-
body,
|
|
601
|
-
});
|
|
385
|
+
b.m("GET").h(headers).b(body);
|
|
386
|
+
return b.build();
|
|
602
387
|
};
|
|
603
388
|
exports.se_GetBrowserSettingsCommand = se_GetBrowserSettingsCommand;
|
|
604
389
|
const se_GetIdentityProviderCommand = async (input, context) => {
|
|
605
|
-
const
|
|
390
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
606
391
|
const headers = {};
|
|
607
|
-
|
|
608
|
-
|
|
392
|
+
b.bp("/identityProviders/{identityProviderArn+}");
|
|
393
|
+
b.p("identityProviderArn", () => input.identityProviderArn, "{identityProviderArn+}", true);
|
|
609
394
|
let body;
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
hostname,
|
|
613
|
-
port,
|
|
614
|
-
method: "GET",
|
|
615
|
-
headers,
|
|
616
|
-
path: resolvedPath,
|
|
617
|
-
body,
|
|
618
|
-
});
|
|
395
|
+
b.m("GET").h(headers).b(body);
|
|
396
|
+
return b.build();
|
|
619
397
|
};
|
|
620
398
|
exports.se_GetIdentityProviderCommand = se_GetIdentityProviderCommand;
|
|
621
399
|
const se_GetIpAccessSettingsCommand = async (input, context) => {
|
|
622
|
-
const
|
|
400
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
623
401
|
const headers = {};
|
|
624
|
-
|
|
625
|
-
|
|
402
|
+
b.bp("/ipAccessSettings/{ipAccessSettingsArn+}");
|
|
403
|
+
b.p("ipAccessSettingsArn", () => input.ipAccessSettingsArn, "{ipAccessSettingsArn+}", true);
|
|
626
404
|
let body;
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
hostname,
|
|
630
|
-
port,
|
|
631
|
-
method: "GET",
|
|
632
|
-
headers,
|
|
633
|
-
path: resolvedPath,
|
|
634
|
-
body,
|
|
635
|
-
});
|
|
405
|
+
b.m("GET").h(headers).b(body);
|
|
406
|
+
return b.build();
|
|
636
407
|
};
|
|
637
408
|
exports.se_GetIpAccessSettingsCommand = se_GetIpAccessSettingsCommand;
|
|
638
409
|
const se_GetNetworkSettingsCommand = async (input, context) => {
|
|
639
|
-
const
|
|
410
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
640
411
|
const headers = {};
|
|
641
|
-
|
|
642
|
-
|
|
412
|
+
b.bp("/networkSettings/{networkSettingsArn+}");
|
|
413
|
+
b.p("networkSettingsArn", () => input.networkSettingsArn, "{networkSettingsArn+}", true);
|
|
643
414
|
let body;
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
hostname,
|
|
647
|
-
port,
|
|
648
|
-
method: "GET",
|
|
649
|
-
headers,
|
|
650
|
-
path: resolvedPath,
|
|
651
|
-
body,
|
|
652
|
-
});
|
|
415
|
+
b.m("GET").h(headers).b(body);
|
|
416
|
+
return b.build();
|
|
653
417
|
};
|
|
654
418
|
exports.se_GetNetworkSettingsCommand = se_GetNetworkSettingsCommand;
|
|
655
419
|
const se_GetPortalCommand = async (input, context) => {
|
|
656
|
-
const
|
|
420
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
657
421
|
const headers = {};
|
|
658
|
-
|
|
659
|
-
|
|
422
|
+
b.bp("/portals/{portalArn+}");
|
|
423
|
+
b.p("portalArn", () => input.portalArn, "{portalArn+}", true);
|
|
660
424
|
let body;
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
hostname,
|
|
664
|
-
port,
|
|
665
|
-
method: "GET",
|
|
666
|
-
headers,
|
|
667
|
-
path: resolvedPath,
|
|
668
|
-
body,
|
|
669
|
-
});
|
|
425
|
+
b.m("GET").h(headers).b(body);
|
|
426
|
+
return b.build();
|
|
670
427
|
};
|
|
671
428
|
exports.se_GetPortalCommand = se_GetPortalCommand;
|
|
672
429
|
const se_GetPortalServiceProviderMetadataCommand = async (input, context) => {
|
|
673
|
-
const
|
|
430
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
674
431
|
const headers = {};
|
|
675
|
-
|
|
676
|
-
|
|
432
|
+
b.bp("/portalIdp/{portalArn+}");
|
|
433
|
+
b.p("portalArn", () => input.portalArn, "{portalArn+}", true);
|
|
677
434
|
let body;
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
hostname,
|
|
681
|
-
port,
|
|
682
|
-
method: "GET",
|
|
683
|
-
headers,
|
|
684
|
-
path: resolvedPath,
|
|
685
|
-
body,
|
|
686
|
-
});
|
|
435
|
+
b.m("GET").h(headers).b(body);
|
|
436
|
+
return b.build();
|
|
687
437
|
};
|
|
688
438
|
exports.se_GetPortalServiceProviderMetadataCommand = se_GetPortalServiceProviderMetadataCommand;
|
|
689
439
|
const se_GetTrustStoreCommand = async (input, context) => {
|
|
690
|
-
const
|
|
440
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
691
441
|
const headers = {};
|
|
692
|
-
|
|
693
|
-
|
|
442
|
+
b.bp("/trustStores/{trustStoreArn+}");
|
|
443
|
+
b.p("trustStoreArn", () => input.trustStoreArn, "{trustStoreArn+}", true);
|
|
694
444
|
let body;
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
hostname,
|
|
698
|
-
port,
|
|
699
|
-
method: "GET",
|
|
700
|
-
headers,
|
|
701
|
-
path: resolvedPath,
|
|
702
|
-
body,
|
|
703
|
-
});
|
|
445
|
+
b.m("GET").h(headers).b(body);
|
|
446
|
+
return b.build();
|
|
704
447
|
};
|
|
705
448
|
exports.se_GetTrustStoreCommand = se_GetTrustStoreCommand;
|
|
706
449
|
const se_GetTrustStoreCertificateCommand = async (input, context) => {
|
|
707
|
-
const
|
|
450
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
708
451
|
const headers = {};
|
|
709
|
-
|
|
710
|
-
|
|
452
|
+
b.bp("/trustStores/{trustStoreArn+}/certificate");
|
|
453
|
+
b.p("trustStoreArn", () => input.trustStoreArn, "{trustStoreArn+}", true);
|
|
711
454
|
const query = (0, smithy_client_1.map)({
|
|
712
|
-
|
|
455
|
+
[_t]: [, (0, smithy_client_1.expectNonNull)(input[_t], `thumbprint`)],
|
|
713
456
|
});
|
|
714
457
|
let body;
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
hostname,
|
|
718
|
-
port,
|
|
719
|
-
method: "GET",
|
|
720
|
-
headers,
|
|
721
|
-
path: resolvedPath,
|
|
722
|
-
query,
|
|
723
|
-
body,
|
|
724
|
-
});
|
|
458
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
459
|
+
return b.build();
|
|
725
460
|
};
|
|
726
461
|
exports.se_GetTrustStoreCertificateCommand = se_GetTrustStoreCertificateCommand;
|
|
727
462
|
const se_GetUserAccessLoggingSettingsCommand = async (input, context) => {
|
|
728
|
-
const
|
|
463
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
729
464
|
const headers = {};
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "userAccessLoggingSettingsArn", () => input.userAccessLoggingSettingsArn, "{userAccessLoggingSettingsArn+}", true);
|
|
465
|
+
b.bp("/userAccessLoggingSettings/{userAccessLoggingSettingsArn+}");
|
|
466
|
+
b.p("userAccessLoggingSettingsArn", () => input.userAccessLoggingSettingsArn, "{userAccessLoggingSettingsArn+}", true);
|
|
733
467
|
let body;
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
hostname,
|
|
737
|
-
port,
|
|
738
|
-
method: "GET",
|
|
739
|
-
headers,
|
|
740
|
-
path: resolvedPath,
|
|
741
|
-
body,
|
|
742
|
-
});
|
|
468
|
+
b.m("GET").h(headers).b(body);
|
|
469
|
+
return b.build();
|
|
743
470
|
};
|
|
744
471
|
exports.se_GetUserAccessLoggingSettingsCommand = se_GetUserAccessLoggingSettingsCommand;
|
|
745
472
|
const se_GetUserSettingsCommand = async (input, context) => {
|
|
746
|
-
const
|
|
473
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
747
474
|
const headers = {};
|
|
748
|
-
|
|
749
|
-
|
|
475
|
+
b.bp("/userSettings/{userSettingsArn+}");
|
|
476
|
+
b.p("userSettingsArn", () => input.userSettingsArn, "{userSettingsArn+}", true);
|
|
750
477
|
let body;
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
hostname,
|
|
754
|
-
port,
|
|
755
|
-
method: "GET",
|
|
756
|
-
headers,
|
|
757
|
-
path: resolvedPath,
|
|
758
|
-
body,
|
|
759
|
-
});
|
|
478
|
+
b.m("GET").h(headers).b(body);
|
|
479
|
+
return b.build();
|
|
760
480
|
};
|
|
761
481
|
exports.se_GetUserSettingsCommand = se_GetUserSettingsCommand;
|
|
762
482
|
const se_ListBrowserSettingsCommand = async (input, context) => {
|
|
763
|
-
const
|
|
483
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
764
484
|
const headers = {};
|
|
765
|
-
|
|
485
|
+
b.bp("/browserSettings");
|
|
766
486
|
const query = (0, smithy_client_1.map)({
|
|
767
|
-
|
|
768
|
-
|
|
487
|
+
[_nT]: [, input[_nT]],
|
|
488
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
769
489
|
});
|
|
770
490
|
let body;
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
hostname,
|
|
774
|
-
port,
|
|
775
|
-
method: "GET",
|
|
776
|
-
headers,
|
|
777
|
-
path: resolvedPath,
|
|
778
|
-
query,
|
|
779
|
-
body,
|
|
780
|
-
});
|
|
491
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
492
|
+
return b.build();
|
|
781
493
|
};
|
|
782
494
|
exports.se_ListBrowserSettingsCommand = se_ListBrowserSettingsCommand;
|
|
783
495
|
const se_ListIdentityProvidersCommand = async (input, context) => {
|
|
784
|
-
const
|
|
496
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
785
497
|
const headers = {};
|
|
786
|
-
|
|
787
|
-
|
|
498
|
+
b.bp("/portals/{portalArn+}/identityProviders");
|
|
499
|
+
b.p("portalArn", () => input.portalArn, "{portalArn+}", true);
|
|
788
500
|
const query = (0, smithy_client_1.map)({
|
|
789
|
-
|
|
790
|
-
|
|
501
|
+
[_nT]: [, input[_nT]],
|
|
502
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
791
503
|
});
|
|
792
504
|
let body;
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
hostname,
|
|
796
|
-
port,
|
|
797
|
-
method: "GET",
|
|
798
|
-
headers,
|
|
799
|
-
path: resolvedPath,
|
|
800
|
-
query,
|
|
801
|
-
body,
|
|
802
|
-
});
|
|
505
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
506
|
+
return b.build();
|
|
803
507
|
};
|
|
804
508
|
exports.se_ListIdentityProvidersCommand = se_ListIdentityProvidersCommand;
|
|
805
509
|
const se_ListIpAccessSettingsCommand = async (input, context) => {
|
|
806
|
-
const
|
|
510
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
807
511
|
const headers = {};
|
|
808
|
-
|
|
512
|
+
b.bp("/ipAccessSettings");
|
|
809
513
|
const query = (0, smithy_client_1.map)({
|
|
810
|
-
|
|
811
|
-
|
|
514
|
+
[_nT]: [, input[_nT]],
|
|
515
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
812
516
|
});
|
|
813
517
|
let body;
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
hostname,
|
|
817
|
-
port,
|
|
818
|
-
method: "GET",
|
|
819
|
-
headers,
|
|
820
|
-
path: resolvedPath,
|
|
821
|
-
query,
|
|
822
|
-
body,
|
|
823
|
-
});
|
|
518
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
519
|
+
return b.build();
|
|
824
520
|
};
|
|
825
521
|
exports.se_ListIpAccessSettingsCommand = se_ListIpAccessSettingsCommand;
|
|
826
522
|
const se_ListNetworkSettingsCommand = async (input, context) => {
|
|
827
|
-
const
|
|
523
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
828
524
|
const headers = {};
|
|
829
|
-
|
|
525
|
+
b.bp("/networkSettings");
|
|
830
526
|
const query = (0, smithy_client_1.map)({
|
|
831
|
-
|
|
832
|
-
|
|
527
|
+
[_nT]: [, input[_nT]],
|
|
528
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
833
529
|
});
|
|
834
530
|
let body;
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
hostname,
|
|
838
|
-
port,
|
|
839
|
-
method: "GET",
|
|
840
|
-
headers,
|
|
841
|
-
path: resolvedPath,
|
|
842
|
-
query,
|
|
843
|
-
body,
|
|
844
|
-
});
|
|
531
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
532
|
+
return b.build();
|
|
845
533
|
};
|
|
846
534
|
exports.se_ListNetworkSettingsCommand = se_ListNetworkSettingsCommand;
|
|
847
535
|
const se_ListPortalsCommand = async (input, context) => {
|
|
848
|
-
const
|
|
536
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
849
537
|
const headers = {};
|
|
850
|
-
|
|
538
|
+
b.bp("/portals");
|
|
851
539
|
const query = (0, smithy_client_1.map)({
|
|
852
|
-
|
|
853
|
-
|
|
540
|
+
[_nT]: [, input[_nT]],
|
|
541
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
854
542
|
});
|
|
855
543
|
let body;
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
hostname,
|
|
859
|
-
port,
|
|
860
|
-
method: "GET",
|
|
861
|
-
headers,
|
|
862
|
-
path: resolvedPath,
|
|
863
|
-
query,
|
|
864
|
-
body,
|
|
865
|
-
});
|
|
544
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
545
|
+
return b.build();
|
|
866
546
|
};
|
|
867
547
|
exports.se_ListPortalsCommand = se_ListPortalsCommand;
|
|
868
548
|
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
869
|
-
const
|
|
549
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
870
550
|
const headers = {};
|
|
871
|
-
|
|
872
|
-
|
|
551
|
+
b.bp("/tags/{resourceArn+}");
|
|
552
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn+}", true);
|
|
873
553
|
let body;
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
hostname,
|
|
877
|
-
port,
|
|
878
|
-
method: "GET",
|
|
879
|
-
headers,
|
|
880
|
-
path: resolvedPath,
|
|
881
|
-
body,
|
|
882
|
-
});
|
|
554
|
+
b.m("GET").h(headers).b(body);
|
|
555
|
+
return b.build();
|
|
883
556
|
};
|
|
884
557
|
exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
|
|
885
558
|
const se_ListTrustStoreCertificatesCommand = async (input, context) => {
|
|
886
|
-
const
|
|
559
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
887
560
|
const headers = {};
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "trustStoreArn", () => input.trustStoreArn, "{trustStoreArn+}", true);
|
|
561
|
+
b.bp("/trustStores/{trustStoreArn+}/certificates");
|
|
562
|
+
b.p("trustStoreArn", () => input.trustStoreArn, "{trustStoreArn+}", true);
|
|
891
563
|
const query = (0, smithy_client_1.map)({
|
|
892
|
-
|
|
893
|
-
|
|
564
|
+
[_nT]: [, input[_nT]],
|
|
565
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
894
566
|
});
|
|
895
567
|
let body;
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
hostname,
|
|
899
|
-
port,
|
|
900
|
-
method: "GET",
|
|
901
|
-
headers,
|
|
902
|
-
path: resolvedPath,
|
|
903
|
-
query,
|
|
904
|
-
body,
|
|
905
|
-
});
|
|
568
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
569
|
+
return b.build();
|
|
906
570
|
};
|
|
907
571
|
exports.se_ListTrustStoreCertificatesCommand = se_ListTrustStoreCertificatesCommand;
|
|
908
572
|
const se_ListTrustStoresCommand = async (input, context) => {
|
|
909
|
-
const
|
|
573
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
910
574
|
const headers = {};
|
|
911
|
-
|
|
575
|
+
b.bp("/trustStores");
|
|
912
576
|
const query = (0, smithy_client_1.map)({
|
|
913
|
-
|
|
914
|
-
|
|
577
|
+
[_nT]: [, input[_nT]],
|
|
578
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
915
579
|
});
|
|
916
580
|
let body;
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
hostname,
|
|
920
|
-
port,
|
|
921
|
-
method: "GET",
|
|
922
|
-
headers,
|
|
923
|
-
path: resolvedPath,
|
|
924
|
-
query,
|
|
925
|
-
body,
|
|
926
|
-
});
|
|
581
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
582
|
+
return b.build();
|
|
927
583
|
};
|
|
928
584
|
exports.se_ListTrustStoresCommand = se_ListTrustStoresCommand;
|
|
929
585
|
const se_ListUserAccessLoggingSettingsCommand = async (input, context) => {
|
|
930
|
-
const
|
|
586
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
931
587
|
const headers = {};
|
|
932
|
-
|
|
588
|
+
b.bp("/userAccessLoggingSettings");
|
|
933
589
|
const query = (0, smithy_client_1.map)({
|
|
934
|
-
|
|
935
|
-
|
|
590
|
+
[_nT]: [, input[_nT]],
|
|
591
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
936
592
|
});
|
|
937
593
|
let body;
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
hostname,
|
|
941
|
-
port,
|
|
942
|
-
method: "GET",
|
|
943
|
-
headers,
|
|
944
|
-
path: resolvedPath,
|
|
945
|
-
query,
|
|
946
|
-
body,
|
|
947
|
-
});
|
|
594
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
595
|
+
return b.build();
|
|
948
596
|
};
|
|
949
597
|
exports.se_ListUserAccessLoggingSettingsCommand = se_ListUserAccessLoggingSettingsCommand;
|
|
950
598
|
const se_ListUserSettingsCommand = async (input, context) => {
|
|
951
|
-
const
|
|
599
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
952
600
|
const headers = {};
|
|
953
|
-
|
|
601
|
+
b.bp("/userSettings");
|
|
954
602
|
const query = (0, smithy_client_1.map)({
|
|
955
|
-
|
|
956
|
-
|
|
603
|
+
[_nT]: [, input[_nT]],
|
|
604
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
957
605
|
});
|
|
958
606
|
let body;
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
hostname,
|
|
962
|
-
port,
|
|
963
|
-
method: "GET",
|
|
964
|
-
headers,
|
|
965
|
-
path: resolvedPath,
|
|
966
|
-
query,
|
|
967
|
-
body,
|
|
968
|
-
});
|
|
607
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
608
|
+
return b.build();
|
|
969
609
|
};
|
|
970
610
|
exports.se_ListUserSettingsCommand = se_ListUserSettingsCommand;
|
|
971
611
|
const se_TagResourceCommand = async (input, context) => {
|
|
972
|
-
const
|
|
612
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
973
613
|
const headers = {
|
|
974
614
|
"content-type": "application/json",
|
|
975
615
|
};
|
|
976
|
-
|
|
977
|
-
|
|
616
|
+
b.bp("/tags/{resourceArn+}");
|
|
617
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn+}", true);
|
|
978
618
|
let body;
|
|
979
619
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
980
620
|
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
981
621
|
tags: (_) => (0, smithy_client_1._json)(_),
|
|
982
622
|
}));
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
hostname,
|
|
986
|
-
port,
|
|
987
|
-
method: "POST",
|
|
988
|
-
headers,
|
|
989
|
-
path: resolvedPath,
|
|
990
|
-
body,
|
|
991
|
-
});
|
|
623
|
+
b.m("POST").h(headers).b(body);
|
|
624
|
+
return b.build();
|
|
992
625
|
};
|
|
993
626
|
exports.se_TagResourceCommand = se_TagResourceCommand;
|
|
994
627
|
const se_UntagResourceCommand = async (input, context) => {
|
|
995
|
-
const
|
|
628
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
996
629
|
const headers = {};
|
|
997
|
-
|
|
998
|
-
|
|
630
|
+
b.bp("/tags/{resourceArn+}");
|
|
631
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn+}", true);
|
|
999
632
|
const query = (0, smithy_client_1.map)({
|
|
1000
|
-
|
|
633
|
+
[_tK]: [
|
|
1001
634
|
(0, smithy_client_1.expectNonNull)(input.tagKeys, `tagKeys`) != null,
|
|
1002
|
-
() => (input
|
|
635
|
+
() => (input[_tK] || []).map((_entry) => _entry),
|
|
1003
636
|
],
|
|
1004
637
|
});
|
|
1005
638
|
let body;
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
hostname,
|
|
1009
|
-
port,
|
|
1010
|
-
method: "DELETE",
|
|
1011
|
-
headers,
|
|
1012
|
-
path: resolvedPath,
|
|
1013
|
-
query,
|
|
1014
|
-
body,
|
|
1015
|
-
});
|
|
639
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
640
|
+
return b.build();
|
|
1016
641
|
};
|
|
1017
642
|
exports.se_UntagResourceCommand = se_UntagResourceCommand;
|
|
1018
643
|
const se_UpdateBrowserSettingsCommand = async (input, context) => {
|
|
1019
|
-
const
|
|
644
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1020
645
|
const headers = {
|
|
1021
646
|
"content-type": "application/json",
|
|
1022
647
|
};
|
|
1023
|
-
|
|
1024
|
-
|
|
648
|
+
b.bp("/browserSettings/{browserSettingsArn+}");
|
|
649
|
+
b.p("browserSettingsArn", () => input.browserSettingsArn, "{browserSettingsArn+}", true);
|
|
1025
650
|
let body;
|
|
1026
651
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1027
652
|
browserPolicy: [],
|
|
1028
653
|
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
1029
654
|
}));
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
hostname,
|
|
1033
|
-
port,
|
|
1034
|
-
method: "PATCH",
|
|
1035
|
-
headers,
|
|
1036
|
-
path: resolvedPath,
|
|
1037
|
-
body,
|
|
1038
|
-
});
|
|
655
|
+
b.m("PATCH").h(headers).b(body);
|
|
656
|
+
return b.build();
|
|
1039
657
|
};
|
|
1040
658
|
exports.se_UpdateBrowserSettingsCommand = se_UpdateBrowserSettingsCommand;
|
|
1041
659
|
const se_UpdateIdentityProviderCommand = async (input, context) => {
|
|
1042
|
-
const
|
|
660
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1043
661
|
const headers = {
|
|
1044
662
|
"content-type": "application/json",
|
|
1045
663
|
};
|
|
1046
|
-
|
|
1047
|
-
|
|
664
|
+
b.bp("/identityProviders/{identityProviderArn+}");
|
|
665
|
+
b.p("identityProviderArn", () => input.identityProviderArn, "{identityProviderArn+}", true);
|
|
1048
666
|
let body;
|
|
1049
667
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1050
668
|
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
@@ -1052,24 +670,17 @@ const se_UpdateIdentityProviderCommand = async (input, context) => {
|
|
|
1052
670
|
identityProviderName: [],
|
|
1053
671
|
identityProviderType: [],
|
|
1054
672
|
}));
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
hostname,
|
|
1058
|
-
port,
|
|
1059
|
-
method: "PATCH",
|
|
1060
|
-
headers,
|
|
1061
|
-
path: resolvedPath,
|
|
1062
|
-
body,
|
|
1063
|
-
});
|
|
673
|
+
b.m("PATCH").h(headers).b(body);
|
|
674
|
+
return b.build();
|
|
1064
675
|
};
|
|
1065
676
|
exports.se_UpdateIdentityProviderCommand = se_UpdateIdentityProviderCommand;
|
|
1066
677
|
const se_UpdateIpAccessSettingsCommand = async (input, context) => {
|
|
1067
|
-
const
|
|
678
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1068
679
|
const headers = {
|
|
1069
680
|
"content-type": "application/json",
|
|
1070
681
|
};
|
|
1071
|
-
|
|
1072
|
-
|
|
682
|
+
b.bp("/ipAccessSettings/{ipAccessSettingsArn+}");
|
|
683
|
+
b.p("ipAccessSettingsArn", () => input.ipAccessSettingsArn, "{ipAccessSettingsArn+}", true);
|
|
1073
684
|
let body;
|
|
1074
685
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1075
686
|
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
@@ -1077,24 +688,17 @@ const se_UpdateIpAccessSettingsCommand = async (input, context) => {
|
|
|
1077
688
|
displayName: [],
|
|
1078
689
|
ipRules: (_) => (0, smithy_client_1._json)(_),
|
|
1079
690
|
}));
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
hostname,
|
|
1083
|
-
port,
|
|
1084
|
-
method: "PATCH",
|
|
1085
|
-
headers,
|
|
1086
|
-
path: resolvedPath,
|
|
1087
|
-
body,
|
|
1088
|
-
});
|
|
691
|
+
b.m("PATCH").h(headers).b(body);
|
|
692
|
+
return b.build();
|
|
1089
693
|
};
|
|
1090
694
|
exports.se_UpdateIpAccessSettingsCommand = se_UpdateIpAccessSettingsCommand;
|
|
1091
695
|
const se_UpdateNetworkSettingsCommand = async (input, context) => {
|
|
1092
|
-
const
|
|
696
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1093
697
|
const headers = {
|
|
1094
698
|
"content-type": "application/json",
|
|
1095
699
|
};
|
|
1096
|
-
|
|
1097
|
-
|
|
700
|
+
b.bp("/networkSettings/{networkSettingsArn+}");
|
|
701
|
+
b.p("networkSettingsArn", () => input.networkSettingsArn, "{networkSettingsArn+}", true);
|
|
1098
702
|
let body;
|
|
1099
703
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1100
704
|
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
@@ -1102,95 +706,66 @@ const se_UpdateNetworkSettingsCommand = async (input, context) => {
|
|
|
1102
706
|
subnetIds: (_) => (0, smithy_client_1._json)(_),
|
|
1103
707
|
vpcId: [],
|
|
1104
708
|
}));
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
hostname,
|
|
1108
|
-
port,
|
|
1109
|
-
method: "PATCH",
|
|
1110
|
-
headers,
|
|
1111
|
-
path: resolvedPath,
|
|
1112
|
-
body,
|
|
1113
|
-
});
|
|
709
|
+
b.m("PATCH").h(headers).b(body);
|
|
710
|
+
return b.build();
|
|
1114
711
|
};
|
|
1115
712
|
exports.se_UpdateNetworkSettingsCommand = se_UpdateNetworkSettingsCommand;
|
|
1116
713
|
const se_UpdatePortalCommand = async (input, context) => {
|
|
1117
|
-
const
|
|
714
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1118
715
|
const headers = {
|
|
1119
716
|
"content-type": "application/json",
|
|
1120
717
|
};
|
|
1121
|
-
|
|
1122
|
-
|
|
718
|
+
b.bp("/portals/{portalArn+}");
|
|
719
|
+
b.p("portalArn", () => input.portalArn, "{portalArn+}", true);
|
|
1123
720
|
let body;
|
|
1124
721
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1125
722
|
authenticationType: [],
|
|
1126
723
|
displayName: [],
|
|
1127
724
|
}));
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
hostname,
|
|
1131
|
-
port,
|
|
1132
|
-
method: "PUT",
|
|
1133
|
-
headers,
|
|
1134
|
-
path: resolvedPath,
|
|
1135
|
-
body,
|
|
1136
|
-
});
|
|
725
|
+
b.m("PUT").h(headers).b(body);
|
|
726
|
+
return b.build();
|
|
1137
727
|
};
|
|
1138
728
|
exports.se_UpdatePortalCommand = se_UpdatePortalCommand;
|
|
1139
729
|
const se_UpdateTrustStoreCommand = async (input, context) => {
|
|
1140
|
-
const
|
|
730
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1141
731
|
const headers = {
|
|
1142
732
|
"content-type": "application/json",
|
|
1143
733
|
};
|
|
1144
|
-
|
|
1145
|
-
|
|
734
|
+
b.bp("/trustStores/{trustStoreArn+}");
|
|
735
|
+
b.p("trustStoreArn", () => input.trustStoreArn, "{trustStoreArn+}", true);
|
|
1146
736
|
let body;
|
|
1147
737
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1148
738
|
certificatesToAdd: (_) => se_CertificateList(_, context),
|
|
1149
739
|
certificatesToDelete: (_) => (0, smithy_client_1._json)(_),
|
|
1150
740
|
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
1151
741
|
}));
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
hostname,
|
|
1155
|
-
port,
|
|
1156
|
-
method: "PATCH",
|
|
1157
|
-
headers,
|
|
1158
|
-
path: resolvedPath,
|
|
1159
|
-
body,
|
|
1160
|
-
});
|
|
742
|
+
b.m("PATCH").h(headers).b(body);
|
|
743
|
+
return b.build();
|
|
1161
744
|
};
|
|
1162
745
|
exports.se_UpdateTrustStoreCommand = se_UpdateTrustStoreCommand;
|
|
1163
746
|
const se_UpdateUserAccessLoggingSettingsCommand = async (input, context) => {
|
|
1164
|
-
const
|
|
747
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1165
748
|
const headers = {
|
|
1166
749
|
"content-type": "application/json",
|
|
1167
750
|
};
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "userAccessLoggingSettingsArn", () => input.userAccessLoggingSettingsArn, "{userAccessLoggingSettingsArn+}", true);
|
|
751
|
+
b.bp("/userAccessLoggingSettings/{userAccessLoggingSettingsArn+}");
|
|
752
|
+
b.p("userAccessLoggingSettingsArn", () => input.userAccessLoggingSettingsArn, "{userAccessLoggingSettingsArn+}", true);
|
|
1171
753
|
let body;
|
|
1172
754
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1173
755
|
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
1174
756
|
kinesisStreamArn: [],
|
|
1175
757
|
}));
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
hostname,
|
|
1179
|
-
port,
|
|
1180
|
-
method: "PATCH",
|
|
1181
|
-
headers,
|
|
1182
|
-
path: resolvedPath,
|
|
1183
|
-
body,
|
|
1184
|
-
});
|
|
758
|
+
b.m("PATCH").h(headers).b(body);
|
|
759
|
+
return b.build();
|
|
1185
760
|
};
|
|
1186
761
|
exports.se_UpdateUserAccessLoggingSettingsCommand = se_UpdateUserAccessLoggingSettingsCommand;
|
|
1187
762
|
const se_UpdateUserSettingsCommand = async (input, context) => {
|
|
1188
|
-
const
|
|
763
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1189
764
|
const headers = {
|
|
1190
765
|
"content-type": "application/json",
|
|
1191
766
|
};
|
|
1192
|
-
|
|
1193
|
-
|
|
767
|
+
b.bp("/userSettings/{userSettingsArn+}");
|
|
768
|
+
b.p("userSettingsArn", () => input.userSettingsArn, "{userSettingsArn+}", true);
|
|
1194
769
|
let body;
|
|
1195
770
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1196
771
|
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
@@ -1203,15 +778,8 @@ const se_UpdateUserSettingsCommand = async (input, context) => {
|
|
|
1203
778
|
printAllowed: [],
|
|
1204
779
|
uploadAllowed: [],
|
|
1205
780
|
}));
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
hostname,
|
|
1209
|
-
port,
|
|
1210
|
-
method: "PATCH",
|
|
1211
|
-
headers,
|
|
1212
|
-
path: resolvedPath,
|
|
1213
|
-
body,
|
|
1214
|
-
});
|
|
781
|
+
b.m("PATCH").h(headers).b(body);
|
|
782
|
+
return b.build();
|
|
1215
783
|
};
|
|
1216
784
|
exports.se_UpdateUserSettingsCommand = se_UpdateUserSettingsCommand;
|
|
1217
785
|
const de_AssociateBrowserSettingsCommand = async (output, context) => {
|
|
@@ -3901,10 +3469,7 @@ const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
|
3901
3469
|
};
|
|
3902
3470
|
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
3903
3471
|
const contents = (0, smithy_client_1.map)({
|
|
3904
|
-
|
|
3905
|
-
() => void 0 !== parsedOutput.headers["retry-after"],
|
|
3906
|
-
() => (0, smithy_client_1.strictParseInt32)(parsedOutput.headers["retry-after"]),
|
|
3907
|
-
],
|
|
3472
|
+
[_rAS]: [() => void 0 !== parsedOutput.headers[_ra], () => (0, smithy_client_1.strictParseInt32)(parsedOutput.headers[_ra])],
|
|
3908
3473
|
});
|
|
3909
3474
|
const data = parsedOutput.body;
|
|
3910
3475
|
const doc = (0, smithy_client_1.take)(data, {
|
|
@@ -3951,10 +3516,7 @@ const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
|
3951
3516
|
};
|
|
3952
3517
|
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
3953
3518
|
const contents = (0, smithy_client_1.map)({
|
|
3954
|
-
|
|
3955
|
-
() => void 0 !== parsedOutput.headers["retry-after"],
|
|
3956
|
-
() => (0, smithy_client_1.strictParseInt32)(parsedOutput.headers["retry-after"]),
|
|
3957
|
-
],
|
|
3519
|
+
[_rAS]: [() => void 0 !== parsedOutput.headers[_ra], () => (0, smithy_client_1.strictParseInt32)(parsedOutput.headers[_ra])],
|
|
3958
3520
|
});
|
|
3959
3521
|
const data = parsedOutput.body;
|
|
3960
3522
|
const doc = (0, smithy_client_1.take)(data, {
|
|
@@ -4115,6 +3677,18 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
|
4115
3677
|
value !== "" &&
|
|
4116
3678
|
(!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
|
|
4117
3679
|
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
3680
|
+
const _bSA = "browserSettingsArn";
|
|
3681
|
+
const _iASA = "ipAccessSettingsArn";
|
|
3682
|
+
const _mR = "maxResults";
|
|
3683
|
+
const _nSA = "networkSettingsArn";
|
|
3684
|
+
const _nT = "nextToken";
|
|
3685
|
+
const _rAS = "retryAfterSeconds";
|
|
3686
|
+
const _ra = "retry-after";
|
|
3687
|
+
const _t = "thumbprint";
|
|
3688
|
+
const _tK = "tagKeys";
|
|
3689
|
+
const _tSA = "trustStoreArn";
|
|
3690
|
+
const _uALSA = "userAccessLoggingSettingsArn";
|
|
3691
|
+
const _uSA = "userSettingsArn";
|
|
4118
3692
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
4119
3693
|
if (encoded.length) {
|
|
4120
3694
|
return JSON.parse(encoded);
|