@aws-sdk/client-iam 3.310.0 → 3.312.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_query.js +161 -474
- package/dist-es/protocols/Aws_query.js +161 -474
- package/package.json +2 -2
|
@@ -5,9 +5,7 @@ import { IAMServiceException as __BaseException } from "../models/IAMServiceExce
|
|
|
5
5
|
import { ConcurrentModificationException, CredentialReportExpiredException, CredentialReportNotPresentException, CredentialReportNotReadyException, DeleteConflictException, EntityAlreadyExistsException, EntityTemporarilyUnmodifiableException, InvalidAuthenticationCodeException, InvalidInputException, InvalidUserTypeException, LimitExceededException, MalformedPolicyDocumentException, NoSuchEntityException, PasswordPolicyViolationException, PolicyEvaluationException, PolicyNotAttachableException, ReportGenerationLimitExceededException, ServiceFailureException, ServiceNotSupportedException, UnmodifiableEntityException, UnrecognizedPublicKeyEncodingException, } from "../models/models_0";
|
|
6
6
|
import { DuplicateCertificateException, DuplicateSSHPublicKeyException, InvalidCertificateException, InvalidPublicKeyException, KeyPairMismatchException, MalformedCertificateException, } from "../models/models_1";
|
|
7
7
|
export const se_AddClientIDToOpenIDConnectProviderCommand = async (input, context) => {
|
|
8
|
-
const headers =
|
|
9
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
10
|
-
};
|
|
8
|
+
const headers = SHARED_HEADERS;
|
|
11
9
|
let body;
|
|
12
10
|
body = buildFormUrlencodedString({
|
|
13
11
|
...se_AddClientIDToOpenIDConnectProviderRequest(input, context),
|
|
@@ -17,9 +15,7 @@ export const se_AddClientIDToOpenIDConnectProviderCommand = async (input, contex
|
|
|
17
15
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
18
16
|
};
|
|
19
17
|
export const se_AddRoleToInstanceProfileCommand = async (input, context) => {
|
|
20
|
-
const headers =
|
|
21
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
22
|
-
};
|
|
18
|
+
const headers = SHARED_HEADERS;
|
|
23
19
|
let body;
|
|
24
20
|
body = buildFormUrlencodedString({
|
|
25
21
|
...se_AddRoleToInstanceProfileRequest(input, context),
|
|
@@ -29,9 +25,7 @@ export const se_AddRoleToInstanceProfileCommand = async (input, context) => {
|
|
|
29
25
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
30
26
|
};
|
|
31
27
|
export const se_AddUserToGroupCommand = async (input, context) => {
|
|
32
|
-
const headers =
|
|
33
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
34
|
-
};
|
|
28
|
+
const headers = SHARED_HEADERS;
|
|
35
29
|
let body;
|
|
36
30
|
body = buildFormUrlencodedString({
|
|
37
31
|
...se_AddUserToGroupRequest(input, context),
|
|
@@ -41,9 +35,7 @@ export const se_AddUserToGroupCommand = async (input, context) => {
|
|
|
41
35
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
42
36
|
};
|
|
43
37
|
export const se_AttachGroupPolicyCommand = async (input, context) => {
|
|
44
|
-
const headers =
|
|
45
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
46
|
-
};
|
|
38
|
+
const headers = SHARED_HEADERS;
|
|
47
39
|
let body;
|
|
48
40
|
body = buildFormUrlencodedString({
|
|
49
41
|
...se_AttachGroupPolicyRequest(input, context),
|
|
@@ -53,9 +45,7 @@ export const se_AttachGroupPolicyCommand = async (input, context) => {
|
|
|
53
45
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
54
46
|
};
|
|
55
47
|
export const se_AttachRolePolicyCommand = async (input, context) => {
|
|
56
|
-
const headers =
|
|
57
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
58
|
-
};
|
|
48
|
+
const headers = SHARED_HEADERS;
|
|
59
49
|
let body;
|
|
60
50
|
body = buildFormUrlencodedString({
|
|
61
51
|
...se_AttachRolePolicyRequest(input, context),
|
|
@@ -65,9 +55,7 @@ export const se_AttachRolePolicyCommand = async (input, context) => {
|
|
|
65
55
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
66
56
|
};
|
|
67
57
|
export const se_AttachUserPolicyCommand = async (input, context) => {
|
|
68
|
-
const headers =
|
|
69
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
70
|
-
};
|
|
58
|
+
const headers = SHARED_HEADERS;
|
|
71
59
|
let body;
|
|
72
60
|
body = buildFormUrlencodedString({
|
|
73
61
|
...se_AttachUserPolicyRequest(input, context),
|
|
@@ -77,9 +65,7 @@ export const se_AttachUserPolicyCommand = async (input, context) => {
|
|
|
77
65
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
78
66
|
};
|
|
79
67
|
export const se_ChangePasswordCommand = async (input, context) => {
|
|
80
|
-
const headers =
|
|
81
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
82
|
-
};
|
|
68
|
+
const headers = SHARED_HEADERS;
|
|
83
69
|
let body;
|
|
84
70
|
body = buildFormUrlencodedString({
|
|
85
71
|
...se_ChangePasswordRequest(input, context),
|
|
@@ -89,9 +75,7 @@ export const se_ChangePasswordCommand = async (input, context) => {
|
|
|
89
75
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
90
76
|
};
|
|
91
77
|
export const se_CreateAccessKeyCommand = async (input, context) => {
|
|
92
|
-
const headers =
|
|
93
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
94
|
-
};
|
|
78
|
+
const headers = SHARED_HEADERS;
|
|
95
79
|
let body;
|
|
96
80
|
body = buildFormUrlencodedString({
|
|
97
81
|
...se_CreateAccessKeyRequest(input, context),
|
|
@@ -101,9 +85,7 @@ export const se_CreateAccessKeyCommand = async (input, context) => {
|
|
|
101
85
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
102
86
|
};
|
|
103
87
|
export const se_CreateAccountAliasCommand = async (input, context) => {
|
|
104
|
-
const headers =
|
|
105
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
106
|
-
};
|
|
88
|
+
const headers = SHARED_HEADERS;
|
|
107
89
|
let body;
|
|
108
90
|
body = buildFormUrlencodedString({
|
|
109
91
|
...se_CreateAccountAliasRequest(input, context),
|
|
@@ -113,9 +95,7 @@ export const se_CreateAccountAliasCommand = async (input, context) => {
|
|
|
113
95
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
114
96
|
};
|
|
115
97
|
export const se_CreateGroupCommand = async (input, context) => {
|
|
116
|
-
const headers =
|
|
117
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
118
|
-
};
|
|
98
|
+
const headers = SHARED_HEADERS;
|
|
119
99
|
let body;
|
|
120
100
|
body = buildFormUrlencodedString({
|
|
121
101
|
...se_CreateGroupRequest(input, context),
|
|
@@ -125,9 +105,7 @@ export const se_CreateGroupCommand = async (input, context) => {
|
|
|
125
105
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
126
106
|
};
|
|
127
107
|
export const se_CreateInstanceProfileCommand = async (input, context) => {
|
|
128
|
-
const headers =
|
|
129
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
130
|
-
};
|
|
108
|
+
const headers = SHARED_HEADERS;
|
|
131
109
|
let body;
|
|
132
110
|
body = buildFormUrlencodedString({
|
|
133
111
|
...se_CreateInstanceProfileRequest(input, context),
|
|
@@ -137,9 +115,7 @@ export const se_CreateInstanceProfileCommand = async (input, context) => {
|
|
|
137
115
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
138
116
|
};
|
|
139
117
|
export const se_CreateLoginProfileCommand = async (input, context) => {
|
|
140
|
-
const headers =
|
|
141
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
142
|
-
};
|
|
118
|
+
const headers = SHARED_HEADERS;
|
|
143
119
|
let body;
|
|
144
120
|
body = buildFormUrlencodedString({
|
|
145
121
|
...se_CreateLoginProfileRequest(input, context),
|
|
@@ -149,9 +125,7 @@ export const se_CreateLoginProfileCommand = async (input, context) => {
|
|
|
149
125
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
150
126
|
};
|
|
151
127
|
export const se_CreateOpenIDConnectProviderCommand = async (input, context) => {
|
|
152
|
-
const headers =
|
|
153
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
154
|
-
};
|
|
128
|
+
const headers = SHARED_HEADERS;
|
|
155
129
|
let body;
|
|
156
130
|
body = buildFormUrlencodedString({
|
|
157
131
|
...se_CreateOpenIDConnectProviderRequest(input, context),
|
|
@@ -161,9 +135,7 @@ export const se_CreateOpenIDConnectProviderCommand = async (input, context) => {
|
|
|
161
135
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
162
136
|
};
|
|
163
137
|
export const se_CreatePolicyCommand = async (input, context) => {
|
|
164
|
-
const headers =
|
|
165
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
166
|
-
};
|
|
138
|
+
const headers = SHARED_HEADERS;
|
|
167
139
|
let body;
|
|
168
140
|
body = buildFormUrlencodedString({
|
|
169
141
|
...se_CreatePolicyRequest(input, context),
|
|
@@ -173,9 +145,7 @@ export const se_CreatePolicyCommand = async (input, context) => {
|
|
|
173
145
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
174
146
|
};
|
|
175
147
|
export const se_CreatePolicyVersionCommand = async (input, context) => {
|
|
176
|
-
const headers =
|
|
177
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
178
|
-
};
|
|
148
|
+
const headers = SHARED_HEADERS;
|
|
179
149
|
let body;
|
|
180
150
|
body = buildFormUrlencodedString({
|
|
181
151
|
...se_CreatePolicyVersionRequest(input, context),
|
|
@@ -185,9 +155,7 @@ export const se_CreatePolicyVersionCommand = async (input, context) => {
|
|
|
185
155
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
186
156
|
};
|
|
187
157
|
export const se_CreateRoleCommand = async (input, context) => {
|
|
188
|
-
const headers =
|
|
189
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
190
|
-
};
|
|
158
|
+
const headers = SHARED_HEADERS;
|
|
191
159
|
let body;
|
|
192
160
|
body = buildFormUrlencodedString({
|
|
193
161
|
...se_CreateRoleRequest(input, context),
|
|
@@ -197,9 +165,7 @@ export const se_CreateRoleCommand = async (input, context) => {
|
|
|
197
165
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
198
166
|
};
|
|
199
167
|
export const se_CreateSAMLProviderCommand = async (input, context) => {
|
|
200
|
-
const headers =
|
|
201
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
202
|
-
};
|
|
168
|
+
const headers = SHARED_HEADERS;
|
|
203
169
|
let body;
|
|
204
170
|
body = buildFormUrlencodedString({
|
|
205
171
|
...se_CreateSAMLProviderRequest(input, context),
|
|
@@ -209,9 +175,7 @@ export const se_CreateSAMLProviderCommand = async (input, context) => {
|
|
|
209
175
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
210
176
|
};
|
|
211
177
|
export const se_CreateServiceLinkedRoleCommand = async (input, context) => {
|
|
212
|
-
const headers =
|
|
213
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
214
|
-
};
|
|
178
|
+
const headers = SHARED_HEADERS;
|
|
215
179
|
let body;
|
|
216
180
|
body = buildFormUrlencodedString({
|
|
217
181
|
...se_CreateServiceLinkedRoleRequest(input, context),
|
|
@@ -221,9 +185,7 @@ export const se_CreateServiceLinkedRoleCommand = async (input, context) => {
|
|
|
221
185
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
222
186
|
};
|
|
223
187
|
export const se_CreateServiceSpecificCredentialCommand = async (input, context) => {
|
|
224
|
-
const headers =
|
|
225
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
226
|
-
};
|
|
188
|
+
const headers = SHARED_HEADERS;
|
|
227
189
|
let body;
|
|
228
190
|
body = buildFormUrlencodedString({
|
|
229
191
|
...se_CreateServiceSpecificCredentialRequest(input, context),
|
|
@@ -233,9 +195,7 @@ export const se_CreateServiceSpecificCredentialCommand = async (input, context)
|
|
|
233
195
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
234
196
|
};
|
|
235
197
|
export const se_CreateUserCommand = async (input, context) => {
|
|
236
|
-
const headers =
|
|
237
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
238
|
-
};
|
|
198
|
+
const headers = SHARED_HEADERS;
|
|
239
199
|
let body;
|
|
240
200
|
body = buildFormUrlencodedString({
|
|
241
201
|
...se_CreateUserRequest(input, context),
|
|
@@ -245,9 +205,7 @@ export const se_CreateUserCommand = async (input, context) => {
|
|
|
245
205
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
246
206
|
};
|
|
247
207
|
export const se_CreateVirtualMFADeviceCommand = async (input, context) => {
|
|
248
|
-
const headers =
|
|
249
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
250
|
-
};
|
|
208
|
+
const headers = SHARED_HEADERS;
|
|
251
209
|
let body;
|
|
252
210
|
body = buildFormUrlencodedString({
|
|
253
211
|
...se_CreateVirtualMFADeviceRequest(input, context),
|
|
@@ -257,9 +215,7 @@ export const se_CreateVirtualMFADeviceCommand = async (input, context) => {
|
|
|
257
215
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
258
216
|
};
|
|
259
217
|
export const se_DeactivateMFADeviceCommand = async (input, context) => {
|
|
260
|
-
const headers =
|
|
261
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
262
|
-
};
|
|
218
|
+
const headers = SHARED_HEADERS;
|
|
263
219
|
let body;
|
|
264
220
|
body = buildFormUrlencodedString({
|
|
265
221
|
...se_DeactivateMFADeviceRequest(input, context),
|
|
@@ -269,9 +225,7 @@ export const se_DeactivateMFADeviceCommand = async (input, context) => {
|
|
|
269
225
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
270
226
|
};
|
|
271
227
|
export const se_DeleteAccessKeyCommand = async (input, context) => {
|
|
272
|
-
const headers =
|
|
273
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
274
|
-
};
|
|
228
|
+
const headers = SHARED_HEADERS;
|
|
275
229
|
let body;
|
|
276
230
|
body = buildFormUrlencodedString({
|
|
277
231
|
...se_DeleteAccessKeyRequest(input, context),
|
|
@@ -281,9 +235,7 @@ export const se_DeleteAccessKeyCommand = async (input, context) => {
|
|
|
281
235
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
282
236
|
};
|
|
283
237
|
export const se_DeleteAccountAliasCommand = async (input, context) => {
|
|
284
|
-
const headers =
|
|
285
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
286
|
-
};
|
|
238
|
+
const headers = SHARED_HEADERS;
|
|
287
239
|
let body;
|
|
288
240
|
body = buildFormUrlencodedString({
|
|
289
241
|
...se_DeleteAccountAliasRequest(input, context),
|
|
@@ -293,9 +245,7 @@ export const se_DeleteAccountAliasCommand = async (input, context) => {
|
|
|
293
245
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
294
246
|
};
|
|
295
247
|
export const se_DeleteAccountPasswordPolicyCommand = async (input, context) => {
|
|
296
|
-
const headers =
|
|
297
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
298
|
-
};
|
|
248
|
+
const headers = SHARED_HEADERS;
|
|
299
249
|
const body = buildFormUrlencodedString({
|
|
300
250
|
Action: "DeleteAccountPasswordPolicy",
|
|
301
251
|
Version: "2010-05-08",
|
|
@@ -303,9 +253,7 @@ export const se_DeleteAccountPasswordPolicyCommand = async (input, context) => {
|
|
|
303
253
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
304
254
|
};
|
|
305
255
|
export const se_DeleteGroupCommand = async (input, context) => {
|
|
306
|
-
const headers =
|
|
307
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
308
|
-
};
|
|
256
|
+
const headers = SHARED_HEADERS;
|
|
309
257
|
let body;
|
|
310
258
|
body = buildFormUrlencodedString({
|
|
311
259
|
...se_DeleteGroupRequest(input, context),
|
|
@@ -315,9 +263,7 @@ export const se_DeleteGroupCommand = async (input, context) => {
|
|
|
315
263
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
316
264
|
};
|
|
317
265
|
export const se_DeleteGroupPolicyCommand = async (input, context) => {
|
|
318
|
-
const headers =
|
|
319
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
320
|
-
};
|
|
266
|
+
const headers = SHARED_HEADERS;
|
|
321
267
|
let body;
|
|
322
268
|
body = buildFormUrlencodedString({
|
|
323
269
|
...se_DeleteGroupPolicyRequest(input, context),
|
|
@@ -327,9 +273,7 @@ export const se_DeleteGroupPolicyCommand = async (input, context) => {
|
|
|
327
273
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
328
274
|
};
|
|
329
275
|
export const se_DeleteInstanceProfileCommand = async (input, context) => {
|
|
330
|
-
const headers =
|
|
331
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
332
|
-
};
|
|
276
|
+
const headers = SHARED_HEADERS;
|
|
333
277
|
let body;
|
|
334
278
|
body = buildFormUrlencodedString({
|
|
335
279
|
...se_DeleteInstanceProfileRequest(input, context),
|
|
@@ -339,9 +283,7 @@ export const se_DeleteInstanceProfileCommand = async (input, context) => {
|
|
|
339
283
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
340
284
|
};
|
|
341
285
|
export const se_DeleteLoginProfileCommand = async (input, context) => {
|
|
342
|
-
const headers =
|
|
343
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
344
|
-
};
|
|
286
|
+
const headers = SHARED_HEADERS;
|
|
345
287
|
let body;
|
|
346
288
|
body = buildFormUrlencodedString({
|
|
347
289
|
...se_DeleteLoginProfileRequest(input, context),
|
|
@@ -351,9 +293,7 @@ export const se_DeleteLoginProfileCommand = async (input, context) => {
|
|
|
351
293
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
352
294
|
};
|
|
353
295
|
export const se_DeleteOpenIDConnectProviderCommand = async (input, context) => {
|
|
354
|
-
const headers =
|
|
355
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
356
|
-
};
|
|
296
|
+
const headers = SHARED_HEADERS;
|
|
357
297
|
let body;
|
|
358
298
|
body = buildFormUrlencodedString({
|
|
359
299
|
...se_DeleteOpenIDConnectProviderRequest(input, context),
|
|
@@ -363,9 +303,7 @@ export const se_DeleteOpenIDConnectProviderCommand = async (input, context) => {
|
|
|
363
303
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
364
304
|
};
|
|
365
305
|
export const se_DeletePolicyCommand = async (input, context) => {
|
|
366
|
-
const headers =
|
|
367
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
368
|
-
};
|
|
306
|
+
const headers = SHARED_HEADERS;
|
|
369
307
|
let body;
|
|
370
308
|
body = buildFormUrlencodedString({
|
|
371
309
|
...se_DeletePolicyRequest(input, context),
|
|
@@ -375,9 +313,7 @@ export const se_DeletePolicyCommand = async (input, context) => {
|
|
|
375
313
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
376
314
|
};
|
|
377
315
|
export const se_DeletePolicyVersionCommand = async (input, context) => {
|
|
378
|
-
const headers =
|
|
379
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
380
|
-
};
|
|
316
|
+
const headers = SHARED_HEADERS;
|
|
381
317
|
let body;
|
|
382
318
|
body = buildFormUrlencodedString({
|
|
383
319
|
...se_DeletePolicyVersionRequest(input, context),
|
|
@@ -387,9 +323,7 @@ export const se_DeletePolicyVersionCommand = async (input, context) => {
|
|
|
387
323
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
388
324
|
};
|
|
389
325
|
export const se_DeleteRoleCommand = async (input, context) => {
|
|
390
|
-
const headers =
|
|
391
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
392
|
-
};
|
|
326
|
+
const headers = SHARED_HEADERS;
|
|
393
327
|
let body;
|
|
394
328
|
body = buildFormUrlencodedString({
|
|
395
329
|
...se_DeleteRoleRequest(input, context),
|
|
@@ -399,9 +333,7 @@ export const se_DeleteRoleCommand = async (input, context) => {
|
|
|
399
333
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
400
334
|
};
|
|
401
335
|
export const se_DeleteRolePermissionsBoundaryCommand = async (input, context) => {
|
|
402
|
-
const headers =
|
|
403
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
404
|
-
};
|
|
336
|
+
const headers = SHARED_HEADERS;
|
|
405
337
|
let body;
|
|
406
338
|
body = buildFormUrlencodedString({
|
|
407
339
|
...se_DeleteRolePermissionsBoundaryRequest(input, context),
|
|
@@ -411,9 +343,7 @@ export const se_DeleteRolePermissionsBoundaryCommand = async (input, context) =>
|
|
|
411
343
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
412
344
|
};
|
|
413
345
|
export const se_DeleteRolePolicyCommand = async (input, context) => {
|
|
414
|
-
const headers =
|
|
415
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
416
|
-
};
|
|
346
|
+
const headers = SHARED_HEADERS;
|
|
417
347
|
let body;
|
|
418
348
|
body = buildFormUrlencodedString({
|
|
419
349
|
...se_DeleteRolePolicyRequest(input, context),
|
|
@@ -423,9 +353,7 @@ export const se_DeleteRolePolicyCommand = async (input, context) => {
|
|
|
423
353
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
424
354
|
};
|
|
425
355
|
export const se_DeleteSAMLProviderCommand = async (input, context) => {
|
|
426
|
-
const headers =
|
|
427
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
428
|
-
};
|
|
356
|
+
const headers = SHARED_HEADERS;
|
|
429
357
|
let body;
|
|
430
358
|
body = buildFormUrlencodedString({
|
|
431
359
|
...se_DeleteSAMLProviderRequest(input, context),
|
|
@@ -435,9 +363,7 @@ export const se_DeleteSAMLProviderCommand = async (input, context) => {
|
|
|
435
363
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
436
364
|
};
|
|
437
365
|
export const se_DeleteServerCertificateCommand = async (input, context) => {
|
|
438
|
-
const headers =
|
|
439
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
440
|
-
};
|
|
366
|
+
const headers = SHARED_HEADERS;
|
|
441
367
|
let body;
|
|
442
368
|
body = buildFormUrlencodedString({
|
|
443
369
|
...se_DeleteServerCertificateRequest(input, context),
|
|
@@ -447,9 +373,7 @@ export const se_DeleteServerCertificateCommand = async (input, context) => {
|
|
|
447
373
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
448
374
|
};
|
|
449
375
|
export const se_DeleteServiceLinkedRoleCommand = async (input, context) => {
|
|
450
|
-
const headers =
|
|
451
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
452
|
-
};
|
|
376
|
+
const headers = SHARED_HEADERS;
|
|
453
377
|
let body;
|
|
454
378
|
body = buildFormUrlencodedString({
|
|
455
379
|
...se_DeleteServiceLinkedRoleRequest(input, context),
|
|
@@ -459,9 +383,7 @@ export const se_DeleteServiceLinkedRoleCommand = async (input, context) => {
|
|
|
459
383
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
460
384
|
};
|
|
461
385
|
export const se_DeleteServiceSpecificCredentialCommand = async (input, context) => {
|
|
462
|
-
const headers =
|
|
463
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
464
|
-
};
|
|
386
|
+
const headers = SHARED_HEADERS;
|
|
465
387
|
let body;
|
|
466
388
|
body = buildFormUrlencodedString({
|
|
467
389
|
...se_DeleteServiceSpecificCredentialRequest(input, context),
|
|
@@ -471,9 +393,7 @@ export const se_DeleteServiceSpecificCredentialCommand = async (input, context)
|
|
|
471
393
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
472
394
|
};
|
|
473
395
|
export const se_DeleteSigningCertificateCommand = async (input, context) => {
|
|
474
|
-
const headers =
|
|
475
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
476
|
-
};
|
|
396
|
+
const headers = SHARED_HEADERS;
|
|
477
397
|
let body;
|
|
478
398
|
body = buildFormUrlencodedString({
|
|
479
399
|
...se_DeleteSigningCertificateRequest(input, context),
|
|
@@ -483,9 +403,7 @@ export const se_DeleteSigningCertificateCommand = async (input, context) => {
|
|
|
483
403
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
484
404
|
};
|
|
485
405
|
export const se_DeleteSSHPublicKeyCommand = async (input, context) => {
|
|
486
|
-
const headers =
|
|
487
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
488
|
-
};
|
|
406
|
+
const headers = SHARED_HEADERS;
|
|
489
407
|
let body;
|
|
490
408
|
body = buildFormUrlencodedString({
|
|
491
409
|
...se_DeleteSSHPublicKeyRequest(input, context),
|
|
@@ -495,9 +413,7 @@ export const se_DeleteSSHPublicKeyCommand = async (input, context) => {
|
|
|
495
413
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
496
414
|
};
|
|
497
415
|
export const se_DeleteUserCommand = async (input, context) => {
|
|
498
|
-
const headers =
|
|
499
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
500
|
-
};
|
|
416
|
+
const headers = SHARED_HEADERS;
|
|
501
417
|
let body;
|
|
502
418
|
body = buildFormUrlencodedString({
|
|
503
419
|
...se_DeleteUserRequest(input, context),
|
|
@@ -507,9 +423,7 @@ export const se_DeleteUserCommand = async (input, context) => {
|
|
|
507
423
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
508
424
|
};
|
|
509
425
|
export const se_DeleteUserPermissionsBoundaryCommand = async (input, context) => {
|
|
510
|
-
const headers =
|
|
511
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
512
|
-
};
|
|
426
|
+
const headers = SHARED_HEADERS;
|
|
513
427
|
let body;
|
|
514
428
|
body = buildFormUrlencodedString({
|
|
515
429
|
...se_DeleteUserPermissionsBoundaryRequest(input, context),
|
|
@@ -519,9 +433,7 @@ export const se_DeleteUserPermissionsBoundaryCommand = async (input, context) =>
|
|
|
519
433
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
520
434
|
};
|
|
521
435
|
export const se_DeleteUserPolicyCommand = async (input, context) => {
|
|
522
|
-
const headers =
|
|
523
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
524
|
-
};
|
|
436
|
+
const headers = SHARED_HEADERS;
|
|
525
437
|
let body;
|
|
526
438
|
body = buildFormUrlencodedString({
|
|
527
439
|
...se_DeleteUserPolicyRequest(input, context),
|
|
@@ -531,9 +443,7 @@ export const se_DeleteUserPolicyCommand = async (input, context) => {
|
|
|
531
443
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
532
444
|
};
|
|
533
445
|
export const se_DeleteVirtualMFADeviceCommand = async (input, context) => {
|
|
534
|
-
const headers =
|
|
535
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
536
|
-
};
|
|
446
|
+
const headers = SHARED_HEADERS;
|
|
537
447
|
let body;
|
|
538
448
|
body = buildFormUrlencodedString({
|
|
539
449
|
...se_DeleteVirtualMFADeviceRequest(input, context),
|
|
@@ -543,9 +453,7 @@ export const se_DeleteVirtualMFADeviceCommand = async (input, context) => {
|
|
|
543
453
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
544
454
|
};
|
|
545
455
|
export const se_DetachGroupPolicyCommand = async (input, context) => {
|
|
546
|
-
const headers =
|
|
547
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
548
|
-
};
|
|
456
|
+
const headers = SHARED_HEADERS;
|
|
549
457
|
let body;
|
|
550
458
|
body = buildFormUrlencodedString({
|
|
551
459
|
...se_DetachGroupPolicyRequest(input, context),
|
|
@@ -555,9 +463,7 @@ export const se_DetachGroupPolicyCommand = async (input, context) => {
|
|
|
555
463
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
556
464
|
};
|
|
557
465
|
export const se_DetachRolePolicyCommand = async (input, context) => {
|
|
558
|
-
const headers =
|
|
559
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
560
|
-
};
|
|
466
|
+
const headers = SHARED_HEADERS;
|
|
561
467
|
let body;
|
|
562
468
|
body = buildFormUrlencodedString({
|
|
563
469
|
...se_DetachRolePolicyRequest(input, context),
|
|
@@ -567,9 +473,7 @@ export const se_DetachRolePolicyCommand = async (input, context) => {
|
|
|
567
473
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
568
474
|
};
|
|
569
475
|
export const se_DetachUserPolicyCommand = async (input, context) => {
|
|
570
|
-
const headers =
|
|
571
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
572
|
-
};
|
|
476
|
+
const headers = SHARED_HEADERS;
|
|
573
477
|
let body;
|
|
574
478
|
body = buildFormUrlencodedString({
|
|
575
479
|
...se_DetachUserPolicyRequest(input, context),
|
|
@@ -579,9 +483,7 @@ export const se_DetachUserPolicyCommand = async (input, context) => {
|
|
|
579
483
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
580
484
|
};
|
|
581
485
|
export const se_EnableMFADeviceCommand = async (input, context) => {
|
|
582
|
-
const headers =
|
|
583
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
584
|
-
};
|
|
486
|
+
const headers = SHARED_HEADERS;
|
|
585
487
|
let body;
|
|
586
488
|
body = buildFormUrlencodedString({
|
|
587
489
|
...se_EnableMFADeviceRequest(input, context),
|
|
@@ -591,9 +493,7 @@ export const se_EnableMFADeviceCommand = async (input, context) => {
|
|
|
591
493
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
592
494
|
};
|
|
593
495
|
export const se_GenerateCredentialReportCommand = async (input, context) => {
|
|
594
|
-
const headers =
|
|
595
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
596
|
-
};
|
|
496
|
+
const headers = SHARED_HEADERS;
|
|
597
497
|
const body = buildFormUrlencodedString({
|
|
598
498
|
Action: "GenerateCredentialReport",
|
|
599
499
|
Version: "2010-05-08",
|
|
@@ -601,9 +501,7 @@ export const se_GenerateCredentialReportCommand = async (input, context) => {
|
|
|
601
501
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
602
502
|
};
|
|
603
503
|
export const se_GenerateOrganizationsAccessReportCommand = async (input, context) => {
|
|
604
|
-
const headers =
|
|
605
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
606
|
-
};
|
|
504
|
+
const headers = SHARED_HEADERS;
|
|
607
505
|
let body;
|
|
608
506
|
body = buildFormUrlencodedString({
|
|
609
507
|
...se_GenerateOrganizationsAccessReportRequest(input, context),
|
|
@@ -613,9 +511,7 @@ export const se_GenerateOrganizationsAccessReportCommand = async (input, context
|
|
|
613
511
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
614
512
|
};
|
|
615
513
|
export const se_GenerateServiceLastAccessedDetailsCommand = async (input, context) => {
|
|
616
|
-
const headers =
|
|
617
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
618
|
-
};
|
|
514
|
+
const headers = SHARED_HEADERS;
|
|
619
515
|
let body;
|
|
620
516
|
body = buildFormUrlencodedString({
|
|
621
517
|
...se_GenerateServiceLastAccessedDetailsRequest(input, context),
|
|
@@ -625,9 +521,7 @@ export const se_GenerateServiceLastAccessedDetailsCommand = async (input, contex
|
|
|
625
521
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
626
522
|
};
|
|
627
523
|
export const se_GetAccessKeyLastUsedCommand = async (input, context) => {
|
|
628
|
-
const headers =
|
|
629
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
630
|
-
};
|
|
524
|
+
const headers = SHARED_HEADERS;
|
|
631
525
|
let body;
|
|
632
526
|
body = buildFormUrlencodedString({
|
|
633
527
|
...se_GetAccessKeyLastUsedRequest(input, context),
|
|
@@ -637,9 +531,7 @@ export const se_GetAccessKeyLastUsedCommand = async (input, context) => {
|
|
|
637
531
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
638
532
|
};
|
|
639
533
|
export const se_GetAccountAuthorizationDetailsCommand = async (input, context) => {
|
|
640
|
-
const headers =
|
|
641
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
642
|
-
};
|
|
534
|
+
const headers = SHARED_HEADERS;
|
|
643
535
|
let body;
|
|
644
536
|
body = buildFormUrlencodedString({
|
|
645
537
|
...se_GetAccountAuthorizationDetailsRequest(input, context),
|
|
@@ -649,9 +541,7 @@ export const se_GetAccountAuthorizationDetailsCommand = async (input, context) =
|
|
|
649
541
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
650
542
|
};
|
|
651
543
|
export const se_GetAccountPasswordPolicyCommand = async (input, context) => {
|
|
652
|
-
const headers =
|
|
653
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
654
|
-
};
|
|
544
|
+
const headers = SHARED_HEADERS;
|
|
655
545
|
const body = buildFormUrlencodedString({
|
|
656
546
|
Action: "GetAccountPasswordPolicy",
|
|
657
547
|
Version: "2010-05-08",
|
|
@@ -659,9 +549,7 @@ export const se_GetAccountPasswordPolicyCommand = async (input, context) => {
|
|
|
659
549
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
660
550
|
};
|
|
661
551
|
export const se_GetAccountSummaryCommand = async (input, context) => {
|
|
662
|
-
const headers =
|
|
663
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
664
|
-
};
|
|
552
|
+
const headers = SHARED_HEADERS;
|
|
665
553
|
const body = buildFormUrlencodedString({
|
|
666
554
|
Action: "GetAccountSummary",
|
|
667
555
|
Version: "2010-05-08",
|
|
@@ -669,9 +557,7 @@ export const se_GetAccountSummaryCommand = async (input, context) => {
|
|
|
669
557
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
670
558
|
};
|
|
671
559
|
export const se_GetContextKeysForCustomPolicyCommand = async (input, context) => {
|
|
672
|
-
const headers =
|
|
673
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
674
|
-
};
|
|
560
|
+
const headers = SHARED_HEADERS;
|
|
675
561
|
let body;
|
|
676
562
|
body = buildFormUrlencodedString({
|
|
677
563
|
...se_GetContextKeysForCustomPolicyRequest(input, context),
|
|
@@ -681,9 +567,7 @@ export const se_GetContextKeysForCustomPolicyCommand = async (input, context) =>
|
|
|
681
567
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
682
568
|
};
|
|
683
569
|
export const se_GetContextKeysForPrincipalPolicyCommand = async (input, context) => {
|
|
684
|
-
const headers =
|
|
685
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
686
|
-
};
|
|
570
|
+
const headers = SHARED_HEADERS;
|
|
687
571
|
let body;
|
|
688
572
|
body = buildFormUrlencodedString({
|
|
689
573
|
...se_GetContextKeysForPrincipalPolicyRequest(input, context),
|
|
@@ -693,9 +577,7 @@ export const se_GetContextKeysForPrincipalPolicyCommand = async (input, context)
|
|
|
693
577
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
694
578
|
};
|
|
695
579
|
export const se_GetCredentialReportCommand = async (input, context) => {
|
|
696
|
-
const headers =
|
|
697
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
698
|
-
};
|
|
580
|
+
const headers = SHARED_HEADERS;
|
|
699
581
|
const body = buildFormUrlencodedString({
|
|
700
582
|
Action: "GetCredentialReport",
|
|
701
583
|
Version: "2010-05-08",
|
|
@@ -703,9 +585,7 @@ export const se_GetCredentialReportCommand = async (input, context) => {
|
|
|
703
585
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
704
586
|
};
|
|
705
587
|
export const se_GetGroupCommand = async (input, context) => {
|
|
706
|
-
const headers =
|
|
707
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
708
|
-
};
|
|
588
|
+
const headers = SHARED_HEADERS;
|
|
709
589
|
let body;
|
|
710
590
|
body = buildFormUrlencodedString({
|
|
711
591
|
...se_GetGroupRequest(input, context),
|
|
@@ -715,9 +595,7 @@ export const se_GetGroupCommand = async (input, context) => {
|
|
|
715
595
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
716
596
|
};
|
|
717
597
|
export const se_GetGroupPolicyCommand = async (input, context) => {
|
|
718
|
-
const headers =
|
|
719
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
720
|
-
};
|
|
598
|
+
const headers = SHARED_HEADERS;
|
|
721
599
|
let body;
|
|
722
600
|
body = buildFormUrlencodedString({
|
|
723
601
|
...se_GetGroupPolicyRequest(input, context),
|
|
@@ -727,9 +605,7 @@ export const se_GetGroupPolicyCommand = async (input, context) => {
|
|
|
727
605
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
728
606
|
};
|
|
729
607
|
export const se_GetInstanceProfileCommand = async (input, context) => {
|
|
730
|
-
const headers =
|
|
731
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
732
|
-
};
|
|
608
|
+
const headers = SHARED_HEADERS;
|
|
733
609
|
let body;
|
|
734
610
|
body = buildFormUrlencodedString({
|
|
735
611
|
...se_GetInstanceProfileRequest(input, context),
|
|
@@ -739,9 +615,7 @@ export const se_GetInstanceProfileCommand = async (input, context) => {
|
|
|
739
615
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
740
616
|
};
|
|
741
617
|
export const se_GetLoginProfileCommand = async (input, context) => {
|
|
742
|
-
const headers =
|
|
743
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
744
|
-
};
|
|
618
|
+
const headers = SHARED_HEADERS;
|
|
745
619
|
let body;
|
|
746
620
|
body = buildFormUrlencodedString({
|
|
747
621
|
...se_GetLoginProfileRequest(input, context),
|
|
@@ -751,9 +625,7 @@ export const se_GetLoginProfileCommand = async (input, context) => {
|
|
|
751
625
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
752
626
|
};
|
|
753
627
|
export const se_GetOpenIDConnectProviderCommand = async (input, context) => {
|
|
754
|
-
const headers =
|
|
755
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
756
|
-
};
|
|
628
|
+
const headers = SHARED_HEADERS;
|
|
757
629
|
let body;
|
|
758
630
|
body = buildFormUrlencodedString({
|
|
759
631
|
...se_GetOpenIDConnectProviderRequest(input, context),
|
|
@@ -763,9 +635,7 @@ export const se_GetOpenIDConnectProviderCommand = async (input, context) => {
|
|
|
763
635
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
764
636
|
};
|
|
765
637
|
export const se_GetOrganizationsAccessReportCommand = async (input, context) => {
|
|
766
|
-
const headers =
|
|
767
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
768
|
-
};
|
|
638
|
+
const headers = SHARED_HEADERS;
|
|
769
639
|
let body;
|
|
770
640
|
body = buildFormUrlencodedString({
|
|
771
641
|
...se_GetOrganizationsAccessReportRequest(input, context),
|
|
@@ -775,9 +645,7 @@ export const se_GetOrganizationsAccessReportCommand = async (input, context) =>
|
|
|
775
645
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
776
646
|
};
|
|
777
647
|
export const se_GetPolicyCommand = async (input, context) => {
|
|
778
|
-
const headers =
|
|
779
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
780
|
-
};
|
|
648
|
+
const headers = SHARED_HEADERS;
|
|
781
649
|
let body;
|
|
782
650
|
body = buildFormUrlencodedString({
|
|
783
651
|
...se_GetPolicyRequest(input, context),
|
|
@@ -787,9 +655,7 @@ export const se_GetPolicyCommand = async (input, context) => {
|
|
|
787
655
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
788
656
|
};
|
|
789
657
|
export const se_GetPolicyVersionCommand = async (input, context) => {
|
|
790
|
-
const headers =
|
|
791
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
792
|
-
};
|
|
658
|
+
const headers = SHARED_HEADERS;
|
|
793
659
|
let body;
|
|
794
660
|
body = buildFormUrlencodedString({
|
|
795
661
|
...se_GetPolicyVersionRequest(input, context),
|
|
@@ -799,9 +665,7 @@ export const se_GetPolicyVersionCommand = async (input, context) => {
|
|
|
799
665
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
800
666
|
};
|
|
801
667
|
export const se_GetRoleCommand = async (input, context) => {
|
|
802
|
-
const headers =
|
|
803
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
804
|
-
};
|
|
668
|
+
const headers = SHARED_HEADERS;
|
|
805
669
|
let body;
|
|
806
670
|
body = buildFormUrlencodedString({
|
|
807
671
|
...se_GetRoleRequest(input, context),
|
|
@@ -811,9 +675,7 @@ export const se_GetRoleCommand = async (input, context) => {
|
|
|
811
675
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
812
676
|
};
|
|
813
677
|
export const se_GetRolePolicyCommand = async (input, context) => {
|
|
814
|
-
const headers =
|
|
815
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
816
|
-
};
|
|
678
|
+
const headers = SHARED_HEADERS;
|
|
817
679
|
let body;
|
|
818
680
|
body = buildFormUrlencodedString({
|
|
819
681
|
...se_GetRolePolicyRequest(input, context),
|
|
@@ -823,9 +685,7 @@ export const se_GetRolePolicyCommand = async (input, context) => {
|
|
|
823
685
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
824
686
|
};
|
|
825
687
|
export const se_GetSAMLProviderCommand = async (input, context) => {
|
|
826
|
-
const headers =
|
|
827
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
828
|
-
};
|
|
688
|
+
const headers = SHARED_HEADERS;
|
|
829
689
|
let body;
|
|
830
690
|
body = buildFormUrlencodedString({
|
|
831
691
|
...se_GetSAMLProviderRequest(input, context),
|
|
@@ -835,9 +695,7 @@ export const se_GetSAMLProviderCommand = async (input, context) => {
|
|
|
835
695
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
836
696
|
};
|
|
837
697
|
export const se_GetServerCertificateCommand = async (input, context) => {
|
|
838
|
-
const headers =
|
|
839
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
840
|
-
};
|
|
698
|
+
const headers = SHARED_HEADERS;
|
|
841
699
|
let body;
|
|
842
700
|
body = buildFormUrlencodedString({
|
|
843
701
|
...se_GetServerCertificateRequest(input, context),
|
|
@@ -847,9 +705,7 @@ export const se_GetServerCertificateCommand = async (input, context) => {
|
|
|
847
705
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
848
706
|
};
|
|
849
707
|
export const se_GetServiceLastAccessedDetailsCommand = async (input, context) => {
|
|
850
|
-
const headers =
|
|
851
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
852
|
-
};
|
|
708
|
+
const headers = SHARED_HEADERS;
|
|
853
709
|
let body;
|
|
854
710
|
body = buildFormUrlencodedString({
|
|
855
711
|
...se_GetServiceLastAccessedDetailsRequest(input, context),
|
|
@@ -859,9 +715,7 @@ export const se_GetServiceLastAccessedDetailsCommand = async (input, context) =>
|
|
|
859
715
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
860
716
|
};
|
|
861
717
|
export const se_GetServiceLastAccessedDetailsWithEntitiesCommand = async (input, context) => {
|
|
862
|
-
const headers =
|
|
863
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
864
|
-
};
|
|
718
|
+
const headers = SHARED_HEADERS;
|
|
865
719
|
let body;
|
|
866
720
|
body = buildFormUrlencodedString({
|
|
867
721
|
...se_GetServiceLastAccessedDetailsWithEntitiesRequest(input, context),
|
|
@@ -871,9 +725,7 @@ export const se_GetServiceLastAccessedDetailsWithEntitiesCommand = async (input,
|
|
|
871
725
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
872
726
|
};
|
|
873
727
|
export const se_GetServiceLinkedRoleDeletionStatusCommand = async (input, context) => {
|
|
874
|
-
const headers =
|
|
875
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
876
|
-
};
|
|
728
|
+
const headers = SHARED_HEADERS;
|
|
877
729
|
let body;
|
|
878
730
|
body = buildFormUrlencodedString({
|
|
879
731
|
...se_GetServiceLinkedRoleDeletionStatusRequest(input, context),
|
|
@@ -883,9 +735,7 @@ export const se_GetServiceLinkedRoleDeletionStatusCommand = async (input, contex
|
|
|
883
735
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
884
736
|
};
|
|
885
737
|
export const se_GetSSHPublicKeyCommand = async (input, context) => {
|
|
886
|
-
const headers =
|
|
887
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
888
|
-
};
|
|
738
|
+
const headers = SHARED_HEADERS;
|
|
889
739
|
let body;
|
|
890
740
|
body = buildFormUrlencodedString({
|
|
891
741
|
...se_GetSSHPublicKeyRequest(input, context),
|
|
@@ -895,9 +745,7 @@ export const se_GetSSHPublicKeyCommand = async (input, context) => {
|
|
|
895
745
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
896
746
|
};
|
|
897
747
|
export const se_GetUserCommand = async (input, context) => {
|
|
898
|
-
const headers =
|
|
899
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
900
|
-
};
|
|
748
|
+
const headers = SHARED_HEADERS;
|
|
901
749
|
let body;
|
|
902
750
|
body = buildFormUrlencodedString({
|
|
903
751
|
...se_GetUserRequest(input, context),
|
|
@@ -907,9 +755,7 @@ export const se_GetUserCommand = async (input, context) => {
|
|
|
907
755
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
908
756
|
};
|
|
909
757
|
export const se_GetUserPolicyCommand = async (input, context) => {
|
|
910
|
-
const headers =
|
|
911
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
912
|
-
};
|
|
758
|
+
const headers = SHARED_HEADERS;
|
|
913
759
|
let body;
|
|
914
760
|
body = buildFormUrlencodedString({
|
|
915
761
|
...se_GetUserPolicyRequest(input, context),
|
|
@@ -919,9 +765,7 @@ export const se_GetUserPolicyCommand = async (input, context) => {
|
|
|
919
765
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
920
766
|
};
|
|
921
767
|
export const se_ListAccessKeysCommand = async (input, context) => {
|
|
922
|
-
const headers =
|
|
923
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
924
|
-
};
|
|
768
|
+
const headers = SHARED_HEADERS;
|
|
925
769
|
let body;
|
|
926
770
|
body = buildFormUrlencodedString({
|
|
927
771
|
...se_ListAccessKeysRequest(input, context),
|
|
@@ -931,9 +775,7 @@ export const se_ListAccessKeysCommand = async (input, context) => {
|
|
|
931
775
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
932
776
|
};
|
|
933
777
|
export const se_ListAccountAliasesCommand = async (input, context) => {
|
|
934
|
-
const headers =
|
|
935
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
936
|
-
};
|
|
778
|
+
const headers = SHARED_HEADERS;
|
|
937
779
|
let body;
|
|
938
780
|
body = buildFormUrlencodedString({
|
|
939
781
|
...se_ListAccountAliasesRequest(input, context),
|
|
@@ -943,9 +785,7 @@ export const se_ListAccountAliasesCommand = async (input, context) => {
|
|
|
943
785
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
944
786
|
};
|
|
945
787
|
export const se_ListAttachedGroupPoliciesCommand = async (input, context) => {
|
|
946
|
-
const headers =
|
|
947
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
948
|
-
};
|
|
788
|
+
const headers = SHARED_HEADERS;
|
|
949
789
|
let body;
|
|
950
790
|
body = buildFormUrlencodedString({
|
|
951
791
|
...se_ListAttachedGroupPoliciesRequest(input, context),
|
|
@@ -955,9 +795,7 @@ export const se_ListAttachedGroupPoliciesCommand = async (input, context) => {
|
|
|
955
795
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
956
796
|
};
|
|
957
797
|
export const se_ListAttachedRolePoliciesCommand = async (input, context) => {
|
|
958
|
-
const headers =
|
|
959
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
960
|
-
};
|
|
798
|
+
const headers = SHARED_HEADERS;
|
|
961
799
|
let body;
|
|
962
800
|
body = buildFormUrlencodedString({
|
|
963
801
|
...se_ListAttachedRolePoliciesRequest(input, context),
|
|
@@ -967,9 +805,7 @@ export const se_ListAttachedRolePoliciesCommand = async (input, context) => {
|
|
|
967
805
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
968
806
|
};
|
|
969
807
|
export const se_ListAttachedUserPoliciesCommand = async (input, context) => {
|
|
970
|
-
const headers =
|
|
971
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
972
|
-
};
|
|
808
|
+
const headers = SHARED_HEADERS;
|
|
973
809
|
let body;
|
|
974
810
|
body = buildFormUrlencodedString({
|
|
975
811
|
...se_ListAttachedUserPoliciesRequest(input, context),
|
|
@@ -979,9 +815,7 @@ export const se_ListAttachedUserPoliciesCommand = async (input, context) => {
|
|
|
979
815
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
980
816
|
};
|
|
981
817
|
export const se_ListEntitiesForPolicyCommand = async (input, context) => {
|
|
982
|
-
const headers =
|
|
983
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
984
|
-
};
|
|
818
|
+
const headers = SHARED_HEADERS;
|
|
985
819
|
let body;
|
|
986
820
|
body = buildFormUrlencodedString({
|
|
987
821
|
...se_ListEntitiesForPolicyRequest(input, context),
|
|
@@ -991,9 +825,7 @@ export const se_ListEntitiesForPolicyCommand = async (input, context) => {
|
|
|
991
825
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
992
826
|
};
|
|
993
827
|
export const se_ListGroupPoliciesCommand = async (input, context) => {
|
|
994
|
-
const headers =
|
|
995
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
996
|
-
};
|
|
828
|
+
const headers = SHARED_HEADERS;
|
|
997
829
|
let body;
|
|
998
830
|
body = buildFormUrlencodedString({
|
|
999
831
|
...se_ListGroupPoliciesRequest(input, context),
|
|
@@ -1003,9 +835,7 @@ export const se_ListGroupPoliciesCommand = async (input, context) => {
|
|
|
1003
835
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1004
836
|
};
|
|
1005
837
|
export const se_ListGroupsCommand = async (input, context) => {
|
|
1006
|
-
const headers =
|
|
1007
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1008
|
-
};
|
|
838
|
+
const headers = SHARED_HEADERS;
|
|
1009
839
|
let body;
|
|
1010
840
|
body = buildFormUrlencodedString({
|
|
1011
841
|
...se_ListGroupsRequest(input, context),
|
|
@@ -1015,9 +845,7 @@ export const se_ListGroupsCommand = async (input, context) => {
|
|
|
1015
845
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1016
846
|
};
|
|
1017
847
|
export const se_ListGroupsForUserCommand = async (input, context) => {
|
|
1018
|
-
const headers =
|
|
1019
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1020
|
-
};
|
|
848
|
+
const headers = SHARED_HEADERS;
|
|
1021
849
|
let body;
|
|
1022
850
|
body = buildFormUrlencodedString({
|
|
1023
851
|
...se_ListGroupsForUserRequest(input, context),
|
|
@@ -1027,9 +855,7 @@ export const se_ListGroupsForUserCommand = async (input, context) => {
|
|
|
1027
855
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1028
856
|
};
|
|
1029
857
|
export const se_ListInstanceProfilesCommand = async (input, context) => {
|
|
1030
|
-
const headers =
|
|
1031
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1032
|
-
};
|
|
858
|
+
const headers = SHARED_HEADERS;
|
|
1033
859
|
let body;
|
|
1034
860
|
body = buildFormUrlencodedString({
|
|
1035
861
|
...se_ListInstanceProfilesRequest(input, context),
|
|
@@ -1039,9 +865,7 @@ export const se_ListInstanceProfilesCommand = async (input, context) => {
|
|
|
1039
865
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1040
866
|
};
|
|
1041
867
|
export const se_ListInstanceProfilesForRoleCommand = async (input, context) => {
|
|
1042
|
-
const headers =
|
|
1043
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1044
|
-
};
|
|
868
|
+
const headers = SHARED_HEADERS;
|
|
1045
869
|
let body;
|
|
1046
870
|
body = buildFormUrlencodedString({
|
|
1047
871
|
...se_ListInstanceProfilesForRoleRequest(input, context),
|
|
@@ -1051,9 +875,7 @@ export const se_ListInstanceProfilesForRoleCommand = async (input, context) => {
|
|
|
1051
875
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1052
876
|
};
|
|
1053
877
|
export const se_ListInstanceProfileTagsCommand = async (input, context) => {
|
|
1054
|
-
const headers =
|
|
1055
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1056
|
-
};
|
|
878
|
+
const headers = SHARED_HEADERS;
|
|
1057
879
|
let body;
|
|
1058
880
|
body = buildFormUrlencodedString({
|
|
1059
881
|
...se_ListInstanceProfileTagsRequest(input, context),
|
|
@@ -1063,9 +885,7 @@ export const se_ListInstanceProfileTagsCommand = async (input, context) => {
|
|
|
1063
885
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1064
886
|
};
|
|
1065
887
|
export const se_ListMFADevicesCommand = async (input, context) => {
|
|
1066
|
-
const headers =
|
|
1067
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1068
|
-
};
|
|
888
|
+
const headers = SHARED_HEADERS;
|
|
1069
889
|
let body;
|
|
1070
890
|
body = buildFormUrlencodedString({
|
|
1071
891
|
...se_ListMFADevicesRequest(input, context),
|
|
@@ -1075,9 +895,7 @@ export const se_ListMFADevicesCommand = async (input, context) => {
|
|
|
1075
895
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1076
896
|
};
|
|
1077
897
|
export const se_ListMFADeviceTagsCommand = async (input, context) => {
|
|
1078
|
-
const headers =
|
|
1079
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1080
|
-
};
|
|
898
|
+
const headers = SHARED_HEADERS;
|
|
1081
899
|
let body;
|
|
1082
900
|
body = buildFormUrlencodedString({
|
|
1083
901
|
...se_ListMFADeviceTagsRequest(input, context),
|
|
@@ -1087,9 +905,7 @@ export const se_ListMFADeviceTagsCommand = async (input, context) => {
|
|
|
1087
905
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1088
906
|
};
|
|
1089
907
|
export const se_ListOpenIDConnectProvidersCommand = async (input, context) => {
|
|
1090
|
-
const headers =
|
|
1091
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1092
|
-
};
|
|
908
|
+
const headers = SHARED_HEADERS;
|
|
1093
909
|
let body;
|
|
1094
910
|
body = buildFormUrlencodedString({
|
|
1095
911
|
...se_ListOpenIDConnectProvidersRequest(input, context),
|
|
@@ -1099,9 +915,7 @@ export const se_ListOpenIDConnectProvidersCommand = async (input, context) => {
|
|
|
1099
915
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1100
916
|
};
|
|
1101
917
|
export const se_ListOpenIDConnectProviderTagsCommand = async (input, context) => {
|
|
1102
|
-
const headers =
|
|
1103
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1104
|
-
};
|
|
918
|
+
const headers = SHARED_HEADERS;
|
|
1105
919
|
let body;
|
|
1106
920
|
body = buildFormUrlencodedString({
|
|
1107
921
|
...se_ListOpenIDConnectProviderTagsRequest(input, context),
|
|
@@ -1111,9 +925,7 @@ export const se_ListOpenIDConnectProviderTagsCommand = async (input, context) =>
|
|
|
1111
925
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1112
926
|
};
|
|
1113
927
|
export const se_ListPoliciesCommand = async (input, context) => {
|
|
1114
|
-
const headers =
|
|
1115
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1116
|
-
};
|
|
928
|
+
const headers = SHARED_HEADERS;
|
|
1117
929
|
let body;
|
|
1118
930
|
body = buildFormUrlencodedString({
|
|
1119
931
|
...se_ListPoliciesRequest(input, context),
|
|
@@ -1123,9 +935,7 @@ export const se_ListPoliciesCommand = async (input, context) => {
|
|
|
1123
935
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1124
936
|
};
|
|
1125
937
|
export const se_ListPoliciesGrantingServiceAccessCommand = async (input, context) => {
|
|
1126
|
-
const headers =
|
|
1127
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1128
|
-
};
|
|
938
|
+
const headers = SHARED_HEADERS;
|
|
1129
939
|
let body;
|
|
1130
940
|
body = buildFormUrlencodedString({
|
|
1131
941
|
...se_ListPoliciesGrantingServiceAccessRequest(input, context),
|
|
@@ -1135,9 +945,7 @@ export const se_ListPoliciesGrantingServiceAccessCommand = async (input, context
|
|
|
1135
945
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1136
946
|
};
|
|
1137
947
|
export const se_ListPolicyTagsCommand = async (input, context) => {
|
|
1138
|
-
const headers =
|
|
1139
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1140
|
-
};
|
|
948
|
+
const headers = SHARED_HEADERS;
|
|
1141
949
|
let body;
|
|
1142
950
|
body = buildFormUrlencodedString({
|
|
1143
951
|
...se_ListPolicyTagsRequest(input, context),
|
|
@@ -1147,9 +955,7 @@ export const se_ListPolicyTagsCommand = async (input, context) => {
|
|
|
1147
955
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1148
956
|
};
|
|
1149
957
|
export const se_ListPolicyVersionsCommand = async (input, context) => {
|
|
1150
|
-
const headers =
|
|
1151
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1152
|
-
};
|
|
958
|
+
const headers = SHARED_HEADERS;
|
|
1153
959
|
let body;
|
|
1154
960
|
body = buildFormUrlencodedString({
|
|
1155
961
|
...se_ListPolicyVersionsRequest(input, context),
|
|
@@ -1159,9 +965,7 @@ export const se_ListPolicyVersionsCommand = async (input, context) => {
|
|
|
1159
965
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1160
966
|
};
|
|
1161
967
|
export const se_ListRolePoliciesCommand = async (input, context) => {
|
|
1162
|
-
const headers =
|
|
1163
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1164
|
-
};
|
|
968
|
+
const headers = SHARED_HEADERS;
|
|
1165
969
|
let body;
|
|
1166
970
|
body = buildFormUrlencodedString({
|
|
1167
971
|
...se_ListRolePoliciesRequest(input, context),
|
|
@@ -1171,9 +975,7 @@ export const se_ListRolePoliciesCommand = async (input, context) => {
|
|
|
1171
975
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1172
976
|
};
|
|
1173
977
|
export const se_ListRolesCommand = async (input, context) => {
|
|
1174
|
-
const headers =
|
|
1175
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1176
|
-
};
|
|
978
|
+
const headers = SHARED_HEADERS;
|
|
1177
979
|
let body;
|
|
1178
980
|
body = buildFormUrlencodedString({
|
|
1179
981
|
...se_ListRolesRequest(input, context),
|
|
@@ -1183,9 +985,7 @@ export const se_ListRolesCommand = async (input, context) => {
|
|
|
1183
985
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1184
986
|
};
|
|
1185
987
|
export const se_ListRoleTagsCommand = async (input, context) => {
|
|
1186
|
-
const headers =
|
|
1187
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1188
|
-
};
|
|
988
|
+
const headers = SHARED_HEADERS;
|
|
1189
989
|
let body;
|
|
1190
990
|
body = buildFormUrlencodedString({
|
|
1191
991
|
...se_ListRoleTagsRequest(input, context),
|
|
@@ -1195,9 +995,7 @@ export const se_ListRoleTagsCommand = async (input, context) => {
|
|
|
1195
995
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1196
996
|
};
|
|
1197
997
|
export const se_ListSAMLProvidersCommand = async (input, context) => {
|
|
1198
|
-
const headers =
|
|
1199
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1200
|
-
};
|
|
998
|
+
const headers = SHARED_HEADERS;
|
|
1201
999
|
let body;
|
|
1202
1000
|
body = buildFormUrlencodedString({
|
|
1203
1001
|
...se_ListSAMLProvidersRequest(input, context),
|
|
@@ -1207,9 +1005,7 @@ export const se_ListSAMLProvidersCommand = async (input, context) => {
|
|
|
1207
1005
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1208
1006
|
};
|
|
1209
1007
|
export const se_ListSAMLProviderTagsCommand = async (input, context) => {
|
|
1210
|
-
const headers =
|
|
1211
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1212
|
-
};
|
|
1008
|
+
const headers = SHARED_HEADERS;
|
|
1213
1009
|
let body;
|
|
1214
1010
|
body = buildFormUrlencodedString({
|
|
1215
1011
|
...se_ListSAMLProviderTagsRequest(input, context),
|
|
@@ -1219,9 +1015,7 @@ export const se_ListSAMLProviderTagsCommand = async (input, context) => {
|
|
|
1219
1015
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1220
1016
|
};
|
|
1221
1017
|
export const se_ListServerCertificatesCommand = async (input, context) => {
|
|
1222
|
-
const headers =
|
|
1223
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1224
|
-
};
|
|
1018
|
+
const headers = SHARED_HEADERS;
|
|
1225
1019
|
let body;
|
|
1226
1020
|
body = buildFormUrlencodedString({
|
|
1227
1021
|
...se_ListServerCertificatesRequest(input, context),
|
|
@@ -1231,9 +1025,7 @@ export const se_ListServerCertificatesCommand = async (input, context) => {
|
|
|
1231
1025
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1232
1026
|
};
|
|
1233
1027
|
export const se_ListServerCertificateTagsCommand = async (input, context) => {
|
|
1234
|
-
const headers =
|
|
1235
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1236
|
-
};
|
|
1028
|
+
const headers = SHARED_HEADERS;
|
|
1237
1029
|
let body;
|
|
1238
1030
|
body = buildFormUrlencodedString({
|
|
1239
1031
|
...se_ListServerCertificateTagsRequest(input, context),
|
|
@@ -1243,9 +1035,7 @@ export const se_ListServerCertificateTagsCommand = async (input, context) => {
|
|
|
1243
1035
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1244
1036
|
};
|
|
1245
1037
|
export const se_ListServiceSpecificCredentialsCommand = async (input, context) => {
|
|
1246
|
-
const headers =
|
|
1247
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1248
|
-
};
|
|
1038
|
+
const headers = SHARED_HEADERS;
|
|
1249
1039
|
let body;
|
|
1250
1040
|
body = buildFormUrlencodedString({
|
|
1251
1041
|
...se_ListServiceSpecificCredentialsRequest(input, context),
|
|
@@ -1255,9 +1045,7 @@ export const se_ListServiceSpecificCredentialsCommand = async (input, context) =
|
|
|
1255
1045
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1256
1046
|
};
|
|
1257
1047
|
export const se_ListSigningCertificatesCommand = async (input, context) => {
|
|
1258
|
-
const headers =
|
|
1259
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1260
|
-
};
|
|
1048
|
+
const headers = SHARED_HEADERS;
|
|
1261
1049
|
let body;
|
|
1262
1050
|
body = buildFormUrlencodedString({
|
|
1263
1051
|
...se_ListSigningCertificatesRequest(input, context),
|
|
@@ -1267,9 +1055,7 @@ export const se_ListSigningCertificatesCommand = async (input, context) => {
|
|
|
1267
1055
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1268
1056
|
};
|
|
1269
1057
|
export const se_ListSSHPublicKeysCommand = async (input, context) => {
|
|
1270
|
-
const headers =
|
|
1271
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1272
|
-
};
|
|
1058
|
+
const headers = SHARED_HEADERS;
|
|
1273
1059
|
let body;
|
|
1274
1060
|
body = buildFormUrlencodedString({
|
|
1275
1061
|
...se_ListSSHPublicKeysRequest(input, context),
|
|
@@ -1279,9 +1065,7 @@ export const se_ListSSHPublicKeysCommand = async (input, context) => {
|
|
|
1279
1065
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1280
1066
|
};
|
|
1281
1067
|
export const se_ListUserPoliciesCommand = async (input, context) => {
|
|
1282
|
-
const headers =
|
|
1283
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1284
|
-
};
|
|
1068
|
+
const headers = SHARED_HEADERS;
|
|
1285
1069
|
let body;
|
|
1286
1070
|
body = buildFormUrlencodedString({
|
|
1287
1071
|
...se_ListUserPoliciesRequest(input, context),
|
|
@@ -1291,9 +1075,7 @@ export const se_ListUserPoliciesCommand = async (input, context) => {
|
|
|
1291
1075
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1292
1076
|
};
|
|
1293
1077
|
export const se_ListUsersCommand = async (input, context) => {
|
|
1294
|
-
const headers =
|
|
1295
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1296
|
-
};
|
|
1078
|
+
const headers = SHARED_HEADERS;
|
|
1297
1079
|
let body;
|
|
1298
1080
|
body = buildFormUrlencodedString({
|
|
1299
1081
|
...se_ListUsersRequest(input, context),
|
|
@@ -1303,9 +1085,7 @@ export const se_ListUsersCommand = async (input, context) => {
|
|
|
1303
1085
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1304
1086
|
};
|
|
1305
1087
|
export const se_ListUserTagsCommand = async (input, context) => {
|
|
1306
|
-
const headers =
|
|
1307
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1308
|
-
};
|
|
1088
|
+
const headers = SHARED_HEADERS;
|
|
1309
1089
|
let body;
|
|
1310
1090
|
body = buildFormUrlencodedString({
|
|
1311
1091
|
...se_ListUserTagsRequest(input, context),
|
|
@@ -1315,9 +1095,7 @@ export const se_ListUserTagsCommand = async (input, context) => {
|
|
|
1315
1095
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1316
1096
|
};
|
|
1317
1097
|
export const se_ListVirtualMFADevicesCommand = async (input, context) => {
|
|
1318
|
-
const headers =
|
|
1319
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1320
|
-
};
|
|
1098
|
+
const headers = SHARED_HEADERS;
|
|
1321
1099
|
let body;
|
|
1322
1100
|
body = buildFormUrlencodedString({
|
|
1323
1101
|
...se_ListVirtualMFADevicesRequest(input, context),
|
|
@@ -1327,9 +1105,7 @@ export const se_ListVirtualMFADevicesCommand = async (input, context) => {
|
|
|
1327
1105
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1328
1106
|
};
|
|
1329
1107
|
export const se_PutGroupPolicyCommand = async (input, context) => {
|
|
1330
|
-
const headers =
|
|
1331
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1332
|
-
};
|
|
1108
|
+
const headers = SHARED_HEADERS;
|
|
1333
1109
|
let body;
|
|
1334
1110
|
body = buildFormUrlencodedString({
|
|
1335
1111
|
...se_PutGroupPolicyRequest(input, context),
|
|
@@ -1339,9 +1115,7 @@ export const se_PutGroupPolicyCommand = async (input, context) => {
|
|
|
1339
1115
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1340
1116
|
};
|
|
1341
1117
|
export const se_PutRolePermissionsBoundaryCommand = async (input, context) => {
|
|
1342
|
-
const headers =
|
|
1343
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1344
|
-
};
|
|
1118
|
+
const headers = SHARED_HEADERS;
|
|
1345
1119
|
let body;
|
|
1346
1120
|
body = buildFormUrlencodedString({
|
|
1347
1121
|
...se_PutRolePermissionsBoundaryRequest(input, context),
|
|
@@ -1351,9 +1125,7 @@ export const se_PutRolePermissionsBoundaryCommand = async (input, context) => {
|
|
|
1351
1125
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1352
1126
|
};
|
|
1353
1127
|
export const se_PutRolePolicyCommand = async (input, context) => {
|
|
1354
|
-
const headers =
|
|
1355
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1356
|
-
};
|
|
1128
|
+
const headers = SHARED_HEADERS;
|
|
1357
1129
|
let body;
|
|
1358
1130
|
body = buildFormUrlencodedString({
|
|
1359
1131
|
...se_PutRolePolicyRequest(input, context),
|
|
@@ -1363,9 +1135,7 @@ export const se_PutRolePolicyCommand = async (input, context) => {
|
|
|
1363
1135
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1364
1136
|
};
|
|
1365
1137
|
export const se_PutUserPermissionsBoundaryCommand = async (input, context) => {
|
|
1366
|
-
const headers =
|
|
1367
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1368
|
-
};
|
|
1138
|
+
const headers = SHARED_HEADERS;
|
|
1369
1139
|
let body;
|
|
1370
1140
|
body = buildFormUrlencodedString({
|
|
1371
1141
|
...se_PutUserPermissionsBoundaryRequest(input, context),
|
|
@@ -1375,9 +1145,7 @@ export const se_PutUserPermissionsBoundaryCommand = async (input, context) => {
|
|
|
1375
1145
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1376
1146
|
};
|
|
1377
1147
|
export const se_PutUserPolicyCommand = async (input, context) => {
|
|
1378
|
-
const headers =
|
|
1379
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1380
|
-
};
|
|
1148
|
+
const headers = SHARED_HEADERS;
|
|
1381
1149
|
let body;
|
|
1382
1150
|
body = buildFormUrlencodedString({
|
|
1383
1151
|
...se_PutUserPolicyRequest(input, context),
|
|
@@ -1387,9 +1155,7 @@ export const se_PutUserPolicyCommand = async (input, context) => {
|
|
|
1387
1155
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1388
1156
|
};
|
|
1389
1157
|
export const se_RemoveClientIDFromOpenIDConnectProviderCommand = async (input, context) => {
|
|
1390
|
-
const headers =
|
|
1391
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1392
|
-
};
|
|
1158
|
+
const headers = SHARED_HEADERS;
|
|
1393
1159
|
let body;
|
|
1394
1160
|
body = buildFormUrlencodedString({
|
|
1395
1161
|
...se_RemoveClientIDFromOpenIDConnectProviderRequest(input, context),
|
|
@@ -1399,9 +1165,7 @@ export const se_RemoveClientIDFromOpenIDConnectProviderCommand = async (input, c
|
|
|
1399
1165
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1400
1166
|
};
|
|
1401
1167
|
export const se_RemoveRoleFromInstanceProfileCommand = async (input, context) => {
|
|
1402
|
-
const headers =
|
|
1403
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1404
|
-
};
|
|
1168
|
+
const headers = SHARED_HEADERS;
|
|
1405
1169
|
let body;
|
|
1406
1170
|
body = buildFormUrlencodedString({
|
|
1407
1171
|
...se_RemoveRoleFromInstanceProfileRequest(input, context),
|
|
@@ -1411,9 +1175,7 @@ export const se_RemoveRoleFromInstanceProfileCommand = async (input, context) =>
|
|
|
1411
1175
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1412
1176
|
};
|
|
1413
1177
|
export const se_RemoveUserFromGroupCommand = async (input, context) => {
|
|
1414
|
-
const headers =
|
|
1415
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1416
|
-
};
|
|
1178
|
+
const headers = SHARED_HEADERS;
|
|
1417
1179
|
let body;
|
|
1418
1180
|
body = buildFormUrlencodedString({
|
|
1419
1181
|
...se_RemoveUserFromGroupRequest(input, context),
|
|
@@ -1423,9 +1185,7 @@ export const se_RemoveUserFromGroupCommand = async (input, context) => {
|
|
|
1423
1185
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1424
1186
|
};
|
|
1425
1187
|
export const se_ResetServiceSpecificCredentialCommand = async (input, context) => {
|
|
1426
|
-
const headers =
|
|
1427
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1428
|
-
};
|
|
1188
|
+
const headers = SHARED_HEADERS;
|
|
1429
1189
|
let body;
|
|
1430
1190
|
body = buildFormUrlencodedString({
|
|
1431
1191
|
...se_ResetServiceSpecificCredentialRequest(input, context),
|
|
@@ -1435,9 +1195,7 @@ export const se_ResetServiceSpecificCredentialCommand = async (input, context) =
|
|
|
1435
1195
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1436
1196
|
};
|
|
1437
1197
|
export const se_ResyncMFADeviceCommand = async (input, context) => {
|
|
1438
|
-
const headers =
|
|
1439
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1440
|
-
};
|
|
1198
|
+
const headers = SHARED_HEADERS;
|
|
1441
1199
|
let body;
|
|
1442
1200
|
body = buildFormUrlencodedString({
|
|
1443
1201
|
...se_ResyncMFADeviceRequest(input, context),
|
|
@@ -1447,9 +1205,7 @@ export const se_ResyncMFADeviceCommand = async (input, context) => {
|
|
|
1447
1205
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1448
1206
|
};
|
|
1449
1207
|
export const se_SetDefaultPolicyVersionCommand = async (input, context) => {
|
|
1450
|
-
const headers =
|
|
1451
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1452
|
-
};
|
|
1208
|
+
const headers = SHARED_HEADERS;
|
|
1453
1209
|
let body;
|
|
1454
1210
|
body = buildFormUrlencodedString({
|
|
1455
1211
|
...se_SetDefaultPolicyVersionRequest(input, context),
|
|
@@ -1459,9 +1215,7 @@ export const se_SetDefaultPolicyVersionCommand = async (input, context) => {
|
|
|
1459
1215
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1460
1216
|
};
|
|
1461
1217
|
export const se_SetSecurityTokenServicePreferencesCommand = async (input, context) => {
|
|
1462
|
-
const headers =
|
|
1463
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1464
|
-
};
|
|
1218
|
+
const headers = SHARED_HEADERS;
|
|
1465
1219
|
let body;
|
|
1466
1220
|
body = buildFormUrlencodedString({
|
|
1467
1221
|
...se_SetSecurityTokenServicePreferencesRequest(input, context),
|
|
@@ -1471,9 +1225,7 @@ export const se_SetSecurityTokenServicePreferencesCommand = async (input, contex
|
|
|
1471
1225
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1472
1226
|
};
|
|
1473
1227
|
export const se_SimulateCustomPolicyCommand = async (input, context) => {
|
|
1474
|
-
const headers =
|
|
1475
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1476
|
-
};
|
|
1228
|
+
const headers = SHARED_HEADERS;
|
|
1477
1229
|
let body;
|
|
1478
1230
|
body = buildFormUrlencodedString({
|
|
1479
1231
|
...se_SimulateCustomPolicyRequest(input, context),
|
|
@@ -1483,9 +1235,7 @@ export const se_SimulateCustomPolicyCommand = async (input, context) => {
|
|
|
1483
1235
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1484
1236
|
};
|
|
1485
1237
|
export const se_SimulatePrincipalPolicyCommand = async (input, context) => {
|
|
1486
|
-
const headers =
|
|
1487
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1488
|
-
};
|
|
1238
|
+
const headers = SHARED_HEADERS;
|
|
1489
1239
|
let body;
|
|
1490
1240
|
body = buildFormUrlencodedString({
|
|
1491
1241
|
...se_SimulatePrincipalPolicyRequest(input, context),
|
|
@@ -1495,9 +1245,7 @@ export const se_SimulatePrincipalPolicyCommand = async (input, context) => {
|
|
|
1495
1245
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1496
1246
|
};
|
|
1497
1247
|
export const se_TagInstanceProfileCommand = async (input, context) => {
|
|
1498
|
-
const headers =
|
|
1499
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1500
|
-
};
|
|
1248
|
+
const headers = SHARED_HEADERS;
|
|
1501
1249
|
let body;
|
|
1502
1250
|
body = buildFormUrlencodedString({
|
|
1503
1251
|
...se_TagInstanceProfileRequest(input, context),
|
|
@@ -1507,9 +1255,7 @@ export const se_TagInstanceProfileCommand = async (input, context) => {
|
|
|
1507
1255
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1508
1256
|
};
|
|
1509
1257
|
export const se_TagMFADeviceCommand = async (input, context) => {
|
|
1510
|
-
const headers =
|
|
1511
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1512
|
-
};
|
|
1258
|
+
const headers = SHARED_HEADERS;
|
|
1513
1259
|
let body;
|
|
1514
1260
|
body = buildFormUrlencodedString({
|
|
1515
1261
|
...se_TagMFADeviceRequest(input, context),
|
|
@@ -1519,9 +1265,7 @@ export const se_TagMFADeviceCommand = async (input, context) => {
|
|
|
1519
1265
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1520
1266
|
};
|
|
1521
1267
|
export const se_TagOpenIDConnectProviderCommand = async (input, context) => {
|
|
1522
|
-
const headers =
|
|
1523
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1524
|
-
};
|
|
1268
|
+
const headers = SHARED_HEADERS;
|
|
1525
1269
|
let body;
|
|
1526
1270
|
body = buildFormUrlencodedString({
|
|
1527
1271
|
...se_TagOpenIDConnectProviderRequest(input, context),
|
|
@@ -1531,9 +1275,7 @@ export const se_TagOpenIDConnectProviderCommand = async (input, context) => {
|
|
|
1531
1275
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1532
1276
|
};
|
|
1533
1277
|
export const se_TagPolicyCommand = async (input, context) => {
|
|
1534
|
-
const headers =
|
|
1535
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1536
|
-
};
|
|
1278
|
+
const headers = SHARED_HEADERS;
|
|
1537
1279
|
let body;
|
|
1538
1280
|
body = buildFormUrlencodedString({
|
|
1539
1281
|
...se_TagPolicyRequest(input, context),
|
|
@@ -1543,9 +1285,7 @@ export const se_TagPolicyCommand = async (input, context) => {
|
|
|
1543
1285
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1544
1286
|
};
|
|
1545
1287
|
export const se_TagRoleCommand = async (input, context) => {
|
|
1546
|
-
const headers =
|
|
1547
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1548
|
-
};
|
|
1288
|
+
const headers = SHARED_HEADERS;
|
|
1549
1289
|
let body;
|
|
1550
1290
|
body = buildFormUrlencodedString({
|
|
1551
1291
|
...se_TagRoleRequest(input, context),
|
|
@@ -1555,9 +1295,7 @@ export const se_TagRoleCommand = async (input, context) => {
|
|
|
1555
1295
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1556
1296
|
};
|
|
1557
1297
|
export const se_TagSAMLProviderCommand = async (input, context) => {
|
|
1558
|
-
const headers =
|
|
1559
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1560
|
-
};
|
|
1298
|
+
const headers = SHARED_HEADERS;
|
|
1561
1299
|
let body;
|
|
1562
1300
|
body = buildFormUrlencodedString({
|
|
1563
1301
|
...se_TagSAMLProviderRequest(input, context),
|
|
@@ -1567,9 +1305,7 @@ export const se_TagSAMLProviderCommand = async (input, context) => {
|
|
|
1567
1305
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1568
1306
|
};
|
|
1569
1307
|
export const se_TagServerCertificateCommand = async (input, context) => {
|
|
1570
|
-
const headers =
|
|
1571
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1572
|
-
};
|
|
1308
|
+
const headers = SHARED_HEADERS;
|
|
1573
1309
|
let body;
|
|
1574
1310
|
body = buildFormUrlencodedString({
|
|
1575
1311
|
...se_TagServerCertificateRequest(input, context),
|
|
@@ -1579,9 +1315,7 @@ export const se_TagServerCertificateCommand = async (input, context) => {
|
|
|
1579
1315
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1580
1316
|
};
|
|
1581
1317
|
export const se_TagUserCommand = async (input, context) => {
|
|
1582
|
-
const headers =
|
|
1583
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1584
|
-
};
|
|
1318
|
+
const headers = SHARED_HEADERS;
|
|
1585
1319
|
let body;
|
|
1586
1320
|
body = buildFormUrlencodedString({
|
|
1587
1321
|
...se_TagUserRequest(input, context),
|
|
@@ -1591,9 +1325,7 @@ export const se_TagUserCommand = async (input, context) => {
|
|
|
1591
1325
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1592
1326
|
};
|
|
1593
1327
|
export const se_UntagInstanceProfileCommand = async (input, context) => {
|
|
1594
|
-
const headers =
|
|
1595
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1596
|
-
};
|
|
1328
|
+
const headers = SHARED_HEADERS;
|
|
1597
1329
|
let body;
|
|
1598
1330
|
body = buildFormUrlencodedString({
|
|
1599
1331
|
...se_UntagInstanceProfileRequest(input, context),
|
|
@@ -1603,9 +1335,7 @@ export const se_UntagInstanceProfileCommand = async (input, context) => {
|
|
|
1603
1335
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1604
1336
|
};
|
|
1605
1337
|
export const se_UntagMFADeviceCommand = async (input, context) => {
|
|
1606
|
-
const headers =
|
|
1607
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1608
|
-
};
|
|
1338
|
+
const headers = SHARED_HEADERS;
|
|
1609
1339
|
let body;
|
|
1610
1340
|
body = buildFormUrlencodedString({
|
|
1611
1341
|
...se_UntagMFADeviceRequest(input, context),
|
|
@@ -1615,9 +1345,7 @@ export const se_UntagMFADeviceCommand = async (input, context) => {
|
|
|
1615
1345
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1616
1346
|
};
|
|
1617
1347
|
export const se_UntagOpenIDConnectProviderCommand = async (input, context) => {
|
|
1618
|
-
const headers =
|
|
1619
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1620
|
-
};
|
|
1348
|
+
const headers = SHARED_HEADERS;
|
|
1621
1349
|
let body;
|
|
1622
1350
|
body = buildFormUrlencodedString({
|
|
1623
1351
|
...se_UntagOpenIDConnectProviderRequest(input, context),
|
|
@@ -1627,9 +1355,7 @@ export const se_UntagOpenIDConnectProviderCommand = async (input, context) => {
|
|
|
1627
1355
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1628
1356
|
};
|
|
1629
1357
|
export const se_UntagPolicyCommand = async (input, context) => {
|
|
1630
|
-
const headers =
|
|
1631
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1632
|
-
};
|
|
1358
|
+
const headers = SHARED_HEADERS;
|
|
1633
1359
|
let body;
|
|
1634
1360
|
body = buildFormUrlencodedString({
|
|
1635
1361
|
...se_UntagPolicyRequest(input, context),
|
|
@@ -1639,9 +1365,7 @@ export const se_UntagPolicyCommand = async (input, context) => {
|
|
|
1639
1365
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1640
1366
|
};
|
|
1641
1367
|
export const se_UntagRoleCommand = async (input, context) => {
|
|
1642
|
-
const headers =
|
|
1643
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1644
|
-
};
|
|
1368
|
+
const headers = SHARED_HEADERS;
|
|
1645
1369
|
let body;
|
|
1646
1370
|
body = buildFormUrlencodedString({
|
|
1647
1371
|
...se_UntagRoleRequest(input, context),
|
|
@@ -1651,9 +1375,7 @@ export const se_UntagRoleCommand = async (input, context) => {
|
|
|
1651
1375
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1652
1376
|
};
|
|
1653
1377
|
export const se_UntagSAMLProviderCommand = async (input, context) => {
|
|
1654
|
-
const headers =
|
|
1655
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1656
|
-
};
|
|
1378
|
+
const headers = SHARED_HEADERS;
|
|
1657
1379
|
let body;
|
|
1658
1380
|
body = buildFormUrlencodedString({
|
|
1659
1381
|
...se_UntagSAMLProviderRequest(input, context),
|
|
@@ -1663,9 +1385,7 @@ export const se_UntagSAMLProviderCommand = async (input, context) => {
|
|
|
1663
1385
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1664
1386
|
};
|
|
1665
1387
|
export const se_UntagServerCertificateCommand = async (input, context) => {
|
|
1666
|
-
const headers =
|
|
1667
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1668
|
-
};
|
|
1388
|
+
const headers = SHARED_HEADERS;
|
|
1669
1389
|
let body;
|
|
1670
1390
|
body = buildFormUrlencodedString({
|
|
1671
1391
|
...se_UntagServerCertificateRequest(input, context),
|
|
@@ -1675,9 +1395,7 @@ export const se_UntagServerCertificateCommand = async (input, context) => {
|
|
|
1675
1395
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1676
1396
|
};
|
|
1677
1397
|
export const se_UntagUserCommand = async (input, context) => {
|
|
1678
|
-
const headers =
|
|
1679
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1680
|
-
};
|
|
1398
|
+
const headers = SHARED_HEADERS;
|
|
1681
1399
|
let body;
|
|
1682
1400
|
body = buildFormUrlencodedString({
|
|
1683
1401
|
...se_UntagUserRequest(input, context),
|
|
@@ -1687,9 +1405,7 @@ export const se_UntagUserCommand = async (input, context) => {
|
|
|
1687
1405
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1688
1406
|
};
|
|
1689
1407
|
export const se_UpdateAccessKeyCommand = async (input, context) => {
|
|
1690
|
-
const headers =
|
|
1691
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1692
|
-
};
|
|
1408
|
+
const headers = SHARED_HEADERS;
|
|
1693
1409
|
let body;
|
|
1694
1410
|
body = buildFormUrlencodedString({
|
|
1695
1411
|
...se_UpdateAccessKeyRequest(input, context),
|
|
@@ -1699,9 +1415,7 @@ export const se_UpdateAccessKeyCommand = async (input, context) => {
|
|
|
1699
1415
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1700
1416
|
};
|
|
1701
1417
|
export const se_UpdateAccountPasswordPolicyCommand = async (input, context) => {
|
|
1702
|
-
const headers =
|
|
1703
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1704
|
-
};
|
|
1418
|
+
const headers = SHARED_HEADERS;
|
|
1705
1419
|
let body;
|
|
1706
1420
|
body = buildFormUrlencodedString({
|
|
1707
1421
|
...se_UpdateAccountPasswordPolicyRequest(input, context),
|
|
@@ -1711,9 +1425,7 @@ export const se_UpdateAccountPasswordPolicyCommand = async (input, context) => {
|
|
|
1711
1425
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1712
1426
|
};
|
|
1713
1427
|
export const se_UpdateAssumeRolePolicyCommand = async (input, context) => {
|
|
1714
|
-
const headers =
|
|
1715
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1716
|
-
};
|
|
1428
|
+
const headers = SHARED_HEADERS;
|
|
1717
1429
|
let body;
|
|
1718
1430
|
body = buildFormUrlencodedString({
|
|
1719
1431
|
...se_UpdateAssumeRolePolicyRequest(input, context),
|
|
@@ -1723,9 +1435,7 @@ export const se_UpdateAssumeRolePolicyCommand = async (input, context) => {
|
|
|
1723
1435
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1724
1436
|
};
|
|
1725
1437
|
export const se_UpdateGroupCommand = async (input, context) => {
|
|
1726
|
-
const headers =
|
|
1727
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1728
|
-
};
|
|
1438
|
+
const headers = SHARED_HEADERS;
|
|
1729
1439
|
let body;
|
|
1730
1440
|
body = buildFormUrlencodedString({
|
|
1731
1441
|
...se_UpdateGroupRequest(input, context),
|
|
@@ -1735,9 +1445,7 @@ export const se_UpdateGroupCommand = async (input, context) => {
|
|
|
1735
1445
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1736
1446
|
};
|
|
1737
1447
|
export const se_UpdateLoginProfileCommand = async (input, context) => {
|
|
1738
|
-
const headers =
|
|
1739
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1740
|
-
};
|
|
1448
|
+
const headers = SHARED_HEADERS;
|
|
1741
1449
|
let body;
|
|
1742
1450
|
body = buildFormUrlencodedString({
|
|
1743
1451
|
...se_UpdateLoginProfileRequest(input, context),
|
|
@@ -1747,9 +1455,7 @@ export const se_UpdateLoginProfileCommand = async (input, context) => {
|
|
|
1747
1455
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1748
1456
|
};
|
|
1749
1457
|
export const se_UpdateOpenIDConnectProviderThumbprintCommand = async (input, context) => {
|
|
1750
|
-
const headers =
|
|
1751
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1752
|
-
};
|
|
1458
|
+
const headers = SHARED_HEADERS;
|
|
1753
1459
|
let body;
|
|
1754
1460
|
body = buildFormUrlencodedString({
|
|
1755
1461
|
...se_UpdateOpenIDConnectProviderThumbprintRequest(input, context),
|
|
@@ -1759,9 +1465,7 @@ export const se_UpdateOpenIDConnectProviderThumbprintCommand = async (input, con
|
|
|
1759
1465
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1760
1466
|
};
|
|
1761
1467
|
export const se_UpdateRoleCommand = async (input, context) => {
|
|
1762
|
-
const headers =
|
|
1763
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1764
|
-
};
|
|
1468
|
+
const headers = SHARED_HEADERS;
|
|
1765
1469
|
let body;
|
|
1766
1470
|
body = buildFormUrlencodedString({
|
|
1767
1471
|
...se_UpdateRoleRequest(input, context),
|
|
@@ -1771,9 +1475,7 @@ export const se_UpdateRoleCommand = async (input, context) => {
|
|
|
1771
1475
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1772
1476
|
};
|
|
1773
1477
|
export const se_UpdateRoleDescriptionCommand = async (input, context) => {
|
|
1774
|
-
const headers =
|
|
1775
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1776
|
-
};
|
|
1478
|
+
const headers = SHARED_HEADERS;
|
|
1777
1479
|
let body;
|
|
1778
1480
|
body = buildFormUrlencodedString({
|
|
1779
1481
|
...se_UpdateRoleDescriptionRequest(input, context),
|
|
@@ -1783,9 +1485,7 @@ export const se_UpdateRoleDescriptionCommand = async (input, context) => {
|
|
|
1783
1485
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1784
1486
|
};
|
|
1785
1487
|
export const se_UpdateSAMLProviderCommand = async (input, context) => {
|
|
1786
|
-
const headers =
|
|
1787
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1788
|
-
};
|
|
1488
|
+
const headers = SHARED_HEADERS;
|
|
1789
1489
|
let body;
|
|
1790
1490
|
body = buildFormUrlencodedString({
|
|
1791
1491
|
...se_UpdateSAMLProviderRequest(input, context),
|
|
@@ -1795,9 +1495,7 @@ export const se_UpdateSAMLProviderCommand = async (input, context) => {
|
|
|
1795
1495
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1796
1496
|
};
|
|
1797
1497
|
export const se_UpdateServerCertificateCommand = async (input, context) => {
|
|
1798
|
-
const headers =
|
|
1799
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1800
|
-
};
|
|
1498
|
+
const headers = SHARED_HEADERS;
|
|
1801
1499
|
let body;
|
|
1802
1500
|
body = buildFormUrlencodedString({
|
|
1803
1501
|
...se_UpdateServerCertificateRequest(input, context),
|
|
@@ -1807,9 +1505,7 @@ export const se_UpdateServerCertificateCommand = async (input, context) => {
|
|
|
1807
1505
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1808
1506
|
};
|
|
1809
1507
|
export const se_UpdateServiceSpecificCredentialCommand = async (input, context) => {
|
|
1810
|
-
const headers =
|
|
1811
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1812
|
-
};
|
|
1508
|
+
const headers = SHARED_HEADERS;
|
|
1813
1509
|
let body;
|
|
1814
1510
|
body = buildFormUrlencodedString({
|
|
1815
1511
|
...se_UpdateServiceSpecificCredentialRequest(input, context),
|
|
@@ -1819,9 +1515,7 @@ export const se_UpdateServiceSpecificCredentialCommand = async (input, context)
|
|
|
1819
1515
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1820
1516
|
};
|
|
1821
1517
|
export const se_UpdateSigningCertificateCommand = async (input, context) => {
|
|
1822
|
-
const headers =
|
|
1823
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1824
|
-
};
|
|
1518
|
+
const headers = SHARED_HEADERS;
|
|
1825
1519
|
let body;
|
|
1826
1520
|
body = buildFormUrlencodedString({
|
|
1827
1521
|
...se_UpdateSigningCertificateRequest(input, context),
|
|
@@ -1831,9 +1525,7 @@ export const se_UpdateSigningCertificateCommand = async (input, context) => {
|
|
|
1831
1525
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1832
1526
|
};
|
|
1833
1527
|
export const se_UpdateSSHPublicKeyCommand = async (input, context) => {
|
|
1834
|
-
const headers =
|
|
1835
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1836
|
-
};
|
|
1528
|
+
const headers = SHARED_HEADERS;
|
|
1837
1529
|
let body;
|
|
1838
1530
|
body = buildFormUrlencodedString({
|
|
1839
1531
|
...se_UpdateSSHPublicKeyRequest(input, context),
|
|
@@ -1843,9 +1535,7 @@ export const se_UpdateSSHPublicKeyCommand = async (input, context) => {
|
|
|
1843
1535
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1844
1536
|
};
|
|
1845
1537
|
export const se_UpdateUserCommand = async (input, context) => {
|
|
1846
|
-
const headers =
|
|
1847
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1848
|
-
};
|
|
1538
|
+
const headers = SHARED_HEADERS;
|
|
1849
1539
|
let body;
|
|
1850
1540
|
body = buildFormUrlencodedString({
|
|
1851
1541
|
...se_UpdateUserRequest(input, context),
|
|
@@ -1855,9 +1545,7 @@ export const se_UpdateUserCommand = async (input, context) => {
|
|
|
1855
1545
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1856
1546
|
};
|
|
1857
1547
|
export const se_UploadServerCertificateCommand = async (input, context) => {
|
|
1858
|
-
const headers =
|
|
1859
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1860
|
-
};
|
|
1548
|
+
const headers = SHARED_HEADERS;
|
|
1861
1549
|
let body;
|
|
1862
1550
|
body = buildFormUrlencodedString({
|
|
1863
1551
|
...se_UploadServerCertificateRequest(input, context),
|
|
@@ -1867,9 +1555,7 @@ export const se_UploadServerCertificateCommand = async (input, context) => {
|
|
|
1867
1555
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1868
1556
|
};
|
|
1869
1557
|
export const se_UploadSigningCertificateCommand = async (input, context) => {
|
|
1870
|
-
const headers =
|
|
1871
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1872
|
-
};
|
|
1558
|
+
const headers = SHARED_HEADERS;
|
|
1873
1559
|
let body;
|
|
1874
1560
|
body = buildFormUrlencodedString({
|
|
1875
1561
|
...se_UploadSigningCertificateRequest(input, context),
|
|
@@ -1879,9 +1565,7 @@ export const se_UploadSigningCertificateCommand = async (input, context) => {
|
|
|
1879
1565
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1880
1566
|
};
|
|
1881
1567
|
export const se_UploadSSHPublicKeyCommand = async (input, context) => {
|
|
1882
|
-
const headers =
|
|
1883
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1884
|
-
};
|
|
1568
|
+
const headers = SHARED_HEADERS;
|
|
1885
1569
|
let body;
|
|
1886
1570
|
body = buildFormUrlencodedString({
|
|
1887
1571
|
...se_UploadSSHPublicKeyRequest(input, context),
|
|
@@ -13036,6 +12720,9 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
|
|
|
13036
12720
|
}
|
|
13037
12721
|
return new __HttpRequest(contents);
|
|
13038
12722
|
};
|
|
12723
|
+
const SHARED_HEADERS = {
|
|
12724
|
+
"content-type": "application/x-www-form-urlencoded",
|
|
12725
|
+
};
|
|
13039
12726
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
13040
12727
|
if (encoded.length) {
|
|
13041
12728
|
const parser = new XMLParser({
|