@aws-sdk/client-sso-admin 3.312.0 → 3.315.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_json1_1.js +213 -944
- package/dist-es/protocols/Aws_json1_1.js +214 -945
- package/package.json +6 -6
|
@@ -1,227 +1,227 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
2
|
-
import { decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp,
|
|
2
|
+
import { _json, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
|
|
4
4
|
import { SSOAdminServiceException as __BaseException } from "../models/SSOAdminServiceException";
|
|
5
5
|
export const se_AttachCustomerManagedPolicyReferenceToPermissionSetCommand = async (input, context) => {
|
|
6
6
|
const headers = sharedHeaders("AttachCustomerManagedPolicyReferenceToPermissionSet");
|
|
7
7
|
let body;
|
|
8
|
-
body = JSON.stringify(
|
|
8
|
+
body = JSON.stringify(_json(input));
|
|
9
9
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
10
10
|
};
|
|
11
11
|
export const se_AttachManagedPolicyToPermissionSetCommand = async (input, context) => {
|
|
12
12
|
const headers = sharedHeaders("AttachManagedPolicyToPermissionSet");
|
|
13
13
|
let body;
|
|
14
|
-
body = JSON.stringify(
|
|
14
|
+
body = JSON.stringify(_json(input));
|
|
15
15
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
16
16
|
};
|
|
17
17
|
export const se_CreateAccountAssignmentCommand = async (input, context) => {
|
|
18
18
|
const headers = sharedHeaders("CreateAccountAssignment");
|
|
19
19
|
let body;
|
|
20
|
-
body = JSON.stringify(
|
|
20
|
+
body = JSON.stringify(_json(input));
|
|
21
21
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
22
22
|
};
|
|
23
23
|
export const se_CreateInstanceAccessControlAttributeConfigurationCommand = async (input, context) => {
|
|
24
24
|
const headers = sharedHeaders("CreateInstanceAccessControlAttributeConfiguration");
|
|
25
25
|
let body;
|
|
26
|
-
body = JSON.stringify(
|
|
26
|
+
body = JSON.stringify(_json(input));
|
|
27
27
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
28
28
|
};
|
|
29
29
|
export const se_CreatePermissionSetCommand = async (input, context) => {
|
|
30
30
|
const headers = sharedHeaders("CreatePermissionSet");
|
|
31
31
|
let body;
|
|
32
|
-
body = JSON.stringify(
|
|
32
|
+
body = JSON.stringify(_json(input));
|
|
33
33
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
34
34
|
};
|
|
35
35
|
export const se_DeleteAccountAssignmentCommand = async (input, context) => {
|
|
36
36
|
const headers = sharedHeaders("DeleteAccountAssignment");
|
|
37
37
|
let body;
|
|
38
|
-
body = JSON.stringify(
|
|
38
|
+
body = JSON.stringify(_json(input));
|
|
39
39
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
40
40
|
};
|
|
41
41
|
export const se_DeleteInlinePolicyFromPermissionSetCommand = async (input, context) => {
|
|
42
42
|
const headers = sharedHeaders("DeleteInlinePolicyFromPermissionSet");
|
|
43
43
|
let body;
|
|
44
|
-
body = JSON.stringify(
|
|
44
|
+
body = JSON.stringify(_json(input));
|
|
45
45
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
46
46
|
};
|
|
47
47
|
export const se_DeleteInstanceAccessControlAttributeConfigurationCommand = async (input, context) => {
|
|
48
48
|
const headers = sharedHeaders("DeleteInstanceAccessControlAttributeConfiguration");
|
|
49
49
|
let body;
|
|
50
|
-
body = JSON.stringify(
|
|
50
|
+
body = JSON.stringify(_json(input));
|
|
51
51
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
52
52
|
};
|
|
53
53
|
export const se_DeletePermissionsBoundaryFromPermissionSetCommand = async (input, context) => {
|
|
54
54
|
const headers = sharedHeaders("DeletePermissionsBoundaryFromPermissionSet");
|
|
55
55
|
let body;
|
|
56
|
-
body = JSON.stringify(
|
|
56
|
+
body = JSON.stringify(_json(input));
|
|
57
57
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
58
58
|
};
|
|
59
59
|
export const se_DeletePermissionSetCommand = async (input, context) => {
|
|
60
60
|
const headers = sharedHeaders("DeletePermissionSet");
|
|
61
61
|
let body;
|
|
62
|
-
body = JSON.stringify(
|
|
62
|
+
body = JSON.stringify(_json(input));
|
|
63
63
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
64
64
|
};
|
|
65
65
|
export const se_DescribeAccountAssignmentCreationStatusCommand = async (input, context) => {
|
|
66
66
|
const headers = sharedHeaders("DescribeAccountAssignmentCreationStatus");
|
|
67
67
|
let body;
|
|
68
|
-
body = JSON.stringify(
|
|
68
|
+
body = JSON.stringify(_json(input));
|
|
69
69
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
70
70
|
};
|
|
71
71
|
export const se_DescribeAccountAssignmentDeletionStatusCommand = async (input, context) => {
|
|
72
72
|
const headers = sharedHeaders("DescribeAccountAssignmentDeletionStatus");
|
|
73
73
|
let body;
|
|
74
|
-
body = JSON.stringify(
|
|
74
|
+
body = JSON.stringify(_json(input));
|
|
75
75
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
76
76
|
};
|
|
77
77
|
export const se_DescribeInstanceAccessControlAttributeConfigurationCommand = async (input, context) => {
|
|
78
78
|
const headers = sharedHeaders("DescribeInstanceAccessControlAttributeConfiguration");
|
|
79
79
|
let body;
|
|
80
|
-
body = JSON.stringify(
|
|
80
|
+
body = JSON.stringify(_json(input));
|
|
81
81
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
82
82
|
};
|
|
83
83
|
export const se_DescribePermissionSetCommand = async (input, context) => {
|
|
84
84
|
const headers = sharedHeaders("DescribePermissionSet");
|
|
85
85
|
let body;
|
|
86
|
-
body = JSON.stringify(
|
|
86
|
+
body = JSON.stringify(_json(input));
|
|
87
87
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
88
88
|
};
|
|
89
89
|
export const se_DescribePermissionSetProvisioningStatusCommand = async (input, context) => {
|
|
90
90
|
const headers = sharedHeaders("DescribePermissionSetProvisioningStatus");
|
|
91
91
|
let body;
|
|
92
|
-
body = JSON.stringify(
|
|
92
|
+
body = JSON.stringify(_json(input));
|
|
93
93
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
94
94
|
};
|
|
95
95
|
export const se_DetachCustomerManagedPolicyReferenceFromPermissionSetCommand = async (input, context) => {
|
|
96
96
|
const headers = sharedHeaders("DetachCustomerManagedPolicyReferenceFromPermissionSet");
|
|
97
97
|
let body;
|
|
98
|
-
body = JSON.stringify(
|
|
98
|
+
body = JSON.stringify(_json(input));
|
|
99
99
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
100
100
|
};
|
|
101
101
|
export const se_DetachManagedPolicyFromPermissionSetCommand = async (input, context) => {
|
|
102
102
|
const headers = sharedHeaders("DetachManagedPolicyFromPermissionSet");
|
|
103
103
|
let body;
|
|
104
|
-
body = JSON.stringify(
|
|
104
|
+
body = JSON.stringify(_json(input));
|
|
105
105
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
106
106
|
};
|
|
107
107
|
export const se_GetInlinePolicyForPermissionSetCommand = async (input, context) => {
|
|
108
108
|
const headers = sharedHeaders("GetInlinePolicyForPermissionSet");
|
|
109
109
|
let body;
|
|
110
|
-
body = JSON.stringify(
|
|
110
|
+
body = JSON.stringify(_json(input));
|
|
111
111
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
112
112
|
};
|
|
113
113
|
export const se_GetPermissionsBoundaryForPermissionSetCommand = async (input, context) => {
|
|
114
114
|
const headers = sharedHeaders("GetPermissionsBoundaryForPermissionSet");
|
|
115
115
|
let body;
|
|
116
|
-
body = JSON.stringify(
|
|
116
|
+
body = JSON.stringify(_json(input));
|
|
117
117
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
118
118
|
};
|
|
119
119
|
export const se_ListAccountAssignmentCreationStatusCommand = async (input, context) => {
|
|
120
120
|
const headers = sharedHeaders("ListAccountAssignmentCreationStatus");
|
|
121
121
|
let body;
|
|
122
|
-
body = JSON.stringify(
|
|
122
|
+
body = JSON.stringify(_json(input));
|
|
123
123
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
124
124
|
};
|
|
125
125
|
export const se_ListAccountAssignmentDeletionStatusCommand = async (input, context) => {
|
|
126
126
|
const headers = sharedHeaders("ListAccountAssignmentDeletionStatus");
|
|
127
127
|
let body;
|
|
128
|
-
body = JSON.stringify(
|
|
128
|
+
body = JSON.stringify(_json(input));
|
|
129
129
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
130
130
|
};
|
|
131
131
|
export const se_ListAccountAssignmentsCommand = async (input, context) => {
|
|
132
132
|
const headers = sharedHeaders("ListAccountAssignments");
|
|
133
133
|
let body;
|
|
134
|
-
body = JSON.stringify(
|
|
134
|
+
body = JSON.stringify(_json(input));
|
|
135
135
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
136
136
|
};
|
|
137
137
|
export const se_ListAccountsForProvisionedPermissionSetCommand = async (input, context) => {
|
|
138
138
|
const headers = sharedHeaders("ListAccountsForProvisionedPermissionSet");
|
|
139
139
|
let body;
|
|
140
|
-
body = JSON.stringify(
|
|
140
|
+
body = JSON.stringify(_json(input));
|
|
141
141
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
142
142
|
};
|
|
143
143
|
export const se_ListCustomerManagedPolicyReferencesInPermissionSetCommand = async (input, context) => {
|
|
144
144
|
const headers = sharedHeaders("ListCustomerManagedPolicyReferencesInPermissionSet");
|
|
145
145
|
let body;
|
|
146
|
-
body = JSON.stringify(
|
|
146
|
+
body = JSON.stringify(_json(input));
|
|
147
147
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
148
148
|
};
|
|
149
149
|
export const se_ListInstancesCommand = async (input, context) => {
|
|
150
150
|
const headers = sharedHeaders("ListInstances");
|
|
151
151
|
let body;
|
|
152
|
-
body = JSON.stringify(
|
|
152
|
+
body = JSON.stringify(_json(input));
|
|
153
153
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
154
154
|
};
|
|
155
155
|
export const se_ListManagedPoliciesInPermissionSetCommand = async (input, context) => {
|
|
156
156
|
const headers = sharedHeaders("ListManagedPoliciesInPermissionSet");
|
|
157
157
|
let body;
|
|
158
|
-
body = JSON.stringify(
|
|
158
|
+
body = JSON.stringify(_json(input));
|
|
159
159
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
160
160
|
};
|
|
161
161
|
export const se_ListPermissionSetProvisioningStatusCommand = async (input, context) => {
|
|
162
162
|
const headers = sharedHeaders("ListPermissionSetProvisioningStatus");
|
|
163
163
|
let body;
|
|
164
|
-
body = JSON.stringify(
|
|
164
|
+
body = JSON.stringify(_json(input));
|
|
165
165
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
166
166
|
};
|
|
167
167
|
export const se_ListPermissionSetsCommand = async (input, context) => {
|
|
168
168
|
const headers = sharedHeaders("ListPermissionSets");
|
|
169
169
|
let body;
|
|
170
|
-
body = JSON.stringify(
|
|
170
|
+
body = JSON.stringify(_json(input));
|
|
171
171
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
172
172
|
};
|
|
173
173
|
export const se_ListPermissionSetsProvisionedToAccountCommand = async (input, context) => {
|
|
174
174
|
const headers = sharedHeaders("ListPermissionSetsProvisionedToAccount");
|
|
175
175
|
let body;
|
|
176
|
-
body = JSON.stringify(
|
|
176
|
+
body = JSON.stringify(_json(input));
|
|
177
177
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
178
178
|
};
|
|
179
179
|
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
180
180
|
const headers = sharedHeaders("ListTagsForResource");
|
|
181
181
|
let body;
|
|
182
|
-
body = JSON.stringify(
|
|
182
|
+
body = JSON.stringify(_json(input));
|
|
183
183
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
184
184
|
};
|
|
185
185
|
export const se_ProvisionPermissionSetCommand = async (input, context) => {
|
|
186
186
|
const headers = sharedHeaders("ProvisionPermissionSet");
|
|
187
187
|
let body;
|
|
188
|
-
body = JSON.stringify(
|
|
188
|
+
body = JSON.stringify(_json(input));
|
|
189
189
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
190
190
|
};
|
|
191
191
|
export const se_PutInlinePolicyToPermissionSetCommand = async (input, context) => {
|
|
192
192
|
const headers = sharedHeaders("PutInlinePolicyToPermissionSet");
|
|
193
193
|
let body;
|
|
194
|
-
body = JSON.stringify(
|
|
194
|
+
body = JSON.stringify(_json(input));
|
|
195
195
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
196
196
|
};
|
|
197
197
|
export const se_PutPermissionsBoundaryToPermissionSetCommand = async (input, context) => {
|
|
198
198
|
const headers = sharedHeaders("PutPermissionsBoundaryToPermissionSet");
|
|
199
199
|
let body;
|
|
200
|
-
body = JSON.stringify(
|
|
200
|
+
body = JSON.stringify(_json(input));
|
|
201
201
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
202
202
|
};
|
|
203
203
|
export const se_TagResourceCommand = async (input, context) => {
|
|
204
204
|
const headers = sharedHeaders("TagResource");
|
|
205
205
|
let body;
|
|
206
|
-
body = JSON.stringify(
|
|
206
|
+
body = JSON.stringify(_json(input));
|
|
207
207
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
208
208
|
};
|
|
209
209
|
export const se_UntagResourceCommand = async (input, context) => {
|
|
210
210
|
const headers = sharedHeaders("UntagResource");
|
|
211
211
|
let body;
|
|
212
|
-
body = JSON.stringify(
|
|
212
|
+
body = JSON.stringify(_json(input));
|
|
213
213
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
214
214
|
};
|
|
215
215
|
export const se_UpdateInstanceAccessControlAttributeConfigurationCommand = async (input, context) => {
|
|
216
216
|
const headers = sharedHeaders("UpdateInstanceAccessControlAttributeConfiguration");
|
|
217
217
|
let body;
|
|
218
|
-
body = JSON.stringify(
|
|
218
|
+
body = JSON.stringify(_json(input));
|
|
219
219
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
220
220
|
};
|
|
221
221
|
export const se_UpdatePermissionSetCommand = async (input, context) => {
|
|
222
222
|
const headers = sharedHeaders("UpdatePermissionSet");
|
|
223
223
|
let body;
|
|
224
|
-
body = JSON.stringify(
|
|
224
|
+
body = JSON.stringify(_json(input));
|
|
225
225
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
226
226
|
};
|
|
227
227
|
export const de_AttachCustomerManagedPolicyReferenceToPermissionSetCommand = async (output, context) => {
|
|
@@ -230,12 +230,12 @@ export const de_AttachCustomerManagedPolicyReferenceToPermissionSetCommand = asy
|
|
|
230
230
|
}
|
|
231
231
|
const data = await parseBody(output.body, context);
|
|
232
232
|
let contents = {};
|
|
233
|
-
contents =
|
|
233
|
+
contents = _json(data);
|
|
234
234
|
const response = {
|
|
235
235
|
$metadata: deserializeMetadata(output),
|
|
236
236
|
...contents,
|
|
237
237
|
};
|
|
238
|
-
return
|
|
238
|
+
return response;
|
|
239
239
|
};
|
|
240
240
|
const de_AttachCustomerManagedPolicyReferenceToPermissionSetCommandError = async (output, context) => {
|
|
241
241
|
const parsedOutput = {
|
|
@@ -267,10 +267,9 @@ const de_AttachCustomerManagedPolicyReferenceToPermissionSetCommandError = async
|
|
|
267
267
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
268
268
|
default:
|
|
269
269
|
const parsedBody = parsedOutput.body;
|
|
270
|
-
throwDefaultError({
|
|
270
|
+
return throwDefaultError({
|
|
271
271
|
output,
|
|
272
272
|
parsedBody,
|
|
273
|
-
exceptionCtor: __BaseException,
|
|
274
273
|
errorCode,
|
|
275
274
|
});
|
|
276
275
|
}
|
|
@@ -281,12 +280,12 @@ export const de_AttachManagedPolicyToPermissionSetCommand = async (output, conte
|
|
|
281
280
|
}
|
|
282
281
|
const data = await parseBody(output.body, context);
|
|
283
282
|
let contents = {};
|
|
284
|
-
contents =
|
|
283
|
+
contents = _json(data);
|
|
285
284
|
const response = {
|
|
286
285
|
$metadata: deserializeMetadata(output),
|
|
287
286
|
...contents,
|
|
288
287
|
};
|
|
289
|
-
return
|
|
288
|
+
return response;
|
|
290
289
|
};
|
|
291
290
|
const de_AttachManagedPolicyToPermissionSetCommandError = async (output, context) => {
|
|
292
291
|
const parsedOutput = {
|
|
@@ -318,10 +317,9 @@ const de_AttachManagedPolicyToPermissionSetCommandError = async (output, context
|
|
|
318
317
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
319
318
|
default:
|
|
320
319
|
const parsedBody = parsedOutput.body;
|
|
321
|
-
throwDefaultError({
|
|
320
|
+
return throwDefaultError({
|
|
322
321
|
output,
|
|
323
322
|
parsedBody,
|
|
324
|
-
exceptionCtor: __BaseException,
|
|
325
323
|
errorCode,
|
|
326
324
|
});
|
|
327
325
|
}
|
|
@@ -337,7 +335,7 @@ export const de_CreateAccountAssignmentCommand = async (output, context) => {
|
|
|
337
335
|
$metadata: deserializeMetadata(output),
|
|
338
336
|
...contents,
|
|
339
337
|
};
|
|
340
|
-
return
|
|
338
|
+
return response;
|
|
341
339
|
};
|
|
342
340
|
const de_CreateAccountAssignmentCommandError = async (output, context) => {
|
|
343
341
|
const parsedOutput = {
|
|
@@ -369,10 +367,9 @@ const de_CreateAccountAssignmentCommandError = async (output, context) => {
|
|
|
369
367
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
370
368
|
default:
|
|
371
369
|
const parsedBody = parsedOutput.body;
|
|
372
|
-
throwDefaultError({
|
|
370
|
+
return throwDefaultError({
|
|
373
371
|
output,
|
|
374
372
|
parsedBody,
|
|
375
|
-
exceptionCtor: __BaseException,
|
|
376
373
|
errorCode,
|
|
377
374
|
});
|
|
378
375
|
}
|
|
@@ -383,12 +380,12 @@ export const de_CreateInstanceAccessControlAttributeConfigurationCommand = async
|
|
|
383
380
|
}
|
|
384
381
|
const data = await parseBody(output.body, context);
|
|
385
382
|
let contents = {};
|
|
386
|
-
contents =
|
|
383
|
+
contents = _json(data);
|
|
387
384
|
const response = {
|
|
388
385
|
$metadata: deserializeMetadata(output),
|
|
389
386
|
...contents,
|
|
390
387
|
};
|
|
391
|
-
return
|
|
388
|
+
return response;
|
|
392
389
|
};
|
|
393
390
|
const de_CreateInstanceAccessControlAttributeConfigurationCommandError = async (output, context) => {
|
|
394
391
|
const parsedOutput = {
|
|
@@ -417,10 +414,9 @@ const de_CreateInstanceAccessControlAttributeConfigurationCommandError = async (
|
|
|
417
414
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
418
415
|
default:
|
|
419
416
|
const parsedBody = parsedOutput.body;
|
|
420
|
-
throwDefaultError({
|
|
417
|
+
return throwDefaultError({
|
|
421
418
|
output,
|
|
422
419
|
parsedBody,
|
|
423
|
-
exceptionCtor: __BaseException,
|
|
424
420
|
errorCode,
|
|
425
421
|
});
|
|
426
422
|
}
|
|
@@ -436,7 +432,7 @@ export const de_CreatePermissionSetCommand = async (output, context) => {
|
|
|
436
432
|
$metadata: deserializeMetadata(output),
|
|
437
433
|
...contents,
|
|
438
434
|
};
|
|
439
|
-
return
|
|
435
|
+
return response;
|
|
440
436
|
};
|
|
441
437
|
const de_CreatePermissionSetCommandError = async (output, context) => {
|
|
442
438
|
const parsedOutput = {
|
|
@@ -468,10 +464,9 @@ const de_CreatePermissionSetCommandError = async (output, context) => {
|
|
|
468
464
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
469
465
|
default:
|
|
470
466
|
const parsedBody = parsedOutput.body;
|
|
471
|
-
throwDefaultError({
|
|
467
|
+
return throwDefaultError({
|
|
472
468
|
output,
|
|
473
469
|
parsedBody,
|
|
474
|
-
exceptionCtor: __BaseException,
|
|
475
470
|
errorCode,
|
|
476
471
|
});
|
|
477
472
|
}
|
|
@@ -487,7 +482,7 @@ export const de_DeleteAccountAssignmentCommand = async (output, context) => {
|
|
|
487
482
|
$metadata: deserializeMetadata(output),
|
|
488
483
|
...contents,
|
|
489
484
|
};
|
|
490
|
-
return
|
|
485
|
+
return response;
|
|
491
486
|
};
|
|
492
487
|
const de_DeleteAccountAssignmentCommandError = async (output, context) => {
|
|
493
488
|
const parsedOutput = {
|
|
@@ -516,10 +511,9 @@ const de_DeleteAccountAssignmentCommandError = async (output, context) => {
|
|
|
516
511
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
517
512
|
default:
|
|
518
513
|
const parsedBody = parsedOutput.body;
|
|
519
|
-
throwDefaultError({
|
|
514
|
+
return throwDefaultError({
|
|
520
515
|
output,
|
|
521
516
|
parsedBody,
|
|
522
|
-
exceptionCtor: __BaseException,
|
|
523
517
|
errorCode,
|
|
524
518
|
});
|
|
525
519
|
}
|
|
@@ -530,12 +524,12 @@ export const de_DeleteInlinePolicyFromPermissionSetCommand = async (output, cont
|
|
|
530
524
|
}
|
|
531
525
|
const data = await parseBody(output.body, context);
|
|
532
526
|
let contents = {};
|
|
533
|
-
contents =
|
|
527
|
+
contents = _json(data);
|
|
534
528
|
const response = {
|
|
535
529
|
$metadata: deserializeMetadata(output),
|
|
536
530
|
...contents,
|
|
537
531
|
};
|
|
538
|
-
return
|
|
532
|
+
return response;
|
|
539
533
|
};
|
|
540
534
|
const de_DeleteInlinePolicyFromPermissionSetCommandError = async (output, context) => {
|
|
541
535
|
const parsedOutput = {
|
|
@@ -564,10 +558,9 @@ const de_DeleteInlinePolicyFromPermissionSetCommandError = async (output, contex
|
|
|
564
558
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
565
559
|
default:
|
|
566
560
|
const parsedBody = parsedOutput.body;
|
|
567
|
-
throwDefaultError({
|
|
561
|
+
return throwDefaultError({
|
|
568
562
|
output,
|
|
569
563
|
parsedBody,
|
|
570
|
-
exceptionCtor: __BaseException,
|
|
571
564
|
errorCode,
|
|
572
565
|
});
|
|
573
566
|
}
|
|
@@ -578,12 +571,12 @@ export const de_DeleteInstanceAccessControlAttributeConfigurationCommand = async
|
|
|
578
571
|
}
|
|
579
572
|
const data = await parseBody(output.body, context);
|
|
580
573
|
let contents = {};
|
|
581
|
-
contents =
|
|
574
|
+
contents = _json(data);
|
|
582
575
|
const response = {
|
|
583
576
|
$metadata: deserializeMetadata(output),
|
|
584
577
|
...contents,
|
|
585
578
|
};
|
|
586
|
-
return
|
|
579
|
+
return response;
|
|
587
580
|
};
|
|
588
581
|
const de_DeleteInstanceAccessControlAttributeConfigurationCommandError = async (output, context) => {
|
|
589
582
|
const parsedOutput = {
|
|
@@ -612,10 +605,9 @@ const de_DeleteInstanceAccessControlAttributeConfigurationCommandError = async (
|
|
|
612
605
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
613
606
|
default:
|
|
614
607
|
const parsedBody = parsedOutput.body;
|
|
615
|
-
throwDefaultError({
|
|
608
|
+
return throwDefaultError({
|
|
616
609
|
output,
|
|
617
610
|
parsedBody,
|
|
618
|
-
exceptionCtor: __BaseException,
|
|
619
611
|
errorCode,
|
|
620
612
|
});
|
|
621
613
|
}
|
|
@@ -626,12 +618,12 @@ export const de_DeletePermissionsBoundaryFromPermissionSetCommand = async (outpu
|
|
|
626
618
|
}
|
|
627
619
|
const data = await parseBody(output.body, context);
|
|
628
620
|
let contents = {};
|
|
629
|
-
contents =
|
|
621
|
+
contents = _json(data);
|
|
630
622
|
const response = {
|
|
631
623
|
$metadata: deserializeMetadata(output),
|
|
632
624
|
...contents,
|
|
633
625
|
};
|
|
634
|
-
return
|
|
626
|
+
return response;
|
|
635
627
|
};
|
|
636
628
|
const de_DeletePermissionsBoundaryFromPermissionSetCommandError = async (output, context) => {
|
|
637
629
|
const parsedOutput = {
|
|
@@ -657,10 +649,9 @@ const de_DeletePermissionsBoundaryFromPermissionSetCommandError = async (output,
|
|
|
657
649
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
658
650
|
default:
|
|
659
651
|
const parsedBody = parsedOutput.body;
|
|
660
|
-
throwDefaultError({
|
|
652
|
+
return throwDefaultError({
|
|
661
653
|
output,
|
|
662
654
|
parsedBody,
|
|
663
|
-
exceptionCtor: __BaseException,
|
|
664
655
|
errorCode,
|
|
665
656
|
});
|
|
666
657
|
}
|
|
@@ -671,12 +662,12 @@ export const de_DeletePermissionSetCommand = async (output, context) => {
|
|
|
671
662
|
}
|
|
672
663
|
const data = await parseBody(output.body, context);
|
|
673
664
|
let contents = {};
|
|
674
|
-
contents =
|
|
665
|
+
contents = _json(data);
|
|
675
666
|
const response = {
|
|
676
667
|
$metadata: deserializeMetadata(output),
|
|
677
668
|
...contents,
|
|
678
669
|
};
|
|
679
|
-
return
|
|
670
|
+
return response;
|
|
680
671
|
};
|
|
681
672
|
const de_DeletePermissionSetCommandError = async (output, context) => {
|
|
682
673
|
const parsedOutput = {
|
|
@@ -705,10 +696,9 @@ const de_DeletePermissionSetCommandError = async (output, context) => {
|
|
|
705
696
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
706
697
|
default:
|
|
707
698
|
const parsedBody = parsedOutput.body;
|
|
708
|
-
throwDefaultError({
|
|
699
|
+
return throwDefaultError({
|
|
709
700
|
output,
|
|
710
701
|
parsedBody,
|
|
711
|
-
exceptionCtor: __BaseException,
|
|
712
702
|
errorCode,
|
|
713
703
|
});
|
|
714
704
|
}
|
|
@@ -724,7 +714,7 @@ export const de_DescribeAccountAssignmentCreationStatusCommand = async (output,
|
|
|
724
714
|
$metadata: deserializeMetadata(output),
|
|
725
715
|
...contents,
|
|
726
716
|
};
|
|
727
|
-
return
|
|
717
|
+
return response;
|
|
728
718
|
};
|
|
729
719
|
const de_DescribeAccountAssignmentCreationStatusCommandError = async (output, context) => {
|
|
730
720
|
const parsedOutput = {
|
|
@@ -750,10 +740,9 @@ const de_DescribeAccountAssignmentCreationStatusCommandError = async (output, co
|
|
|
750
740
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
751
741
|
default:
|
|
752
742
|
const parsedBody = parsedOutput.body;
|
|
753
|
-
throwDefaultError({
|
|
743
|
+
return throwDefaultError({
|
|
754
744
|
output,
|
|
755
745
|
parsedBody,
|
|
756
|
-
exceptionCtor: __BaseException,
|
|
757
746
|
errorCode,
|
|
758
747
|
});
|
|
759
748
|
}
|
|
@@ -769,7 +758,7 @@ export const de_DescribeAccountAssignmentDeletionStatusCommand = async (output,
|
|
|
769
758
|
$metadata: deserializeMetadata(output),
|
|
770
759
|
...contents,
|
|
771
760
|
};
|
|
772
|
-
return
|
|
761
|
+
return response;
|
|
773
762
|
};
|
|
774
763
|
const de_DescribeAccountAssignmentDeletionStatusCommandError = async (output, context) => {
|
|
775
764
|
const parsedOutput = {
|
|
@@ -795,10 +784,9 @@ const de_DescribeAccountAssignmentDeletionStatusCommandError = async (output, co
|
|
|
795
784
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
796
785
|
default:
|
|
797
786
|
const parsedBody = parsedOutput.body;
|
|
798
|
-
throwDefaultError({
|
|
787
|
+
return throwDefaultError({
|
|
799
788
|
output,
|
|
800
789
|
parsedBody,
|
|
801
|
-
exceptionCtor: __BaseException,
|
|
802
790
|
errorCode,
|
|
803
791
|
});
|
|
804
792
|
}
|
|
@@ -809,12 +797,12 @@ export const de_DescribeInstanceAccessControlAttributeConfigurationCommand = asy
|
|
|
809
797
|
}
|
|
810
798
|
const data = await parseBody(output.body, context);
|
|
811
799
|
let contents = {};
|
|
812
|
-
contents =
|
|
800
|
+
contents = _json(data);
|
|
813
801
|
const response = {
|
|
814
802
|
$metadata: deserializeMetadata(output),
|
|
815
803
|
...contents,
|
|
816
804
|
};
|
|
817
|
-
return
|
|
805
|
+
return response;
|
|
818
806
|
};
|
|
819
807
|
const de_DescribeInstanceAccessControlAttributeConfigurationCommandError = async (output, context) => {
|
|
820
808
|
const parsedOutput = {
|
|
@@ -840,10 +828,9 @@ const de_DescribeInstanceAccessControlAttributeConfigurationCommandError = async
|
|
|
840
828
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
841
829
|
default:
|
|
842
830
|
const parsedBody = parsedOutput.body;
|
|
843
|
-
throwDefaultError({
|
|
831
|
+
return throwDefaultError({
|
|
844
832
|
output,
|
|
845
833
|
parsedBody,
|
|
846
|
-
exceptionCtor: __BaseException,
|
|
847
834
|
errorCode,
|
|
848
835
|
});
|
|
849
836
|
}
|
|
@@ -859,7 +846,7 @@ export const de_DescribePermissionSetCommand = async (output, context) => {
|
|
|
859
846
|
$metadata: deserializeMetadata(output),
|
|
860
847
|
...contents,
|
|
861
848
|
};
|
|
862
|
-
return
|
|
849
|
+
return response;
|
|
863
850
|
};
|
|
864
851
|
const de_DescribePermissionSetCommandError = async (output, context) => {
|
|
865
852
|
const parsedOutput = {
|
|
@@ -885,10 +872,9 @@ const de_DescribePermissionSetCommandError = async (output, context) => {
|
|
|
885
872
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
886
873
|
default:
|
|
887
874
|
const parsedBody = parsedOutput.body;
|
|
888
|
-
throwDefaultError({
|
|
875
|
+
return throwDefaultError({
|
|
889
876
|
output,
|
|
890
877
|
parsedBody,
|
|
891
|
-
exceptionCtor: __BaseException,
|
|
892
878
|
errorCode,
|
|
893
879
|
});
|
|
894
880
|
}
|
|
@@ -904,7 +890,7 @@ export const de_DescribePermissionSetProvisioningStatusCommand = async (output,
|
|
|
904
890
|
$metadata: deserializeMetadata(output),
|
|
905
891
|
...contents,
|
|
906
892
|
};
|
|
907
|
-
return
|
|
893
|
+
return response;
|
|
908
894
|
};
|
|
909
895
|
const de_DescribePermissionSetProvisioningStatusCommandError = async (output, context) => {
|
|
910
896
|
const parsedOutput = {
|
|
@@ -930,10 +916,9 @@ const de_DescribePermissionSetProvisioningStatusCommandError = async (output, co
|
|
|
930
916
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
931
917
|
default:
|
|
932
918
|
const parsedBody = parsedOutput.body;
|
|
933
|
-
throwDefaultError({
|
|
919
|
+
return throwDefaultError({
|
|
934
920
|
output,
|
|
935
921
|
parsedBody,
|
|
936
|
-
exceptionCtor: __BaseException,
|
|
937
922
|
errorCode,
|
|
938
923
|
});
|
|
939
924
|
}
|
|
@@ -944,12 +929,12 @@ export const de_DetachCustomerManagedPolicyReferenceFromPermissionSetCommand = a
|
|
|
944
929
|
}
|
|
945
930
|
const data = await parseBody(output.body, context);
|
|
946
931
|
let contents = {};
|
|
947
|
-
contents =
|
|
932
|
+
contents = _json(data);
|
|
948
933
|
const response = {
|
|
949
934
|
$metadata: deserializeMetadata(output),
|
|
950
935
|
...contents,
|
|
951
936
|
};
|
|
952
|
-
return
|
|
937
|
+
return response;
|
|
953
938
|
};
|
|
954
939
|
const de_DetachCustomerManagedPolicyReferenceFromPermissionSetCommandError = async (output, context) => {
|
|
955
940
|
const parsedOutput = {
|
|
@@ -978,10 +963,9 @@ const de_DetachCustomerManagedPolicyReferenceFromPermissionSetCommandError = asy
|
|
|
978
963
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
979
964
|
default:
|
|
980
965
|
const parsedBody = parsedOutput.body;
|
|
981
|
-
throwDefaultError({
|
|
966
|
+
return throwDefaultError({
|
|
982
967
|
output,
|
|
983
968
|
parsedBody,
|
|
984
|
-
exceptionCtor: __BaseException,
|
|
985
969
|
errorCode,
|
|
986
970
|
});
|
|
987
971
|
}
|
|
@@ -992,12 +976,12 @@ export const de_DetachManagedPolicyFromPermissionSetCommand = async (output, con
|
|
|
992
976
|
}
|
|
993
977
|
const data = await parseBody(output.body, context);
|
|
994
978
|
let contents = {};
|
|
995
|
-
contents =
|
|
979
|
+
contents = _json(data);
|
|
996
980
|
const response = {
|
|
997
981
|
$metadata: deserializeMetadata(output),
|
|
998
982
|
...contents,
|
|
999
983
|
};
|
|
1000
|
-
return
|
|
984
|
+
return response;
|
|
1001
985
|
};
|
|
1002
986
|
const de_DetachManagedPolicyFromPermissionSetCommandError = async (output, context) => {
|
|
1003
987
|
const parsedOutput = {
|
|
@@ -1026,10 +1010,9 @@ const de_DetachManagedPolicyFromPermissionSetCommandError = async (output, conte
|
|
|
1026
1010
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1027
1011
|
default:
|
|
1028
1012
|
const parsedBody = parsedOutput.body;
|
|
1029
|
-
throwDefaultError({
|
|
1013
|
+
return throwDefaultError({
|
|
1030
1014
|
output,
|
|
1031
1015
|
parsedBody,
|
|
1032
|
-
exceptionCtor: __BaseException,
|
|
1033
1016
|
errorCode,
|
|
1034
1017
|
});
|
|
1035
1018
|
}
|
|
@@ -1040,12 +1023,12 @@ export const de_GetInlinePolicyForPermissionSetCommand = async (output, context)
|
|
|
1040
1023
|
}
|
|
1041
1024
|
const data = await parseBody(output.body, context);
|
|
1042
1025
|
let contents = {};
|
|
1043
|
-
contents =
|
|
1026
|
+
contents = _json(data);
|
|
1044
1027
|
const response = {
|
|
1045
1028
|
$metadata: deserializeMetadata(output),
|
|
1046
1029
|
...contents,
|
|
1047
1030
|
};
|
|
1048
|
-
return
|
|
1031
|
+
return response;
|
|
1049
1032
|
};
|
|
1050
1033
|
const de_GetInlinePolicyForPermissionSetCommandError = async (output, context) => {
|
|
1051
1034
|
const parsedOutput = {
|
|
@@ -1071,10 +1054,9 @@ const de_GetInlinePolicyForPermissionSetCommandError = async (output, context) =
|
|
|
1071
1054
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1072
1055
|
default:
|
|
1073
1056
|
const parsedBody = parsedOutput.body;
|
|
1074
|
-
throwDefaultError({
|
|
1057
|
+
return throwDefaultError({
|
|
1075
1058
|
output,
|
|
1076
1059
|
parsedBody,
|
|
1077
|
-
exceptionCtor: __BaseException,
|
|
1078
1060
|
errorCode,
|
|
1079
1061
|
});
|
|
1080
1062
|
}
|
|
@@ -1085,12 +1067,12 @@ export const de_GetPermissionsBoundaryForPermissionSetCommand = async (output, c
|
|
|
1085
1067
|
}
|
|
1086
1068
|
const data = await parseBody(output.body, context);
|
|
1087
1069
|
let contents = {};
|
|
1088
|
-
contents =
|
|
1070
|
+
contents = _json(data);
|
|
1089
1071
|
const response = {
|
|
1090
1072
|
$metadata: deserializeMetadata(output),
|
|
1091
1073
|
...contents,
|
|
1092
1074
|
};
|
|
1093
|
-
return
|
|
1075
|
+
return response;
|
|
1094
1076
|
};
|
|
1095
1077
|
const de_GetPermissionsBoundaryForPermissionSetCommandError = async (output, context) => {
|
|
1096
1078
|
const parsedOutput = {
|
|
@@ -1116,10 +1098,9 @@ const de_GetPermissionsBoundaryForPermissionSetCommandError = async (output, con
|
|
|
1116
1098
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1117
1099
|
default:
|
|
1118
1100
|
const parsedBody = parsedOutput.body;
|
|
1119
|
-
throwDefaultError({
|
|
1101
|
+
return throwDefaultError({
|
|
1120
1102
|
output,
|
|
1121
1103
|
parsedBody,
|
|
1122
|
-
exceptionCtor: __BaseException,
|
|
1123
1104
|
errorCode,
|
|
1124
1105
|
});
|
|
1125
1106
|
}
|
|
@@ -1135,7 +1116,7 @@ export const de_ListAccountAssignmentCreationStatusCommand = async (output, cont
|
|
|
1135
1116
|
$metadata: deserializeMetadata(output),
|
|
1136
1117
|
...contents,
|
|
1137
1118
|
};
|
|
1138
|
-
return
|
|
1119
|
+
return response;
|
|
1139
1120
|
};
|
|
1140
1121
|
const de_ListAccountAssignmentCreationStatusCommandError = async (output, context) => {
|
|
1141
1122
|
const parsedOutput = {
|
|
@@ -1161,10 +1142,9 @@ const de_ListAccountAssignmentCreationStatusCommandError = async (output, contex
|
|
|
1161
1142
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1162
1143
|
default:
|
|
1163
1144
|
const parsedBody = parsedOutput.body;
|
|
1164
|
-
throwDefaultError({
|
|
1145
|
+
return throwDefaultError({
|
|
1165
1146
|
output,
|
|
1166
1147
|
parsedBody,
|
|
1167
|
-
exceptionCtor: __BaseException,
|
|
1168
1148
|
errorCode,
|
|
1169
1149
|
});
|
|
1170
1150
|
}
|
|
@@ -1180,7 +1160,7 @@ export const de_ListAccountAssignmentDeletionStatusCommand = async (output, cont
|
|
|
1180
1160
|
$metadata: deserializeMetadata(output),
|
|
1181
1161
|
...contents,
|
|
1182
1162
|
};
|
|
1183
|
-
return
|
|
1163
|
+
return response;
|
|
1184
1164
|
};
|
|
1185
1165
|
const de_ListAccountAssignmentDeletionStatusCommandError = async (output, context) => {
|
|
1186
1166
|
const parsedOutput = {
|
|
@@ -1206,10 +1186,9 @@ const de_ListAccountAssignmentDeletionStatusCommandError = async (output, contex
|
|
|
1206
1186
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1207
1187
|
default:
|
|
1208
1188
|
const parsedBody = parsedOutput.body;
|
|
1209
|
-
throwDefaultError({
|
|
1189
|
+
return throwDefaultError({
|
|
1210
1190
|
output,
|
|
1211
1191
|
parsedBody,
|
|
1212
|
-
exceptionCtor: __BaseException,
|
|
1213
1192
|
errorCode,
|
|
1214
1193
|
});
|
|
1215
1194
|
}
|
|
@@ -1220,12 +1199,12 @@ export const de_ListAccountAssignmentsCommand = async (output, context) => {
|
|
|
1220
1199
|
}
|
|
1221
1200
|
const data = await parseBody(output.body, context);
|
|
1222
1201
|
let contents = {};
|
|
1223
|
-
contents =
|
|
1202
|
+
contents = _json(data);
|
|
1224
1203
|
const response = {
|
|
1225
1204
|
$metadata: deserializeMetadata(output),
|
|
1226
1205
|
...contents,
|
|
1227
1206
|
};
|
|
1228
|
-
return
|
|
1207
|
+
return response;
|
|
1229
1208
|
};
|
|
1230
1209
|
const de_ListAccountAssignmentsCommandError = async (output, context) => {
|
|
1231
1210
|
const parsedOutput = {
|
|
@@ -1251,10 +1230,9 @@ const de_ListAccountAssignmentsCommandError = async (output, context) => {
|
|
|
1251
1230
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1252
1231
|
default:
|
|
1253
1232
|
const parsedBody = parsedOutput.body;
|
|
1254
|
-
throwDefaultError({
|
|
1233
|
+
return throwDefaultError({
|
|
1255
1234
|
output,
|
|
1256
1235
|
parsedBody,
|
|
1257
|
-
exceptionCtor: __BaseException,
|
|
1258
1236
|
errorCode,
|
|
1259
1237
|
});
|
|
1260
1238
|
}
|
|
@@ -1265,12 +1243,12 @@ export const de_ListAccountsForProvisionedPermissionSetCommand = async (output,
|
|
|
1265
1243
|
}
|
|
1266
1244
|
const data = await parseBody(output.body, context);
|
|
1267
1245
|
let contents = {};
|
|
1268
|
-
contents =
|
|
1246
|
+
contents = _json(data);
|
|
1269
1247
|
const response = {
|
|
1270
1248
|
$metadata: deserializeMetadata(output),
|
|
1271
1249
|
...contents,
|
|
1272
1250
|
};
|
|
1273
|
-
return
|
|
1251
|
+
return response;
|
|
1274
1252
|
};
|
|
1275
1253
|
const de_ListAccountsForProvisionedPermissionSetCommandError = async (output, context) => {
|
|
1276
1254
|
const parsedOutput = {
|
|
@@ -1296,10 +1274,9 @@ const de_ListAccountsForProvisionedPermissionSetCommandError = async (output, co
|
|
|
1296
1274
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1297
1275
|
default:
|
|
1298
1276
|
const parsedBody = parsedOutput.body;
|
|
1299
|
-
throwDefaultError({
|
|
1277
|
+
return throwDefaultError({
|
|
1300
1278
|
output,
|
|
1301
1279
|
parsedBody,
|
|
1302
|
-
exceptionCtor: __BaseException,
|
|
1303
1280
|
errorCode,
|
|
1304
1281
|
});
|
|
1305
1282
|
}
|
|
@@ -1310,12 +1287,12 @@ export const de_ListCustomerManagedPolicyReferencesInPermissionSetCommand = asyn
|
|
|
1310
1287
|
}
|
|
1311
1288
|
const data = await parseBody(output.body, context);
|
|
1312
1289
|
let contents = {};
|
|
1313
|
-
contents =
|
|
1290
|
+
contents = _json(data);
|
|
1314
1291
|
const response = {
|
|
1315
1292
|
$metadata: deserializeMetadata(output),
|
|
1316
1293
|
...contents,
|
|
1317
1294
|
};
|
|
1318
|
-
return
|
|
1295
|
+
return response;
|
|
1319
1296
|
};
|
|
1320
1297
|
const de_ListCustomerManagedPolicyReferencesInPermissionSetCommandError = async (output, context) => {
|
|
1321
1298
|
const parsedOutput = {
|
|
@@ -1341,10 +1318,9 @@ const de_ListCustomerManagedPolicyReferencesInPermissionSetCommandError = async
|
|
|
1341
1318
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1342
1319
|
default:
|
|
1343
1320
|
const parsedBody = parsedOutput.body;
|
|
1344
|
-
throwDefaultError({
|
|
1321
|
+
return throwDefaultError({
|
|
1345
1322
|
output,
|
|
1346
1323
|
parsedBody,
|
|
1347
|
-
exceptionCtor: __BaseException,
|
|
1348
1324
|
errorCode,
|
|
1349
1325
|
});
|
|
1350
1326
|
}
|
|
@@ -1355,12 +1331,12 @@ export const de_ListInstancesCommand = async (output, context) => {
|
|
|
1355
1331
|
}
|
|
1356
1332
|
const data = await parseBody(output.body, context);
|
|
1357
1333
|
let contents = {};
|
|
1358
|
-
contents =
|
|
1334
|
+
contents = _json(data);
|
|
1359
1335
|
const response = {
|
|
1360
1336
|
$metadata: deserializeMetadata(output),
|
|
1361
1337
|
...contents,
|
|
1362
1338
|
};
|
|
1363
|
-
return
|
|
1339
|
+
return response;
|
|
1364
1340
|
};
|
|
1365
1341
|
const de_ListInstancesCommandError = async (output, context) => {
|
|
1366
1342
|
const parsedOutput = {
|
|
@@ -1383,10 +1359,9 @@ const de_ListInstancesCommandError = async (output, context) => {
|
|
|
1383
1359
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1384
1360
|
default:
|
|
1385
1361
|
const parsedBody = parsedOutput.body;
|
|
1386
|
-
throwDefaultError({
|
|
1362
|
+
return throwDefaultError({
|
|
1387
1363
|
output,
|
|
1388
1364
|
parsedBody,
|
|
1389
|
-
exceptionCtor: __BaseException,
|
|
1390
1365
|
errorCode,
|
|
1391
1366
|
});
|
|
1392
1367
|
}
|
|
@@ -1397,12 +1372,12 @@ export const de_ListManagedPoliciesInPermissionSetCommand = async (output, conte
|
|
|
1397
1372
|
}
|
|
1398
1373
|
const data = await parseBody(output.body, context);
|
|
1399
1374
|
let contents = {};
|
|
1400
|
-
contents =
|
|
1375
|
+
contents = _json(data);
|
|
1401
1376
|
const response = {
|
|
1402
1377
|
$metadata: deserializeMetadata(output),
|
|
1403
1378
|
...contents,
|
|
1404
1379
|
};
|
|
1405
|
-
return
|
|
1380
|
+
return response;
|
|
1406
1381
|
};
|
|
1407
1382
|
const de_ListManagedPoliciesInPermissionSetCommandError = async (output, context) => {
|
|
1408
1383
|
const parsedOutput = {
|
|
@@ -1428,10 +1403,9 @@ const de_ListManagedPoliciesInPermissionSetCommandError = async (output, context
|
|
|
1428
1403
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1429
1404
|
default:
|
|
1430
1405
|
const parsedBody = parsedOutput.body;
|
|
1431
|
-
throwDefaultError({
|
|
1406
|
+
return throwDefaultError({
|
|
1432
1407
|
output,
|
|
1433
1408
|
parsedBody,
|
|
1434
|
-
exceptionCtor: __BaseException,
|
|
1435
1409
|
errorCode,
|
|
1436
1410
|
});
|
|
1437
1411
|
}
|
|
@@ -1447,7 +1421,7 @@ export const de_ListPermissionSetProvisioningStatusCommand = async (output, cont
|
|
|
1447
1421
|
$metadata: deserializeMetadata(output),
|
|
1448
1422
|
...contents,
|
|
1449
1423
|
};
|
|
1450
|
-
return
|
|
1424
|
+
return response;
|
|
1451
1425
|
};
|
|
1452
1426
|
const de_ListPermissionSetProvisioningStatusCommandError = async (output, context) => {
|
|
1453
1427
|
const parsedOutput = {
|
|
@@ -1473,10 +1447,9 @@ const de_ListPermissionSetProvisioningStatusCommandError = async (output, contex
|
|
|
1473
1447
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1474
1448
|
default:
|
|
1475
1449
|
const parsedBody = parsedOutput.body;
|
|
1476
|
-
throwDefaultError({
|
|
1450
|
+
return throwDefaultError({
|
|
1477
1451
|
output,
|
|
1478
1452
|
parsedBody,
|
|
1479
|
-
exceptionCtor: __BaseException,
|
|
1480
1453
|
errorCode,
|
|
1481
1454
|
});
|
|
1482
1455
|
}
|
|
@@ -1487,12 +1460,12 @@ export const de_ListPermissionSetsCommand = async (output, context) => {
|
|
|
1487
1460
|
}
|
|
1488
1461
|
const data = await parseBody(output.body, context);
|
|
1489
1462
|
let contents = {};
|
|
1490
|
-
contents =
|
|
1463
|
+
contents = _json(data);
|
|
1491
1464
|
const response = {
|
|
1492
1465
|
$metadata: deserializeMetadata(output),
|
|
1493
1466
|
...contents,
|
|
1494
1467
|
};
|
|
1495
|
-
return
|
|
1468
|
+
return response;
|
|
1496
1469
|
};
|
|
1497
1470
|
const de_ListPermissionSetsCommandError = async (output, context) => {
|
|
1498
1471
|
const parsedOutput = {
|
|
@@ -1518,10 +1491,9 @@ const de_ListPermissionSetsCommandError = async (output, context) => {
|
|
|
1518
1491
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1519
1492
|
default:
|
|
1520
1493
|
const parsedBody = parsedOutput.body;
|
|
1521
|
-
throwDefaultError({
|
|
1494
|
+
return throwDefaultError({
|
|
1522
1495
|
output,
|
|
1523
1496
|
parsedBody,
|
|
1524
|
-
exceptionCtor: __BaseException,
|
|
1525
1497
|
errorCode,
|
|
1526
1498
|
});
|
|
1527
1499
|
}
|
|
@@ -1532,12 +1504,12 @@ export const de_ListPermissionSetsProvisionedToAccountCommand = async (output, c
|
|
|
1532
1504
|
}
|
|
1533
1505
|
const data = await parseBody(output.body, context);
|
|
1534
1506
|
let contents = {};
|
|
1535
|
-
contents =
|
|
1507
|
+
contents = _json(data);
|
|
1536
1508
|
const response = {
|
|
1537
1509
|
$metadata: deserializeMetadata(output),
|
|
1538
1510
|
...contents,
|
|
1539
1511
|
};
|
|
1540
|
-
return
|
|
1512
|
+
return response;
|
|
1541
1513
|
};
|
|
1542
1514
|
const de_ListPermissionSetsProvisionedToAccountCommandError = async (output, context) => {
|
|
1543
1515
|
const parsedOutput = {
|
|
@@ -1563,10 +1535,9 @@ const de_ListPermissionSetsProvisionedToAccountCommandError = async (output, con
|
|
|
1563
1535
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1564
1536
|
default:
|
|
1565
1537
|
const parsedBody = parsedOutput.body;
|
|
1566
|
-
throwDefaultError({
|
|
1538
|
+
return throwDefaultError({
|
|
1567
1539
|
output,
|
|
1568
1540
|
parsedBody,
|
|
1569
|
-
exceptionCtor: __BaseException,
|
|
1570
1541
|
errorCode,
|
|
1571
1542
|
});
|
|
1572
1543
|
}
|
|
@@ -1577,12 +1548,12 @@ export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
1577
1548
|
}
|
|
1578
1549
|
const data = await parseBody(output.body, context);
|
|
1579
1550
|
let contents = {};
|
|
1580
|
-
contents =
|
|
1551
|
+
contents = _json(data);
|
|
1581
1552
|
const response = {
|
|
1582
1553
|
$metadata: deserializeMetadata(output),
|
|
1583
1554
|
...contents,
|
|
1584
1555
|
};
|
|
1585
|
-
return
|
|
1556
|
+
return response;
|
|
1586
1557
|
};
|
|
1587
1558
|
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
1588
1559
|
const parsedOutput = {
|
|
@@ -1608,10 +1579,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
1608
1579
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1609
1580
|
default:
|
|
1610
1581
|
const parsedBody = parsedOutput.body;
|
|
1611
|
-
throwDefaultError({
|
|
1582
|
+
return throwDefaultError({
|
|
1612
1583
|
output,
|
|
1613
1584
|
parsedBody,
|
|
1614
|
-
exceptionCtor: __BaseException,
|
|
1615
1585
|
errorCode,
|
|
1616
1586
|
});
|
|
1617
1587
|
}
|
|
@@ -1627,7 +1597,7 @@ export const de_ProvisionPermissionSetCommand = async (output, context) => {
|
|
|
1627
1597
|
$metadata: deserializeMetadata(output),
|
|
1628
1598
|
...contents,
|
|
1629
1599
|
};
|
|
1630
|
-
return
|
|
1600
|
+
return response;
|
|
1631
1601
|
};
|
|
1632
1602
|
const de_ProvisionPermissionSetCommandError = async (output, context) => {
|
|
1633
1603
|
const parsedOutput = {
|
|
@@ -1656,10 +1626,9 @@ const de_ProvisionPermissionSetCommandError = async (output, context) => {
|
|
|
1656
1626
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1657
1627
|
default:
|
|
1658
1628
|
const parsedBody = parsedOutput.body;
|
|
1659
|
-
throwDefaultError({
|
|
1629
|
+
return throwDefaultError({
|
|
1660
1630
|
output,
|
|
1661
1631
|
parsedBody,
|
|
1662
|
-
exceptionCtor: __BaseException,
|
|
1663
1632
|
errorCode,
|
|
1664
1633
|
});
|
|
1665
1634
|
}
|
|
@@ -1670,12 +1639,12 @@ export const de_PutInlinePolicyToPermissionSetCommand = async (output, context)
|
|
|
1670
1639
|
}
|
|
1671
1640
|
const data = await parseBody(output.body, context);
|
|
1672
1641
|
let contents = {};
|
|
1673
|
-
contents =
|
|
1642
|
+
contents = _json(data);
|
|
1674
1643
|
const response = {
|
|
1675
1644
|
$metadata: deserializeMetadata(output),
|
|
1676
1645
|
...contents,
|
|
1677
1646
|
};
|
|
1678
|
-
return
|
|
1647
|
+
return response;
|
|
1679
1648
|
};
|
|
1680
1649
|
const de_PutInlinePolicyToPermissionSetCommandError = async (output, context) => {
|
|
1681
1650
|
const parsedOutput = {
|
|
@@ -1707,10 +1676,9 @@ const de_PutInlinePolicyToPermissionSetCommandError = async (output, context) =>
|
|
|
1707
1676
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1708
1677
|
default:
|
|
1709
1678
|
const parsedBody = parsedOutput.body;
|
|
1710
|
-
throwDefaultError({
|
|
1679
|
+
return throwDefaultError({
|
|
1711
1680
|
output,
|
|
1712
1681
|
parsedBody,
|
|
1713
|
-
exceptionCtor: __BaseException,
|
|
1714
1682
|
errorCode,
|
|
1715
1683
|
});
|
|
1716
1684
|
}
|
|
@@ -1721,12 +1689,12 @@ export const de_PutPermissionsBoundaryToPermissionSetCommand = async (output, co
|
|
|
1721
1689
|
}
|
|
1722
1690
|
const data = await parseBody(output.body, context);
|
|
1723
1691
|
let contents = {};
|
|
1724
|
-
contents =
|
|
1692
|
+
contents = _json(data);
|
|
1725
1693
|
const response = {
|
|
1726
1694
|
$metadata: deserializeMetadata(output),
|
|
1727
1695
|
...contents,
|
|
1728
1696
|
};
|
|
1729
|
-
return
|
|
1697
|
+
return response;
|
|
1730
1698
|
};
|
|
1731
1699
|
const de_PutPermissionsBoundaryToPermissionSetCommandError = async (output, context) => {
|
|
1732
1700
|
const parsedOutput = {
|
|
@@ -1755,10 +1723,9 @@ const de_PutPermissionsBoundaryToPermissionSetCommandError = async (output, cont
|
|
|
1755
1723
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1756
1724
|
default:
|
|
1757
1725
|
const parsedBody = parsedOutput.body;
|
|
1758
|
-
throwDefaultError({
|
|
1726
|
+
return throwDefaultError({
|
|
1759
1727
|
output,
|
|
1760
1728
|
parsedBody,
|
|
1761
|
-
exceptionCtor: __BaseException,
|
|
1762
1729
|
errorCode,
|
|
1763
1730
|
});
|
|
1764
1731
|
}
|
|
@@ -1769,12 +1736,12 @@ export const de_TagResourceCommand = async (output, context) => {
|
|
|
1769
1736
|
}
|
|
1770
1737
|
const data = await parseBody(output.body, context);
|
|
1771
1738
|
let contents = {};
|
|
1772
|
-
contents =
|
|
1739
|
+
contents = _json(data);
|
|
1773
1740
|
const response = {
|
|
1774
1741
|
$metadata: deserializeMetadata(output),
|
|
1775
1742
|
...contents,
|
|
1776
1743
|
};
|
|
1777
|
-
return
|
|
1744
|
+
return response;
|
|
1778
1745
|
};
|
|
1779
1746
|
const de_TagResourceCommandError = async (output, context) => {
|
|
1780
1747
|
const parsedOutput = {
|
|
@@ -1806,10 +1773,9 @@ const de_TagResourceCommandError = async (output, context) => {
|
|
|
1806
1773
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1807
1774
|
default:
|
|
1808
1775
|
const parsedBody = parsedOutput.body;
|
|
1809
|
-
throwDefaultError({
|
|
1776
|
+
return throwDefaultError({
|
|
1810
1777
|
output,
|
|
1811
1778
|
parsedBody,
|
|
1812
|
-
exceptionCtor: __BaseException,
|
|
1813
1779
|
errorCode,
|
|
1814
1780
|
});
|
|
1815
1781
|
}
|
|
@@ -1820,12 +1786,12 @@ export const de_UntagResourceCommand = async (output, context) => {
|
|
|
1820
1786
|
}
|
|
1821
1787
|
const data = await parseBody(output.body, context);
|
|
1822
1788
|
let contents = {};
|
|
1823
|
-
contents =
|
|
1789
|
+
contents = _json(data);
|
|
1824
1790
|
const response = {
|
|
1825
1791
|
$metadata: deserializeMetadata(output),
|
|
1826
1792
|
...contents,
|
|
1827
1793
|
};
|
|
1828
|
-
return
|
|
1794
|
+
return response;
|
|
1829
1795
|
};
|
|
1830
1796
|
const de_UntagResourceCommandError = async (output, context) => {
|
|
1831
1797
|
const parsedOutput = {
|
|
@@ -1854,10 +1820,9 @@ const de_UntagResourceCommandError = async (output, context) => {
|
|
|
1854
1820
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1855
1821
|
default:
|
|
1856
1822
|
const parsedBody = parsedOutput.body;
|
|
1857
|
-
throwDefaultError({
|
|
1823
|
+
return throwDefaultError({
|
|
1858
1824
|
output,
|
|
1859
1825
|
parsedBody,
|
|
1860
|
-
exceptionCtor: __BaseException,
|
|
1861
1826
|
errorCode,
|
|
1862
1827
|
});
|
|
1863
1828
|
}
|
|
@@ -1868,12 +1833,12 @@ export const de_UpdateInstanceAccessControlAttributeConfigurationCommand = async
|
|
|
1868
1833
|
}
|
|
1869
1834
|
const data = await parseBody(output.body, context);
|
|
1870
1835
|
let contents = {};
|
|
1871
|
-
contents =
|
|
1836
|
+
contents = _json(data);
|
|
1872
1837
|
const response = {
|
|
1873
1838
|
$metadata: deserializeMetadata(output),
|
|
1874
1839
|
...contents,
|
|
1875
1840
|
};
|
|
1876
|
-
return
|
|
1841
|
+
return response;
|
|
1877
1842
|
};
|
|
1878
1843
|
const de_UpdateInstanceAccessControlAttributeConfigurationCommandError = async (output, context) => {
|
|
1879
1844
|
const parsedOutput = {
|
|
@@ -1902,10 +1867,9 @@ const de_UpdateInstanceAccessControlAttributeConfigurationCommandError = async (
|
|
|
1902
1867
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1903
1868
|
default:
|
|
1904
1869
|
const parsedBody = parsedOutput.body;
|
|
1905
|
-
throwDefaultError({
|
|
1870
|
+
return throwDefaultError({
|
|
1906
1871
|
output,
|
|
1907
1872
|
parsedBody,
|
|
1908
|
-
exceptionCtor: __BaseException,
|
|
1909
1873
|
errorCode,
|
|
1910
1874
|
});
|
|
1911
1875
|
}
|
|
@@ -1916,12 +1880,12 @@ export const de_UpdatePermissionSetCommand = async (output, context) => {
|
|
|
1916
1880
|
}
|
|
1917
1881
|
const data = await parseBody(output.body, context);
|
|
1918
1882
|
let contents = {};
|
|
1919
|
-
contents =
|
|
1883
|
+
contents = _json(data);
|
|
1920
1884
|
const response = {
|
|
1921
1885
|
$metadata: deserializeMetadata(output),
|
|
1922
1886
|
...contents,
|
|
1923
1887
|
};
|
|
1924
|
-
return
|
|
1888
|
+
return response;
|
|
1925
1889
|
};
|
|
1926
1890
|
const de_UpdatePermissionSetCommandError = async (output, context) => {
|
|
1927
1891
|
const parsedOutput = {
|
|
@@ -1950,17 +1914,16 @@ const de_UpdatePermissionSetCommandError = async (output, context) => {
|
|
|
1950
1914
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1951
1915
|
default:
|
|
1952
1916
|
const parsedBody = parsedOutput.body;
|
|
1953
|
-
throwDefaultError({
|
|
1917
|
+
return throwDefaultError({
|
|
1954
1918
|
output,
|
|
1955
1919
|
parsedBody,
|
|
1956
|
-
exceptionCtor: __BaseException,
|
|
1957
1920
|
errorCode,
|
|
1958
1921
|
});
|
|
1959
1922
|
}
|
|
1960
1923
|
};
|
|
1961
1924
|
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
1962
1925
|
const body = parsedOutput.body;
|
|
1963
|
-
const deserialized =
|
|
1926
|
+
const deserialized = _json(body);
|
|
1964
1927
|
const exception = new AccessDeniedException({
|
|
1965
1928
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1966
1929
|
...deserialized,
|
|
@@ -1969,7 +1932,7 @@ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
|
1969
1932
|
};
|
|
1970
1933
|
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
1971
1934
|
const body = parsedOutput.body;
|
|
1972
|
-
const deserialized =
|
|
1935
|
+
const deserialized = _json(body);
|
|
1973
1936
|
const exception = new ConflictException({
|
|
1974
1937
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1975
1938
|
...deserialized,
|
|
@@ -1978,7 +1941,7 @@ const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
|
1978
1941
|
};
|
|
1979
1942
|
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
1980
1943
|
const body = parsedOutput.body;
|
|
1981
|
-
const deserialized =
|
|
1944
|
+
const deserialized = _json(body);
|
|
1982
1945
|
const exception = new InternalServerException({
|
|
1983
1946
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1984
1947
|
...deserialized,
|
|
@@ -1987,7 +1950,7 @@ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
|
1987
1950
|
};
|
|
1988
1951
|
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1989
1952
|
const body = parsedOutput.body;
|
|
1990
|
-
const deserialized =
|
|
1953
|
+
const deserialized = _json(body);
|
|
1991
1954
|
const exception = new ResourceNotFoundException({
|
|
1992
1955
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1993
1956
|
...deserialized,
|
|
@@ -1996,7 +1959,7 @@ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
1996
1959
|
};
|
|
1997
1960
|
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
1998
1961
|
const body = parsedOutput.body;
|
|
1999
|
-
const deserialized =
|
|
1962
|
+
const deserialized = _json(body);
|
|
2000
1963
|
const exception = new ServiceQuotaExceededException({
|
|
2001
1964
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2002
1965
|
...deserialized,
|
|
@@ -2005,7 +1968,7 @@ const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
|
2005
1968
|
};
|
|
2006
1969
|
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
2007
1970
|
const body = parsedOutput.body;
|
|
2008
|
-
const deserialized =
|
|
1971
|
+
const deserialized = _json(body);
|
|
2009
1972
|
const exception = new ThrottlingException({
|
|
2010
1973
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2011
1974
|
...deserialized,
|
|
@@ -2014,828 +1977,133 @@ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
|
2014
1977
|
};
|
|
2015
1978
|
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
2016
1979
|
const body = parsedOutput.body;
|
|
2017
|
-
const deserialized =
|
|
1980
|
+
const deserialized = _json(body);
|
|
2018
1981
|
const exception = new ValidationException({
|
|
2019
1982
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2020
1983
|
...deserialized,
|
|
2021
1984
|
});
|
|
2022
1985
|
return __decorateServiceException(exception, body);
|
|
2023
1986
|
};
|
|
2024
|
-
const se_AccessControlAttribute = (input, context) => {
|
|
2025
|
-
return {
|
|
2026
|
-
...(input.Key != null && { Key: input.Key }),
|
|
2027
|
-
...(input.Value != null && { Value: se_AccessControlAttributeValue(input.Value, context) }),
|
|
2028
|
-
};
|
|
2029
|
-
};
|
|
2030
|
-
const se_AccessControlAttributeList = (input, context) => {
|
|
2031
|
-
return input
|
|
2032
|
-
.filter((e) => e != null)
|
|
2033
|
-
.map((entry) => {
|
|
2034
|
-
return se_AccessControlAttribute(entry, context);
|
|
2035
|
-
});
|
|
2036
|
-
};
|
|
2037
|
-
const se_AccessControlAttributeValue = (input, context) => {
|
|
2038
|
-
return {
|
|
2039
|
-
...(input.Source != null && { Source: se_AccessControlAttributeValueSourceList(input.Source, context) }),
|
|
2040
|
-
};
|
|
2041
|
-
};
|
|
2042
|
-
const se_AccessControlAttributeValueSourceList = (input, context) => {
|
|
2043
|
-
return input
|
|
2044
|
-
.filter((e) => e != null)
|
|
2045
|
-
.map((entry) => {
|
|
2046
|
-
return entry;
|
|
2047
|
-
});
|
|
2048
|
-
};
|
|
2049
|
-
const se_AttachCustomerManagedPolicyReferenceToPermissionSetRequest = (input, context) => {
|
|
2050
|
-
return {
|
|
2051
|
-
...(input.CustomerManagedPolicyReference != null && {
|
|
2052
|
-
CustomerManagedPolicyReference: se_CustomerManagedPolicyReference(input.CustomerManagedPolicyReference, context),
|
|
2053
|
-
}),
|
|
2054
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2055
|
-
...(input.PermissionSetArn != null && { PermissionSetArn: input.PermissionSetArn }),
|
|
2056
|
-
};
|
|
2057
|
-
};
|
|
2058
|
-
const se_AttachManagedPolicyToPermissionSetRequest = (input, context) => {
|
|
2059
|
-
return {
|
|
2060
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2061
|
-
...(input.ManagedPolicyArn != null && { ManagedPolicyArn: input.ManagedPolicyArn }),
|
|
2062
|
-
...(input.PermissionSetArn != null && { PermissionSetArn: input.PermissionSetArn }),
|
|
2063
|
-
};
|
|
2064
|
-
};
|
|
2065
|
-
const se_CreateAccountAssignmentRequest = (input, context) => {
|
|
2066
|
-
return {
|
|
2067
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2068
|
-
...(input.PermissionSetArn != null && { PermissionSetArn: input.PermissionSetArn }),
|
|
2069
|
-
...(input.PrincipalId != null && { PrincipalId: input.PrincipalId }),
|
|
2070
|
-
...(input.PrincipalType != null && { PrincipalType: input.PrincipalType }),
|
|
2071
|
-
...(input.TargetId != null && { TargetId: input.TargetId }),
|
|
2072
|
-
...(input.TargetType != null && { TargetType: input.TargetType }),
|
|
2073
|
-
};
|
|
2074
|
-
};
|
|
2075
|
-
const se_CreateInstanceAccessControlAttributeConfigurationRequest = (input, context) => {
|
|
2076
|
-
return {
|
|
2077
|
-
...(input.InstanceAccessControlAttributeConfiguration != null && {
|
|
2078
|
-
InstanceAccessControlAttributeConfiguration: se_InstanceAccessControlAttributeConfiguration(input.InstanceAccessControlAttributeConfiguration, context),
|
|
2079
|
-
}),
|
|
2080
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2081
|
-
};
|
|
2082
|
-
};
|
|
2083
|
-
const se_CreatePermissionSetRequest = (input, context) => {
|
|
2084
|
-
return {
|
|
2085
|
-
...(input.Description != null && { Description: input.Description }),
|
|
2086
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2087
|
-
...(input.Name != null && { Name: input.Name }),
|
|
2088
|
-
...(input.RelayState != null && { RelayState: input.RelayState }),
|
|
2089
|
-
...(input.SessionDuration != null && { SessionDuration: input.SessionDuration }),
|
|
2090
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
2091
|
-
};
|
|
2092
|
-
};
|
|
2093
|
-
const se_CustomerManagedPolicyReference = (input, context) => {
|
|
2094
|
-
return {
|
|
2095
|
-
...(input.Name != null && { Name: input.Name }),
|
|
2096
|
-
...(input.Path != null && { Path: input.Path }),
|
|
2097
|
-
};
|
|
2098
|
-
};
|
|
2099
|
-
const se_DeleteAccountAssignmentRequest = (input, context) => {
|
|
2100
|
-
return {
|
|
2101
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2102
|
-
...(input.PermissionSetArn != null && { PermissionSetArn: input.PermissionSetArn }),
|
|
2103
|
-
...(input.PrincipalId != null && { PrincipalId: input.PrincipalId }),
|
|
2104
|
-
...(input.PrincipalType != null && { PrincipalType: input.PrincipalType }),
|
|
2105
|
-
...(input.TargetId != null && { TargetId: input.TargetId }),
|
|
2106
|
-
...(input.TargetType != null && { TargetType: input.TargetType }),
|
|
2107
|
-
};
|
|
2108
|
-
};
|
|
2109
|
-
const se_DeleteInlinePolicyFromPermissionSetRequest = (input, context) => {
|
|
2110
|
-
return {
|
|
2111
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2112
|
-
...(input.PermissionSetArn != null && { PermissionSetArn: input.PermissionSetArn }),
|
|
2113
|
-
};
|
|
2114
|
-
};
|
|
2115
|
-
const se_DeleteInstanceAccessControlAttributeConfigurationRequest = (input, context) => {
|
|
2116
|
-
return {
|
|
2117
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2118
|
-
};
|
|
2119
|
-
};
|
|
2120
|
-
const se_DeletePermissionsBoundaryFromPermissionSetRequest = (input, context) => {
|
|
2121
|
-
return {
|
|
2122
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2123
|
-
...(input.PermissionSetArn != null && { PermissionSetArn: input.PermissionSetArn }),
|
|
2124
|
-
};
|
|
2125
|
-
};
|
|
2126
|
-
const se_DeletePermissionSetRequest = (input, context) => {
|
|
2127
|
-
return {
|
|
2128
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2129
|
-
...(input.PermissionSetArn != null && { PermissionSetArn: input.PermissionSetArn }),
|
|
2130
|
-
};
|
|
2131
|
-
};
|
|
2132
|
-
const se_DescribeAccountAssignmentCreationStatusRequest = (input, context) => {
|
|
2133
|
-
return {
|
|
2134
|
-
...(input.AccountAssignmentCreationRequestId != null && {
|
|
2135
|
-
AccountAssignmentCreationRequestId: input.AccountAssignmentCreationRequestId,
|
|
2136
|
-
}),
|
|
2137
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2138
|
-
};
|
|
2139
|
-
};
|
|
2140
|
-
const se_DescribeAccountAssignmentDeletionStatusRequest = (input, context) => {
|
|
2141
|
-
return {
|
|
2142
|
-
...(input.AccountAssignmentDeletionRequestId != null && {
|
|
2143
|
-
AccountAssignmentDeletionRequestId: input.AccountAssignmentDeletionRequestId,
|
|
2144
|
-
}),
|
|
2145
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2146
|
-
};
|
|
2147
|
-
};
|
|
2148
|
-
const se_DescribeInstanceAccessControlAttributeConfigurationRequest = (input, context) => {
|
|
2149
|
-
return {
|
|
2150
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2151
|
-
};
|
|
2152
|
-
};
|
|
2153
|
-
const se_DescribePermissionSetProvisioningStatusRequest = (input, context) => {
|
|
2154
|
-
return {
|
|
2155
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2156
|
-
...(input.ProvisionPermissionSetRequestId != null && {
|
|
2157
|
-
ProvisionPermissionSetRequestId: input.ProvisionPermissionSetRequestId,
|
|
2158
|
-
}),
|
|
2159
|
-
};
|
|
2160
|
-
};
|
|
2161
|
-
const se_DescribePermissionSetRequest = (input, context) => {
|
|
2162
|
-
return {
|
|
2163
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2164
|
-
...(input.PermissionSetArn != null && { PermissionSetArn: input.PermissionSetArn }),
|
|
2165
|
-
};
|
|
2166
|
-
};
|
|
2167
|
-
const se_DetachCustomerManagedPolicyReferenceFromPermissionSetRequest = (input, context) => {
|
|
2168
|
-
return {
|
|
2169
|
-
...(input.CustomerManagedPolicyReference != null && {
|
|
2170
|
-
CustomerManagedPolicyReference: se_CustomerManagedPolicyReference(input.CustomerManagedPolicyReference, context),
|
|
2171
|
-
}),
|
|
2172
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2173
|
-
...(input.PermissionSetArn != null && { PermissionSetArn: input.PermissionSetArn }),
|
|
2174
|
-
};
|
|
2175
|
-
};
|
|
2176
|
-
const se_DetachManagedPolicyFromPermissionSetRequest = (input, context) => {
|
|
2177
|
-
return {
|
|
2178
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2179
|
-
...(input.ManagedPolicyArn != null && { ManagedPolicyArn: input.ManagedPolicyArn }),
|
|
2180
|
-
...(input.PermissionSetArn != null && { PermissionSetArn: input.PermissionSetArn }),
|
|
2181
|
-
};
|
|
2182
|
-
};
|
|
2183
|
-
const se_GetInlinePolicyForPermissionSetRequest = (input, context) => {
|
|
2184
|
-
return {
|
|
2185
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2186
|
-
...(input.PermissionSetArn != null && { PermissionSetArn: input.PermissionSetArn }),
|
|
2187
|
-
};
|
|
2188
|
-
};
|
|
2189
|
-
const se_GetPermissionsBoundaryForPermissionSetRequest = (input, context) => {
|
|
2190
|
-
return {
|
|
2191
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2192
|
-
...(input.PermissionSetArn != null && { PermissionSetArn: input.PermissionSetArn }),
|
|
2193
|
-
};
|
|
2194
|
-
};
|
|
2195
|
-
const se_InstanceAccessControlAttributeConfiguration = (input, context) => {
|
|
2196
|
-
return {
|
|
2197
|
-
...(input.AccessControlAttributes != null && {
|
|
2198
|
-
AccessControlAttributes: se_AccessControlAttributeList(input.AccessControlAttributes, context),
|
|
2199
|
-
}),
|
|
2200
|
-
};
|
|
2201
|
-
};
|
|
2202
|
-
const se_ListAccountAssignmentCreationStatusRequest = (input, context) => {
|
|
2203
|
-
return {
|
|
2204
|
-
...(input.Filter != null && { Filter: se_OperationStatusFilter(input.Filter, context) }),
|
|
2205
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2206
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2207
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2208
|
-
};
|
|
2209
|
-
};
|
|
2210
|
-
const se_ListAccountAssignmentDeletionStatusRequest = (input, context) => {
|
|
2211
|
-
return {
|
|
2212
|
-
...(input.Filter != null && { Filter: se_OperationStatusFilter(input.Filter, context) }),
|
|
2213
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2214
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2215
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2216
|
-
};
|
|
2217
|
-
};
|
|
2218
|
-
const se_ListAccountAssignmentsRequest = (input, context) => {
|
|
2219
|
-
return {
|
|
2220
|
-
...(input.AccountId != null && { AccountId: input.AccountId }),
|
|
2221
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2222
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2223
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2224
|
-
...(input.PermissionSetArn != null && { PermissionSetArn: input.PermissionSetArn }),
|
|
2225
|
-
};
|
|
2226
|
-
};
|
|
2227
|
-
const se_ListAccountsForProvisionedPermissionSetRequest = (input, context) => {
|
|
2228
|
-
return {
|
|
2229
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2230
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2231
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2232
|
-
...(input.PermissionSetArn != null && { PermissionSetArn: input.PermissionSetArn }),
|
|
2233
|
-
...(input.ProvisioningStatus != null && { ProvisioningStatus: input.ProvisioningStatus }),
|
|
2234
|
-
};
|
|
2235
|
-
};
|
|
2236
|
-
const se_ListCustomerManagedPolicyReferencesInPermissionSetRequest = (input, context) => {
|
|
2237
|
-
return {
|
|
2238
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2239
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2240
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2241
|
-
...(input.PermissionSetArn != null && { PermissionSetArn: input.PermissionSetArn }),
|
|
2242
|
-
};
|
|
2243
|
-
};
|
|
2244
|
-
const se_ListInstancesRequest = (input, context) => {
|
|
2245
|
-
return {
|
|
2246
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2247
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2248
|
-
};
|
|
2249
|
-
};
|
|
2250
|
-
const se_ListManagedPoliciesInPermissionSetRequest = (input, context) => {
|
|
2251
|
-
return {
|
|
2252
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2253
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2254
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2255
|
-
...(input.PermissionSetArn != null && { PermissionSetArn: input.PermissionSetArn }),
|
|
2256
|
-
};
|
|
2257
|
-
};
|
|
2258
|
-
const se_ListPermissionSetProvisioningStatusRequest = (input, context) => {
|
|
2259
|
-
return {
|
|
2260
|
-
...(input.Filter != null && { Filter: se_OperationStatusFilter(input.Filter, context) }),
|
|
2261
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2262
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2263
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2264
|
-
};
|
|
2265
|
-
};
|
|
2266
|
-
const se_ListPermissionSetsProvisionedToAccountRequest = (input, context) => {
|
|
2267
|
-
return {
|
|
2268
|
-
...(input.AccountId != null && { AccountId: input.AccountId }),
|
|
2269
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2270
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2271
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2272
|
-
...(input.ProvisioningStatus != null && { ProvisioningStatus: input.ProvisioningStatus }),
|
|
2273
|
-
};
|
|
2274
|
-
};
|
|
2275
|
-
const se_ListPermissionSetsRequest = (input, context) => {
|
|
2276
|
-
return {
|
|
2277
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2278
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2279
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2280
|
-
};
|
|
2281
|
-
};
|
|
2282
|
-
const se_ListTagsForResourceRequest = (input, context) => {
|
|
2283
|
-
return {
|
|
2284
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2285
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2286
|
-
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
2287
|
-
};
|
|
2288
|
-
};
|
|
2289
|
-
const se_OperationStatusFilter = (input, context) => {
|
|
2290
|
-
return {
|
|
2291
|
-
...(input.Status != null && { Status: input.Status }),
|
|
2292
|
-
};
|
|
2293
|
-
};
|
|
2294
|
-
const se_PermissionsBoundary = (input, context) => {
|
|
2295
|
-
return {
|
|
2296
|
-
...(input.CustomerManagedPolicyReference != null && {
|
|
2297
|
-
CustomerManagedPolicyReference: se_CustomerManagedPolicyReference(input.CustomerManagedPolicyReference, context),
|
|
2298
|
-
}),
|
|
2299
|
-
...(input.ManagedPolicyArn != null && { ManagedPolicyArn: input.ManagedPolicyArn }),
|
|
2300
|
-
};
|
|
2301
|
-
};
|
|
2302
|
-
const se_ProvisionPermissionSetRequest = (input, context) => {
|
|
2303
|
-
return {
|
|
2304
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2305
|
-
...(input.PermissionSetArn != null && { PermissionSetArn: input.PermissionSetArn }),
|
|
2306
|
-
...(input.TargetId != null && { TargetId: input.TargetId }),
|
|
2307
|
-
...(input.TargetType != null && { TargetType: input.TargetType }),
|
|
2308
|
-
};
|
|
2309
|
-
};
|
|
2310
|
-
const se_PutInlinePolicyToPermissionSetRequest = (input, context) => {
|
|
2311
|
-
return {
|
|
2312
|
-
...(input.InlinePolicy != null && { InlinePolicy: input.InlinePolicy }),
|
|
2313
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2314
|
-
...(input.PermissionSetArn != null && { PermissionSetArn: input.PermissionSetArn }),
|
|
2315
|
-
};
|
|
2316
|
-
};
|
|
2317
|
-
const se_PutPermissionsBoundaryToPermissionSetRequest = (input, context) => {
|
|
2318
|
-
return {
|
|
2319
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2320
|
-
...(input.PermissionSetArn != null && { PermissionSetArn: input.PermissionSetArn }),
|
|
2321
|
-
...(input.PermissionsBoundary != null && {
|
|
2322
|
-
PermissionsBoundary: se_PermissionsBoundary(input.PermissionsBoundary, context),
|
|
2323
|
-
}),
|
|
2324
|
-
};
|
|
2325
|
-
};
|
|
2326
|
-
const se_Tag = (input, context) => {
|
|
2327
|
-
return {
|
|
2328
|
-
...(input.Key != null && { Key: input.Key }),
|
|
2329
|
-
...(input.Value != null && { Value: input.Value }),
|
|
2330
|
-
};
|
|
2331
|
-
};
|
|
2332
|
-
const se_TagKeyList = (input, context) => {
|
|
2333
|
-
return input
|
|
2334
|
-
.filter((e) => e != null)
|
|
2335
|
-
.map((entry) => {
|
|
2336
|
-
return entry;
|
|
2337
|
-
});
|
|
2338
|
-
};
|
|
2339
|
-
const se_TagList = (input, context) => {
|
|
2340
|
-
return input
|
|
2341
|
-
.filter((e) => e != null)
|
|
2342
|
-
.map((entry) => {
|
|
2343
|
-
return se_Tag(entry, context);
|
|
2344
|
-
});
|
|
2345
|
-
};
|
|
2346
|
-
const se_TagResourceRequest = (input, context) => {
|
|
2347
|
-
return {
|
|
2348
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2349
|
-
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
2350
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
2351
|
-
};
|
|
2352
|
-
};
|
|
2353
|
-
const se_UntagResourceRequest = (input, context) => {
|
|
2354
|
-
return {
|
|
2355
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2356
|
-
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
2357
|
-
...(input.TagKeys != null && { TagKeys: se_TagKeyList(input.TagKeys, context) }),
|
|
2358
|
-
};
|
|
2359
|
-
};
|
|
2360
|
-
const se_UpdateInstanceAccessControlAttributeConfigurationRequest = (input, context) => {
|
|
2361
|
-
return {
|
|
2362
|
-
...(input.InstanceAccessControlAttributeConfiguration != null && {
|
|
2363
|
-
InstanceAccessControlAttributeConfiguration: se_InstanceAccessControlAttributeConfiguration(input.InstanceAccessControlAttributeConfiguration, context),
|
|
2364
|
-
}),
|
|
2365
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2366
|
-
};
|
|
2367
|
-
};
|
|
2368
|
-
const se_UpdatePermissionSetRequest = (input, context) => {
|
|
2369
|
-
return {
|
|
2370
|
-
...(input.Description != null && { Description: input.Description }),
|
|
2371
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2372
|
-
...(input.PermissionSetArn != null && { PermissionSetArn: input.PermissionSetArn }),
|
|
2373
|
-
...(input.RelayState != null && { RelayState: input.RelayState }),
|
|
2374
|
-
...(input.SessionDuration != null && { SessionDuration: input.SessionDuration }),
|
|
2375
|
-
};
|
|
2376
|
-
};
|
|
2377
|
-
const de_AccessControlAttribute = (output, context) => {
|
|
2378
|
-
return {
|
|
2379
|
-
Key: __expectString(output.Key),
|
|
2380
|
-
Value: output.Value != null ? de_AccessControlAttributeValue(output.Value, context) : undefined,
|
|
2381
|
-
};
|
|
2382
|
-
};
|
|
2383
|
-
const de_AccessControlAttributeList = (output, context) => {
|
|
2384
|
-
const retVal = (output || [])
|
|
2385
|
-
.filter((e) => e != null)
|
|
2386
|
-
.map((entry) => {
|
|
2387
|
-
if (entry === null) {
|
|
2388
|
-
return null;
|
|
2389
|
-
}
|
|
2390
|
-
return de_AccessControlAttribute(entry, context);
|
|
2391
|
-
});
|
|
2392
|
-
return retVal;
|
|
2393
|
-
};
|
|
2394
|
-
const de_AccessControlAttributeValue = (output, context) => {
|
|
2395
|
-
return {
|
|
2396
|
-
Source: output.Source != null ? de_AccessControlAttributeValueSourceList(output.Source, context) : undefined,
|
|
2397
|
-
};
|
|
2398
|
-
};
|
|
2399
|
-
const de_AccessControlAttributeValueSourceList = (output, context) => {
|
|
2400
|
-
const retVal = (output || [])
|
|
2401
|
-
.filter((e) => e != null)
|
|
2402
|
-
.map((entry) => {
|
|
2403
|
-
if (entry === null) {
|
|
2404
|
-
return null;
|
|
2405
|
-
}
|
|
2406
|
-
return __expectString(entry);
|
|
2407
|
-
});
|
|
2408
|
-
return retVal;
|
|
2409
|
-
};
|
|
2410
|
-
const de_AccessDeniedException = (output, context) => {
|
|
2411
|
-
return {
|
|
2412
|
-
Message: __expectString(output.Message),
|
|
2413
|
-
};
|
|
2414
|
-
};
|
|
2415
|
-
const de_AccountAssignment = (output, context) => {
|
|
2416
|
-
return {
|
|
2417
|
-
AccountId: __expectString(output.AccountId),
|
|
2418
|
-
PermissionSetArn: __expectString(output.PermissionSetArn),
|
|
2419
|
-
PrincipalId: __expectString(output.PrincipalId),
|
|
2420
|
-
PrincipalType: __expectString(output.PrincipalType),
|
|
2421
|
-
};
|
|
2422
|
-
};
|
|
2423
|
-
const de_AccountAssignmentList = (output, context) => {
|
|
2424
|
-
const retVal = (output || [])
|
|
2425
|
-
.filter((e) => e != null)
|
|
2426
|
-
.map((entry) => {
|
|
2427
|
-
if (entry === null) {
|
|
2428
|
-
return null;
|
|
2429
|
-
}
|
|
2430
|
-
return de_AccountAssignment(entry, context);
|
|
2431
|
-
});
|
|
2432
|
-
return retVal;
|
|
2433
|
-
};
|
|
2434
1987
|
const de_AccountAssignmentOperationStatus = (output, context) => {
|
|
2435
|
-
return {
|
|
2436
|
-
CreatedDate:
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
TargetType: __expectString(output.TargetType),
|
|
2447
|
-
};
|
|
1988
|
+
return take(output, {
|
|
1989
|
+
CreatedDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1990
|
+
FailureReason: __expectString,
|
|
1991
|
+
PermissionSetArn: __expectString,
|
|
1992
|
+
PrincipalId: __expectString,
|
|
1993
|
+
PrincipalType: __expectString,
|
|
1994
|
+
RequestId: __expectString,
|
|
1995
|
+
Status: __expectString,
|
|
1996
|
+
TargetId: __expectString,
|
|
1997
|
+
TargetType: __expectString,
|
|
1998
|
+
});
|
|
2448
1999
|
};
|
|
2449
2000
|
const de_AccountAssignmentOperationStatusList = (output, context) => {
|
|
2450
2001
|
const retVal = (output || [])
|
|
2451
2002
|
.filter((e) => e != null)
|
|
2452
2003
|
.map((entry) => {
|
|
2453
|
-
if (entry === null) {
|
|
2454
|
-
return null;
|
|
2455
|
-
}
|
|
2456
2004
|
return de_AccountAssignmentOperationStatusMetadata(entry, context);
|
|
2457
2005
|
});
|
|
2458
2006
|
return retVal;
|
|
2459
2007
|
};
|
|
2460
2008
|
const de_AccountAssignmentOperationStatusMetadata = (output, context) => {
|
|
2461
|
-
return {
|
|
2462
|
-
CreatedDate:
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
RequestId: __expectString(output.RequestId),
|
|
2466
|
-
Status: __expectString(output.Status),
|
|
2467
|
-
};
|
|
2468
|
-
};
|
|
2469
|
-
const de_AccountList = (output, context) => {
|
|
2470
|
-
const retVal = (output || [])
|
|
2471
|
-
.filter((e) => e != null)
|
|
2472
|
-
.map((entry) => {
|
|
2473
|
-
if (entry === null) {
|
|
2474
|
-
return null;
|
|
2475
|
-
}
|
|
2476
|
-
return __expectString(entry);
|
|
2477
|
-
});
|
|
2478
|
-
return retVal;
|
|
2479
|
-
};
|
|
2480
|
-
const de_AttachCustomerManagedPolicyReferenceToPermissionSetResponse = (output, context) => {
|
|
2481
|
-
return {};
|
|
2482
|
-
};
|
|
2483
|
-
const de_AttachedManagedPolicy = (output, context) => {
|
|
2484
|
-
return {
|
|
2485
|
-
Arn: __expectString(output.Arn),
|
|
2486
|
-
Name: __expectString(output.Name),
|
|
2487
|
-
};
|
|
2488
|
-
};
|
|
2489
|
-
const de_AttachedManagedPolicyList = (output, context) => {
|
|
2490
|
-
const retVal = (output || [])
|
|
2491
|
-
.filter((e) => e != null)
|
|
2492
|
-
.map((entry) => {
|
|
2493
|
-
if (entry === null) {
|
|
2494
|
-
return null;
|
|
2495
|
-
}
|
|
2496
|
-
return de_AttachedManagedPolicy(entry, context);
|
|
2009
|
+
return take(output, {
|
|
2010
|
+
CreatedDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2011
|
+
RequestId: __expectString,
|
|
2012
|
+
Status: __expectString,
|
|
2497
2013
|
});
|
|
2498
|
-
return retVal;
|
|
2499
|
-
};
|
|
2500
|
-
const de_AttachManagedPolicyToPermissionSetResponse = (output, context) => {
|
|
2501
|
-
return {};
|
|
2502
|
-
};
|
|
2503
|
-
const de_ConflictException = (output, context) => {
|
|
2504
|
-
return {
|
|
2505
|
-
Message: __expectString(output.Message),
|
|
2506
|
-
};
|
|
2507
2014
|
};
|
|
2508
2015
|
const de_CreateAccountAssignmentResponse = (output, context) => {
|
|
2509
|
-
return {
|
|
2510
|
-
AccountAssignmentCreationStatus:
|
|
2511
|
-
|
|
2512
|
-
: undefined,
|
|
2513
|
-
};
|
|
2514
|
-
};
|
|
2515
|
-
const de_CreateInstanceAccessControlAttributeConfigurationResponse = (output, context) => {
|
|
2516
|
-
return {};
|
|
2016
|
+
return take(output, {
|
|
2017
|
+
AccountAssignmentCreationStatus: (_) => de_AccountAssignmentOperationStatus(_, context),
|
|
2018
|
+
});
|
|
2517
2019
|
};
|
|
2518
2020
|
const de_CreatePermissionSetResponse = (output, context) => {
|
|
2519
|
-
return {
|
|
2520
|
-
PermissionSet:
|
|
2521
|
-
};
|
|
2522
|
-
};
|
|
2523
|
-
const de_CustomerManagedPolicyReference = (output, context) => {
|
|
2524
|
-
return {
|
|
2525
|
-
Name: __expectString(output.Name),
|
|
2526
|
-
Path: __expectString(output.Path),
|
|
2527
|
-
};
|
|
2528
|
-
};
|
|
2529
|
-
const de_CustomerManagedPolicyReferenceList = (output, context) => {
|
|
2530
|
-
const retVal = (output || [])
|
|
2531
|
-
.filter((e) => e != null)
|
|
2532
|
-
.map((entry) => {
|
|
2533
|
-
if (entry === null) {
|
|
2534
|
-
return null;
|
|
2535
|
-
}
|
|
2536
|
-
return de_CustomerManagedPolicyReference(entry, context);
|
|
2021
|
+
return take(output, {
|
|
2022
|
+
PermissionSet: (_) => de_PermissionSet(_, context),
|
|
2537
2023
|
});
|
|
2538
|
-
return retVal;
|
|
2539
2024
|
};
|
|
2540
2025
|
const de_DeleteAccountAssignmentResponse = (output, context) => {
|
|
2541
|
-
return {
|
|
2542
|
-
AccountAssignmentDeletionStatus:
|
|
2543
|
-
|
|
2544
|
-
: undefined,
|
|
2545
|
-
};
|
|
2546
|
-
};
|
|
2547
|
-
const de_DeleteInlinePolicyFromPermissionSetResponse = (output, context) => {
|
|
2548
|
-
return {};
|
|
2549
|
-
};
|
|
2550
|
-
const de_DeleteInstanceAccessControlAttributeConfigurationResponse = (output, context) => {
|
|
2551
|
-
return {};
|
|
2552
|
-
};
|
|
2553
|
-
const de_DeletePermissionsBoundaryFromPermissionSetResponse = (output, context) => {
|
|
2554
|
-
return {};
|
|
2555
|
-
};
|
|
2556
|
-
const de_DeletePermissionSetResponse = (output, context) => {
|
|
2557
|
-
return {};
|
|
2026
|
+
return take(output, {
|
|
2027
|
+
AccountAssignmentDeletionStatus: (_) => de_AccountAssignmentOperationStatus(_, context),
|
|
2028
|
+
});
|
|
2558
2029
|
};
|
|
2559
2030
|
const de_DescribeAccountAssignmentCreationStatusResponse = (output, context) => {
|
|
2560
|
-
return {
|
|
2561
|
-
AccountAssignmentCreationStatus:
|
|
2562
|
-
|
|
2563
|
-
: undefined,
|
|
2564
|
-
};
|
|
2031
|
+
return take(output, {
|
|
2032
|
+
AccountAssignmentCreationStatus: (_) => de_AccountAssignmentOperationStatus(_, context),
|
|
2033
|
+
});
|
|
2565
2034
|
};
|
|
2566
2035
|
const de_DescribeAccountAssignmentDeletionStatusResponse = (output, context) => {
|
|
2567
|
-
return {
|
|
2568
|
-
AccountAssignmentDeletionStatus:
|
|
2569
|
-
|
|
2570
|
-
: undefined,
|
|
2571
|
-
};
|
|
2572
|
-
};
|
|
2573
|
-
const de_DescribeInstanceAccessControlAttributeConfigurationResponse = (output, context) => {
|
|
2574
|
-
return {
|
|
2575
|
-
InstanceAccessControlAttributeConfiguration: output.InstanceAccessControlAttributeConfiguration != null
|
|
2576
|
-
? de_InstanceAccessControlAttributeConfiguration(output.InstanceAccessControlAttributeConfiguration, context)
|
|
2577
|
-
: undefined,
|
|
2578
|
-
Status: __expectString(output.Status),
|
|
2579
|
-
StatusReason: __expectString(output.StatusReason),
|
|
2580
|
-
};
|
|
2036
|
+
return take(output, {
|
|
2037
|
+
AccountAssignmentDeletionStatus: (_) => de_AccountAssignmentOperationStatus(_, context),
|
|
2038
|
+
});
|
|
2581
2039
|
};
|
|
2582
2040
|
const de_DescribePermissionSetProvisioningStatusResponse = (output, context) => {
|
|
2583
|
-
return {
|
|
2584
|
-
PermissionSetProvisioningStatus:
|
|
2585
|
-
|
|
2586
|
-
: undefined,
|
|
2587
|
-
};
|
|
2041
|
+
return take(output, {
|
|
2042
|
+
PermissionSetProvisioningStatus: (_) => de_PermissionSetProvisioningStatus(_, context),
|
|
2043
|
+
});
|
|
2588
2044
|
};
|
|
2589
2045
|
const de_DescribePermissionSetResponse = (output, context) => {
|
|
2590
|
-
return {
|
|
2591
|
-
PermissionSet:
|
|
2592
|
-
};
|
|
2593
|
-
};
|
|
2594
|
-
const de_DetachCustomerManagedPolicyReferenceFromPermissionSetResponse = (output, context) => {
|
|
2595
|
-
return {};
|
|
2596
|
-
};
|
|
2597
|
-
const de_DetachManagedPolicyFromPermissionSetResponse = (output, context) => {
|
|
2598
|
-
return {};
|
|
2599
|
-
};
|
|
2600
|
-
const de_GetInlinePolicyForPermissionSetResponse = (output, context) => {
|
|
2601
|
-
return {
|
|
2602
|
-
InlinePolicy: __expectString(output.InlinePolicy),
|
|
2603
|
-
};
|
|
2604
|
-
};
|
|
2605
|
-
const de_GetPermissionsBoundaryForPermissionSetResponse = (output, context) => {
|
|
2606
|
-
return {
|
|
2607
|
-
PermissionsBoundary: output.PermissionsBoundary != null ? de_PermissionsBoundary(output.PermissionsBoundary, context) : undefined,
|
|
2608
|
-
};
|
|
2609
|
-
};
|
|
2610
|
-
const de_InstanceAccessControlAttributeConfiguration = (output, context) => {
|
|
2611
|
-
return {
|
|
2612
|
-
AccessControlAttributes: output.AccessControlAttributes != null
|
|
2613
|
-
? de_AccessControlAttributeList(output.AccessControlAttributes, context)
|
|
2614
|
-
: undefined,
|
|
2615
|
-
};
|
|
2616
|
-
};
|
|
2617
|
-
const de_InstanceList = (output, context) => {
|
|
2618
|
-
const retVal = (output || [])
|
|
2619
|
-
.filter((e) => e != null)
|
|
2620
|
-
.map((entry) => {
|
|
2621
|
-
if (entry === null) {
|
|
2622
|
-
return null;
|
|
2623
|
-
}
|
|
2624
|
-
return de_InstanceMetadata(entry, context);
|
|
2046
|
+
return take(output, {
|
|
2047
|
+
PermissionSet: (_) => de_PermissionSet(_, context),
|
|
2625
2048
|
});
|
|
2626
|
-
return retVal;
|
|
2627
|
-
};
|
|
2628
|
-
const de_InstanceMetadata = (output, context) => {
|
|
2629
|
-
return {
|
|
2630
|
-
IdentityStoreId: __expectString(output.IdentityStoreId),
|
|
2631
|
-
InstanceArn: __expectString(output.InstanceArn),
|
|
2632
|
-
};
|
|
2633
|
-
};
|
|
2634
|
-
const de_InternalServerException = (output, context) => {
|
|
2635
|
-
return {
|
|
2636
|
-
Message: __expectString(output.Message),
|
|
2637
|
-
};
|
|
2638
2049
|
};
|
|
2639
2050
|
const de_ListAccountAssignmentCreationStatusResponse = (output, context) => {
|
|
2640
|
-
return {
|
|
2641
|
-
AccountAssignmentsCreationStatus:
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
NextToken: __expectString(output.NextToken),
|
|
2645
|
-
};
|
|
2051
|
+
return take(output, {
|
|
2052
|
+
AccountAssignmentsCreationStatus: (_) => de_AccountAssignmentOperationStatusList(_, context),
|
|
2053
|
+
NextToken: __expectString,
|
|
2054
|
+
});
|
|
2646
2055
|
};
|
|
2647
2056
|
const de_ListAccountAssignmentDeletionStatusResponse = (output, context) => {
|
|
2648
|
-
return {
|
|
2649
|
-
AccountAssignmentsDeletionStatus:
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
NextToken: __expectString(output.NextToken),
|
|
2653
|
-
};
|
|
2654
|
-
};
|
|
2655
|
-
const de_ListAccountAssignmentsResponse = (output, context) => {
|
|
2656
|
-
return {
|
|
2657
|
-
AccountAssignments: output.AccountAssignments != null ? de_AccountAssignmentList(output.AccountAssignments, context) : undefined,
|
|
2658
|
-
NextToken: __expectString(output.NextToken),
|
|
2659
|
-
};
|
|
2660
|
-
};
|
|
2661
|
-
const de_ListAccountsForProvisionedPermissionSetResponse = (output, context) => {
|
|
2662
|
-
return {
|
|
2663
|
-
AccountIds: output.AccountIds != null ? de_AccountList(output.AccountIds, context) : undefined,
|
|
2664
|
-
NextToken: __expectString(output.NextToken),
|
|
2665
|
-
};
|
|
2666
|
-
};
|
|
2667
|
-
const de_ListCustomerManagedPolicyReferencesInPermissionSetResponse = (output, context) => {
|
|
2668
|
-
return {
|
|
2669
|
-
CustomerManagedPolicyReferences: output.CustomerManagedPolicyReferences != null
|
|
2670
|
-
? de_CustomerManagedPolicyReferenceList(output.CustomerManagedPolicyReferences, context)
|
|
2671
|
-
: undefined,
|
|
2672
|
-
NextToken: __expectString(output.NextToken),
|
|
2673
|
-
};
|
|
2674
|
-
};
|
|
2675
|
-
const de_ListInstancesResponse = (output, context) => {
|
|
2676
|
-
return {
|
|
2677
|
-
Instances: output.Instances != null ? de_InstanceList(output.Instances, context) : undefined,
|
|
2678
|
-
NextToken: __expectString(output.NextToken),
|
|
2679
|
-
};
|
|
2680
|
-
};
|
|
2681
|
-
const de_ListManagedPoliciesInPermissionSetResponse = (output, context) => {
|
|
2682
|
-
return {
|
|
2683
|
-
AttachedManagedPolicies: output.AttachedManagedPolicies != null
|
|
2684
|
-
? de_AttachedManagedPolicyList(output.AttachedManagedPolicies, context)
|
|
2685
|
-
: undefined,
|
|
2686
|
-
NextToken: __expectString(output.NextToken),
|
|
2687
|
-
};
|
|
2057
|
+
return take(output, {
|
|
2058
|
+
AccountAssignmentsDeletionStatus: (_) => de_AccountAssignmentOperationStatusList(_, context),
|
|
2059
|
+
NextToken: __expectString,
|
|
2060
|
+
});
|
|
2688
2061
|
};
|
|
2689
2062
|
const de_ListPermissionSetProvisioningStatusResponse = (output, context) => {
|
|
2690
|
-
return {
|
|
2691
|
-
NextToken: __expectString
|
|
2692
|
-
PermissionSetsProvisioningStatus:
|
|
2693
|
-
|
|
2694
|
-
: undefined,
|
|
2695
|
-
};
|
|
2696
|
-
};
|
|
2697
|
-
const de_ListPermissionSetsProvisionedToAccountResponse = (output, context) => {
|
|
2698
|
-
return {
|
|
2699
|
-
NextToken: __expectString(output.NextToken),
|
|
2700
|
-
PermissionSets: output.PermissionSets != null ? de_PermissionSetList(output.PermissionSets, context) : undefined,
|
|
2701
|
-
};
|
|
2702
|
-
};
|
|
2703
|
-
const de_ListPermissionSetsResponse = (output, context) => {
|
|
2704
|
-
return {
|
|
2705
|
-
NextToken: __expectString(output.NextToken),
|
|
2706
|
-
PermissionSets: output.PermissionSets != null ? de_PermissionSetList(output.PermissionSets, context) : undefined,
|
|
2707
|
-
};
|
|
2708
|
-
};
|
|
2709
|
-
const de_ListTagsForResourceResponse = (output, context) => {
|
|
2710
|
-
return {
|
|
2711
|
-
NextToken: __expectString(output.NextToken),
|
|
2712
|
-
Tags: output.Tags != null ? de_TagList(output.Tags, context) : undefined,
|
|
2713
|
-
};
|
|
2714
|
-
};
|
|
2715
|
-
const de_PermissionsBoundary = (output, context) => {
|
|
2716
|
-
return {
|
|
2717
|
-
CustomerManagedPolicyReference: output.CustomerManagedPolicyReference != null
|
|
2718
|
-
? de_CustomerManagedPolicyReference(output.CustomerManagedPolicyReference, context)
|
|
2719
|
-
: undefined,
|
|
2720
|
-
ManagedPolicyArn: __expectString(output.ManagedPolicyArn),
|
|
2721
|
-
};
|
|
2063
|
+
return take(output, {
|
|
2064
|
+
NextToken: __expectString,
|
|
2065
|
+
PermissionSetsProvisioningStatus: (_) => de_PermissionSetProvisioningStatusList(_, context),
|
|
2066
|
+
});
|
|
2722
2067
|
};
|
|
2723
2068
|
const de_PermissionSet = (output, context) => {
|
|
2724
|
-
return {
|
|
2725
|
-
CreatedDate:
|
|
2726
|
-
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
RelayState: __expectString(output.RelayState),
|
|
2732
|
-
SessionDuration: __expectString(output.SessionDuration),
|
|
2733
|
-
};
|
|
2734
|
-
};
|
|
2735
|
-
const de_PermissionSetList = (output, context) => {
|
|
2736
|
-
const retVal = (output || [])
|
|
2737
|
-
.filter((e) => e != null)
|
|
2738
|
-
.map((entry) => {
|
|
2739
|
-
if (entry === null) {
|
|
2740
|
-
return null;
|
|
2741
|
-
}
|
|
2742
|
-
return __expectString(entry);
|
|
2069
|
+
return take(output, {
|
|
2070
|
+
CreatedDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2071
|
+
Description: __expectString,
|
|
2072
|
+
Name: __expectString,
|
|
2073
|
+
PermissionSetArn: __expectString,
|
|
2074
|
+
RelayState: __expectString,
|
|
2075
|
+
SessionDuration: __expectString,
|
|
2743
2076
|
});
|
|
2744
|
-
return retVal;
|
|
2745
2077
|
};
|
|
2746
2078
|
const de_PermissionSetProvisioningStatus = (output, context) => {
|
|
2747
|
-
return {
|
|
2748
|
-
AccountId: __expectString
|
|
2749
|
-
CreatedDate:
|
|
2750
|
-
|
|
2751
|
-
|
|
2752
|
-
|
|
2753
|
-
|
|
2754
|
-
|
|
2755
|
-
Status: __expectString(output.Status),
|
|
2756
|
-
};
|
|
2079
|
+
return take(output, {
|
|
2080
|
+
AccountId: __expectString,
|
|
2081
|
+
CreatedDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2082
|
+
FailureReason: __expectString,
|
|
2083
|
+
PermissionSetArn: __expectString,
|
|
2084
|
+
RequestId: __expectString,
|
|
2085
|
+
Status: __expectString,
|
|
2086
|
+
});
|
|
2757
2087
|
};
|
|
2758
2088
|
const de_PermissionSetProvisioningStatusList = (output, context) => {
|
|
2759
2089
|
const retVal = (output || [])
|
|
2760
2090
|
.filter((e) => e != null)
|
|
2761
2091
|
.map((entry) => {
|
|
2762
|
-
if (entry === null) {
|
|
2763
|
-
return null;
|
|
2764
|
-
}
|
|
2765
2092
|
return de_PermissionSetProvisioningStatusMetadata(entry, context);
|
|
2766
2093
|
});
|
|
2767
2094
|
return retVal;
|
|
2768
2095
|
};
|
|
2769
2096
|
const de_PermissionSetProvisioningStatusMetadata = (output, context) => {
|
|
2770
|
-
return {
|
|
2771
|
-
CreatedDate:
|
|
2772
|
-
|
|
2773
|
-
|
|
2774
|
-
|
|
2775
|
-
Status: __expectString(output.Status),
|
|
2776
|
-
};
|
|
2097
|
+
return take(output, {
|
|
2098
|
+
CreatedDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2099
|
+
RequestId: __expectString,
|
|
2100
|
+
Status: __expectString,
|
|
2101
|
+
});
|
|
2777
2102
|
};
|
|
2778
2103
|
const de_ProvisionPermissionSetResponse = (output, context) => {
|
|
2779
|
-
return {
|
|
2780
|
-
PermissionSetProvisioningStatus:
|
|
2781
|
-
? de_PermissionSetProvisioningStatus(output.PermissionSetProvisioningStatus, context)
|
|
2782
|
-
: undefined,
|
|
2783
|
-
};
|
|
2784
|
-
};
|
|
2785
|
-
const de_PutInlinePolicyToPermissionSetResponse = (output, context) => {
|
|
2786
|
-
return {};
|
|
2787
|
-
};
|
|
2788
|
-
const de_PutPermissionsBoundaryToPermissionSetResponse = (output, context) => {
|
|
2789
|
-
return {};
|
|
2790
|
-
};
|
|
2791
|
-
const de_ResourceNotFoundException = (output, context) => {
|
|
2792
|
-
return {
|
|
2793
|
-
Message: __expectString(output.Message),
|
|
2794
|
-
};
|
|
2795
|
-
};
|
|
2796
|
-
const de_ServiceQuotaExceededException = (output, context) => {
|
|
2797
|
-
return {
|
|
2798
|
-
Message: __expectString(output.Message),
|
|
2799
|
-
};
|
|
2800
|
-
};
|
|
2801
|
-
const de_Tag = (output, context) => {
|
|
2802
|
-
return {
|
|
2803
|
-
Key: __expectString(output.Key),
|
|
2804
|
-
Value: __expectString(output.Value),
|
|
2805
|
-
};
|
|
2806
|
-
};
|
|
2807
|
-
const de_TagList = (output, context) => {
|
|
2808
|
-
const retVal = (output || [])
|
|
2809
|
-
.filter((e) => e != null)
|
|
2810
|
-
.map((entry) => {
|
|
2811
|
-
if (entry === null) {
|
|
2812
|
-
return null;
|
|
2813
|
-
}
|
|
2814
|
-
return de_Tag(entry, context);
|
|
2104
|
+
return take(output, {
|
|
2105
|
+
PermissionSetProvisioningStatus: (_) => de_PermissionSetProvisioningStatus(_, context),
|
|
2815
2106
|
});
|
|
2816
|
-
return retVal;
|
|
2817
|
-
};
|
|
2818
|
-
const de_TagResourceResponse = (output, context) => {
|
|
2819
|
-
return {};
|
|
2820
|
-
};
|
|
2821
|
-
const de_ThrottlingException = (output, context) => {
|
|
2822
|
-
return {
|
|
2823
|
-
Message: __expectString(output.Message),
|
|
2824
|
-
};
|
|
2825
|
-
};
|
|
2826
|
-
const de_UntagResourceResponse = (output, context) => {
|
|
2827
|
-
return {};
|
|
2828
|
-
};
|
|
2829
|
-
const de_UpdateInstanceAccessControlAttributeConfigurationResponse = (output, context) => {
|
|
2830
|
-
return {};
|
|
2831
|
-
};
|
|
2832
|
-
const de_UpdatePermissionSetResponse = (output, context) => {
|
|
2833
|
-
return {};
|
|
2834
|
-
};
|
|
2835
|
-
const de_ValidationException = (output, context) => {
|
|
2836
|
-
return {
|
|
2837
|
-
Message: __expectString(output.Message),
|
|
2838
|
-
};
|
|
2839
2107
|
};
|
|
2840
2108
|
const deserializeMetadata = (output) => ({
|
|
2841
2109
|
httpStatusCode: output.statusCode,
|
|
@@ -2850,6 +2118,7 @@ const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
|
2850
2118
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
2851
2119
|
};
|
|
2852
2120
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
2121
|
+
const throwDefaultError = withBaseException(__BaseException);
|
|
2853
2122
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
2854
2123
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
2855
2124
|
const contents = {
|