@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
|
@@ -9,259 +9,259 @@ const SSOAdminServiceException_1 = require("../models/SSOAdminServiceException")
|
|
|
9
9
|
const se_AttachCustomerManagedPolicyReferenceToPermissionSetCommand = async (input, context) => {
|
|
10
10
|
const headers = sharedHeaders("AttachCustomerManagedPolicyReferenceToPermissionSet");
|
|
11
11
|
let body;
|
|
12
|
-
body = JSON.stringify(
|
|
12
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
13
13
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
14
14
|
};
|
|
15
15
|
exports.se_AttachCustomerManagedPolicyReferenceToPermissionSetCommand = se_AttachCustomerManagedPolicyReferenceToPermissionSetCommand;
|
|
16
16
|
const se_AttachManagedPolicyToPermissionSetCommand = async (input, context) => {
|
|
17
17
|
const headers = sharedHeaders("AttachManagedPolicyToPermissionSet");
|
|
18
18
|
let body;
|
|
19
|
-
body = JSON.stringify(
|
|
19
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
20
20
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
21
21
|
};
|
|
22
22
|
exports.se_AttachManagedPolicyToPermissionSetCommand = se_AttachManagedPolicyToPermissionSetCommand;
|
|
23
23
|
const se_CreateAccountAssignmentCommand = async (input, context) => {
|
|
24
24
|
const headers = sharedHeaders("CreateAccountAssignment");
|
|
25
25
|
let body;
|
|
26
|
-
body = JSON.stringify(
|
|
26
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
27
27
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
28
28
|
};
|
|
29
29
|
exports.se_CreateAccountAssignmentCommand = se_CreateAccountAssignmentCommand;
|
|
30
30
|
const se_CreateInstanceAccessControlAttributeConfigurationCommand = async (input, context) => {
|
|
31
31
|
const headers = sharedHeaders("CreateInstanceAccessControlAttributeConfiguration");
|
|
32
32
|
let body;
|
|
33
|
-
body = JSON.stringify(
|
|
33
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
34
34
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
35
35
|
};
|
|
36
36
|
exports.se_CreateInstanceAccessControlAttributeConfigurationCommand = se_CreateInstanceAccessControlAttributeConfigurationCommand;
|
|
37
37
|
const se_CreatePermissionSetCommand = async (input, context) => {
|
|
38
38
|
const headers = sharedHeaders("CreatePermissionSet");
|
|
39
39
|
let body;
|
|
40
|
-
body = JSON.stringify(
|
|
40
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
41
41
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
42
42
|
};
|
|
43
43
|
exports.se_CreatePermissionSetCommand = se_CreatePermissionSetCommand;
|
|
44
44
|
const se_DeleteAccountAssignmentCommand = async (input, context) => {
|
|
45
45
|
const headers = sharedHeaders("DeleteAccountAssignment");
|
|
46
46
|
let body;
|
|
47
|
-
body = JSON.stringify(
|
|
47
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
48
48
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
49
49
|
};
|
|
50
50
|
exports.se_DeleteAccountAssignmentCommand = se_DeleteAccountAssignmentCommand;
|
|
51
51
|
const se_DeleteInlinePolicyFromPermissionSetCommand = async (input, context) => {
|
|
52
52
|
const headers = sharedHeaders("DeleteInlinePolicyFromPermissionSet");
|
|
53
53
|
let body;
|
|
54
|
-
body = JSON.stringify(
|
|
54
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
55
55
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
56
56
|
};
|
|
57
57
|
exports.se_DeleteInlinePolicyFromPermissionSetCommand = se_DeleteInlinePolicyFromPermissionSetCommand;
|
|
58
58
|
const se_DeleteInstanceAccessControlAttributeConfigurationCommand = async (input, context) => {
|
|
59
59
|
const headers = sharedHeaders("DeleteInstanceAccessControlAttributeConfiguration");
|
|
60
60
|
let body;
|
|
61
|
-
body = JSON.stringify(
|
|
61
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
62
62
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
63
63
|
};
|
|
64
64
|
exports.se_DeleteInstanceAccessControlAttributeConfigurationCommand = se_DeleteInstanceAccessControlAttributeConfigurationCommand;
|
|
65
65
|
const se_DeletePermissionsBoundaryFromPermissionSetCommand = async (input, context) => {
|
|
66
66
|
const headers = sharedHeaders("DeletePermissionsBoundaryFromPermissionSet");
|
|
67
67
|
let body;
|
|
68
|
-
body = JSON.stringify(
|
|
68
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
69
69
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
70
70
|
};
|
|
71
71
|
exports.se_DeletePermissionsBoundaryFromPermissionSetCommand = se_DeletePermissionsBoundaryFromPermissionSetCommand;
|
|
72
72
|
const se_DeletePermissionSetCommand = async (input, context) => {
|
|
73
73
|
const headers = sharedHeaders("DeletePermissionSet");
|
|
74
74
|
let body;
|
|
75
|
-
body = JSON.stringify(
|
|
75
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
76
76
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
77
77
|
};
|
|
78
78
|
exports.se_DeletePermissionSetCommand = se_DeletePermissionSetCommand;
|
|
79
79
|
const se_DescribeAccountAssignmentCreationStatusCommand = async (input, context) => {
|
|
80
80
|
const headers = sharedHeaders("DescribeAccountAssignmentCreationStatus");
|
|
81
81
|
let body;
|
|
82
|
-
body = JSON.stringify(
|
|
82
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
83
83
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
84
84
|
};
|
|
85
85
|
exports.se_DescribeAccountAssignmentCreationStatusCommand = se_DescribeAccountAssignmentCreationStatusCommand;
|
|
86
86
|
const se_DescribeAccountAssignmentDeletionStatusCommand = async (input, context) => {
|
|
87
87
|
const headers = sharedHeaders("DescribeAccountAssignmentDeletionStatus");
|
|
88
88
|
let body;
|
|
89
|
-
body = JSON.stringify(
|
|
89
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
90
90
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
91
91
|
};
|
|
92
92
|
exports.se_DescribeAccountAssignmentDeletionStatusCommand = se_DescribeAccountAssignmentDeletionStatusCommand;
|
|
93
93
|
const se_DescribeInstanceAccessControlAttributeConfigurationCommand = async (input, context) => {
|
|
94
94
|
const headers = sharedHeaders("DescribeInstanceAccessControlAttributeConfiguration");
|
|
95
95
|
let body;
|
|
96
|
-
body = JSON.stringify(
|
|
96
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
97
97
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
98
98
|
};
|
|
99
99
|
exports.se_DescribeInstanceAccessControlAttributeConfigurationCommand = se_DescribeInstanceAccessControlAttributeConfigurationCommand;
|
|
100
100
|
const se_DescribePermissionSetCommand = async (input, context) => {
|
|
101
101
|
const headers = sharedHeaders("DescribePermissionSet");
|
|
102
102
|
let body;
|
|
103
|
-
body = JSON.stringify(
|
|
103
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
104
104
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
105
105
|
};
|
|
106
106
|
exports.se_DescribePermissionSetCommand = se_DescribePermissionSetCommand;
|
|
107
107
|
const se_DescribePermissionSetProvisioningStatusCommand = async (input, context) => {
|
|
108
108
|
const headers = sharedHeaders("DescribePermissionSetProvisioningStatus");
|
|
109
109
|
let body;
|
|
110
|
-
body = JSON.stringify(
|
|
110
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
111
111
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
112
112
|
};
|
|
113
113
|
exports.se_DescribePermissionSetProvisioningStatusCommand = se_DescribePermissionSetProvisioningStatusCommand;
|
|
114
114
|
const se_DetachCustomerManagedPolicyReferenceFromPermissionSetCommand = async (input, context) => {
|
|
115
115
|
const headers = sharedHeaders("DetachCustomerManagedPolicyReferenceFromPermissionSet");
|
|
116
116
|
let body;
|
|
117
|
-
body = JSON.stringify(
|
|
117
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
118
118
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
119
119
|
};
|
|
120
120
|
exports.se_DetachCustomerManagedPolicyReferenceFromPermissionSetCommand = se_DetachCustomerManagedPolicyReferenceFromPermissionSetCommand;
|
|
121
121
|
const se_DetachManagedPolicyFromPermissionSetCommand = async (input, context) => {
|
|
122
122
|
const headers = sharedHeaders("DetachManagedPolicyFromPermissionSet");
|
|
123
123
|
let body;
|
|
124
|
-
body = JSON.stringify(
|
|
124
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
125
125
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
126
126
|
};
|
|
127
127
|
exports.se_DetachManagedPolicyFromPermissionSetCommand = se_DetachManagedPolicyFromPermissionSetCommand;
|
|
128
128
|
const se_GetInlinePolicyForPermissionSetCommand = async (input, context) => {
|
|
129
129
|
const headers = sharedHeaders("GetInlinePolicyForPermissionSet");
|
|
130
130
|
let body;
|
|
131
|
-
body = JSON.stringify(
|
|
131
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
132
132
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
133
133
|
};
|
|
134
134
|
exports.se_GetInlinePolicyForPermissionSetCommand = se_GetInlinePolicyForPermissionSetCommand;
|
|
135
135
|
const se_GetPermissionsBoundaryForPermissionSetCommand = async (input, context) => {
|
|
136
136
|
const headers = sharedHeaders("GetPermissionsBoundaryForPermissionSet");
|
|
137
137
|
let body;
|
|
138
|
-
body = JSON.stringify(
|
|
138
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
139
139
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
140
140
|
};
|
|
141
141
|
exports.se_GetPermissionsBoundaryForPermissionSetCommand = se_GetPermissionsBoundaryForPermissionSetCommand;
|
|
142
142
|
const se_ListAccountAssignmentCreationStatusCommand = async (input, context) => {
|
|
143
143
|
const headers = sharedHeaders("ListAccountAssignmentCreationStatus");
|
|
144
144
|
let body;
|
|
145
|
-
body = JSON.stringify(
|
|
145
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
146
146
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
147
147
|
};
|
|
148
148
|
exports.se_ListAccountAssignmentCreationStatusCommand = se_ListAccountAssignmentCreationStatusCommand;
|
|
149
149
|
const se_ListAccountAssignmentDeletionStatusCommand = async (input, context) => {
|
|
150
150
|
const headers = sharedHeaders("ListAccountAssignmentDeletionStatus");
|
|
151
151
|
let body;
|
|
152
|
-
body = JSON.stringify(
|
|
152
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
153
153
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
154
154
|
};
|
|
155
155
|
exports.se_ListAccountAssignmentDeletionStatusCommand = se_ListAccountAssignmentDeletionStatusCommand;
|
|
156
156
|
const se_ListAccountAssignmentsCommand = async (input, context) => {
|
|
157
157
|
const headers = sharedHeaders("ListAccountAssignments");
|
|
158
158
|
let body;
|
|
159
|
-
body = JSON.stringify(
|
|
159
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
160
160
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
161
161
|
};
|
|
162
162
|
exports.se_ListAccountAssignmentsCommand = se_ListAccountAssignmentsCommand;
|
|
163
163
|
const se_ListAccountsForProvisionedPermissionSetCommand = async (input, context) => {
|
|
164
164
|
const headers = sharedHeaders("ListAccountsForProvisionedPermissionSet");
|
|
165
165
|
let body;
|
|
166
|
-
body = JSON.stringify(
|
|
166
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
167
167
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
168
168
|
};
|
|
169
169
|
exports.se_ListAccountsForProvisionedPermissionSetCommand = se_ListAccountsForProvisionedPermissionSetCommand;
|
|
170
170
|
const se_ListCustomerManagedPolicyReferencesInPermissionSetCommand = async (input, context) => {
|
|
171
171
|
const headers = sharedHeaders("ListCustomerManagedPolicyReferencesInPermissionSet");
|
|
172
172
|
let body;
|
|
173
|
-
body = JSON.stringify(
|
|
173
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
174
174
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
175
175
|
};
|
|
176
176
|
exports.se_ListCustomerManagedPolicyReferencesInPermissionSetCommand = se_ListCustomerManagedPolicyReferencesInPermissionSetCommand;
|
|
177
177
|
const se_ListInstancesCommand = async (input, context) => {
|
|
178
178
|
const headers = sharedHeaders("ListInstances");
|
|
179
179
|
let body;
|
|
180
|
-
body = JSON.stringify(
|
|
180
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
181
181
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
182
182
|
};
|
|
183
183
|
exports.se_ListInstancesCommand = se_ListInstancesCommand;
|
|
184
184
|
const se_ListManagedPoliciesInPermissionSetCommand = async (input, context) => {
|
|
185
185
|
const headers = sharedHeaders("ListManagedPoliciesInPermissionSet");
|
|
186
186
|
let body;
|
|
187
|
-
body = JSON.stringify(
|
|
187
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
188
188
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
189
189
|
};
|
|
190
190
|
exports.se_ListManagedPoliciesInPermissionSetCommand = se_ListManagedPoliciesInPermissionSetCommand;
|
|
191
191
|
const se_ListPermissionSetProvisioningStatusCommand = async (input, context) => {
|
|
192
192
|
const headers = sharedHeaders("ListPermissionSetProvisioningStatus");
|
|
193
193
|
let body;
|
|
194
|
-
body = JSON.stringify(
|
|
194
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
195
195
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
196
196
|
};
|
|
197
197
|
exports.se_ListPermissionSetProvisioningStatusCommand = se_ListPermissionSetProvisioningStatusCommand;
|
|
198
198
|
const se_ListPermissionSetsCommand = async (input, context) => {
|
|
199
199
|
const headers = sharedHeaders("ListPermissionSets");
|
|
200
200
|
let body;
|
|
201
|
-
body = JSON.stringify(
|
|
201
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
202
202
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
203
203
|
};
|
|
204
204
|
exports.se_ListPermissionSetsCommand = se_ListPermissionSetsCommand;
|
|
205
205
|
const se_ListPermissionSetsProvisionedToAccountCommand = async (input, context) => {
|
|
206
206
|
const headers = sharedHeaders("ListPermissionSetsProvisionedToAccount");
|
|
207
207
|
let body;
|
|
208
|
-
body = JSON.stringify(
|
|
208
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
209
209
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
210
210
|
};
|
|
211
211
|
exports.se_ListPermissionSetsProvisionedToAccountCommand = se_ListPermissionSetsProvisionedToAccountCommand;
|
|
212
212
|
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
213
213
|
const headers = sharedHeaders("ListTagsForResource");
|
|
214
214
|
let body;
|
|
215
|
-
body = JSON.stringify(
|
|
215
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
216
216
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
217
217
|
};
|
|
218
218
|
exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
|
|
219
219
|
const se_ProvisionPermissionSetCommand = async (input, context) => {
|
|
220
220
|
const headers = sharedHeaders("ProvisionPermissionSet");
|
|
221
221
|
let body;
|
|
222
|
-
body = JSON.stringify(
|
|
222
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
223
223
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
224
224
|
};
|
|
225
225
|
exports.se_ProvisionPermissionSetCommand = se_ProvisionPermissionSetCommand;
|
|
226
226
|
const se_PutInlinePolicyToPermissionSetCommand = async (input, context) => {
|
|
227
227
|
const headers = sharedHeaders("PutInlinePolicyToPermissionSet");
|
|
228
228
|
let body;
|
|
229
|
-
body = JSON.stringify(
|
|
229
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
230
230
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
231
231
|
};
|
|
232
232
|
exports.se_PutInlinePolicyToPermissionSetCommand = se_PutInlinePolicyToPermissionSetCommand;
|
|
233
233
|
const se_PutPermissionsBoundaryToPermissionSetCommand = async (input, context) => {
|
|
234
234
|
const headers = sharedHeaders("PutPermissionsBoundaryToPermissionSet");
|
|
235
235
|
let body;
|
|
236
|
-
body = JSON.stringify(
|
|
236
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
237
237
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
238
238
|
};
|
|
239
239
|
exports.se_PutPermissionsBoundaryToPermissionSetCommand = se_PutPermissionsBoundaryToPermissionSetCommand;
|
|
240
240
|
const se_TagResourceCommand = async (input, context) => {
|
|
241
241
|
const headers = sharedHeaders("TagResource");
|
|
242
242
|
let body;
|
|
243
|
-
body = JSON.stringify(
|
|
243
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
244
244
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
245
245
|
};
|
|
246
246
|
exports.se_TagResourceCommand = se_TagResourceCommand;
|
|
247
247
|
const se_UntagResourceCommand = async (input, context) => {
|
|
248
248
|
const headers = sharedHeaders("UntagResource");
|
|
249
249
|
let body;
|
|
250
|
-
body = JSON.stringify(
|
|
250
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
251
251
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
252
252
|
};
|
|
253
253
|
exports.se_UntagResourceCommand = se_UntagResourceCommand;
|
|
254
254
|
const se_UpdateInstanceAccessControlAttributeConfigurationCommand = async (input, context) => {
|
|
255
255
|
const headers = sharedHeaders("UpdateInstanceAccessControlAttributeConfiguration");
|
|
256
256
|
let body;
|
|
257
|
-
body = JSON.stringify(
|
|
257
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
258
258
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
259
259
|
};
|
|
260
260
|
exports.se_UpdateInstanceAccessControlAttributeConfigurationCommand = se_UpdateInstanceAccessControlAttributeConfigurationCommand;
|
|
261
261
|
const se_UpdatePermissionSetCommand = async (input, context) => {
|
|
262
262
|
const headers = sharedHeaders("UpdatePermissionSet");
|
|
263
263
|
let body;
|
|
264
|
-
body = JSON.stringify(
|
|
264
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
265
265
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
266
266
|
};
|
|
267
267
|
exports.se_UpdatePermissionSetCommand = se_UpdatePermissionSetCommand;
|
|
@@ -271,12 +271,12 @@ const de_AttachCustomerManagedPolicyReferenceToPermissionSetCommand = async (out
|
|
|
271
271
|
}
|
|
272
272
|
const data = await parseBody(output.body, context);
|
|
273
273
|
let contents = {};
|
|
274
|
-
contents =
|
|
274
|
+
contents = (0, smithy_client_1._json)(data);
|
|
275
275
|
const response = {
|
|
276
276
|
$metadata: deserializeMetadata(output),
|
|
277
277
|
...contents,
|
|
278
278
|
};
|
|
279
|
-
return
|
|
279
|
+
return response;
|
|
280
280
|
};
|
|
281
281
|
exports.de_AttachCustomerManagedPolicyReferenceToPermissionSetCommand = de_AttachCustomerManagedPolicyReferenceToPermissionSetCommand;
|
|
282
282
|
const de_AttachCustomerManagedPolicyReferenceToPermissionSetCommandError = async (output, context) => {
|
|
@@ -309,10 +309,9 @@ const de_AttachCustomerManagedPolicyReferenceToPermissionSetCommandError = async
|
|
|
309
309
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
310
310
|
default:
|
|
311
311
|
const parsedBody = parsedOutput.body;
|
|
312
|
-
|
|
312
|
+
return throwDefaultError({
|
|
313
313
|
output,
|
|
314
314
|
parsedBody,
|
|
315
|
-
exceptionCtor: SSOAdminServiceException_1.SSOAdminServiceException,
|
|
316
315
|
errorCode,
|
|
317
316
|
});
|
|
318
317
|
}
|
|
@@ -323,12 +322,12 @@ const de_AttachManagedPolicyToPermissionSetCommand = async (output, context) =>
|
|
|
323
322
|
}
|
|
324
323
|
const data = await parseBody(output.body, context);
|
|
325
324
|
let contents = {};
|
|
326
|
-
contents =
|
|
325
|
+
contents = (0, smithy_client_1._json)(data);
|
|
327
326
|
const response = {
|
|
328
327
|
$metadata: deserializeMetadata(output),
|
|
329
328
|
...contents,
|
|
330
329
|
};
|
|
331
|
-
return
|
|
330
|
+
return response;
|
|
332
331
|
};
|
|
333
332
|
exports.de_AttachManagedPolicyToPermissionSetCommand = de_AttachManagedPolicyToPermissionSetCommand;
|
|
334
333
|
const de_AttachManagedPolicyToPermissionSetCommandError = async (output, context) => {
|
|
@@ -361,10 +360,9 @@ const de_AttachManagedPolicyToPermissionSetCommandError = async (output, context
|
|
|
361
360
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
362
361
|
default:
|
|
363
362
|
const parsedBody = parsedOutput.body;
|
|
364
|
-
|
|
363
|
+
return throwDefaultError({
|
|
365
364
|
output,
|
|
366
365
|
parsedBody,
|
|
367
|
-
exceptionCtor: SSOAdminServiceException_1.SSOAdminServiceException,
|
|
368
366
|
errorCode,
|
|
369
367
|
});
|
|
370
368
|
}
|
|
@@ -380,7 +378,7 @@ const de_CreateAccountAssignmentCommand = async (output, context) => {
|
|
|
380
378
|
$metadata: deserializeMetadata(output),
|
|
381
379
|
...contents,
|
|
382
380
|
};
|
|
383
|
-
return
|
|
381
|
+
return response;
|
|
384
382
|
};
|
|
385
383
|
exports.de_CreateAccountAssignmentCommand = de_CreateAccountAssignmentCommand;
|
|
386
384
|
const de_CreateAccountAssignmentCommandError = async (output, context) => {
|
|
@@ -413,10 +411,9 @@ const de_CreateAccountAssignmentCommandError = async (output, context) => {
|
|
|
413
411
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
414
412
|
default:
|
|
415
413
|
const parsedBody = parsedOutput.body;
|
|
416
|
-
|
|
414
|
+
return throwDefaultError({
|
|
417
415
|
output,
|
|
418
416
|
parsedBody,
|
|
419
|
-
exceptionCtor: SSOAdminServiceException_1.SSOAdminServiceException,
|
|
420
417
|
errorCode,
|
|
421
418
|
});
|
|
422
419
|
}
|
|
@@ -427,12 +424,12 @@ const de_CreateInstanceAccessControlAttributeConfigurationCommand = async (outpu
|
|
|
427
424
|
}
|
|
428
425
|
const data = await parseBody(output.body, context);
|
|
429
426
|
let contents = {};
|
|
430
|
-
contents =
|
|
427
|
+
contents = (0, smithy_client_1._json)(data);
|
|
431
428
|
const response = {
|
|
432
429
|
$metadata: deserializeMetadata(output),
|
|
433
430
|
...contents,
|
|
434
431
|
};
|
|
435
|
-
return
|
|
432
|
+
return response;
|
|
436
433
|
};
|
|
437
434
|
exports.de_CreateInstanceAccessControlAttributeConfigurationCommand = de_CreateInstanceAccessControlAttributeConfigurationCommand;
|
|
438
435
|
const de_CreateInstanceAccessControlAttributeConfigurationCommandError = async (output, context) => {
|
|
@@ -462,10 +459,9 @@ const de_CreateInstanceAccessControlAttributeConfigurationCommandError = async (
|
|
|
462
459
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
463
460
|
default:
|
|
464
461
|
const parsedBody = parsedOutput.body;
|
|
465
|
-
|
|
462
|
+
return throwDefaultError({
|
|
466
463
|
output,
|
|
467
464
|
parsedBody,
|
|
468
|
-
exceptionCtor: SSOAdminServiceException_1.SSOAdminServiceException,
|
|
469
465
|
errorCode,
|
|
470
466
|
});
|
|
471
467
|
}
|
|
@@ -481,7 +477,7 @@ const de_CreatePermissionSetCommand = async (output, context) => {
|
|
|
481
477
|
$metadata: deserializeMetadata(output),
|
|
482
478
|
...contents,
|
|
483
479
|
};
|
|
484
|
-
return
|
|
480
|
+
return response;
|
|
485
481
|
};
|
|
486
482
|
exports.de_CreatePermissionSetCommand = de_CreatePermissionSetCommand;
|
|
487
483
|
const de_CreatePermissionSetCommandError = async (output, context) => {
|
|
@@ -514,10 +510,9 @@ const de_CreatePermissionSetCommandError = async (output, context) => {
|
|
|
514
510
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
515
511
|
default:
|
|
516
512
|
const parsedBody = parsedOutput.body;
|
|
517
|
-
|
|
513
|
+
return throwDefaultError({
|
|
518
514
|
output,
|
|
519
515
|
parsedBody,
|
|
520
|
-
exceptionCtor: SSOAdminServiceException_1.SSOAdminServiceException,
|
|
521
516
|
errorCode,
|
|
522
517
|
});
|
|
523
518
|
}
|
|
@@ -533,7 +528,7 @@ const de_DeleteAccountAssignmentCommand = async (output, context) => {
|
|
|
533
528
|
$metadata: deserializeMetadata(output),
|
|
534
529
|
...contents,
|
|
535
530
|
};
|
|
536
|
-
return
|
|
531
|
+
return response;
|
|
537
532
|
};
|
|
538
533
|
exports.de_DeleteAccountAssignmentCommand = de_DeleteAccountAssignmentCommand;
|
|
539
534
|
const de_DeleteAccountAssignmentCommandError = async (output, context) => {
|
|
@@ -563,10 +558,9 @@ const de_DeleteAccountAssignmentCommandError = async (output, context) => {
|
|
|
563
558
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
564
559
|
default:
|
|
565
560
|
const parsedBody = parsedOutput.body;
|
|
566
|
-
|
|
561
|
+
return throwDefaultError({
|
|
567
562
|
output,
|
|
568
563
|
parsedBody,
|
|
569
|
-
exceptionCtor: SSOAdminServiceException_1.SSOAdminServiceException,
|
|
570
564
|
errorCode,
|
|
571
565
|
});
|
|
572
566
|
}
|
|
@@ -577,12 +571,12 @@ const de_DeleteInlinePolicyFromPermissionSetCommand = async (output, context) =>
|
|
|
577
571
|
}
|
|
578
572
|
const data = await parseBody(output.body, context);
|
|
579
573
|
let contents = {};
|
|
580
|
-
contents =
|
|
574
|
+
contents = (0, smithy_client_1._json)(data);
|
|
581
575
|
const response = {
|
|
582
576
|
$metadata: deserializeMetadata(output),
|
|
583
577
|
...contents,
|
|
584
578
|
};
|
|
585
|
-
return
|
|
579
|
+
return response;
|
|
586
580
|
};
|
|
587
581
|
exports.de_DeleteInlinePolicyFromPermissionSetCommand = de_DeleteInlinePolicyFromPermissionSetCommand;
|
|
588
582
|
const de_DeleteInlinePolicyFromPermissionSetCommandError = async (output, context) => {
|
|
@@ -612,10 +606,9 @@ const de_DeleteInlinePolicyFromPermissionSetCommandError = async (output, contex
|
|
|
612
606
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
613
607
|
default:
|
|
614
608
|
const parsedBody = parsedOutput.body;
|
|
615
|
-
|
|
609
|
+
return throwDefaultError({
|
|
616
610
|
output,
|
|
617
611
|
parsedBody,
|
|
618
|
-
exceptionCtor: SSOAdminServiceException_1.SSOAdminServiceException,
|
|
619
612
|
errorCode,
|
|
620
613
|
});
|
|
621
614
|
}
|
|
@@ -626,12 +619,12 @@ const de_DeleteInstanceAccessControlAttributeConfigurationCommand = async (outpu
|
|
|
626
619
|
}
|
|
627
620
|
const data = await parseBody(output.body, context);
|
|
628
621
|
let contents = {};
|
|
629
|
-
contents =
|
|
622
|
+
contents = (0, smithy_client_1._json)(data);
|
|
630
623
|
const response = {
|
|
631
624
|
$metadata: deserializeMetadata(output),
|
|
632
625
|
...contents,
|
|
633
626
|
};
|
|
634
|
-
return
|
|
627
|
+
return response;
|
|
635
628
|
};
|
|
636
629
|
exports.de_DeleteInstanceAccessControlAttributeConfigurationCommand = de_DeleteInstanceAccessControlAttributeConfigurationCommand;
|
|
637
630
|
const de_DeleteInstanceAccessControlAttributeConfigurationCommandError = async (output, context) => {
|
|
@@ -661,10 +654,9 @@ const de_DeleteInstanceAccessControlAttributeConfigurationCommandError = async (
|
|
|
661
654
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
662
655
|
default:
|
|
663
656
|
const parsedBody = parsedOutput.body;
|
|
664
|
-
|
|
657
|
+
return throwDefaultError({
|
|
665
658
|
output,
|
|
666
659
|
parsedBody,
|
|
667
|
-
exceptionCtor: SSOAdminServiceException_1.SSOAdminServiceException,
|
|
668
660
|
errorCode,
|
|
669
661
|
});
|
|
670
662
|
}
|
|
@@ -675,12 +667,12 @@ const de_DeletePermissionsBoundaryFromPermissionSetCommand = async (output, cont
|
|
|
675
667
|
}
|
|
676
668
|
const data = await parseBody(output.body, context);
|
|
677
669
|
let contents = {};
|
|
678
|
-
contents =
|
|
670
|
+
contents = (0, smithy_client_1._json)(data);
|
|
679
671
|
const response = {
|
|
680
672
|
$metadata: deserializeMetadata(output),
|
|
681
673
|
...contents,
|
|
682
674
|
};
|
|
683
|
-
return
|
|
675
|
+
return response;
|
|
684
676
|
};
|
|
685
677
|
exports.de_DeletePermissionsBoundaryFromPermissionSetCommand = de_DeletePermissionsBoundaryFromPermissionSetCommand;
|
|
686
678
|
const de_DeletePermissionsBoundaryFromPermissionSetCommandError = async (output, context) => {
|
|
@@ -707,10 +699,9 @@ const de_DeletePermissionsBoundaryFromPermissionSetCommandError = async (output,
|
|
|
707
699
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
708
700
|
default:
|
|
709
701
|
const parsedBody = parsedOutput.body;
|
|
710
|
-
|
|
702
|
+
return throwDefaultError({
|
|
711
703
|
output,
|
|
712
704
|
parsedBody,
|
|
713
|
-
exceptionCtor: SSOAdminServiceException_1.SSOAdminServiceException,
|
|
714
705
|
errorCode,
|
|
715
706
|
});
|
|
716
707
|
}
|
|
@@ -721,12 +712,12 @@ const de_DeletePermissionSetCommand = async (output, context) => {
|
|
|
721
712
|
}
|
|
722
713
|
const data = await parseBody(output.body, context);
|
|
723
714
|
let contents = {};
|
|
724
|
-
contents =
|
|
715
|
+
contents = (0, smithy_client_1._json)(data);
|
|
725
716
|
const response = {
|
|
726
717
|
$metadata: deserializeMetadata(output),
|
|
727
718
|
...contents,
|
|
728
719
|
};
|
|
729
|
-
return
|
|
720
|
+
return response;
|
|
730
721
|
};
|
|
731
722
|
exports.de_DeletePermissionSetCommand = de_DeletePermissionSetCommand;
|
|
732
723
|
const de_DeletePermissionSetCommandError = async (output, context) => {
|
|
@@ -756,10 +747,9 @@ const de_DeletePermissionSetCommandError = async (output, context) => {
|
|
|
756
747
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
757
748
|
default:
|
|
758
749
|
const parsedBody = parsedOutput.body;
|
|
759
|
-
|
|
750
|
+
return throwDefaultError({
|
|
760
751
|
output,
|
|
761
752
|
parsedBody,
|
|
762
|
-
exceptionCtor: SSOAdminServiceException_1.SSOAdminServiceException,
|
|
763
753
|
errorCode,
|
|
764
754
|
});
|
|
765
755
|
}
|
|
@@ -775,7 +765,7 @@ const de_DescribeAccountAssignmentCreationStatusCommand = async (output, context
|
|
|
775
765
|
$metadata: deserializeMetadata(output),
|
|
776
766
|
...contents,
|
|
777
767
|
};
|
|
778
|
-
return
|
|
768
|
+
return response;
|
|
779
769
|
};
|
|
780
770
|
exports.de_DescribeAccountAssignmentCreationStatusCommand = de_DescribeAccountAssignmentCreationStatusCommand;
|
|
781
771
|
const de_DescribeAccountAssignmentCreationStatusCommandError = async (output, context) => {
|
|
@@ -802,10 +792,9 @@ const de_DescribeAccountAssignmentCreationStatusCommandError = async (output, co
|
|
|
802
792
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
803
793
|
default:
|
|
804
794
|
const parsedBody = parsedOutput.body;
|
|
805
|
-
|
|
795
|
+
return throwDefaultError({
|
|
806
796
|
output,
|
|
807
797
|
parsedBody,
|
|
808
|
-
exceptionCtor: SSOAdminServiceException_1.SSOAdminServiceException,
|
|
809
798
|
errorCode,
|
|
810
799
|
});
|
|
811
800
|
}
|
|
@@ -821,7 +810,7 @@ const de_DescribeAccountAssignmentDeletionStatusCommand = async (output, context
|
|
|
821
810
|
$metadata: deserializeMetadata(output),
|
|
822
811
|
...contents,
|
|
823
812
|
};
|
|
824
|
-
return
|
|
813
|
+
return response;
|
|
825
814
|
};
|
|
826
815
|
exports.de_DescribeAccountAssignmentDeletionStatusCommand = de_DescribeAccountAssignmentDeletionStatusCommand;
|
|
827
816
|
const de_DescribeAccountAssignmentDeletionStatusCommandError = async (output, context) => {
|
|
@@ -848,10 +837,9 @@ const de_DescribeAccountAssignmentDeletionStatusCommandError = async (output, co
|
|
|
848
837
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
849
838
|
default:
|
|
850
839
|
const parsedBody = parsedOutput.body;
|
|
851
|
-
|
|
840
|
+
return throwDefaultError({
|
|
852
841
|
output,
|
|
853
842
|
parsedBody,
|
|
854
|
-
exceptionCtor: SSOAdminServiceException_1.SSOAdminServiceException,
|
|
855
843
|
errorCode,
|
|
856
844
|
});
|
|
857
845
|
}
|
|
@@ -862,12 +850,12 @@ const de_DescribeInstanceAccessControlAttributeConfigurationCommand = async (out
|
|
|
862
850
|
}
|
|
863
851
|
const data = await parseBody(output.body, context);
|
|
864
852
|
let contents = {};
|
|
865
|
-
contents =
|
|
853
|
+
contents = (0, smithy_client_1._json)(data);
|
|
866
854
|
const response = {
|
|
867
855
|
$metadata: deserializeMetadata(output),
|
|
868
856
|
...contents,
|
|
869
857
|
};
|
|
870
|
-
return
|
|
858
|
+
return response;
|
|
871
859
|
};
|
|
872
860
|
exports.de_DescribeInstanceAccessControlAttributeConfigurationCommand = de_DescribeInstanceAccessControlAttributeConfigurationCommand;
|
|
873
861
|
const de_DescribeInstanceAccessControlAttributeConfigurationCommandError = async (output, context) => {
|
|
@@ -894,10 +882,9 @@ const de_DescribeInstanceAccessControlAttributeConfigurationCommandError = async
|
|
|
894
882
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
895
883
|
default:
|
|
896
884
|
const parsedBody = parsedOutput.body;
|
|
897
|
-
|
|
885
|
+
return throwDefaultError({
|
|
898
886
|
output,
|
|
899
887
|
parsedBody,
|
|
900
|
-
exceptionCtor: SSOAdminServiceException_1.SSOAdminServiceException,
|
|
901
888
|
errorCode,
|
|
902
889
|
});
|
|
903
890
|
}
|
|
@@ -913,7 +900,7 @@ const de_DescribePermissionSetCommand = async (output, context) => {
|
|
|
913
900
|
$metadata: deserializeMetadata(output),
|
|
914
901
|
...contents,
|
|
915
902
|
};
|
|
916
|
-
return
|
|
903
|
+
return response;
|
|
917
904
|
};
|
|
918
905
|
exports.de_DescribePermissionSetCommand = de_DescribePermissionSetCommand;
|
|
919
906
|
const de_DescribePermissionSetCommandError = async (output, context) => {
|
|
@@ -940,10 +927,9 @@ const de_DescribePermissionSetCommandError = async (output, context) => {
|
|
|
940
927
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
941
928
|
default:
|
|
942
929
|
const parsedBody = parsedOutput.body;
|
|
943
|
-
|
|
930
|
+
return throwDefaultError({
|
|
944
931
|
output,
|
|
945
932
|
parsedBody,
|
|
946
|
-
exceptionCtor: SSOAdminServiceException_1.SSOAdminServiceException,
|
|
947
933
|
errorCode,
|
|
948
934
|
});
|
|
949
935
|
}
|
|
@@ -959,7 +945,7 @@ const de_DescribePermissionSetProvisioningStatusCommand = async (output, context
|
|
|
959
945
|
$metadata: deserializeMetadata(output),
|
|
960
946
|
...contents,
|
|
961
947
|
};
|
|
962
|
-
return
|
|
948
|
+
return response;
|
|
963
949
|
};
|
|
964
950
|
exports.de_DescribePermissionSetProvisioningStatusCommand = de_DescribePermissionSetProvisioningStatusCommand;
|
|
965
951
|
const de_DescribePermissionSetProvisioningStatusCommandError = async (output, context) => {
|
|
@@ -986,10 +972,9 @@ const de_DescribePermissionSetProvisioningStatusCommandError = async (output, co
|
|
|
986
972
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
987
973
|
default:
|
|
988
974
|
const parsedBody = parsedOutput.body;
|
|
989
|
-
|
|
975
|
+
return throwDefaultError({
|
|
990
976
|
output,
|
|
991
977
|
parsedBody,
|
|
992
|
-
exceptionCtor: SSOAdminServiceException_1.SSOAdminServiceException,
|
|
993
978
|
errorCode,
|
|
994
979
|
});
|
|
995
980
|
}
|
|
@@ -1000,12 +985,12 @@ const de_DetachCustomerManagedPolicyReferenceFromPermissionSetCommand = async (o
|
|
|
1000
985
|
}
|
|
1001
986
|
const data = await parseBody(output.body, context);
|
|
1002
987
|
let contents = {};
|
|
1003
|
-
contents =
|
|
988
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1004
989
|
const response = {
|
|
1005
990
|
$metadata: deserializeMetadata(output),
|
|
1006
991
|
...contents,
|
|
1007
992
|
};
|
|
1008
|
-
return
|
|
993
|
+
return response;
|
|
1009
994
|
};
|
|
1010
995
|
exports.de_DetachCustomerManagedPolicyReferenceFromPermissionSetCommand = de_DetachCustomerManagedPolicyReferenceFromPermissionSetCommand;
|
|
1011
996
|
const de_DetachCustomerManagedPolicyReferenceFromPermissionSetCommandError = async (output, context) => {
|
|
@@ -1035,10 +1020,9 @@ const de_DetachCustomerManagedPolicyReferenceFromPermissionSetCommandError = asy
|
|
|
1035
1020
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1036
1021
|
default:
|
|
1037
1022
|
const parsedBody = parsedOutput.body;
|
|
1038
|
-
|
|
1023
|
+
return throwDefaultError({
|
|
1039
1024
|
output,
|
|
1040
1025
|
parsedBody,
|
|
1041
|
-
exceptionCtor: SSOAdminServiceException_1.SSOAdminServiceException,
|
|
1042
1026
|
errorCode,
|
|
1043
1027
|
});
|
|
1044
1028
|
}
|
|
@@ -1049,12 +1033,12 @@ const de_DetachManagedPolicyFromPermissionSetCommand = async (output, context) =
|
|
|
1049
1033
|
}
|
|
1050
1034
|
const data = await parseBody(output.body, context);
|
|
1051
1035
|
let contents = {};
|
|
1052
|
-
contents =
|
|
1036
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1053
1037
|
const response = {
|
|
1054
1038
|
$metadata: deserializeMetadata(output),
|
|
1055
1039
|
...contents,
|
|
1056
1040
|
};
|
|
1057
|
-
return
|
|
1041
|
+
return response;
|
|
1058
1042
|
};
|
|
1059
1043
|
exports.de_DetachManagedPolicyFromPermissionSetCommand = de_DetachManagedPolicyFromPermissionSetCommand;
|
|
1060
1044
|
const de_DetachManagedPolicyFromPermissionSetCommandError = async (output, context) => {
|
|
@@ -1084,10 +1068,9 @@ const de_DetachManagedPolicyFromPermissionSetCommandError = async (output, conte
|
|
|
1084
1068
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1085
1069
|
default:
|
|
1086
1070
|
const parsedBody = parsedOutput.body;
|
|
1087
|
-
|
|
1071
|
+
return throwDefaultError({
|
|
1088
1072
|
output,
|
|
1089
1073
|
parsedBody,
|
|
1090
|
-
exceptionCtor: SSOAdminServiceException_1.SSOAdminServiceException,
|
|
1091
1074
|
errorCode,
|
|
1092
1075
|
});
|
|
1093
1076
|
}
|
|
@@ -1098,12 +1081,12 @@ const de_GetInlinePolicyForPermissionSetCommand = async (output, context) => {
|
|
|
1098
1081
|
}
|
|
1099
1082
|
const data = await parseBody(output.body, context);
|
|
1100
1083
|
let contents = {};
|
|
1101
|
-
contents =
|
|
1084
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1102
1085
|
const response = {
|
|
1103
1086
|
$metadata: deserializeMetadata(output),
|
|
1104
1087
|
...contents,
|
|
1105
1088
|
};
|
|
1106
|
-
return
|
|
1089
|
+
return response;
|
|
1107
1090
|
};
|
|
1108
1091
|
exports.de_GetInlinePolicyForPermissionSetCommand = de_GetInlinePolicyForPermissionSetCommand;
|
|
1109
1092
|
const de_GetInlinePolicyForPermissionSetCommandError = async (output, context) => {
|
|
@@ -1130,10 +1113,9 @@ const de_GetInlinePolicyForPermissionSetCommandError = async (output, context) =
|
|
|
1130
1113
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1131
1114
|
default:
|
|
1132
1115
|
const parsedBody = parsedOutput.body;
|
|
1133
|
-
|
|
1116
|
+
return throwDefaultError({
|
|
1134
1117
|
output,
|
|
1135
1118
|
parsedBody,
|
|
1136
|
-
exceptionCtor: SSOAdminServiceException_1.SSOAdminServiceException,
|
|
1137
1119
|
errorCode,
|
|
1138
1120
|
});
|
|
1139
1121
|
}
|
|
@@ -1144,12 +1126,12 @@ const de_GetPermissionsBoundaryForPermissionSetCommand = async (output, context)
|
|
|
1144
1126
|
}
|
|
1145
1127
|
const data = await parseBody(output.body, context);
|
|
1146
1128
|
let contents = {};
|
|
1147
|
-
contents =
|
|
1129
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1148
1130
|
const response = {
|
|
1149
1131
|
$metadata: deserializeMetadata(output),
|
|
1150
1132
|
...contents,
|
|
1151
1133
|
};
|
|
1152
|
-
return
|
|
1134
|
+
return response;
|
|
1153
1135
|
};
|
|
1154
1136
|
exports.de_GetPermissionsBoundaryForPermissionSetCommand = de_GetPermissionsBoundaryForPermissionSetCommand;
|
|
1155
1137
|
const de_GetPermissionsBoundaryForPermissionSetCommandError = async (output, context) => {
|
|
@@ -1176,10 +1158,9 @@ const de_GetPermissionsBoundaryForPermissionSetCommandError = async (output, con
|
|
|
1176
1158
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1177
1159
|
default:
|
|
1178
1160
|
const parsedBody = parsedOutput.body;
|
|
1179
|
-
|
|
1161
|
+
return throwDefaultError({
|
|
1180
1162
|
output,
|
|
1181
1163
|
parsedBody,
|
|
1182
|
-
exceptionCtor: SSOAdminServiceException_1.SSOAdminServiceException,
|
|
1183
1164
|
errorCode,
|
|
1184
1165
|
});
|
|
1185
1166
|
}
|
|
@@ -1195,7 +1176,7 @@ const de_ListAccountAssignmentCreationStatusCommand = async (output, context) =>
|
|
|
1195
1176
|
$metadata: deserializeMetadata(output),
|
|
1196
1177
|
...contents,
|
|
1197
1178
|
};
|
|
1198
|
-
return
|
|
1179
|
+
return response;
|
|
1199
1180
|
};
|
|
1200
1181
|
exports.de_ListAccountAssignmentCreationStatusCommand = de_ListAccountAssignmentCreationStatusCommand;
|
|
1201
1182
|
const de_ListAccountAssignmentCreationStatusCommandError = async (output, context) => {
|
|
@@ -1222,10 +1203,9 @@ const de_ListAccountAssignmentCreationStatusCommandError = async (output, contex
|
|
|
1222
1203
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1223
1204
|
default:
|
|
1224
1205
|
const parsedBody = parsedOutput.body;
|
|
1225
|
-
|
|
1206
|
+
return throwDefaultError({
|
|
1226
1207
|
output,
|
|
1227
1208
|
parsedBody,
|
|
1228
|
-
exceptionCtor: SSOAdminServiceException_1.SSOAdminServiceException,
|
|
1229
1209
|
errorCode,
|
|
1230
1210
|
});
|
|
1231
1211
|
}
|
|
@@ -1241,7 +1221,7 @@ const de_ListAccountAssignmentDeletionStatusCommand = async (output, context) =>
|
|
|
1241
1221
|
$metadata: deserializeMetadata(output),
|
|
1242
1222
|
...contents,
|
|
1243
1223
|
};
|
|
1244
|
-
return
|
|
1224
|
+
return response;
|
|
1245
1225
|
};
|
|
1246
1226
|
exports.de_ListAccountAssignmentDeletionStatusCommand = de_ListAccountAssignmentDeletionStatusCommand;
|
|
1247
1227
|
const de_ListAccountAssignmentDeletionStatusCommandError = async (output, context) => {
|
|
@@ -1268,10 +1248,9 @@ const de_ListAccountAssignmentDeletionStatusCommandError = async (output, contex
|
|
|
1268
1248
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1269
1249
|
default:
|
|
1270
1250
|
const parsedBody = parsedOutput.body;
|
|
1271
|
-
|
|
1251
|
+
return throwDefaultError({
|
|
1272
1252
|
output,
|
|
1273
1253
|
parsedBody,
|
|
1274
|
-
exceptionCtor: SSOAdminServiceException_1.SSOAdminServiceException,
|
|
1275
1254
|
errorCode,
|
|
1276
1255
|
});
|
|
1277
1256
|
}
|
|
@@ -1282,12 +1261,12 @@ const de_ListAccountAssignmentsCommand = async (output, context) => {
|
|
|
1282
1261
|
}
|
|
1283
1262
|
const data = await parseBody(output.body, context);
|
|
1284
1263
|
let contents = {};
|
|
1285
|
-
contents =
|
|
1264
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1286
1265
|
const response = {
|
|
1287
1266
|
$metadata: deserializeMetadata(output),
|
|
1288
1267
|
...contents,
|
|
1289
1268
|
};
|
|
1290
|
-
return
|
|
1269
|
+
return response;
|
|
1291
1270
|
};
|
|
1292
1271
|
exports.de_ListAccountAssignmentsCommand = de_ListAccountAssignmentsCommand;
|
|
1293
1272
|
const de_ListAccountAssignmentsCommandError = async (output, context) => {
|
|
@@ -1314,10 +1293,9 @@ const de_ListAccountAssignmentsCommandError = async (output, context) => {
|
|
|
1314
1293
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1315
1294
|
default:
|
|
1316
1295
|
const parsedBody = parsedOutput.body;
|
|
1317
|
-
|
|
1296
|
+
return throwDefaultError({
|
|
1318
1297
|
output,
|
|
1319
1298
|
parsedBody,
|
|
1320
|
-
exceptionCtor: SSOAdminServiceException_1.SSOAdminServiceException,
|
|
1321
1299
|
errorCode,
|
|
1322
1300
|
});
|
|
1323
1301
|
}
|
|
@@ -1328,12 +1306,12 @@ const de_ListAccountsForProvisionedPermissionSetCommand = async (output, context
|
|
|
1328
1306
|
}
|
|
1329
1307
|
const data = await parseBody(output.body, context);
|
|
1330
1308
|
let contents = {};
|
|
1331
|
-
contents =
|
|
1309
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1332
1310
|
const response = {
|
|
1333
1311
|
$metadata: deserializeMetadata(output),
|
|
1334
1312
|
...contents,
|
|
1335
1313
|
};
|
|
1336
|
-
return
|
|
1314
|
+
return response;
|
|
1337
1315
|
};
|
|
1338
1316
|
exports.de_ListAccountsForProvisionedPermissionSetCommand = de_ListAccountsForProvisionedPermissionSetCommand;
|
|
1339
1317
|
const de_ListAccountsForProvisionedPermissionSetCommandError = async (output, context) => {
|
|
@@ -1360,10 +1338,9 @@ const de_ListAccountsForProvisionedPermissionSetCommandError = async (output, co
|
|
|
1360
1338
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1361
1339
|
default:
|
|
1362
1340
|
const parsedBody = parsedOutput.body;
|
|
1363
|
-
|
|
1341
|
+
return throwDefaultError({
|
|
1364
1342
|
output,
|
|
1365
1343
|
parsedBody,
|
|
1366
|
-
exceptionCtor: SSOAdminServiceException_1.SSOAdminServiceException,
|
|
1367
1344
|
errorCode,
|
|
1368
1345
|
});
|
|
1369
1346
|
}
|
|
@@ -1374,12 +1351,12 @@ const de_ListCustomerManagedPolicyReferencesInPermissionSetCommand = async (outp
|
|
|
1374
1351
|
}
|
|
1375
1352
|
const data = await parseBody(output.body, context);
|
|
1376
1353
|
let contents = {};
|
|
1377
|
-
contents =
|
|
1354
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1378
1355
|
const response = {
|
|
1379
1356
|
$metadata: deserializeMetadata(output),
|
|
1380
1357
|
...contents,
|
|
1381
1358
|
};
|
|
1382
|
-
return
|
|
1359
|
+
return response;
|
|
1383
1360
|
};
|
|
1384
1361
|
exports.de_ListCustomerManagedPolicyReferencesInPermissionSetCommand = de_ListCustomerManagedPolicyReferencesInPermissionSetCommand;
|
|
1385
1362
|
const de_ListCustomerManagedPolicyReferencesInPermissionSetCommandError = async (output, context) => {
|
|
@@ -1406,10 +1383,9 @@ const de_ListCustomerManagedPolicyReferencesInPermissionSetCommandError = async
|
|
|
1406
1383
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1407
1384
|
default:
|
|
1408
1385
|
const parsedBody = parsedOutput.body;
|
|
1409
|
-
|
|
1386
|
+
return throwDefaultError({
|
|
1410
1387
|
output,
|
|
1411
1388
|
parsedBody,
|
|
1412
|
-
exceptionCtor: SSOAdminServiceException_1.SSOAdminServiceException,
|
|
1413
1389
|
errorCode,
|
|
1414
1390
|
});
|
|
1415
1391
|
}
|
|
@@ -1420,12 +1396,12 @@ const de_ListInstancesCommand = async (output, context) => {
|
|
|
1420
1396
|
}
|
|
1421
1397
|
const data = await parseBody(output.body, context);
|
|
1422
1398
|
let contents = {};
|
|
1423
|
-
contents =
|
|
1399
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1424
1400
|
const response = {
|
|
1425
1401
|
$metadata: deserializeMetadata(output),
|
|
1426
1402
|
...contents,
|
|
1427
1403
|
};
|
|
1428
|
-
return
|
|
1404
|
+
return response;
|
|
1429
1405
|
};
|
|
1430
1406
|
exports.de_ListInstancesCommand = de_ListInstancesCommand;
|
|
1431
1407
|
const de_ListInstancesCommandError = async (output, context) => {
|
|
@@ -1449,10 +1425,9 @@ const de_ListInstancesCommandError = async (output, context) => {
|
|
|
1449
1425
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1450
1426
|
default:
|
|
1451
1427
|
const parsedBody = parsedOutput.body;
|
|
1452
|
-
|
|
1428
|
+
return throwDefaultError({
|
|
1453
1429
|
output,
|
|
1454
1430
|
parsedBody,
|
|
1455
|
-
exceptionCtor: SSOAdminServiceException_1.SSOAdminServiceException,
|
|
1456
1431
|
errorCode,
|
|
1457
1432
|
});
|
|
1458
1433
|
}
|
|
@@ -1463,12 +1438,12 @@ const de_ListManagedPoliciesInPermissionSetCommand = async (output, context) =>
|
|
|
1463
1438
|
}
|
|
1464
1439
|
const data = await parseBody(output.body, context);
|
|
1465
1440
|
let contents = {};
|
|
1466
|
-
contents =
|
|
1441
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1467
1442
|
const response = {
|
|
1468
1443
|
$metadata: deserializeMetadata(output),
|
|
1469
1444
|
...contents,
|
|
1470
1445
|
};
|
|
1471
|
-
return
|
|
1446
|
+
return response;
|
|
1472
1447
|
};
|
|
1473
1448
|
exports.de_ListManagedPoliciesInPermissionSetCommand = de_ListManagedPoliciesInPermissionSetCommand;
|
|
1474
1449
|
const de_ListManagedPoliciesInPermissionSetCommandError = async (output, context) => {
|
|
@@ -1495,10 +1470,9 @@ const de_ListManagedPoliciesInPermissionSetCommandError = async (output, context
|
|
|
1495
1470
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1496
1471
|
default:
|
|
1497
1472
|
const parsedBody = parsedOutput.body;
|
|
1498
|
-
|
|
1473
|
+
return throwDefaultError({
|
|
1499
1474
|
output,
|
|
1500
1475
|
parsedBody,
|
|
1501
|
-
exceptionCtor: SSOAdminServiceException_1.SSOAdminServiceException,
|
|
1502
1476
|
errorCode,
|
|
1503
1477
|
});
|
|
1504
1478
|
}
|
|
@@ -1514,7 +1488,7 @@ const de_ListPermissionSetProvisioningStatusCommand = async (output, context) =>
|
|
|
1514
1488
|
$metadata: deserializeMetadata(output),
|
|
1515
1489
|
...contents,
|
|
1516
1490
|
};
|
|
1517
|
-
return
|
|
1491
|
+
return response;
|
|
1518
1492
|
};
|
|
1519
1493
|
exports.de_ListPermissionSetProvisioningStatusCommand = de_ListPermissionSetProvisioningStatusCommand;
|
|
1520
1494
|
const de_ListPermissionSetProvisioningStatusCommandError = async (output, context) => {
|
|
@@ -1541,10 +1515,9 @@ const de_ListPermissionSetProvisioningStatusCommandError = async (output, contex
|
|
|
1541
1515
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1542
1516
|
default:
|
|
1543
1517
|
const parsedBody = parsedOutput.body;
|
|
1544
|
-
|
|
1518
|
+
return throwDefaultError({
|
|
1545
1519
|
output,
|
|
1546
1520
|
parsedBody,
|
|
1547
|
-
exceptionCtor: SSOAdminServiceException_1.SSOAdminServiceException,
|
|
1548
1521
|
errorCode,
|
|
1549
1522
|
});
|
|
1550
1523
|
}
|
|
@@ -1555,12 +1528,12 @@ const de_ListPermissionSetsCommand = async (output, context) => {
|
|
|
1555
1528
|
}
|
|
1556
1529
|
const data = await parseBody(output.body, context);
|
|
1557
1530
|
let contents = {};
|
|
1558
|
-
contents =
|
|
1531
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1559
1532
|
const response = {
|
|
1560
1533
|
$metadata: deserializeMetadata(output),
|
|
1561
1534
|
...contents,
|
|
1562
1535
|
};
|
|
1563
|
-
return
|
|
1536
|
+
return response;
|
|
1564
1537
|
};
|
|
1565
1538
|
exports.de_ListPermissionSetsCommand = de_ListPermissionSetsCommand;
|
|
1566
1539
|
const de_ListPermissionSetsCommandError = async (output, context) => {
|
|
@@ -1587,10 +1560,9 @@ const de_ListPermissionSetsCommandError = async (output, context) => {
|
|
|
1587
1560
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1588
1561
|
default:
|
|
1589
1562
|
const parsedBody = parsedOutput.body;
|
|
1590
|
-
|
|
1563
|
+
return throwDefaultError({
|
|
1591
1564
|
output,
|
|
1592
1565
|
parsedBody,
|
|
1593
|
-
exceptionCtor: SSOAdminServiceException_1.SSOAdminServiceException,
|
|
1594
1566
|
errorCode,
|
|
1595
1567
|
});
|
|
1596
1568
|
}
|
|
@@ -1601,12 +1573,12 @@ const de_ListPermissionSetsProvisionedToAccountCommand = async (output, context)
|
|
|
1601
1573
|
}
|
|
1602
1574
|
const data = await parseBody(output.body, context);
|
|
1603
1575
|
let contents = {};
|
|
1604
|
-
contents =
|
|
1576
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1605
1577
|
const response = {
|
|
1606
1578
|
$metadata: deserializeMetadata(output),
|
|
1607
1579
|
...contents,
|
|
1608
1580
|
};
|
|
1609
|
-
return
|
|
1581
|
+
return response;
|
|
1610
1582
|
};
|
|
1611
1583
|
exports.de_ListPermissionSetsProvisionedToAccountCommand = de_ListPermissionSetsProvisionedToAccountCommand;
|
|
1612
1584
|
const de_ListPermissionSetsProvisionedToAccountCommandError = async (output, context) => {
|
|
@@ -1633,10 +1605,9 @@ const de_ListPermissionSetsProvisionedToAccountCommandError = async (output, con
|
|
|
1633
1605
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1634
1606
|
default:
|
|
1635
1607
|
const parsedBody = parsedOutput.body;
|
|
1636
|
-
|
|
1608
|
+
return throwDefaultError({
|
|
1637
1609
|
output,
|
|
1638
1610
|
parsedBody,
|
|
1639
|
-
exceptionCtor: SSOAdminServiceException_1.SSOAdminServiceException,
|
|
1640
1611
|
errorCode,
|
|
1641
1612
|
});
|
|
1642
1613
|
}
|
|
@@ -1647,12 +1618,12 @@ const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
1647
1618
|
}
|
|
1648
1619
|
const data = await parseBody(output.body, context);
|
|
1649
1620
|
let contents = {};
|
|
1650
|
-
contents =
|
|
1621
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1651
1622
|
const response = {
|
|
1652
1623
|
$metadata: deserializeMetadata(output),
|
|
1653
1624
|
...contents,
|
|
1654
1625
|
};
|
|
1655
|
-
return
|
|
1626
|
+
return response;
|
|
1656
1627
|
};
|
|
1657
1628
|
exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
|
|
1658
1629
|
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
@@ -1679,10 +1650,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
1679
1650
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1680
1651
|
default:
|
|
1681
1652
|
const parsedBody = parsedOutput.body;
|
|
1682
|
-
|
|
1653
|
+
return throwDefaultError({
|
|
1683
1654
|
output,
|
|
1684
1655
|
parsedBody,
|
|
1685
|
-
exceptionCtor: SSOAdminServiceException_1.SSOAdminServiceException,
|
|
1686
1656
|
errorCode,
|
|
1687
1657
|
});
|
|
1688
1658
|
}
|
|
@@ -1698,7 +1668,7 @@ const de_ProvisionPermissionSetCommand = async (output, context) => {
|
|
|
1698
1668
|
$metadata: deserializeMetadata(output),
|
|
1699
1669
|
...contents,
|
|
1700
1670
|
};
|
|
1701
|
-
return
|
|
1671
|
+
return response;
|
|
1702
1672
|
};
|
|
1703
1673
|
exports.de_ProvisionPermissionSetCommand = de_ProvisionPermissionSetCommand;
|
|
1704
1674
|
const de_ProvisionPermissionSetCommandError = async (output, context) => {
|
|
@@ -1728,10 +1698,9 @@ const de_ProvisionPermissionSetCommandError = async (output, context) => {
|
|
|
1728
1698
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1729
1699
|
default:
|
|
1730
1700
|
const parsedBody = parsedOutput.body;
|
|
1731
|
-
|
|
1701
|
+
return throwDefaultError({
|
|
1732
1702
|
output,
|
|
1733
1703
|
parsedBody,
|
|
1734
|
-
exceptionCtor: SSOAdminServiceException_1.SSOAdminServiceException,
|
|
1735
1704
|
errorCode,
|
|
1736
1705
|
});
|
|
1737
1706
|
}
|
|
@@ -1742,12 +1711,12 @@ const de_PutInlinePolicyToPermissionSetCommand = async (output, context) => {
|
|
|
1742
1711
|
}
|
|
1743
1712
|
const data = await parseBody(output.body, context);
|
|
1744
1713
|
let contents = {};
|
|
1745
|
-
contents =
|
|
1714
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1746
1715
|
const response = {
|
|
1747
1716
|
$metadata: deserializeMetadata(output),
|
|
1748
1717
|
...contents,
|
|
1749
1718
|
};
|
|
1750
|
-
return
|
|
1719
|
+
return response;
|
|
1751
1720
|
};
|
|
1752
1721
|
exports.de_PutInlinePolicyToPermissionSetCommand = de_PutInlinePolicyToPermissionSetCommand;
|
|
1753
1722
|
const de_PutInlinePolicyToPermissionSetCommandError = async (output, context) => {
|
|
@@ -1780,10 +1749,9 @@ const de_PutInlinePolicyToPermissionSetCommandError = async (output, context) =>
|
|
|
1780
1749
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1781
1750
|
default:
|
|
1782
1751
|
const parsedBody = parsedOutput.body;
|
|
1783
|
-
|
|
1752
|
+
return throwDefaultError({
|
|
1784
1753
|
output,
|
|
1785
1754
|
parsedBody,
|
|
1786
|
-
exceptionCtor: SSOAdminServiceException_1.SSOAdminServiceException,
|
|
1787
1755
|
errorCode,
|
|
1788
1756
|
});
|
|
1789
1757
|
}
|
|
@@ -1794,12 +1762,12 @@ const de_PutPermissionsBoundaryToPermissionSetCommand = async (output, context)
|
|
|
1794
1762
|
}
|
|
1795
1763
|
const data = await parseBody(output.body, context);
|
|
1796
1764
|
let contents = {};
|
|
1797
|
-
contents =
|
|
1765
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1798
1766
|
const response = {
|
|
1799
1767
|
$metadata: deserializeMetadata(output),
|
|
1800
1768
|
...contents,
|
|
1801
1769
|
};
|
|
1802
|
-
return
|
|
1770
|
+
return response;
|
|
1803
1771
|
};
|
|
1804
1772
|
exports.de_PutPermissionsBoundaryToPermissionSetCommand = de_PutPermissionsBoundaryToPermissionSetCommand;
|
|
1805
1773
|
const de_PutPermissionsBoundaryToPermissionSetCommandError = async (output, context) => {
|
|
@@ -1829,10 +1797,9 @@ const de_PutPermissionsBoundaryToPermissionSetCommandError = async (output, cont
|
|
|
1829
1797
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1830
1798
|
default:
|
|
1831
1799
|
const parsedBody = parsedOutput.body;
|
|
1832
|
-
|
|
1800
|
+
return throwDefaultError({
|
|
1833
1801
|
output,
|
|
1834
1802
|
parsedBody,
|
|
1835
|
-
exceptionCtor: SSOAdminServiceException_1.SSOAdminServiceException,
|
|
1836
1803
|
errorCode,
|
|
1837
1804
|
});
|
|
1838
1805
|
}
|
|
@@ -1843,12 +1810,12 @@ const de_TagResourceCommand = async (output, context) => {
|
|
|
1843
1810
|
}
|
|
1844
1811
|
const data = await parseBody(output.body, context);
|
|
1845
1812
|
let contents = {};
|
|
1846
|
-
contents =
|
|
1813
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1847
1814
|
const response = {
|
|
1848
1815
|
$metadata: deserializeMetadata(output),
|
|
1849
1816
|
...contents,
|
|
1850
1817
|
};
|
|
1851
|
-
return
|
|
1818
|
+
return response;
|
|
1852
1819
|
};
|
|
1853
1820
|
exports.de_TagResourceCommand = de_TagResourceCommand;
|
|
1854
1821
|
const de_TagResourceCommandError = async (output, context) => {
|
|
@@ -1881,10 +1848,9 @@ const de_TagResourceCommandError = async (output, context) => {
|
|
|
1881
1848
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1882
1849
|
default:
|
|
1883
1850
|
const parsedBody = parsedOutput.body;
|
|
1884
|
-
|
|
1851
|
+
return throwDefaultError({
|
|
1885
1852
|
output,
|
|
1886
1853
|
parsedBody,
|
|
1887
|
-
exceptionCtor: SSOAdminServiceException_1.SSOAdminServiceException,
|
|
1888
1854
|
errorCode,
|
|
1889
1855
|
});
|
|
1890
1856
|
}
|
|
@@ -1895,12 +1861,12 @@ const de_UntagResourceCommand = async (output, context) => {
|
|
|
1895
1861
|
}
|
|
1896
1862
|
const data = await parseBody(output.body, context);
|
|
1897
1863
|
let contents = {};
|
|
1898
|
-
contents =
|
|
1864
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1899
1865
|
const response = {
|
|
1900
1866
|
$metadata: deserializeMetadata(output),
|
|
1901
1867
|
...contents,
|
|
1902
1868
|
};
|
|
1903
|
-
return
|
|
1869
|
+
return response;
|
|
1904
1870
|
};
|
|
1905
1871
|
exports.de_UntagResourceCommand = de_UntagResourceCommand;
|
|
1906
1872
|
const de_UntagResourceCommandError = async (output, context) => {
|
|
@@ -1930,10 +1896,9 @@ const de_UntagResourceCommandError = async (output, context) => {
|
|
|
1930
1896
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1931
1897
|
default:
|
|
1932
1898
|
const parsedBody = parsedOutput.body;
|
|
1933
|
-
|
|
1899
|
+
return throwDefaultError({
|
|
1934
1900
|
output,
|
|
1935
1901
|
parsedBody,
|
|
1936
|
-
exceptionCtor: SSOAdminServiceException_1.SSOAdminServiceException,
|
|
1937
1902
|
errorCode,
|
|
1938
1903
|
});
|
|
1939
1904
|
}
|
|
@@ -1944,12 +1909,12 @@ const de_UpdateInstanceAccessControlAttributeConfigurationCommand = async (outpu
|
|
|
1944
1909
|
}
|
|
1945
1910
|
const data = await parseBody(output.body, context);
|
|
1946
1911
|
let contents = {};
|
|
1947
|
-
contents =
|
|
1912
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1948
1913
|
const response = {
|
|
1949
1914
|
$metadata: deserializeMetadata(output),
|
|
1950
1915
|
...contents,
|
|
1951
1916
|
};
|
|
1952
|
-
return
|
|
1917
|
+
return response;
|
|
1953
1918
|
};
|
|
1954
1919
|
exports.de_UpdateInstanceAccessControlAttributeConfigurationCommand = de_UpdateInstanceAccessControlAttributeConfigurationCommand;
|
|
1955
1920
|
const de_UpdateInstanceAccessControlAttributeConfigurationCommandError = async (output, context) => {
|
|
@@ -1979,10 +1944,9 @@ const de_UpdateInstanceAccessControlAttributeConfigurationCommandError = async (
|
|
|
1979
1944
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1980
1945
|
default:
|
|
1981
1946
|
const parsedBody = parsedOutput.body;
|
|
1982
|
-
|
|
1947
|
+
return throwDefaultError({
|
|
1983
1948
|
output,
|
|
1984
1949
|
parsedBody,
|
|
1985
|
-
exceptionCtor: SSOAdminServiceException_1.SSOAdminServiceException,
|
|
1986
1950
|
errorCode,
|
|
1987
1951
|
});
|
|
1988
1952
|
}
|
|
@@ -1993,12 +1957,12 @@ const de_UpdatePermissionSetCommand = async (output, context) => {
|
|
|
1993
1957
|
}
|
|
1994
1958
|
const data = await parseBody(output.body, context);
|
|
1995
1959
|
let contents = {};
|
|
1996
|
-
contents =
|
|
1960
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1997
1961
|
const response = {
|
|
1998
1962
|
$metadata: deserializeMetadata(output),
|
|
1999
1963
|
...contents,
|
|
2000
1964
|
};
|
|
2001
|
-
return
|
|
1965
|
+
return response;
|
|
2002
1966
|
};
|
|
2003
1967
|
exports.de_UpdatePermissionSetCommand = de_UpdatePermissionSetCommand;
|
|
2004
1968
|
const de_UpdatePermissionSetCommandError = async (output, context) => {
|
|
@@ -2028,17 +1992,16 @@ const de_UpdatePermissionSetCommandError = async (output, context) => {
|
|
|
2028
1992
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2029
1993
|
default:
|
|
2030
1994
|
const parsedBody = parsedOutput.body;
|
|
2031
|
-
|
|
1995
|
+
return throwDefaultError({
|
|
2032
1996
|
output,
|
|
2033
1997
|
parsedBody,
|
|
2034
|
-
exceptionCtor: SSOAdminServiceException_1.SSOAdminServiceException,
|
|
2035
1998
|
errorCode,
|
|
2036
1999
|
});
|
|
2037
2000
|
}
|
|
2038
2001
|
};
|
|
2039
2002
|
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
2040
2003
|
const body = parsedOutput.body;
|
|
2041
|
-
const deserialized =
|
|
2004
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2042
2005
|
const exception = new models_0_1.AccessDeniedException({
|
|
2043
2006
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2044
2007
|
...deserialized,
|
|
@@ -2047,7 +2010,7 @@ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
|
2047
2010
|
};
|
|
2048
2011
|
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
2049
2012
|
const body = parsedOutput.body;
|
|
2050
|
-
const deserialized =
|
|
2013
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2051
2014
|
const exception = new models_0_1.ConflictException({
|
|
2052
2015
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2053
2016
|
...deserialized,
|
|
@@ -2056,7 +2019,7 @@ const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
|
2056
2019
|
};
|
|
2057
2020
|
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
2058
2021
|
const body = parsedOutput.body;
|
|
2059
|
-
const deserialized =
|
|
2022
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2060
2023
|
const exception = new models_0_1.InternalServerException({
|
|
2061
2024
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2062
2025
|
...deserialized,
|
|
@@ -2065,7 +2028,7 @@ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
|
2065
2028
|
};
|
|
2066
2029
|
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
2067
2030
|
const body = parsedOutput.body;
|
|
2068
|
-
const deserialized =
|
|
2031
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2069
2032
|
const exception = new models_0_1.ResourceNotFoundException({
|
|
2070
2033
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2071
2034
|
...deserialized,
|
|
@@ -2074,7 +2037,7 @@ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
2074
2037
|
};
|
|
2075
2038
|
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
2076
2039
|
const body = parsedOutput.body;
|
|
2077
|
-
const deserialized =
|
|
2040
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2078
2041
|
const exception = new models_0_1.ServiceQuotaExceededException({
|
|
2079
2042
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2080
2043
|
...deserialized,
|
|
@@ -2083,7 +2046,7 @@ const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
|
2083
2046
|
};
|
|
2084
2047
|
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
2085
2048
|
const body = parsedOutput.body;
|
|
2086
|
-
const deserialized =
|
|
2049
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2087
2050
|
const exception = new models_0_1.ThrottlingException({
|
|
2088
2051
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2089
2052
|
...deserialized,
|
|
@@ -2092,828 +2055,133 @@ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
|
2092
2055
|
};
|
|
2093
2056
|
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
2094
2057
|
const body = parsedOutput.body;
|
|
2095
|
-
const deserialized =
|
|
2058
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2096
2059
|
const exception = new models_0_1.ValidationException({
|
|
2097
2060
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2098
2061
|
...deserialized,
|
|
2099
2062
|
});
|
|
2100
2063
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2101
2064
|
};
|
|
2102
|
-
const se_AccessControlAttribute = (input, context) => {
|
|
2103
|
-
return {
|
|
2104
|
-
...(input.Key != null && { Key: input.Key }),
|
|
2105
|
-
...(input.Value != null && { Value: se_AccessControlAttributeValue(input.Value, context) }),
|
|
2106
|
-
};
|
|
2107
|
-
};
|
|
2108
|
-
const se_AccessControlAttributeList = (input, context) => {
|
|
2109
|
-
return input
|
|
2110
|
-
.filter((e) => e != null)
|
|
2111
|
-
.map((entry) => {
|
|
2112
|
-
return se_AccessControlAttribute(entry, context);
|
|
2113
|
-
});
|
|
2114
|
-
};
|
|
2115
|
-
const se_AccessControlAttributeValue = (input, context) => {
|
|
2116
|
-
return {
|
|
2117
|
-
...(input.Source != null && { Source: se_AccessControlAttributeValueSourceList(input.Source, context) }),
|
|
2118
|
-
};
|
|
2119
|
-
};
|
|
2120
|
-
const se_AccessControlAttributeValueSourceList = (input, context) => {
|
|
2121
|
-
return input
|
|
2122
|
-
.filter((e) => e != null)
|
|
2123
|
-
.map((entry) => {
|
|
2124
|
-
return entry;
|
|
2125
|
-
});
|
|
2126
|
-
};
|
|
2127
|
-
const se_AttachCustomerManagedPolicyReferenceToPermissionSetRequest = (input, context) => {
|
|
2128
|
-
return {
|
|
2129
|
-
...(input.CustomerManagedPolicyReference != null && {
|
|
2130
|
-
CustomerManagedPolicyReference: se_CustomerManagedPolicyReference(input.CustomerManagedPolicyReference, context),
|
|
2131
|
-
}),
|
|
2132
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2133
|
-
...(input.PermissionSetArn != null && { PermissionSetArn: input.PermissionSetArn }),
|
|
2134
|
-
};
|
|
2135
|
-
};
|
|
2136
|
-
const se_AttachManagedPolicyToPermissionSetRequest = (input, context) => {
|
|
2137
|
-
return {
|
|
2138
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2139
|
-
...(input.ManagedPolicyArn != null && { ManagedPolicyArn: input.ManagedPolicyArn }),
|
|
2140
|
-
...(input.PermissionSetArn != null && { PermissionSetArn: input.PermissionSetArn }),
|
|
2141
|
-
};
|
|
2142
|
-
};
|
|
2143
|
-
const se_CreateAccountAssignmentRequest = (input, context) => {
|
|
2144
|
-
return {
|
|
2145
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2146
|
-
...(input.PermissionSetArn != null && { PermissionSetArn: input.PermissionSetArn }),
|
|
2147
|
-
...(input.PrincipalId != null && { PrincipalId: input.PrincipalId }),
|
|
2148
|
-
...(input.PrincipalType != null && { PrincipalType: input.PrincipalType }),
|
|
2149
|
-
...(input.TargetId != null && { TargetId: input.TargetId }),
|
|
2150
|
-
...(input.TargetType != null && { TargetType: input.TargetType }),
|
|
2151
|
-
};
|
|
2152
|
-
};
|
|
2153
|
-
const se_CreateInstanceAccessControlAttributeConfigurationRequest = (input, context) => {
|
|
2154
|
-
return {
|
|
2155
|
-
...(input.InstanceAccessControlAttributeConfiguration != null && {
|
|
2156
|
-
InstanceAccessControlAttributeConfiguration: se_InstanceAccessControlAttributeConfiguration(input.InstanceAccessControlAttributeConfiguration, context),
|
|
2157
|
-
}),
|
|
2158
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2159
|
-
};
|
|
2160
|
-
};
|
|
2161
|
-
const se_CreatePermissionSetRequest = (input, context) => {
|
|
2162
|
-
return {
|
|
2163
|
-
...(input.Description != null && { Description: input.Description }),
|
|
2164
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2165
|
-
...(input.Name != null && { Name: input.Name }),
|
|
2166
|
-
...(input.RelayState != null && { RelayState: input.RelayState }),
|
|
2167
|
-
...(input.SessionDuration != null && { SessionDuration: input.SessionDuration }),
|
|
2168
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
2169
|
-
};
|
|
2170
|
-
};
|
|
2171
|
-
const se_CustomerManagedPolicyReference = (input, context) => {
|
|
2172
|
-
return {
|
|
2173
|
-
...(input.Name != null && { Name: input.Name }),
|
|
2174
|
-
...(input.Path != null && { Path: input.Path }),
|
|
2175
|
-
};
|
|
2176
|
-
};
|
|
2177
|
-
const se_DeleteAccountAssignmentRequest = (input, context) => {
|
|
2178
|
-
return {
|
|
2179
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2180
|
-
...(input.PermissionSetArn != null && { PermissionSetArn: input.PermissionSetArn }),
|
|
2181
|
-
...(input.PrincipalId != null && { PrincipalId: input.PrincipalId }),
|
|
2182
|
-
...(input.PrincipalType != null && { PrincipalType: input.PrincipalType }),
|
|
2183
|
-
...(input.TargetId != null && { TargetId: input.TargetId }),
|
|
2184
|
-
...(input.TargetType != null && { TargetType: input.TargetType }),
|
|
2185
|
-
};
|
|
2186
|
-
};
|
|
2187
|
-
const se_DeleteInlinePolicyFromPermissionSetRequest = (input, context) => {
|
|
2188
|
-
return {
|
|
2189
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2190
|
-
...(input.PermissionSetArn != null && { PermissionSetArn: input.PermissionSetArn }),
|
|
2191
|
-
};
|
|
2192
|
-
};
|
|
2193
|
-
const se_DeleteInstanceAccessControlAttributeConfigurationRequest = (input, context) => {
|
|
2194
|
-
return {
|
|
2195
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2196
|
-
};
|
|
2197
|
-
};
|
|
2198
|
-
const se_DeletePermissionsBoundaryFromPermissionSetRequest = (input, context) => {
|
|
2199
|
-
return {
|
|
2200
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2201
|
-
...(input.PermissionSetArn != null && { PermissionSetArn: input.PermissionSetArn }),
|
|
2202
|
-
};
|
|
2203
|
-
};
|
|
2204
|
-
const se_DeletePermissionSetRequest = (input, context) => {
|
|
2205
|
-
return {
|
|
2206
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2207
|
-
...(input.PermissionSetArn != null && { PermissionSetArn: input.PermissionSetArn }),
|
|
2208
|
-
};
|
|
2209
|
-
};
|
|
2210
|
-
const se_DescribeAccountAssignmentCreationStatusRequest = (input, context) => {
|
|
2211
|
-
return {
|
|
2212
|
-
...(input.AccountAssignmentCreationRequestId != null && {
|
|
2213
|
-
AccountAssignmentCreationRequestId: input.AccountAssignmentCreationRequestId,
|
|
2214
|
-
}),
|
|
2215
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2216
|
-
};
|
|
2217
|
-
};
|
|
2218
|
-
const se_DescribeAccountAssignmentDeletionStatusRequest = (input, context) => {
|
|
2219
|
-
return {
|
|
2220
|
-
...(input.AccountAssignmentDeletionRequestId != null && {
|
|
2221
|
-
AccountAssignmentDeletionRequestId: input.AccountAssignmentDeletionRequestId,
|
|
2222
|
-
}),
|
|
2223
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2224
|
-
};
|
|
2225
|
-
};
|
|
2226
|
-
const se_DescribeInstanceAccessControlAttributeConfigurationRequest = (input, context) => {
|
|
2227
|
-
return {
|
|
2228
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2229
|
-
};
|
|
2230
|
-
};
|
|
2231
|
-
const se_DescribePermissionSetProvisioningStatusRequest = (input, context) => {
|
|
2232
|
-
return {
|
|
2233
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2234
|
-
...(input.ProvisionPermissionSetRequestId != null && {
|
|
2235
|
-
ProvisionPermissionSetRequestId: input.ProvisionPermissionSetRequestId,
|
|
2236
|
-
}),
|
|
2237
|
-
};
|
|
2238
|
-
};
|
|
2239
|
-
const se_DescribePermissionSetRequest = (input, context) => {
|
|
2240
|
-
return {
|
|
2241
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2242
|
-
...(input.PermissionSetArn != null && { PermissionSetArn: input.PermissionSetArn }),
|
|
2243
|
-
};
|
|
2244
|
-
};
|
|
2245
|
-
const se_DetachCustomerManagedPolicyReferenceFromPermissionSetRequest = (input, context) => {
|
|
2246
|
-
return {
|
|
2247
|
-
...(input.CustomerManagedPolicyReference != null && {
|
|
2248
|
-
CustomerManagedPolicyReference: se_CustomerManagedPolicyReference(input.CustomerManagedPolicyReference, context),
|
|
2249
|
-
}),
|
|
2250
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2251
|
-
...(input.PermissionSetArn != null && { PermissionSetArn: input.PermissionSetArn }),
|
|
2252
|
-
};
|
|
2253
|
-
};
|
|
2254
|
-
const se_DetachManagedPolicyFromPermissionSetRequest = (input, context) => {
|
|
2255
|
-
return {
|
|
2256
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2257
|
-
...(input.ManagedPolicyArn != null && { ManagedPolicyArn: input.ManagedPolicyArn }),
|
|
2258
|
-
...(input.PermissionSetArn != null && { PermissionSetArn: input.PermissionSetArn }),
|
|
2259
|
-
};
|
|
2260
|
-
};
|
|
2261
|
-
const se_GetInlinePolicyForPermissionSetRequest = (input, context) => {
|
|
2262
|
-
return {
|
|
2263
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2264
|
-
...(input.PermissionSetArn != null && { PermissionSetArn: input.PermissionSetArn }),
|
|
2265
|
-
};
|
|
2266
|
-
};
|
|
2267
|
-
const se_GetPermissionsBoundaryForPermissionSetRequest = (input, context) => {
|
|
2268
|
-
return {
|
|
2269
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2270
|
-
...(input.PermissionSetArn != null && { PermissionSetArn: input.PermissionSetArn }),
|
|
2271
|
-
};
|
|
2272
|
-
};
|
|
2273
|
-
const se_InstanceAccessControlAttributeConfiguration = (input, context) => {
|
|
2274
|
-
return {
|
|
2275
|
-
...(input.AccessControlAttributes != null && {
|
|
2276
|
-
AccessControlAttributes: se_AccessControlAttributeList(input.AccessControlAttributes, context),
|
|
2277
|
-
}),
|
|
2278
|
-
};
|
|
2279
|
-
};
|
|
2280
|
-
const se_ListAccountAssignmentCreationStatusRequest = (input, context) => {
|
|
2281
|
-
return {
|
|
2282
|
-
...(input.Filter != null && { Filter: se_OperationStatusFilter(input.Filter, context) }),
|
|
2283
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2284
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2285
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2286
|
-
};
|
|
2287
|
-
};
|
|
2288
|
-
const se_ListAccountAssignmentDeletionStatusRequest = (input, context) => {
|
|
2289
|
-
return {
|
|
2290
|
-
...(input.Filter != null && { Filter: se_OperationStatusFilter(input.Filter, context) }),
|
|
2291
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2292
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2293
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2294
|
-
};
|
|
2295
|
-
};
|
|
2296
|
-
const se_ListAccountAssignmentsRequest = (input, context) => {
|
|
2297
|
-
return {
|
|
2298
|
-
...(input.AccountId != null && { AccountId: input.AccountId }),
|
|
2299
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2300
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2301
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2302
|
-
...(input.PermissionSetArn != null && { PermissionSetArn: input.PermissionSetArn }),
|
|
2303
|
-
};
|
|
2304
|
-
};
|
|
2305
|
-
const se_ListAccountsForProvisionedPermissionSetRequest = (input, context) => {
|
|
2306
|
-
return {
|
|
2307
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2308
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2309
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2310
|
-
...(input.PermissionSetArn != null && { PermissionSetArn: input.PermissionSetArn }),
|
|
2311
|
-
...(input.ProvisioningStatus != null && { ProvisioningStatus: input.ProvisioningStatus }),
|
|
2312
|
-
};
|
|
2313
|
-
};
|
|
2314
|
-
const se_ListCustomerManagedPolicyReferencesInPermissionSetRequest = (input, context) => {
|
|
2315
|
-
return {
|
|
2316
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2317
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2318
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2319
|
-
...(input.PermissionSetArn != null && { PermissionSetArn: input.PermissionSetArn }),
|
|
2320
|
-
};
|
|
2321
|
-
};
|
|
2322
|
-
const se_ListInstancesRequest = (input, context) => {
|
|
2323
|
-
return {
|
|
2324
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2325
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2326
|
-
};
|
|
2327
|
-
};
|
|
2328
|
-
const se_ListManagedPoliciesInPermissionSetRequest = (input, context) => {
|
|
2329
|
-
return {
|
|
2330
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2331
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2332
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2333
|
-
...(input.PermissionSetArn != null && { PermissionSetArn: input.PermissionSetArn }),
|
|
2334
|
-
};
|
|
2335
|
-
};
|
|
2336
|
-
const se_ListPermissionSetProvisioningStatusRequest = (input, context) => {
|
|
2337
|
-
return {
|
|
2338
|
-
...(input.Filter != null && { Filter: se_OperationStatusFilter(input.Filter, context) }),
|
|
2339
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2340
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2341
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2342
|
-
};
|
|
2343
|
-
};
|
|
2344
|
-
const se_ListPermissionSetsProvisionedToAccountRequest = (input, context) => {
|
|
2345
|
-
return {
|
|
2346
|
-
...(input.AccountId != null && { AccountId: input.AccountId }),
|
|
2347
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2348
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2349
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2350
|
-
...(input.ProvisioningStatus != null && { ProvisioningStatus: input.ProvisioningStatus }),
|
|
2351
|
-
};
|
|
2352
|
-
};
|
|
2353
|
-
const se_ListPermissionSetsRequest = (input, context) => {
|
|
2354
|
-
return {
|
|
2355
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2356
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2357
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2358
|
-
};
|
|
2359
|
-
};
|
|
2360
|
-
const se_ListTagsForResourceRequest = (input, context) => {
|
|
2361
|
-
return {
|
|
2362
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2363
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2364
|
-
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
2365
|
-
};
|
|
2366
|
-
};
|
|
2367
|
-
const se_OperationStatusFilter = (input, context) => {
|
|
2368
|
-
return {
|
|
2369
|
-
...(input.Status != null && { Status: input.Status }),
|
|
2370
|
-
};
|
|
2371
|
-
};
|
|
2372
|
-
const se_PermissionsBoundary = (input, context) => {
|
|
2373
|
-
return {
|
|
2374
|
-
...(input.CustomerManagedPolicyReference != null && {
|
|
2375
|
-
CustomerManagedPolicyReference: se_CustomerManagedPolicyReference(input.CustomerManagedPolicyReference, context),
|
|
2376
|
-
}),
|
|
2377
|
-
...(input.ManagedPolicyArn != null && { ManagedPolicyArn: input.ManagedPolicyArn }),
|
|
2378
|
-
};
|
|
2379
|
-
};
|
|
2380
|
-
const se_ProvisionPermissionSetRequest = (input, context) => {
|
|
2381
|
-
return {
|
|
2382
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2383
|
-
...(input.PermissionSetArn != null && { PermissionSetArn: input.PermissionSetArn }),
|
|
2384
|
-
...(input.TargetId != null && { TargetId: input.TargetId }),
|
|
2385
|
-
...(input.TargetType != null && { TargetType: input.TargetType }),
|
|
2386
|
-
};
|
|
2387
|
-
};
|
|
2388
|
-
const se_PutInlinePolicyToPermissionSetRequest = (input, context) => {
|
|
2389
|
-
return {
|
|
2390
|
-
...(input.InlinePolicy != null && { InlinePolicy: input.InlinePolicy }),
|
|
2391
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2392
|
-
...(input.PermissionSetArn != null && { PermissionSetArn: input.PermissionSetArn }),
|
|
2393
|
-
};
|
|
2394
|
-
};
|
|
2395
|
-
const se_PutPermissionsBoundaryToPermissionSetRequest = (input, context) => {
|
|
2396
|
-
return {
|
|
2397
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2398
|
-
...(input.PermissionSetArn != null && { PermissionSetArn: input.PermissionSetArn }),
|
|
2399
|
-
...(input.PermissionsBoundary != null && {
|
|
2400
|
-
PermissionsBoundary: se_PermissionsBoundary(input.PermissionsBoundary, context),
|
|
2401
|
-
}),
|
|
2402
|
-
};
|
|
2403
|
-
};
|
|
2404
|
-
const se_Tag = (input, context) => {
|
|
2405
|
-
return {
|
|
2406
|
-
...(input.Key != null && { Key: input.Key }),
|
|
2407
|
-
...(input.Value != null && { Value: input.Value }),
|
|
2408
|
-
};
|
|
2409
|
-
};
|
|
2410
|
-
const se_TagKeyList = (input, context) => {
|
|
2411
|
-
return input
|
|
2412
|
-
.filter((e) => e != null)
|
|
2413
|
-
.map((entry) => {
|
|
2414
|
-
return entry;
|
|
2415
|
-
});
|
|
2416
|
-
};
|
|
2417
|
-
const se_TagList = (input, context) => {
|
|
2418
|
-
return input
|
|
2419
|
-
.filter((e) => e != null)
|
|
2420
|
-
.map((entry) => {
|
|
2421
|
-
return se_Tag(entry, context);
|
|
2422
|
-
});
|
|
2423
|
-
};
|
|
2424
|
-
const se_TagResourceRequest = (input, context) => {
|
|
2425
|
-
return {
|
|
2426
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2427
|
-
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
2428
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
2429
|
-
};
|
|
2430
|
-
};
|
|
2431
|
-
const se_UntagResourceRequest = (input, context) => {
|
|
2432
|
-
return {
|
|
2433
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2434
|
-
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
2435
|
-
...(input.TagKeys != null && { TagKeys: se_TagKeyList(input.TagKeys, context) }),
|
|
2436
|
-
};
|
|
2437
|
-
};
|
|
2438
|
-
const se_UpdateInstanceAccessControlAttributeConfigurationRequest = (input, context) => {
|
|
2439
|
-
return {
|
|
2440
|
-
...(input.InstanceAccessControlAttributeConfiguration != null && {
|
|
2441
|
-
InstanceAccessControlAttributeConfiguration: se_InstanceAccessControlAttributeConfiguration(input.InstanceAccessControlAttributeConfiguration, context),
|
|
2442
|
-
}),
|
|
2443
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2444
|
-
};
|
|
2445
|
-
};
|
|
2446
|
-
const se_UpdatePermissionSetRequest = (input, context) => {
|
|
2447
|
-
return {
|
|
2448
|
-
...(input.Description != null && { Description: input.Description }),
|
|
2449
|
-
...(input.InstanceArn != null && { InstanceArn: input.InstanceArn }),
|
|
2450
|
-
...(input.PermissionSetArn != null && { PermissionSetArn: input.PermissionSetArn }),
|
|
2451
|
-
...(input.RelayState != null && { RelayState: input.RelayState }),
|
|
2452
|
-
...(input.SessionDuration != null && { SessionDuration: input.SessionDuration }),
|
|
2453
|
-
};
|
|
2454
|
-
};
|
|
2455
|
-
const de_AccessControlAttribute = (output, context) => {
|
|
2456
|
-
return {
|
|
2457
|
-
Key: (0, smithy_client_1.expectString)(output.Key),
|
|
2458
|
-
Value: output.Value != null ? de_AccessControlAttributeValue(output.Value, context) : undefined,
|
|
2459
|
-
};
|
|
2460
|
-
};
|
|
2461
|
-
const de_AccessControlAttributeList = (output, context) => {
|
|
2462
|
-
const retVal = (output || [])
|
|
2463
|
-
.filter((e) => e != null)
|
|
2464
|
-
.map((entry) => {
|
|
2465
|
-
if (entry === null) {
|
|
2466
|
-
return null;
|
|
2467
|
-
}
|
|
2468
|
-
return de_AccessControlAttribute(entry, context);
|
|
2469
|
-
});
|
|
2470
|
-
return retVal;
|
|
2471
|
-
};
|
|
2472
|
-
const de_AccessControlAttributeValue = (output, context) => {
|
|
2473
|
-
return {
|
|
2474
|
-
Source: output.Source != null ? de_AccessControlAttributeValueSourceList(output.Source, context) : undefined,
|
|
2475
|
-
};
|
|
2476
|
-
};
|
|
2477
|
-
const de_AccessControlAttributeValueSourceList = (output, context) => {
|
|
2478
|
-
const retVal = (output || [])
|
|
2479
|
-
.filter((e) => e != null)
|
|
2480
|
-
.map((entry) => {
|
|
2481
|
-
if (entry === null) {
|
|
2482
|
-
return null;
|
|
2483
|
-
}
|
|
2484
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
2485
|
-
});
|
|
2486
|
-
return retVal;
|
|
2487
|
-
};
|
|
2488
|
-
const de_AccessDeniedException = (output, context) => {
|
|
2489
|
-
return {
|
|
2490
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2491
|
-
};
|
|
2492
|
-
};
|
|
2493
|
-
const de_AccountAssignment = (output, context) => {
|
|
2494
|
-
return {
|
|
2495
|
-
AccountId: (0, smithy_client_1.expectString)(output.AccountId),
|
|
2496
|
-
PermissionSetArn: (0, smithy_client_1.expectString)(output.PermissionSetArn),
|
|
2497
|
-
PrincipalId: (0, smithy_client_1.expectString)(output.PrincipalId),
|
|
2498
|
-
PrincipalType: (0, smithy_client_1.expectString)(output.PrincipalType),
|
|
2499
|
-
};
|
|
2500
|
-
};
|
|
2501
|
-
const de_AccountAssignmentList = (output, context) => {
|
|
2502
|
-
const retVal = (output || [])
|
|
2503
|
-
.filter((e) => e != null)
|
|
2504
|
-
.map((entry) => {
|
|
2505
|
-
if (entry === null) {
|
|
2506
|
-
return null;
|
|
2507
|
-
}
|
|
2508
|
-
return de_AccountAssignment(entry, context);
|
|
2509
|
-
});
|
|
2510
|
-
return retVal;
|
|
2511
|
-
};
|
|
2512
2065
|
const de_AccountAssignmentOperationStatus = (output, context) => {
|
|
2513
|
-
return {
|
|
2514
|
-
CreatedDate:
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
TargetType: (0, smithy_client_1.expectString)(output.TargetType),
|
|
2525
|
-
};
|
|
2066
|
+
return (0, smithy_client_1.take)(output, {
|
|
2067
|
+
CreatedDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2068
|
+
FailureReason: smithy_client_1.expectString,
|
|
2069
|
+
PermissionSetArn: smithy_client_1.expectString,
|
|
2070
|
+
PrincipalId: smithy_client_1.expectString,
|
|
2071
|
+
PrincipalType: smithy_client_1.expectString,
|
|
2072
|
+
RequestId: smithy_client_1.expectString,
|
|
2073
|
+
Status: smithy_client_1.expectString,
|
|
2074
|
+
TargetId: smithy_client_1.expectString,
|
|
2075
|
+
TargetType: smithy_client_1.expectString,
|
|
2076
|
+
});
|
|
2526
2077
|
};
|
|
2527
2078
|
const de_AccountAssignmentOperationStatusList = (output, context) => {
|
|
2528
2079
|
const retVal = (output || [])
|
|
2529
2080
|
.filter((e) => e != null)
|
|
2530
2081
|
.map((entry) => {
|
|
2531
|
-
if (entry === null) {
|
|
2532
|
-
return null;
|
|
2533
|
-
}
|
|
2534
2082
|
return de_AccountAssignmentOperationStatusMetadata(entry, context);
|
|
2535
2083
|
});
|
|
2536
2084
|
return retVal;
|
|
2537
2085
|
};
|
|
2538
2086
|
const de_AccountAssignmentOperationStatusMetadata = (output, context) => {
|
|
2539
|
-
return {
|
|
2540
|
-
CreatedDate:
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
RequestId: (0, smithy_client_1.expectString)(output.RequestId),
|
|
2544
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2545
|
-
};
|
|
2546
|
-
};
|
|
2547
|
-
const de_AccountList = (output, context) => {
|
|
2548
|
-
const retVal = (output || [])
|
|
2549
|
-
.filter((e) => e != null)
|
|
2550
|
-
.map((entry) => {
|
|
2551
|
-
if (entry === null) {
|
|
2552
|
-
return null;
|
|
2553
|
-
}
|
|
2554
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
2555
|
-
});
|
|
2556
|
-
return retVal;
|
|
2557
|
-
};
|
|
2558
|
-
const de_AttachCustomerManagedPolicyReferenceToPermissionSetResponse = (output, context) => {
|
|
2559
|
-
return {};
|
|
2560
|
-
};
|
|
2561
|
-
const de_AttachedManagedPolicy = (output, context) => {
|
|
2562
|
-
return {
|
|
2563
|
-
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
2564
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
2565
|
-
};
|
|
2566
|
-
};
|
|
2567
|
-
const de_AttachedManagedPolicyList = (output, context) => {
|
|
2568
|
-
const retVal = (output || [])
|
|
2569
|
-
.filter((e) => e != null)
|
|
2570
|
-
.map((entry) => {
|
|
2571
|
-
if (entry === null) {
|
|
2572
|
-
return null;
|
|
2573
|
-
}
|
|
2574
|
-
return de_AttachedManagedPolicy(entry, context);
|
|
2087
|
+
return (0, smithy_client_1.take)(output, {
|
|
2088
|
+
CreatedDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2089
|
+
RequestId: smithy_client_1.expectString,
|
|
2090
|
+
Status: smithy_client_1.expectString,
|
|
2575
2091
|
});
|
|
2576
|
-
return retVal;
|
|
2577
|
-
};
|
|
2578
|
-
const de_AttachManagedPolicyToPermissionSetResponse = (output, context) => {
|
|
2579
|
-
return {};
|
|
2580
|
-
};
|
|
2581
|
-
const de_ConflictException = (output, context) => {
|
|
2582
|
-
return {
|
|
2583
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2584
|
-
};
|
|
2585
2092
|
};
|
|
2586
2093
|
const de_CreateAccountAssignmentResponse = (output, context) => {
|
|
2587
|
-
return {
|
|
2588
|
-
AccountAssignmentCreationStatus:
|
|
2589
|
-
|
|
2590
|
-
: undefined,
|
|
2591
|
-
};
|
|
2592
|
-
};
|
|
2593
|
-
const de_CreateInstanceAccessControlAttributeConfigurationResponse = (output, context) => {
|
|
2594
|
-
return {};
|
|
2094
|
+
return (0, smithy_client_1.take)(output, {
|
|
2095
|
+
AccountAssignmentCreationStatus: (_) => de_AccountAssignmentOperationStatus(_, context),
|
|
2096
|
+
});
|
|
2595
2097
|
};
|
|
2596
2098
|
const de_CreatePermissionSetResponse = (output, context) => {
|
|
2597
|
-
return {
|
|
2598
|
-
PermissionSet:
|
|
2599
|
-
};
|
|
2600
|
-
};
|
|
2601
|
-
const de_CustomerManagedPolicyReference = (output, context) => {
|
|
2602
|
-
return {
|
|
2603
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
2604
|
-
Path: (0, smithy_client_1.expectString)(output.Path),
|
|
2605
|
-
};
|
|
2606
|
-
};
|
|
2607
|
-
const de_CustomerManagedPolicyReferenceList = (output, context) => {
|
|
2608
|
-
const retVal = (output || [])
|
|
2609
|
-
.filter((e) => e != null)
|
|
2610
|
-
.map((entry) => {
|
|
2611
|
-
if (entry === null) {
|
|
2612
|
-
return null;
|
|
2613
|
-
}
|
|
2614
|
-
return de_CustomerManagedPolicyReference(entry, context);
|
|
2099
|
+
return (0, smithy_client_1.take)(output, {
|
|
2100
|
+
PermissionSet: (_) => de_PermissionSet(_, context),
|
|
2615
2101
|
});
|
|
2616
|
-
return retVal;
|
|
2617
2102
|
};
|
|
2618
2103
|
const de_DeleteAccountAssignmentResponse = (output, context) => {
|
|
2619
|
-
return {
|
|
2620
|
-
AccountAssignmentDeletionStatus:
|
|
2621
|
-
|
|
2622
|
-
: undefined,
|
|
2623
|
-
};
|
|
2624
|
-
};
|
|
2625
|
-
const de_DeleteInlinePolicyFromPermissionSetResponse = (output, context) => {
|
|
2626
|
-
return {};
|
|
2627
|
-
};
|
|
2628
|
-
const de_DeleteInstanceAccessControlAttributeConfigurationResponse = (output, context) => {
|
|
2629
|
-
return {};
|
|
2630
|
-
};
|
|
2631
|
-
const de_DeletePermissionsBoundaryFromPermissionSetResponse = (output, context) => {
|
|
2632
|
-
return {};
|
|
2633
|
-
};
|
|
2634
|
-
const de_DeletePermissionSetResponse = (output, context) => {
|
|
2635
|
-
return {};
|
|
2104
|
+
return (0, smithy_client_1.take)(output, {
|
|
2105
|
+
AccountAssignmentDeletionStatus: (_) => de_AccountAssignmentOperationStatus(_, context),
|
|
2106
|
+
});
|
|
2636
2107
|
};
|
|
2637
2108
|
const de_DescribeAccountAssignmentCreationStatusResponse = (output, context) => {
|
|
2638
|
-
return {
|
|
2639
|
-
AccountAssignmentCreationStatus:
|
|
2640
|
-
|
|
2641
|
-
: undefined,
|
|
2642
|
-
};
|
|
2109
|
+
return (0, smithy_client_1.take)(output, {
|
|
2110
|
+
AccountAssignmentCreationStatus: (_) => de_AccountAssignmentOperationStatus(_, context),
|
|
2111
|
+
});
|
|
2643
2112
|
};
|
|
2644
2113
|
const de_DescribeAccountAssignmentDeletionStatusResponse = (output, context) => {
|
|
2645
|
-
return {
|
|
2646
|
-
AccountAssignmentDeletionStatus:
|
|
2647
|
-
|
|
2648
|
-
: undefined,
|
|
2649
|
-
};
|
|
2650
|
-
};
|
|
2651
|
-
const de_DescribeInstanceAccessControlAttributeConfigurationResponse = (output, context) => {
|
|
2652
|
-
return {
|
|
2653
|
-
InstanceAccessControlAttributeConfiguration: output.InstanceAccessControlAttributeConfiguration != null
|
|
2654
|
-
? de_InstanceAccessControlAttributeConfiguration(output.InstanceAccessControlAttributeConfiguration, context)
|
|
2655
|
-
: undefined,
|
|
2656
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2657
|
-
StatusReason: (0, smithy_client_1.expectString)(output.StatusReason),
|
|
2658
|
-
};
|
|
2114
|
+
return (0, smithy_client_1.take)(output, {
|
|
2115
|
+
AccountAssignmentDeletionStatus: (_) => de_AccountAssignmentOperationStatus(_, context),
|
|
2116
|
+
});
|
|
2659
2117
|
};
|
|
2660
2118
|
const de_DescribePermissionSetProvisioningStatusResponse = (output, context) => {
|
|
2661
|
-
return {
|
|
2662
|
-
PermissionSetProvisioningStatus:
|
|
2663
|
-
|
|
2664
|
-
: undefined,
|
|
2665
|
-
};
|
|
2119
|
+
return (0, smithy_client_1.take)(output, {
|
|
2120
|
+
PermissionSetProvisioningStatus: (_) => de_PermissionSetProvisioningStatus(_, context),
|
|
2121
|
+
});
|
|
2666
2122
|
};
|
|
2667
2123
|
const de_DescribePermissionSetResponse = (output, context) => {
|
|
2668
|
-
return {
|
|
2669
|
-
PermissionSet:
|
|
2670
|
-
};
|
|
2671
|
-
};
|
|
2672
|
-
const de_DetachCustomerManagedPolicyReferenceFromPermissionSetResponse = (output, context) => {
|
|
2673
|
-
return {};
|
|
2674
|
-
};
|
|
2675
|
-
const de_DetachManagedPolicyFromPermissionSetResponse = (output, context) => {
|
|
2676
|
-
return {};
|
|
2677
|
-
};
|
|
2678
|
-
const de_GetInlinePolicyForPermissionSetResponse = (output, context) => {
|
|
2679
|
-
return {
|
|
2680
|
-
InlinePolicy: (0, smithy_client_1.expectString)(output.InlinePolicy),
|
|
2681
|
-
};
|
|
2682
|
-
};
|
|
2683
|
-
const de_GetPermissionsBoundaryForPermissionSetResponse = (output, context) => {
|
|
2684
|
-
return {
|
|
2685
|
-
PermissionsBoundary: output.PermissionsBoundary != null ? de_PermissionsBoundary(output.PermissionsBoundary, context) : undefined,
|
|
2686
|
-
};
|
|
2687
|
-
};
|
|
2688
|
-
const de_InstanceAccessControlAttributeConfiguration = (output, context) => {
|
|
2689
|
-
return {
|
|
2690
|
-
AccessControlAttributes: output.AccessControlAttributes != null
|
|
2691
|
-
? de_AccessControlAttributeList(output.AccessControlAttributes, context)
|
|
2692
|
-
: undefined,
|
|
2693
|
-
};
|
|
2694
|
-
};
|
|
2695
|
-
const de_InstanceList = (output, context) => {
|
|
2696
|
-
const retVal = (output || [])
|
|
2697
|
-
.filter((e) => e != null)
|
|
2698
|
-
.map((entry) => {
|
|
2699
|
-
if (entry === null) {
|
|
2700
|
-
return null;
|
|
2701
|
-
}
|
|
2702
|
-
return de_InstanceMetadata(entry, context);
|
|
2124
|
+
return (0, smithy_client_1.take)(output, {
|
|
2125
|
+
PermissionSet: (_) => de_PermissionSet(_, context),
|
|
2703
2126
|
});
|
|
2704
|
-
return retVal;
|
|
2705
|
-
};
|
|
2706
|
-
const de_InstanceMetadata = (output, context) => {
|
|
2707
|
-
return {
|
|
2708
|
-
IdentityStoreId: (0, smithy_client_1.expectString)(output.IdentityStoreId),
|
|
2709
|
-
InstanceArn: (0, smithy_client_1.expectString)(output.InstanceArn),
|
|
2710
|
-
};
|
|
2711
|
-
};
|
|
2712
|
-
const de_InternalServerException = (output, context) => {
|
|
2713
|
-
return {
|
|
2714
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2715
|
-
};
|
|
2716
2127
|
};
|
|
2717
2128
|
const de_ListAccountAssignmentCreationStatusResponse = (output, context) => {
|
|
2718
|
-
return {
|
|
2719
|
-
AccountAssignmentsCreationStatus:
|
|
2720
|
-
|
|
2721
|
-
|
|
2722
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2723
|
-
};
|
|
2129
|
+
return (0, smithy_client_1.take)(output, {
|
|
2130
|
+
AccountAssignmentsCreationStatus: (_) => de_AccountAssignmentOperationStatusList(_, context),
|
|
2131
|
+
NextToken: smithy_client_1.expectString,
|
|
2132
|
+
});
|
|
2724
2133
|
};
|
|
2725
2134
|
const de_ListAccountAssignmentDeletionStatusResponse = (output, context) => {
|
|
2726
|
-
return {
|
|
2727
|
-
AccountAssignmentsDeletionStatus:
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2731
|
-
};
|
|
2732
|
-
};
|
|
2733
|
-
const de_ListAccountAssignmentsResponse = (output, context) => {
|
|
2734
|
-
return {
|
|
2735
|
-
AccountAssignments: output.AccountAssignments != null ? de_AccountAssignmentList(output.AccountAssignments, context) : undefined,
|
|
2736
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2737
|
-
};
|
|
2738
|
-
};
|
|
2739
|
-
const de_ListAccountsForProvisionedPermissionSetResponse = (output, context) => {
|
|
2740
|
-
return {
|
|
2741
|
-
AccountIds: output.AccountIds != null ? de_AccountList(output.AccountIds, context) : undefined,
|
|
2742
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2743
|
-
};
|
|
2744
|
-
};
|
|
2745
|
-
const de_ListCustomerManagedPolicyReferencesInPermissionSetResponse = (output, context) => {
|
|
2746
|
-
return {
|
|
2747
|
-
CustomerManagedPolicyReferences: output.CustomerManagedPolicyReferences != null
|
|
2748
|
-
? de_CustomerManagedPolicyReferenceList(output.CustomerManagedPolicyReferences, context)
|
|
2749
|
-
: undefined,
|
|
2750
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2751
|
-
};
|
|
2752
|
-
};
|
|
2753
|
-
const de_ListInstancesResponse = (output, context) => {
|
|
2754
|
-
return {
|
|
2755
|
-
Instances: output.Instances != null ? de_InstanceList(output.Instances, context) : undefined,
|
|
2756
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2757
|
-
};
|
|
2758
|
-
};
|
|
2759
|
-
const de_ListManagedPoliciesInPermissionSetResponse = (output, context) => {
|
|
2760
|
-
return {
|
|
2761
|
-
AttachedManagedPolicies: output.AttachedManagedPolicies != null
|
|
2762
|
-
? de_AttachedManagedPolicyList(output.AttachedManagedPolicies, context)
|
|
2763
|
-
: undefined,
|
|
2764
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2765
|
-
};
|
|
2135
|
+
return (0, smithy_client_1.take)(output, {
|
|
2136
|
+
AccountAssignmentsDeletionStatus: (_) => de_AccountAssignmentOperationStatusList(_, context),
|
|
2137
|
+
NextToken: smithy_client_1.expectString,
|
|
2138
|
+
});
|
|
2766
2139
|
};
|
|
2767
2140
|
const de_ListPermissionSetProvisioningStatusResponse = (output, context) => {
|
|
2768
|
-
return {
|
|
2769
|
-
NextToken:
|
|
2770
|
-
PermissionSetsProvisioningStatus:
|
|
2771
|
-
|
|
2772
|
-
: undefined,
|
|
2773
|
-
};
|
|
2774
|
-
};
|
|
2775
|
-
const de_ListPermissionSetsProvisionedToAccountResponse = (output, context) => {
|
|
2776
|
-
return {
|
|
2777
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2778
|
-
PermissionSets: output.PermissionSets != null ? de_PermissionSetList(output.PermissionSets, context) : undefined,
|
|
2779
|
-
};
|
|
2780
|
-
};
|
|
2781
|
-
const de_ListPermissionSetsResponse = (output, context) => {
|
|
2782
|
-
return {
|
|
2783
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2784
|
-
PermissionSets: output.PermissionSets != null ? de_PermissionSetList(output.PermissionSets, context) : undefined,
|
|
2785
|
-
};
|
|
2786
|
-
};
|
|
2787
|
-
const de_ListTagsForResourceResponse = (output, context) => {
|
|
2788
|
-
return {
|
|
2789
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2790
|
-
Tags: output.Tags != null ? de_TagList(output.Tags, context) : undefined,
|
|
2791
|
-
};
|
|
2792
|
-
};
|
|
2793
|
-
const de_PermissionsBoundary = (output, context) => {
|
|
2794
|
-
return {
|
|
2795
|
-
CustomerManagedPolicyReference: output.CustomerManagedPolicyReference != null
|
|
2796
|
-
? de_CustomerManagedPolicyReference(output.CustomerManagedPolicyReference, context)
|
|
2797
|
-
: undefined,
|
|
2798
|
-
ManagedPolicyArn: (0, smithy_client_1.expectString)(output.ManagedPolicyArn),
|
|
2799
|
-
};
|
|
2141
|
+
return (0, smithy_client_1.take)(output, {
|
|
2142
|
+
NextToken: smithy_client_1.expectString,
|
|
2143
|
+
PermissionSetsProvisioningStatus: (_) => de_PermissionSetProvisioningStatusList(_, context),
|
|
2144
|
+
});
|
|
2800
2145
|
};
|
|
2801
2146
|
const de_PermissionSet = (output, context) => {
|
|
2802
|
-
return {
|
|
2803
|
-
CreatedDate:
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
RelayState: (0, smithy_client_1.expectString)(output.RelayState),
|
|
2810
|
-
SessionDuration: (0, smithy_client_1.expectString)(output.SessionDuration),
|
|
2811
|
-
};
|
|
2812
|
-
};
|
|
2813
|
-
const de_PermissionSetList = (output, context) => {
|
|
2814
|
-
const retVal = (output || [])
|
|
2815
|
-
.filter((e) => e != null)
|
|
2816
|
-
.map((entry) => {
|
|
2817
|
-
if (entry === null) {
|
|
2818
|
-
return null;
|
|
2819
|
-
}
|
|
2820
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
2147
|
+
return (0, smithy_client_1.take)(output, {
|
|
2148
|
+
CreatedDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2149
|
+
Description: smithy_client_1.expectString,
|
|
2150
|
+
Name: smithy_client_1.expectString,
|
|
2151
|
+
PermissionSetArn: smithy_client_1.expectString,
|
|
2152
|
+
RelayState: smithy_client_1.expectString,
|
|
2153
|
+
SessionDuration: smithy_client_1.expectString,
|
|
2821
2154
|
});
|
|
2822
|
-
return retVal;
|
|
2823
2155
|
};
|
|
2824
2156
|
const de_PermissionSetProvisioningStatus = (output, context) => {
|
|
2825
|
-
return {
|
|
2826
|
-
AccountId:
|
|
2827
|
-
CreatedDate:
|
|
2828
|
-
|
|
2829
|
-
|
|
2830
|
-
|
|
2831
|
-
|
|
2832
|
-
|
|
2833
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2834
|
-
};
|
|
2157
|
+
return (0, smithy_client_1.take)(output, {
|
|
2158
|
+
AccountId: smithy_client_1.expectString,
|
|
2159
|
+
CreatedDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2160
|
+
FailureReason: smithy_client_1.expectString,
|
|
2161
|
+
PermissionSetArn: smithy_client_1.expectString,
|
|
2162
|
+
RequestId: smithy_client_1.expectString,
|
|
2163
|
+
Status: smithy_client_1.expectString,
|
|
2164
|
+
});
|
|
2835
2165
|
};
|
|
2836
2166
|
const de_PermissionSetProvisioningStatusList = (output, context) => {
|
|
2837
2167
|
const retVal = (output || [])
|
|
2838
2168
|
.filter((e) => e != null)
|
|
2839
2169
|
.map((entry) => {
|
|
2840
|
-
if (entry === null) {
|
|
2841
|
-
return null;
|
|
2842
|
-
}
|
|
2843
2170
|
return de_PermissionSetProvisioningStatusMetadata(entry, context);
|
|
2844
2171
|
});
|
|
2845
2172
|
return retVal;
|
|
2846
2173
|
};
|
|
2847
2174
|
const de_PermissionSetProvisioningStatusMetadata = (output, context) => {
|
|
2848
|
-
return {
|
|
2849
|
-
CreatedDate:
|
|
2850
|
-
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2854
|
-
};
|
|
2175
|
+
return (0, smithy_client_1.take)(output, {
|
|
2176
|
+
CreatedDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2177
|
+
RequestId: smithy_client_1.expectString,
|
|
2178
|
+
Status: smithy_client_1.expectString,
|
|
2179
|
+
});
|
|
2855
2180
|
};
|
|
2856
2181
|
const de_ProvisionPermissionSetResponse = (output, context) => {
|
|
2857
|
-
return {
|
|
2858
|
-
PermissionSetProvisioningStatus:
|
|
2859
|
-
? de_PermissionSetProvisioningStatus(output.PermissionSetProvisioningStatus, context)
|
|
2860
|
-
: undefined,
|
|
2861
|
-
};
|
|
2862
|
-
};
|
|
2863
|
-
const de_PutInlinePolicyToPermissionSetResponse = (output, context) => {
|
|
2864
|
-
return {};
|
|
2865
|
-
};
|
|
2866
|
-
const de_PutPermissionsBoundaryToPermissionSetResponse = (output, context) => {
|
|
2867
|
-
return {};
|
|
2868
|
-
};
|
|
2869
|
-
const de_ResourceNotFoundException = (output, context) => {
|
|
2870
|
-
return {
|
|
2871
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2872
|
-
};
|
|
2873
|
-
};
|
|
2874
|
-
const de_ServiceQuotaExceededException = (output, context) => {
|
|
2875
|
-
return {
|
|
2876
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2877
|
-
};
|
|
2878
|
-
};
|
|
2879
|
-
const de_Tag = (output, context) => {
|
|
2880
|
-
return {
|
|
2881
|
-
Key: (0, smithy_client_1.expectString)(output.Key),
|
|
2882
|
-
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
2883
|
-
};
|
|
2884
|
-
};
|
|
2885
|
-
const de_TagList = (output, context) => {
|
|
2886
|
-
const retVal = (output || [])
|
|
2887
|
-
.filter((e) => e != null)
|
|
2888
|
-
.map((entry) => {
|
|
2889
|
-
if (entry === null) {
|
|
2890
|
-
return null;
|
|
2891
|
-
}
|
|
2892
|
-
return de_Tag(entry, context);
|
|
2182
|
+
return (0, smithy_client_1.take)(output, {
|
|
2183
|
+
PermissionSetProvisioningStatus: (_) => de_PermissionSetProvisioningStatus(_, context),
|
|
2893
2184
|
});
|
|
2894
|
-
return retVal;
|
|
2895
|
-
};
|
|
2896
|
-
const de_TagResourceResponse = (output, context) => {
|
|
2897
|
-
return {};
|
|
2898
|
-
};
|
|
2899
|
-
const de_ThrottlingException = (output, context) => {
|
|
2900
|
-
return {
|
|
2901
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2902
|
-
};
|
|
2903
|
-
};
|
|
2904
|
-
const de_UntagResourceResponse = (output, context) => {
|
|
2905
|
-
return {};
|
|
2906
|
-
};
|
|
2907
|
-
const de_UpdateInstanceAccessControlAttributeConfigurationResponse = (output, context) => {
|
|
2908
|
-
return {};
|
|
2909
|
-
};
|
|
2910
|
-
const de_UpdatePermissionSetResponse = (output, context) => {
|
|
2911
|
-
return {};
|
|
2912
|
-
};
|
|
2913
|
-
const de_ValidationException = (output, context) => {
|
|
2914
|
-
return {
|
|
2915
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2916
|
-
};
|
|
2917
2185
|
};
|
|
2918
2186
|
const deserializeMetadata = (output) => ({
|
|
2919
2187
|
httpStatusCode: output.statusCode,
|
|
@@ -2928,6 +2196,7 @@ const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
|
2928
2196
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
2929
2197
|
};
|
|
2930
2198
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
2199
|
+
const throwDefaultError = (0, smithy_client_1.withBaseException)(SSOAdminServiceException_1.SSOAdminServiceException);
|
|
2931
2200
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
2932
2201
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
2933
2202
|
const contents = {
|