@aws-sdk/client-rolesanywhere 3.928.0 → 3.929.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/dist-cjs/index.js +843 -1264
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/RolesAnywhereClient.js +2 -0
  4. package/dist-es/commands/CreateProfileCommand.js +3 -10
  5. package/dist-es/commands/CreateTrustAnchorCommand.js +3 -10
  6. package/dist-es/commands/DeleteAttributeMappingCommand.js +3 -9
  7. package/dist-es/commands/DeleteCrlCommand.js +3 -9
  8. package/dist-es/commands/DeleteProfileCommand.js +3 -9
  9. package/dist-es/commands/DeleteTrustAnchorCommand.js +3 -9
  10. package/dist-es/commands/DisableCrlCommand.js +3 -9
  11. package/dist-es/commands/DisableProfileCommand.js +3 -9
  12. package/dist-es/commands/DisableTrustAnchorCommand.js +3 -9
  13. package/dist-es/commands/EnableCrlCommand.js +3 -9
  14. package/dist-es/commands/EnableProfileCommand.js +3 -9
  15. package/dist-es/commands/EnableTrustAnchorCommand.js +3 -9
  16. package/dist-es/commands/GetCrlCommand.js +3 -9
  17. package/dist-es/commands/GetProfileCommand.js +3 -9
  18. package/dist-es/commands/GetSubjectCommand.js +3 -9
  19. package/dist-es/commands/GetTrustAnchorCommand.js +3 -9
  20. package/dist-es/commands/ImportCrlCommand.js +3 -10
  21. package/dist-es/commands/ListCrlsCommand.js +3 -9
  22. package/dist-es/commands/ListProfilesCommand.js +3 -9
  23. package/dist-es/commands/ListSubjectsCommand.js +3 -9
  24. package/dist-es/commands/ListTagsForResourceCommand.js +3 -10
  25. package/dist-es/commands/ListTrustAnchorsCommand.js +3 -9
  26. package/dist-es/commands/PutAttributeMappingCommand.js +3 -9
  27. package/dist-es/commands/PutNotificationSettingsCommand.js +3 -9
  28. package/dist-es/commands/ResetNotificationSettingsCommand.js +3 -9
  29. package/dist-es/commands/TagResourceCommand.js +3 -10
  30. package/dist-es/commands/UntagResourceCommand.js +3 -10
  31. package/dist-es/commands/UpdateCrlCommand.js +3 -9
  32. package/dist-es/commands/UpdateProfileCommand.js +3 -9
  33. package/dist-es/commands/UpdateTrustAnchorCommand.js +3 -9
  34. package/dist-es/models/models_0.js +0 -31
  35. package/dist-es/runtimeConfig.shared.js +2 -0
  36. package/dist-es/schemas/schemas_0.js +776 -0
  37. package/dist-types/RolesAnywhereClient.d.ts +10 -1
  38. package/dist-types/models/models_0.d.ts +0 -28
  39. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  40. package/dist-types/runtimeConfig.d.ts +1 -0
  41. package/dist-types/runtimeConfig.native.d.ts +1 -0
  42. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  43. package/dist-types/schemas/schemas_0.d.ts +103 -0
  44. package/dist-types/ts3.4/RolesAnywhereClient.d.ts +4 -0
  45. package/dist-types/ts3.4/models/models_0.d.ts +0 -19
  46. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  47. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  48. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  49. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  50. package/dist-types/ts3.4/schemas/schemas_0.d.ts +109 -0
  51. package/package.json +2 -2
  52. package/dist-es/protocols/Aws_restJson1.js +0 -1009
  53. package/dist-types/protocols/Aws_restJson1.d.ts +0 -272
  54. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -365
package/dist-cjs/index.js CHANGED
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
6
6
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
7
  var configResolver = require('@smithy/config-resolver');
8
8
  var core = require('@smithy/core');
9
+ var schema = require('@smithy/core/schema');
9
10
  var middlewareContentLength = require('@smithy/middleware-content-length');
10
11
  var middlewareEndpoint = require('@smithy/middleware-endpoint');
11
12
  var middlewareRetry = require('@smithy/middleware-retry');
@@ -14,8 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
14
15
  var runtimeConfig = require('./runtimeConfig');
15
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
16
17
  var protocolHttp = require('@smithy/protocol-http');
17
- var middlewareSerde = require('@smithy/middleware-serde');
18
- var core$1 = require('@aws-sdk/core');
19
18
 
20
19
  const resolveClientEndpointParameters = (options) => {
21
20
  return Object.assign(options, {
@@ -91,6 +90,7 @@ class RolesAnywhereClient extends smithyClient.Client {
91
90
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
92
91
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
93
92
  this.config = _config_8;
93
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
94
94
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
95
95
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
96
96
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -110,14 +110,14 @@ class RolesAnywhereClient extends smithyClient.Client {
110
110
  }
111
111
  }
112
112
 
113
- class RolesAnywhereServiceException extends smithyClient.ServiceException {
113
+ let RolesAnywhereServiceException$1 = class RolesAnywhereServiceException extends smithyClient.ServiceException {
114
114
  constructor(options) {
115
115
  super(options);
116
116
  Object.setPrototypeOf(this, RolesAnywhereServiceException.prototype);
117
117
  }
118
- }
118
+ };
119
119
 
120
- class AccessDeniedException extends RolesAnywhereServiceException {
120
+ let AccessDeniedException$1 = class AccessDeniedException extends RolesAnywhereServiceException$1 {
121
121
  name = "AccessDeniedException";
122
122
  $fault = "client";
123
123
  constructor(opts) {
@@ -128,13 +128,13 @@ class AccessDeniedException extends RolesAnywhereServiceException {
128
128
  });
129
129
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
130
130
  }
131
- }
131
+ };
132
132
  const CertificateField = {
133
133
  x509Issuer: "x509Issuer",
134
134
  x509SAN: "x509SAN",
135
135
  x509Subject: "x509Subject",
136
136
  };
137
- class ValidationException extends RolesAnywhereServiceException {
137
+ let ValidationException$1 = class ValidationException extends RolesAnywhereServiceException$1 {
138
138
  name = "ValidationException";
139
139
  $fault = "client";
140
140
  constructor(opts) {
@@ -145,7 +145,7 @@ class ValidationException extends RolesAnywhereServiceException {
145
145
  });
146
146
  Object.setPrototypeOf(this, ValidationException.prototype);
147
147
  }
148
- }
148
+ };
149
149
  const NotificationChannel = {
150
150
  ALL: "ALL",
151
151
  };
@@ -168,7 +168,7 @@ const TrustAnchorType = {
168
168
  CERTIFICATE_BUNDLE: "CERTIFICATE_BUNDLE",
169
169
  SELF_SIGNED_REPOSITORY: "SELF_SIGNED_REPOSITORY",
170
170
  };
171
- class ResourceNotFoundException extends RolesAnywhereServiceException {
171
+ let ResourceNotFoundException$1 = class ResourceNotFoundException extends RolesAnywhereServiceException$1 {
172
172
  name = "ResourceNotFoundException";
173
173
  $fault = "client";
174
174
  constructor(opts) {
@@ -179,8 +179,8 @@ class ResourceNotFoundException extends RolesAnywhereServiceException {
179
179
  });
180
180
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
181
181
  }
182
- }
183
- class TooManyTagsException extends RolesAnywhereServiceException {
182
+ };
183
+ let TooManyTagsException$1 = class TooManyTagsException extends RolesAnywhereServiceException$1 {
184
184
  name = "TooManyTagsException";
185
185
  $fault = "client";
186
186
  constructor(opts) {
@@ -191,1056 +191,787 @@ class TooManyTagsException extends RolesAnywhereServiceException {
191
191
  });
192
192
  Object.setPrototypeOf(this, TooManyTagsException.prototype);
193
193
  }
194
- }
195
- const TagFilterSensitiveLog = (obj) => ({
196
- ...obj,
197
- ...(obj.key && { key: smithyClient.SENSITIVE_STRING }),
198
- ...(obj.value && { value: smithyClient.SENSITIVE_STRING }),
199
- });
200
- const CreateProfileRequestFilterSensitiveLog = (obj) => ({
201
- ...obj,
202
- ...(obj.tags && { tags: obj.tags.map((item) => TagFilterSensitiveLog(item)) }),
203
- });
204
- const CreateTrustAnchorRequestFilterSensitiveLog = (obj) => ({
205
- ...obj,
206
- ...(obj.source && { source: obj.source }),
207
- ...(obj.tags && { tags: obj.tags.map((item) => TagFilterSensitiveLog(item)) }),
208
- });
209
- const ImportCrlRequestFilterSensitiveLog = (obj) => ({
210
- ...obj,
211
- ...(obj.tags && { tags: obj.tags.map((item) => TagFilterSensitiveLog(item)) }),
212
- });
213
- const ListTagsForResourceResponseFilterSensitiveLog = (obj) => ({
214
- ...obj,
215
- ...(obj.tags && { tags: obj.tags.map((item) => TagFilterSensitiveLog(item)) }),
216
- });
217
- const TagResourceRequestFilterSensitiveLog = (obj) => ({
218
- ...obj,
219
- ...(obj.tags && { tags: obj.tags.map((item) => TagFilterSensitiveLog(item)) }),
220
- });
221
- const UntagResourceRequestFilterSensitiveLog = (obj) => ({
222
- ...obj,
223
- ...(obj.tagKeys && { tagKeys: smithyClient.SENSITIVE_STRING }),
224
- });
225
-
226
- const se_CreateProfileCommand = async (input, context) => {
227
- const b = core.requestBuilder(input, context);
228
- const headers = {
229
- "content-type": "application/json",
230
- };
231
- b.bp("/profiles");
232
- let body;
233
- body = JSON.stringify(smithyClient.take(input, {
234
- acceptRoleSessionName: [],
235
- durationSeconds: [],
236
- enabled: [],
237
- managedPolicyArns: (_) => smithyClient._json(_),
238
- name: [],
239
- requireInstanceProperties: [],
240
- roleArns: (_) => smithyClient._json(_),
241
- sessionPolicy: [],
242
- tags: (_) => smithyClient._json(_),
243
- }));
244
- b.m("POST").h(headers).b(body);
245
- return b.build();
246
- };
247
- const se_CreateTrustAnchorCommand = async (input, context) => {
248
- const b = core.requestBuilder(input, context);
249
- const headers = {
250
- "content-type": "application/json",
251
- };
252
- b.bp("/trustanchors");
253
- let body;
254
- body = JSON.stringify(smithyClient.take(input, {
255
- enabled: [],
256
- name: [],
257
- notificationSettings: (_) => smithyClient._json(_),
258
- source: (_) => smithyClient._json(_),
259
- tags: (_) => smithyClient._json(_),
260
- }));
261
- b.m("POST").h(headers).b(body);
262
- return b.build();
263
- };
264
- const se_DeleteAttributeMappingCommand = async (input, context) => {
265
- const b = core.requestBuilder(input, context);
266
- const headers = {};
267
- b.bp("/profiles/{profileId}/mappings");
268
- b.p("profileId", () => input.profileId, "{profileId}", false);
269
- const query = smithyClient.map({
270
- [_cF]: [, smithyClient.expectNonNull(input[_cF], `certificateField`)],
271
- [_s]: [() => input.specifiers !== void 0, () => input[_s] || []],
272
- });
273
- let body;
274
- b.m("DELETE").h(headers).q(query).b(body);
275
- return b.build();
276
- };
277
- const se_DeleteCrlCommand = async (input, context) => {
278
- const b = core.requestBuilder(input, context);
279
- const headers = {};
280
- b.bp("/crl/{crlId}");
281
- b.p("crlId", () => input.crlId, "{crlId}", false);
282
- let body;
283
- b.m("DELETE").h(headers).b(body);
284
- return b.build();
285
- };
286
- const se_DeleteProfileCommand = async (input, context) => {
287
- const b = core.requestBuilder(input, context);
288
- const headers = {};
289
- b.bp("/profile/{profileId}");
290
- b.p("profileId", () => input.profileId, "{profileId}", false);
291
- let body;
292
- b.m("DELETE").h(headers).b(body);
293
- return b.build();
294
- };
295
- const se_DeleteTrustAnchorCommand = async (input, context) => {
296
- const b = core.requestBuilder(input, context);
297
- const headers = {};
298
- b.bp("/trustanchor/{trustAnchorId}");
299
- b.p("trustAnchorId", () => input.trustAnchorId, "{trustAnchorId}", false);
300
- let body;
301
- b.m("DELETE").h(headers).b(body);
302
- return b.build();
303
- };
304
- const se_DisableCrlCommand = async (input, context) => {
305
- const b = core.requestBuilder(input, context);
306
- const headers = {};
307
- b.bp("/crl/{crlId}/disable");
308
- b.p("crlId", () => input.crlId, "{crlId}", false);
309
- let body;
310
- b.m("POST").h(headers).b(body);
311
- return b.build();
312
- };
313
- const se_DisableProfileCommand = async (input, context) => {
314
- const b = core.requestBuilder(input, context);
315
- const headers = {};
316
- b.bp("/profile/{profileId}/disable");
317
- b.p("profileId", () => input.profileId, "{profileId}", false);
318
- let body;
319
- b.m("POST").h(headers).b(body);
320
- return b.build();
321
- };
322
- const se_DisableTrustAnchorCommand = async (input, context) => {
323
- const b = core.requestBuilder(input, context);
324
- const headers = {};
325
- b.bp("/trustanchor/{trustAnchorId}/disable");
326
- b.p("trustAnchorId", () => input.trustAnchorId, "{trustAnchorId}", false);
327
- let body;
328
- b.m("POST").h(headers).b(body);
329
- return b.build();
330
- };
331
- const se_EnableCrlCommand = async (input, context) => {
332
- const b = core.requestBuilder(input, context);
333
- const headers = {};
334
- b.bp("/crl/{crlId}/enable");
335
- b.p("crlId", () => input.crlId, "{crlId}", false);
336
- let body;
337
- b.m("POST").h(headers).b(body);
338
- return b.build();
339
- };
340
- const se_EnableProfileCommand = async (input, context) => {
341
- const b = core.requestBuilder(input, context);
342
- const headers = {};
343
- b.bp("/profile/{profileId}/enable");
344
- b.p("profileId", () => input.profileId, "{profileId}", false);
345
- let body;
346
- b.m("POST").h(headers).b(body);
347
- return b.build();
348
- };
349
- const se_EnableTrustAnchorCommand = async (input, context) => {
350
- const b = core.requestBuilder(input, context);
351
- const headers = {};
352
- b.bp("/trustanchor/{trustAnchorId}/enable");
353
- b.p("trustAnchorId", () => input.trustAnchorId, "{trustAnchorId}", false);
354
- let body;
355
- b.m("POST").h(headers).b(body);
356
- return b.build();
357
- };
358
- const se_GetCrlCommand = async (input, context) => {
359
- const b = core.requestBuilder(input, context);
360
- const headers = {};
361
- b.bp("/crl/{crlId}");
362
- b.p("crlId", () => input.crlId, "{crlId}", false);
363
- let body;
364
- b.m("GET").h(headers).b(body);
365
- return b.build();
366
- };
367
- const se_GetProfileCommand = async (input, context) => {
368
- const b = core.requestBuilder(input, context);
369
- const headers = {};
370
- b.bp("/profile/{profileId}");
371
- b.p("profileId", () => input.profileId, "{profileId}", false);
372
- let body;
373
- b.m("GET").h(headers).b(body);
374
- return b.build();
375
- };
376
- const se_GetSubjectCommand = async (input, context) => {
377
- const b = core.requestBuilder(input, context);
378
- const headers = {};
379
- b.bp("/subject/{subjectId}");
380
- b.p("subjectId", () => input.subjectId, "{subjectId}", false);
381
- let body;
382
- b.m("GET").h(headers).b(body);
383
- return b.build();
384
- };
385
- const se_GetTrustAnchorCommand = async (input, context) => {
386
- const b = core.requestBuilder(input, context);
387
- const headers = {};
388
- b.bp("/trustanchor/{trustAnchorId}");
389
- b.p("trustAnchorId", () => input.trustAnchorId, "{trustAnchorId}", false);
390
- let body;
391
- b.m("GET").h(headers).b(body);
392
- return b.build();
393
- };
394
- const se_ImportCrlCommand = async (input, context) => {
395
- const b = core.requestBuilder(input, context);
396
- const headers = {
397
- "content-type": "application/json",
398
- };
399
- b.bp("/crls");
400
- let body;
401
- body = JSON.stringify(smithyClient.take(input, {
402
- crlData: (_) => context.base64Encoder(_),
403
- enabled: [],
404
- name: [],
405
- tags: (_) => smithyClient._json(_),
406
- trustAnchorArn: [],
407
- }));
408
- b.m("POST").h(headers).b(body);
409
- return b.build();
410
- };
411
- const se_ListCrlsCommand = async (input, context) => {
412
- const b = core.requestBuilder(input, context);
413
- const headers = {};
414
- b.bp("/crls");
415
- const query = smithyClient.map({
416
- [_nT]: [, input[_nT]],
417
- [_pS]: [() => input.pageSize !== void 0, () => input[_pS].toString()],
418
- });
419
- let body;
420
- b.m("GET").h(headers).q(query).b(body);
421
- return b.build();
422
- };
423
- const se_ListProfilesCommand = async (input, context) => {
424
- const b = core.requestBuilder(input, context);
425
- const headers = {};
426
- b.bp("/profiles");
427
- const query = smithyClient.map({
428
- [_nT]: [, input[_nT]],
429
- [_pS]: [() => input.pageSize !== void 0, () => input[_pS].toString()],
430
- });
431
- let body;
432
- b.m("GET").h(headers).q(query).b(body);
433
- return b.build();
434
- };
435
- const se_ListSubjectsCommand = async (input, context) => {
436
- const b = core.requestBuilder(input, context);
437
- const headers = {};
438
- b.bp("/subjects");
439
- const query = smithyClient.map({
440
- [_nT]: [, input[_nT]],
441
- [_pS]: [() => input.pageSize !== void 0, () => input[_pS].toString()],
442
- });
443
- let body;
444
- b.m("GET").h(headers).q(query).b(body);
445
- return b.build();
446
- };
447
- const se_ListTagsForResourceCommand = async (input, context) => {
448
- const b = core.requestBuilder(input, context);
449
- const headers = {};
450
- b.bp("/ListTagsForResource");
451
- const query = smithyClient.map({
452
- [_rA]: [, smithyClient.expectNonNull(input[_rA], `resourceArn`)],
453
- });
454
- let body;
455
- b.m("GET").h(headers).q(query).b(body);
456
- return b.build();
457
- };
458
- const se_ListTrustAnchorsCommand = async (input, context) => {
459
- const b = core.requestBuilder(input, context);
460
- const headers = {};
461
- b.bp("/trustanchors");
462
- const query = smithyClient.map({
463
- [_nT]: [, input[_nT]],
464
- [_pS]: [() => input.pageSize !== void 0, () => input[_pS].toString()],
465
- });
466
- let body;
467
- b.m("GET").h(headers).q(query).b(body);
468
- return b.build();
469
- };
470
- const se_PutAttributeMappingCommand = async (input, context) => {
471
- const b = core.requestBuilder(input, context);
472
- const headers = {
473
- "content-type": "application/json",
474
- };
475
- b.bp("/profiles/{profileId}/mappings");
476
- b.p("profileId", () => input.profileId, "{profileId}", false);
477
- let body;
478
- body = JSON.stringify(smithyClient.take(input, {
479
- certificateField: [],
480
- mappingRules: (_) => smithyClient._json(_),
481
- }));
482
- b.m("PUT").h(headers).b(body);
483
- return b.build();
484
- };
485
- const se_PutNotificationSettingsCommand = async (input, context) => {
486
- const b = core.requestBuilder(input, context);
487
- const headers = {
488
- "content-type": "application/json",
489
- };
490
- b.bp("/put-notifications-settings");
491
- let body;
492
- body = JSON.stringify(smithyClient.take(input, {
493
- notificationSettings: (_) => smithyClient._json(_),
494
- trustAnchorId: [],
495
- }));
496
- b.m("PATCH").h(headers).b(body);
497
- return b.build();
498
- };
499
- const se_ResetNotificationSettingsCommand = async (input, context) => {
500
- const b = core.requestBuilder(input, context);
501
- const headers = {
502
- "content-type": "application/json",
503
- };
504
- b.bp("/reset-notifications-settings");
505
- let body;
506
- body = JSON.stringify(smithyClient.take(input, {
507
- notificationSettingKeys: (_) => smithyClient._json(_),
508
- trustAnchorId: [],
509
- }));
510
- b.m("PATCH").h(headers).b(body);
511
- return b.build();
512
- };
513
- const se_TagResourceCommand = async (input, context) => {
514
- const b = core.requestBuilder(input, context);
515
- const headers = {
516
- "content-type": "application/json",
517
- };
518
- b.bp("/TagResource");
519
- let body;
520
- body = JSON.stringify(smithyClient.take(input, {
521
- resourceArn: [],
522
- tags: (_) => smithyClient._json(_),
523
- }));
524
- b.m("POST").h(headers).b(body);
525
- return b.build();
526
- };
527
- const se_UntagResourceCommand = async (input, context) => {
528
- const b = core.requestBuilder(input, context);
529
- const headers = {
530
- "content-type": "application/json",
531
- };
532
- b.bp("/UntagResource");
533
- let body;
534
- body = JSON.stringify(smithyClient.take(input, {
535
- resourceArn: [],
536
- tagKeys: (_) => smithyClient._json(_),
537
- }));
538
- b.m("POST").h(headers).b(body);
539
- return b.build();
540
- };
541
- const se_UpdateCrlCommand = async (input, context) => {
542
- const b = core.requestBuilder(input, context);
543
- const headers = {
544
- "content-type": "application/json",
545
- };
546
- b.bp("/crl/{crlId}");
547
- b.p("crlId", () => input.crlId, "{crlId}", false);
548
- let body;
549
- body = JSON.stringify(smithyClient.take(input, {
550
- crlData: (_) => context.base64Encoder(_),
551
- name: [],
552
- }));
553
- b.m("PATCH").h(headers).b(body);
554
- return b.build();
555
- };
556
- const se_UpdateProfileCommand = async (input, context) => {
557
- const b = core.requestBuilder(input, context);
558
- const headers = {
559
- "content-type": "application/json",
560
- };
561
- b.bp("/profile/{profileId}");
562
- b.p("profileId", () => input.profileId, "{profileId}", false);
563
- let body;
564
- body = JSON.stringify(smithyClient.take(input, {
565
- acceptRoleSessionName: [],
566
- durationSeconds: [],
567
- managedPolicyArns: (_) => smithyClient._json(_),
568
- name: [],
569
- roleArns: (_) => smithyClient._json(_),
570
- sessionPolicy: [],
571
- }));
572
- b.m("PATCH").h(headers).b(body);
573
- return b.build();
574
- };
575
- const se_UpdateTrustAnchorCommand = async (input, context) => {
576
- const b = core.requestBuilder(input, context);
577
- const headers = {
578
- "content-type": "application/json",
579
- };
580
- b.bp("/trustanchor/{trustAnchorId}");
581
- b.p("trustAnchorId", () => input.trustAnchorId, "{trustAnchorId}", false);
582
- let body;
583
- body = JSON.stringify(smithyClient.take(input, {
584
- name: [],
585
- source: (_) => smithyClient._json(_),
586
- }));
587
- b.m("PATCH").h(headers).b(body);
588
- return b.build();
589
- };
590
- const de_CreateProfileCommand = async (output, context) => {
591
- if (output.statusCode !== 201 && output.statusCode >= 300) {
592
- return de_CommandError(output, context);
593
- }
594
- const contents = smithyClient.map({
595
- $metadata: deserializeMetadata(output),
596
- });
597
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
598
- const doc = smithyClient.take(data, {
599
- profile: (_) => de_ProfileDetail(_),
600
- });
601
- Object.assign(contents, doc);
602
- return contents;
603
- };
604
- const de_CreateTrustAnchorCommand = async (output, context) => {
605
- if (output.statusCode !== 201 && output.statusCode >= 300) {
606
- return de_CommandError(output, context);
607
- }
608
- const contents = smithyClient.map({
609
- $metadata: deserializeMetadata(output),
610
- });
611
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
612
- const doc = smithyClient.take(data, {
613
- trustAnchor: (_) => de_TrustAnchorDetail(_),
614
- });
615
- Object.assign(contents, doc);
616
- return contents;
617
- };
618
- const de_DeleteAttributeMappingCommand = async (output, context) => {
619
- if (output.statusCode !== 200 && output.statusCode >= 300) {
620
- return de_CommandError(output, context);
621
- }
622
- const contents = smithyClient.map({
623
- $metadata: deserializeMetadata(output),
624
- });
625
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
626
- const doc = smithyClient.take(data, {
627
- profile: (_) => de_ProfileDetail(_),
628
- });
629
- Object.assign(contents, doc);
630
- return contents;
631
- };
632
- const de_DeleteCrlCommand = async (output, context) => {
633
- if (output.statusCode !== 200 && output.statusCode >= 300) {
634
- return de_CommandError(output, context);
635
- }
636
- const contents = smithyClient.map({
637
- $metadata: deserializeMetadata(output),
638
- });
639
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
640
- const doc = smithyClient.take(data, {
641
- crl: (_) => de_CrlDetail(_, context),
642
- });
643
- Object.assign(contents, doc);
644
- return contents;
645
- };
646
- const de_DeleteProfileCommand = async (output, context) => {
647
- if (output.statusCode !== 200 && output.statusCode >= 300) {
648
- return de_CommandError(output, context);
649
- }
650
- const contents = smithyClient.map({
651
- $metadata: deserializeMetadata(output),
652
- });
653
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
654
- const doc = smithyClient.take(data, {
655
- profile: (_) => de_ProfileDetail(_),
656
- });
657
- Object.assign(contents, doc);
658
- return contents;
659
- };
660
- const de_DeleteTrustAnchorCommand = async (output, context) => {
661
- if (output.statusCode !== 200 && output.statusCode >= 300) {
662
- return de_CommandError(output, context);
663
- }
664
- const contents = smithyClient.map({
665
- $metadata: deserializeMetadata(output),
666
- });
667
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
668
- const doc = smithyClient.take(data, {
669
- trustAnchor: (_) => de_TrustAnchorDetail(_),
670
- });
671
- Object.assign(contents, doc);
672
- return contents;
673
- };
674
- const de_DisableCrlCommand = async (output, context) => {
675
- if (output.statusCode !== 200 && output.statusCode >= 300) {
676
- return de_CommandError(output, context);
677
- }
678
- const contents = smithyClient.map({
679
- $metadata: deserializeMetadata(output),
680
- });
681
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
682
- const doc = smithyClient.take(data, {
683
- crl: (_) => de_CrlDetail(_, context),
684
- });
685
- Object.assign(contents, doc);
686
- return contents;
687
- };
688
- const de_DisableProfileCommand = async (output, context) => {
689
- if (output.statusCode !== 200 && output.statusCode >= 300) {
690
- return de_CommandError(output, context);
691
- }
692
- const contents = smithyClient.map({
693
- $metadata: deserializeMetadata(output),
694
- });
695
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
696
- const doc = smithyClient.take(data, {
697
- profile: (_) => de_ProfileDetail(_),
698
- });
699
- Object.assign(contents, doc);
700
- return contents;
701
- };
702
- const de_DisableTrustAnchorCommand = async (output, context) => {
703
- if (output.statusCode !== 200 && output.statusCode >= 300) {
704
- return de_CommandError(output, context);
705
- }
706
- const contents = smithyClient.map({
707
- $metadata: deserializeMetadata(output),
708
- });
709
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
710
- const doc = smithyClient.take(data, {
711
- trustAnchor: (_) => de_TrustAnchorDetail(_),
712
- });
713
- Object.assign(contents, doc);
714
- return contents;
715
- };
716
- const de_EnableCrlCommand = async (output, context) => {
717
- if (output.statusCode !== 200 && output.statusCode >= 300) {
718
- return de_CommandError(output, context);
719
- }
720
- const contents = smithyClient.map({
721
- $metadata: deserializeMetadata(output),
722
- });
723
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
724
- const doc = smithyClient.take(data, {
725
- crl: (_) => de_CrlDetail(_, context),
726
- });
727
- Object.assign(contents, doc);
728
- return contents;
729
- };
730
- const de_EnableProfileCommand = async (output, context) => {
731
- if (output.statusCode !== 200 && output.statusCode >= 300) {
732
- return de_CommandError(output, context);
733
- }
734
- const contents = smithyClient.map({
735
- $metadata: deserializeMetadata(output),
736
- });
737
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
738
- const doc = smithyClient.take(data, {
739
- profile: (_) => de_ProfileDetail(_),
740
- });
741
- Object.assign(contents, doc);
742
- return contents;
743
- };
744
- const de_EnableTrustAnchorCommand = async (output, context) => {
745
- if (output.statusCode !== 200 && output.statusCode >= 300) {
746
- return de_CommandError(output, context);
747
- }
748
- const contents = smithyClient.map({
749
- $metadata: deserializeMetadata(output),
750
- });
751
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
752
- const doc = smithyClient.take(data, {
753
- trustAnchor: (_) => de_TrustAnchorDetail(_),
754
- });
755
- Object.assign(contents, doc);
756
- return contents;
757
- };
758
- const de_GetCrlCommand = async (output, context) => {
759
- if (output.statusCode !== 200 && output.statusCode >= 300) {
760
- return de_CommandError(output, context);
761
- }
762
- const contents = smithyClient.map({
763
- $metadata: deserializeMetadata(output),
764
- });
765
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
766
- const doc = smithyClient.take(data, {
767
- crl: (_) => de_CrlDetail(_, context),
768
- });
769
- Object.assign(contents, doc);
770
- return contents;
771
- };
772
- const de_GetProfileCommand = async (output, context) => {
773
- if (output.statusCode !== 200 && output.statusCode >= 300) {
774
- return de_CommandError(output, context);
775
- }
776
- const contents = smithyClient.map({
777
- $metadata: deserializeMetadata(output),
778
- });
779
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
780
- const doc = smithyClient.take(data, {
781
- profile: (_) => de_ProfileDetail(_),
782
- });
783
- Object.assign(contents, doc);
784
- return contents;
785
- };
786
- const de_GetSubjectCommand = async (output, context) => {
787
- if (output.statusCode !== 200 && output.statusCode >= 300) {
788
- return de_CommandError(output, context);
789
- }
790
- const contents = smithyClient.map({
791
- $metadata: deserializeMetadata(output),
792
- });
793
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
794
- const doc = smithyClient.take(data, {
795
- subject: (_) => de_SubjectDetail(_),
796
- });
797
- Object.assign(contents, doc);
798
- return contents;
799
- };
800
- const de_GetTrustAnchorCommand = async (output, context) => {
801
- if (output.statusCode !== 200 && output.statusCode >= 300) {
802
- return de_CommandError(output, context);
803
- }
804
- const contents = smithyClient.map({
805
- $metadata: deserializeMetadata(output),
806
- });
807
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
808
- const doc = smithyClient.take(data, {
809
- trustAnchor: (_) => de_TrustAnchorDetail(_),
810
- });
811
- Object.assign(contents, doc);
812
- return contents;
813
- };
814
- const de_ImportCrlCommand = async (output, context) => {
815
- if (output.statusCode !== 201 && output.statusCode >= 300) {
816
- return de_CommandError(output, context);
817
- }
818
- const contents = smithyClient.map({
819
- $metadata: deserializeMetadata(output),
820
- });
821
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
822
- const doc = smithyClient.take(data, {
823
- crl: (_) => de_CrlDetail(_, context),
824
- });
825
- Object.assign(contents, doc);
826
- return contents;
827
- };
828
- const de_ListCrlsCommand = async (output, context) => {
829
- if (output.statusCode !== 200 && output.statusCode >= 300) {
830
- return de_CommandError(output, context);
831
- }
832
- const contents = smithyClient.map({
833
- $metadata: deserializeMetadata(output),
834
- });
835
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
836
- const doc = smithyClient.take(data, {
837
- crls: (_) => de_CrlDetails(_, context),
838
- nextToken: smithyClient.expectString,
839
- });
840
- Object.assign(contents, doc);
841
- return contents;
842
- };
843
- const de_ListProfilesCommand = async (output, context) => {
844
- if (output.statusCode !== 200 && output.statusCode >= 300) {
845
- return de_CommandError(output, context);
846
- }
847
- const contents = smithyClient.map({
848
- $metadata: deserializeMetadata(output),
849
- });
850
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
851
- const doc = smithyClient.take(data, {
852
- nextToken: smithyClient.expectString,
853
- profiles: (_) => de_ProfileDetails(_),
854
- });
855
- Object.assign(contents, doc);
856
- return contents;
857
- };
858
- const de_ListSubjectsCommand = async (output, context) => {
859
- if (output.statusCode !== 200 && output.statusCode >= 300) {
860
- return de_CommandError(output, context);
861
- }
862
- const contents = smithyClient.map({
863
- $metadata: deserializeMetadata(output),
864
- });
865
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
866
- const doc = smithyClient.take(data, {
867
- nextToken: smithyClient.expectString,
868
- subjects: (_) => de_SubjectSummaries(_),
869
- });
870
- Object.assign(contents, doc);
871
- return contents;
872
- };
873
- const de_ListTagsForResourceCommand = async (output, context) => {
874
- if (output.statusCode !== 200 && output.statusCode >= 300) {
875
- return de_CommandError(output, context);
876
- }
877
- const contents = smithyClient.map({
878
- $metadata: deserializeMetadata(output),
879
- });
880
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
881
- const doc = smithyClient.take(data, {
882
- tags: smithyClient._json,
883
- });
884
- Object.assign(contents, doc);
885
- return contents;
886
- };
887
- const de_ListTrustAnchorsCommand = async (output, context) => {
888
- if (output.statusCode !== 200 && output.statusCode >= 300) {
889
- return de_CommandError(output, context);
890
- }
891
- const contents = smithyClient.map({
892
- $metadata: deserializeMetadata(output),
893
- });
894
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
895
- const doc = smithyClient.take(data, {
896
- nextToken: smithyClient.expectString,
897
- trustAnchors: (_) => de_TrustAnchorDetails(_),
898
- });
899
- Object.assign(contents, doc);
900
- return contents;
901
- };
902
- const de_PutAttributeMappingCommand = async (output, context) => {
903
- if (output.statusCode !== 200 && output.statusCode >= 300) {
904
- return de_CommandError(output, context);
905
- }
906
- const contents = smithyClient.map({
907
- $metadata: deserializeMetadata(output),
908
- });
909
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
910
- const doc = smithyClient.take(data, {
911
- profile: (_) => de_ProfileDetail(_),
912
- });
913
- Object.assign(contents, doc);
914
- return contents;
915
- };
916
- const de_PutNotificationSettingsCommand = async (output, context) => {
917
- if (output.statusCode !== 200 && output.statusCode >= 300) {
918
- return de_CommandError(output, context);
919
- }
920
- const contents = smithyClient.map({
921
- $metadata: deserializeMetadata(output),
922
- });
923
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
924
- const doc = smithyClient.take(data, {
925
- trustAnchor: (_) => de_TrustAnchorDetail(_),
926
- });
927
- Object.assign(contents, doc);
928
- return contents;
929
- };
930
- const de_ResetNotificationSettingsCommand = async (output, context) => {
931
- if (output.statusCode !== 200 && output.statusCode >= 300) {
932
- return de_CommandError(output, context);
933
- }
934
- const contents = smithyClient.map({
935
- $metadata: deserializeMetadata(output),
936
- });
937
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
938
- const doc = smithyClient.take(data, {
939
- trustAnchor: (_) => de_TrustAnchorDetail(_),
940
- });
941
- Object.assign(contents, doc);
942
- return contents;
943
- };
944
- const de_TagResourceCommand = async (output, context) => {
945
- if (output.statusCode !== 201 && output.statusCode >= 300) {
946
- return de_CommandError(output, context);
947
- }
948
- const contents = smithyClient.map({
949
- $metadata: deserializeMetadata(output),
950
- });
951
- await smithyClient.collectBody(output.body, context);
952
- return contents;
953
- };
954
- const de_UntagResourceCommand = async (output, context) => {
955
- if (output.statusCode !== 200 && output.statusCode >= 300) {
956
- return de_CommandError(output, context);
957
- }
958
- const contents = smithyClient.map({
959
- $metadata: deserializeMetadata(output),
960
- });
961
- await smithyClient.collectBody(output.body, context);
962
- return contents;
963
- };
964
- const de_UpdateCrlCommand = async (output, context) => {
965
- if (output.statusCode !== 200 && output.statusCode >= 300) {
966
- return de_CommandError(output, context);
967
- }
968
- const contents = smithyClient.map({
969
- $metadata: deserializeMetadata(output),
970
- });
971
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
972
- const doc = smithyClient.take(data, {
973
- crl: (_) => de_CrlDetail(_, context),
974
- });
975
- Object.assign(contents, doc);
976
- return contents;
977
- };
978
- const de_UpdateProfileCommand = async (output, context) => {
979
- if (output.statusCode !== 200 && output.statusCode >= 300) {
980
- return de_CommandError(output, context);
981
- }
982
- const contents = smithyClient.map({
983
- $metadata: deserializeMetadata(output),
984
- });
985
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
986
- const doc = smithyClient.take(data, {
987
- profile: (_) => de_ProfileDetail(_),
988
- });
989
- Object.assign(contents, doc);
990
- return contents;
991
- };
992
- const de_UpdateTrustAnchorCommand = async (output, context) => {
993
- if (output.statusCode !== 200 && output.statusCode >= 300) {
994
- return de_CommandError(output, context);
995
- }
996
- const contents = smithyClient.map({
997
- $metadata: deserializeMetadata(output),
998
- });
999
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1000
- const doc = smithyClient.take(data, {
1001
- trustAnchor: (_) => de_TrustAnchorDetail(_),
1002
- });
1003
- Object.assign(contents, doc);
1004
- return contents;
1005
- };
1006
- const de_CommandError = async (output, context) => {
1007
- const parsedOutput = {
1008
- ...output,
1009
- body: await core$1.parseJsonErrorBody(output.body, context),
1010
- };
1011
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
1012
- switch (errorCode) {
1013
- case "AccessDeniedException":
1014
- case "com.amazonaws.rolesanywhere#AccessDeniedException":
1015
- throw await de_AccessDeniedExceptionRes(parsedOutput);
1016
- case "ValidationException":
1017
- case "com.amazonaws.rolesanywhere#ValidationException":
1018
- throw await de_ValidationExceptionRes(parsedOutput);
1019
- case "ResourceNotFoundException":
1020
- case "com.amazonaws.rolesanywhere#ResourceNotFoundException":
1021
- throw await de_ResourceNotFoundExceptionRes(parsedOutput);
1022
- case "TooManyTagsException":
1023
- case "com.amazonaws.rolesanywhere#TooManyTagsException":
1024
- throw await de_TooManyTagsExceptionRes(parsedOutput);
1025
- default:
1026
- const parsedBody = parsedOutput.body;
1027
- return throwDefaultError({
1028
- output,
1029
- parsedBody,
1030
- errorCode,
1031
- });
1032
- }
1033
- };
1034
- const throwDefaultError = smithyClient.withBaseException(RolesAnywhereServiceException);
1035
- const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
1036
- const contents = smithyClient.map({});
1037
- const data = parsedOutput.body;
1038
- const doc = smithyClient.take(data, {
1039
- message: smithyClient.expectString,
1040
- });
1041
- Object.assign(contents, doc);
1042
- const exception = new AccessDeniedException({
1043
- $metadata: deserializeMetadata(parsedOutput),
1044
- ...contents,
1045
- });
1046
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1047
- };
1048
- const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1049
- const contents = smithyClient.map({});
1050
- const data = parsedOutput.body;
1051
- const doc = smithyClient.take(data, {
1052
- message: smithyClient.expectString,
1053
- });
1054
- Object.assign(contents, doc);
1055
- const exception = new ResourceNotFoundException({
1056
- $metadata: deserializeMetadata(parsedOutput),
1057
- ...contents,
1058
- });
1059
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1060
- };
1061
- const de_TooManyTagsExceptionRes = async (parsedOutput, context) => {
1062
- const contents = smithyClient.map({});
1063
- const data = parsedOutput.body;
1064
- const doc = smithyClient.take(data, {
1065
- message: smithyClient.expectString,
1066
- });
1067
- Object.assign(contents, doc);
1068
- const exception = new TooManyTagsException({
1069
- $metadata: deserializeMetadata(parsedOutput),
1070
- ...contents,
1071
- });
1072
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1073
- };
1074
- const de_ValidationExceptionRes = async (parsedOutput, context) => {
1075
- const contents = smithyClient.map({});
1076
- const data = parsedOutput.body;
1077
- const doc = smithyClient.take(data, {
1078
- message: smithyClient.expectString,
1079
- });
1080
- Object.assign(contents, doc);
1081
- const exception = new ValidationException({
1082
- $metadata: deserializeMetadata(parsedOutput),
1083
- ...contents,
1084
- });
1085
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1086
194
  };
1087
- const de_CredentialSummaries = (output, context) => {
1088
- const retVal = (output || [])
1089
- .filter((e) => e != null)
1090
- .map((entry) => {
1091
- return de_CredentialSummary(entry);
1092
- });
1093
- return retVal;
1094
- };
1095
- const de_CredentialSummary = (output, context) => {
1096
- return smithyClient.take(output, {
1097
- enabled: smithyClient.expectBoolean,
1098
- failed: smithyClient.expectBoolean,
1099
- issuer: smithyClient.expectString,
1100
- seenAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1101
- serialNumber: smithyClient.expectString,
1102
- x509CertificateData: smithyClient.expectString,
1103
- });
1104
- };
1105
- const de_CrlDetail = (output, context) => {
1106
- return smithyClient.take(output, {
1107
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1108
- crlArn: smithyClient.expectString,
1109
- crlData: context.base64Decoder,
1110
- crlId: smithyClient.expectString,
1111
- enabled: smithyClient.expectBoolean,
1112
- name: smithyClient.expectString,
1113
- trustAnchorArn: smithyClient.expectString,
1114
- updatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1115
- });
1116
- };
1117
- const de_CrlDetails = (output, context) => {
1118
- const retVal = (output || [])
1119
- .filter((e) => e != null)
1120
- .map((entry) => {
1121
- return de_CrlDetail(entry, context);
1122
- });
1123
- return retVal;
1124
- };
1125
- const de_InstanceProperties = (output, context) => {
1126
- const retVal = (output || [])
1127
- .filter((e) => e != null)
1128
- .map((entry) => {
1129
- return de_InstanceProperty(entry);
1130
- });
1131
- return retVal;
1132
- };
1133
- const de_InstanceProperty = (output, context) => {
1134
- return smithyClient.take(output, {
1135
- failed: smithyClient.expectBoolean,
1136
- properties: smithyClient._json,
1137
- seenAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1138
- });
1139
- };
1140
- const de_ProfileDetail = (output, context) => {
1141
- return smithyClient.take(output, {
1142
- acceptRoleSessionName: smithyClient.expectBoolean,
1143
- attributeMappings: smithyClient._json,
1144
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1145
- createdBy: smithyClient.expectString,
1146
- durationSeconds: smithyClient.expectInt32,
1147
- enabled: smithyClient.expectBoolean,
1148
- managedPolicyArns: smithyClient._json,
1149
- name: smithyClient.expectString,
1150
- profileArn: smithyClient.expectString,
1151
- profileId: smithyClient.expectString,
1152
- requireInstanceProperties: smithyClient.expectBoolean,
1153
- roleArns: smithyClient._json,
1154
- sessionPolicy: smithyClient.expectString,
1155
- updatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1156
- });
1157
- };
1158
- const de_ProfileDetails = (output, context) => {
1159
- const retVal = (output || [])
1160
- .filter((e) => e != null)
1161
- .map((entry) => {
1162
- return de_ProfileDetail(entry);
1163
- });
1164
- return retVal;
1165
- };
1166
- const de_SubjectDetail = (output, context) => {
1167
- return smithyClient.take(output, {
1168
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1169
- credentials: (_) => de_CredentialSummaries(_),
1170
- enabled: smithyClient.expectBoolean,
1171
- instanceProperties: (_) => de_InstanceProperties(_),
1172
- lastSeenAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1173
- subjectArn: smithyClient.expectString,
1174
- subjectId: smithyClient.expectString,
1175
- updatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1176
- x509Subject: smithyClient.expectString,
1177
- });
1178
- };
1179
- const de_SubjectSummaries = (output, context) => {
1180
- const retVal = (output || [])
1181
- .filter((e) => e != null)
1182
- .map((entry) => {
1183
- return de_SubjectSummary(entry);
1184
- });
1185
- return retVal;
1186
- };
1187
- const de_SubjectSummary = (output, context) => {
1188
- return smithyClient.take(output, {
1189
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1190
- enabled: smithyClient.expectBoolean,
1191
- lastSeenAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1192
- subjectArn: smithyClient.expectString,
1193
- subjectId: smithyClient.expectString,
1194
- updatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1195
- x509Subject: smithyClient.expectString,
1196
- });
1197
- };
1198
- const de_TrustAnchorDetail = (output, context) => {
1199
- return smithyClient.take(output, {
1200
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1201
- enabled: smithyClient.expectBoolean,
1202
- name: smithyClient.expectString,
1203
- notificationSettings: smithyClient._json,
1204
- source: smithyClient._json,
1205
- trustAnchorArn: smithyClient.expectString,
1206
- trustAnchorId: smithyClient.expectString,
1207
- updatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1208
- });
1209
- };
1210
- const de_TrustAnchorDetails = (output, context) => {
1211
- const retVal = (output || [])
1212
- .filter((e) => e != null)
1213
- .map((entry) => {
1214
- return de_TrustAnchorDetail(entry);
1215
- });
1216
- return retVal;
1217
- };
1218
- const deserializeMetadata = (output) => ({
1219
- httpStatusCode: output.statusCode,
1220
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1221
- extendedRequestId: output.headers["x-amz-id-2"],
1222
- cfId: output.headers["x-amz-cf-id"],
1223
- });
195
+
196
+ const _ADE = "AccessDeniedException";
197
+ const _AM = "AttributeMapping";
198
+ const _AMt = "AttributeMappings";
199
+ const _CD = "CrlDetail";
200
+ const _CDR = "CrlDetailResponse";
201
+ const _CDr = "CrlDetails";
202
+ const _CP = "CreateProfile";
203
+ const _CPR = "CreateProfileRequest";
204
+ const _CS = "CredentialSummary";
205
+ const _CSr = "CredentialSummaries";
206
+ const _CTA = "CreateTrustAnchor";
207
+ const _CTAR = "CreateTrustAnchorRequest";
208
+ const _DAM = "DeleteAttributeMapping";
209
+ const _DAMR = "DeleteAttributeMappingRequest";
210
+ const _DAMRe = "DeleteAttributeMappingResponse";
211
+ const _DC = "DeleteCrl";
212
+ const _DCi = "DisableCrl";
213
+ const _DP = "DeleteProfile";
214
+ const _DPi = "DisableProfile";
215
+ const _DTA = "DeleteTrustAnchor";
216
+ const _DTAi = "DisableTrustAnchor";
217
+ const _EC = "EnableCrl";
218
+ const _EP = "EnableProfile";
219
+ const _ETA = "EnableTrustAnchor";
220
+ const _GC = "GetCrl";
221
+ const _GP = "GetProfile";
222
+ const _GS = "GetSubject";
223
+ const _GTA = "GetTrustAnchor";
224
+ const _IC = "ImportCrl";
225
+ const _ICR = "ImportCrlRequest";
226
+ const _IP = "InstanceProperty";
227
+ const _IPn = "InstanceProperties";
228
+ const _LC = "ListCrls";
229
+ const _LCR = "ListCrlsResponse";
230
+ const _LP = "ListProfiles";
231
+ const _LPR = "ListProfilesResponse";
232
+ const _LR = "ListRequest";
233
+ const _LS = "ListSubjects";
234
+ const _LSR = "ListSubjectsResponse";
235
+ const _LTA = "ListTrustAnchors";
236
+ const _LTAR = "ListTrustAnchorsResponse";
237
+ const _LTFR = "ListTagsForResource";
238
+ const _LTFRR = "ListTagsForResourceRequest";
239
+ const _LTFRRi = "ListTagsForResourceResponse";
240
+ const _MR = "MappingRule";
241
+ const _MRa = "MappingRules";
242
+ const _NS = "NotificationSetting";
243
+ const _NSD = "NotificationSettingDetail";
244
+ const _NSDo = "NotificationSettingDetails";
245
+ const _NSK = "NotificationSettingKey";
246
+ const _NSKo = "NotificationSettingKeys";
247
+ const _NSo = "NotificationSettings";
248
+ const _PAM = "PutAttributeMapping";
249
+ const _PAMR = "PutAttributeMappingRequest";
250
+ const _PAMRu = "PutAttributeMappingResponse";
251
+ const _PD = "ProfileDetail";
252
+ const _PDR = "ProfileDetailResponse";
253
+ const _PDr = "ProfileDetails";
254
+ const _PNS = "PutNotificationSettings";
255
+ const _PNSR = "PutNotificationSettingsRequest";
256
+ const _PNSRu = "PutNotificationSettingsResponse";
257
+ const _RNFE = "ResourceNotFoundException";
258
+ const _RNS = "ResetNotificationSettings";
259
+ const _RNSR = "ResetNotificationSettingsRequest";
260
+ const _RNSRe = "ResetNotificationSettingsResponse";
261
+ const _S = "Source";
262
+ const _SCR = "ScalarCrlRequest";
263
+ const _SD = "SubjectDetail";
264
+ const _SDR = "SubjectDetailResponse";
265
+ const _SDo = "SourceData";
266
+ const _SPR = "ScalarProfileRequest";
267
+ const _SS = "SubjectSummary";
268
+ const _SSR = "ScalarSubjectRequest";
269
+ const _SSu = "SubjectSummaries";
270
+ const _STAR = "ScalarTrustAnchorRequest";
271
+ const _T = "Tag";
272
+ const _TAD = "TrustAnchorDetail";
273
+ const _TADR = "TrustAnchorDetailResponse";
274
+ const _TADr = "TrustAnchorDetails";
275
+ const _TK = "TagKey";
276
+ const _TKL = "TagKeyList";
277
+ const _TL = "TagList";
278
+ const _TMTE = "TooManyTagsException";
279
+ const _TR = "TagResource";
280
+ const _TRR = "TagResourceRequest";
281
+ const _TRRa = "TagResourceResponse";
282
+ const _TV = "TagValue";
283
+ const _UC = "UpdateCrl";
284
+ const _UCR = "UpdateCrlRequest";
285
+ const _UP = "UpdateProfile";
286
+ const _UPR = "UpdateProfileRequest";
287
+ const _UR = "UntagResource";
288
+ const _URR = "UntagResourceRequest";
289
+ const _URRn = "UntagResourceResponse";
290
+ const _UTA = "UpdateTrustAnchor";
291
+ const _UTAR = "UpdateTrustAnchorRequest";
292
+ const _VE = "ValidationException";
293
+ const _aM = "attributeMappings";
294
+ const _aPA = "acmPcaArn";
295
+ const _aRSN = "acceptRoleSessionName";
296
+ const _c = "client";
297
+ const _cA = "crlArn";
298
+ const _cAr = "createdAt";
299
+ const _cB = "configuredBy";
300
+ const _cBr = "createdBy";
301
+ const _cD = "crlData";
1224
302
  const _cF = "certificateField";
303
+ const _cI = "crlId";
304
+ const _ch = "channel";
305
+ const _cr = "crl";
306
+ const _cre = "credentials";
307
+ const _crl = "crls";
308
+ const _dS = "durationSeconds";
309
+ const _e = "error";
310
+ const _en = "enabled";
311
+ const _ev = "event";
312
+ const _f = "failed";
313
+ const _h = "http";
314
+ const _hE = "httpError";
315
+ const _hQ = "httpQuery";
316
+ const _i = "issuer";
317
+ const _iP = "instanceProperties";
318
+ const _k = "key";
319
+ const _lSA = "lastSeenAt";
320
+ const _m = "message";
321
+ const _mPA = "managedPolicyArns";
322
+ const _mR = "mappingRules";
323
+ const _n = "name";
324
+ const _nS = "notificationSettings";
325
+ const _nSK = "notificationSettingKeys";
1225
326
  const _nT = "nextToken";
327
+ const _p = "profile";
328
+ const _pA = "profileArn";
329
+ const _pI = "profileId";
1226
330
  const _pS = "pageSize";
1227
- const _rA = "resourceArn";
1228
- const _s = "specifiers";
331
+ const _pr = "properties";
332
+ const _pro = "profiles";
333
+ const _rA = "roleArns";
334
+ const _rAe = "resourceArn";
335
+ const _rIP = "requireInstanceProperties";
336
+ const _s = "source";
337
+ const _sA = "seenAt";
338
+ const _sAu = "subjectArn";
339
+ const _sD = "sourceData";
340
+ const _sI = "subjectId";
341
+ const _sN = "serialNumber";
342
+ const _sP = "sessionPolicy";
343
+ const _sT = "sourceType";
344
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.rolesanywhere";
345
+ const _sp = "specifiers";
346
+ const _spe = "specifier";
347
+ const _su = "subjects";
348
+ const _sub = "subject";
349
+ const _t = "tags";
350
+ const _tA = "trustAnchors";
351
+ const _tAA = "trustAnchorArn";
352
+ const _tAI = "trustAnchorId";
353
+ const _tAr = "trustAnchor";
354
+ const _tK = "tagKeys";
355
+ const _th = "threshold";
356
+ const _uA = "updatedAt";
357
+ const _v = "value";
358
+ const _xCD = "x509CertificateData";
359
+ const _xS = "x509Subject";
360
+ const n0 = "com.amazonaws.rolesanywhere";
361
+ var TagKey = [0, n0, _TK, 8, 0];
362
+ var TagValue = [0, n0, _TV, 8, 0];
363
+ var AccessDeniedException = [
364
+ -3,
365
+ n0,
366
+ _ADE,
367
+ {
368
+ [_e]: _c,
369
+ [_hE]: 403,
370
+ },
371
+ [_m],
372
+ [0],
373
+ ];
374
+ schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
375
+ var AttributeMapping = [3, n0, _AM, 0, [_cF, _mR], [0, () => MappingRules]];
376
+ var CreateProfileRequest = [
377
+ 3,
378
+ n0,
379
+ _CPR,
380
+ 0,
381
+ [_n, _rIP, _sP, _rA, _mPA, _dS, _en, _t, _aRSN],
382
+ [0, 2, 0, 64 | 0, 64 | 0, 1, 2, [() => TagList, 0], 2],
383
+ ];
384
+ var CreateTrustAnchorRequest = [
385
+ 3,
386
+ n0,
387
+ _CTAR,
388
+ 0,
389
+ [_n, _s, _en, _t, _nS],
390
+ [0, () => Source, 2, [() => TagList, 0], () => NotificationSettings],
391
+ ];
392
+ var CredentialSummary = [
393
+ 3,
394
+ n0,
395
+ _CS,
396
+ 0,
397
+ [_sA, _sN, _i, _en, _xCD, _f],
398
+ [5, 0, 0, 2, 0, 2],
399
+ ];
400
+ var CrlDetail = [
401
+ 3,
402
+ n0,
403
+ _CD,
404
+ 0,
405
+ [_cI, _cA, _n, _en, _cD, _tAA, _cAr, _uA],
406
+ [0, 0, 0, 2, 21, 0, 5, 5],
407
+ ];
408
+ var CrlDetailResponse = [3, n0, _CDR, 0, [_cr], [() => CrlDetail]];
409
+ var DeleteAttributeMappingRequest = [
410
+ 3,
411
+ n0,
412
+ _DAMR,
413
+ 0,
414
+ [_pI, _cF, _sp],
415
+ [
416
+ [0, 1],
417
+ [
418
+ 0,
419
+ {
420
+ [_hQ]: _cF,
421
+ },
422
+ ],
423
+ [
424
+ 64 | 0,
425
+ {
426
+ [_hQ]: _sp,
427
+ },
428
+ ],
429
+ ],
430
+ ];
431
+ var DeleteAttributeMappingResponse = [3, n0, _DAMRe, 0, [_p], [() => ProfileDetail]];
432
+ var ImportCrlRequest = [
433
+ 3,
434
+ n0,
435
+ _ICR,
436
+ 0,
437
+ [_n, _cD, _en, _t, _tAA],
438
+ [0, 21, 2, [() => TagList, 0], 0],
439
+ ];
440
+ var InstanceProperty = [3, n0, _IP, 0, [_sA, _pr, _f], [5, 128 | 0, 2]];
441
+ var ListCrlsResponse = [3, n0, _LCR, 0, [_nT, _crl], [0, () => CrlDetails]];
442
+ var ListProfilesResponse = [3, n0, _LPR, 0, [_nT, _pro], [0, () => ProfileDetails]];
443
+ var ListRequest = [
444
+ 3,
445
+ n0,
446
+ _LR,
447
+ 0,
448
+ [_nT, _pS],
449
+ [
450
+ [
451
+ 0,
452
+ {
453
+ [_hQ]: _nT,
454
+ },
455
+ ],
456
+ [
457
+ 1,
458
+ {
459
+ [_hQ]: _pS,
460
+ },
461
+ ],
462
+ ],
463
+ ];
464
+ var ListSubjectsResponse = [3, n0, _LSR, 0, [_su, _nT], [() => SubjectSummaries, 0]];
465
+ var ListTagsForResourceRequest = [
466
+ 3,
467
+ n0,
468
+ _LTFRR,
469
+ 0,
470
+ [_rAe],
471
+ [
472
+ [
473
+ 0,
474
+ {
475
+ [_hQ]: _rAe,
476
+ },
477
+ ],
478
+ ],
479
+ ];
480
+ var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_t], [[() => TagList, 0]]];
481
+ var ListTrustAnchorsResponse = [
482
+ 3,
483
+ n0,
484
+ _LTAR,
485
+ 0,
486
+ [_nT, _tA],
487
+ [0, () => TrustAnchorDetails],
488
+ ];
489
+ var MappingRule = [3, n0, _MR, 0, [_spe], [0]];
490
+ var NotificationSetting = [3, n0, _NS, 0, [_en, _ev, _th, _ch], [2, 0, 1, 0]];
491
+ var NotificationSettingDetail = [
492
+ 3,
493
+ n0,
494
+ _NSD,
495
+ 0,
496
+ [_en, _ev, _th, _ch, _cB],
497
+ [2, 0, 1, 0, 0],
498
+ ];
499
+ var NotificationSettingKey = [3, n0, _NSK, 0, [_ev, _ch], [0, 0]];
500
+ var ProfileDetail = [
501
+ 3,
502
+ n0,
503
+ _PD,
504
+ 0,
505
+ [_pI, _pA, _n, _rIP, _en, _cBr, _sP, _rA, _mPA, _cAr, _uA, _dS, _aRSN, _aM],
506
+ [0, 0, 0, 2, 2, 0, 0, 64 | 0, 64 | 0, 5, 5, 1, 2, () => AttributeMappings],
507
+ ];
508
+ var ProfileDetailResponse = [3, n0, _PDR, 0, [_p], [() => ProfileDetail]];
509
+ var PutAttributeMappingRequest = [
510
+ 3,
511
+ n0,
512
+ _PAMR,
513
+ 0,
514
+ [_pI, _cF, _mR],
515
+ [[0, 1], 0, () => MappingRules],
516
+ ];
517
+ var PutAttributeMappingResponse = [3, n0, _PAMRu, 0, [_p], [() => ProfileDetail]];
518
+ var PutNotificationSettingsRequest = [
519
+ 3,
520
+ n0,
521
+ _PNSR,
522
+ 0,
523
+ [_tAI, _nS],
524
+ [0, () => NotificationSettings],
525
+ ];
526
+ var PutNotificationSettingsResponse = [
527
+ 3,
528
+ n0,
529
+ _PNSRu,
530
+ 0,
531
+ [_tAr],
532
+ [() => TrustAnchorDetail],
533
+ ];
534
+ var ResetNotificationSettingsRequest = [
535
+ 3,
536
+ n0,
537
+ _RNSR,
538
+ 0,
539
+ [_tAI, _nSK],
540
+ [0, () => NotificationSettingKeys],
541
+ ];
542
+ var ResetNotificationSettingsResponse = [
543
+ 3,
544
+ n0,
545
+ _RNSRe,
546
+ 0,
547
+ [_tAr],
548
+ [() => TrustAnchorDetail],
549
+ ];
550
+ var ResourceNotFoundException = [
551
+ -3,
552
+ n0,
553
+ _RNFE,
554
+ {
555
+ [_e]: _c,
556
+ [_hE]: 404,
557
+ },
558
+ [_m],
559
+ [0],
560
+ ];
561
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
562
+ var ScalarCrlRequest = [3, n0, _SCR, 0, [_cI], [[0, 1]]];
563
+ var ScalarProfileRequest = [3, n0, _SPR, 0, [_pI], [[0, 1]]];
564
+ var ScalarSubjectRequest = [3, n0, _SSR, 0, [_sI], [[0, 1]]];
565
+ var ScalarTrustAnchorRequest = [3, n0, _STAR, 0, [_tAI], [[0, 1]]];
566
+ var Source = [3, n0, _S, 0, [_sT, _sD], [0, () => SourceData]];
567
+ var SubjectDetail = [
568
+ 3,
569
+ n0,
570
+ _SD,
571
+ 0,
572
+ [_sAu, _sI, _en, _xS, _lSA, _cAr, _uA, _cre, _iP],
573
+ [0, 0, 2, 0, 5, 5, 5, () => CredentialSummaries, () => InstanceProperties],
574
+ ];
575
+ var SubjectDetailResponse = [3, n0, _SDR, 0, [_sub], [() => SubjectDetail]];
576
+ var SubjectSummary = [
577
+ 3,
578
+ n0,
579
+ _SS,
580
+ 0,
581
+ [_sAu, _sI, _en, _xS, _lSA, _cAr, _uA],
582
+ [0, 0, 2, 0, 5, 5, 5],
583
+ ];
584
+ var Tag = [
585
+ 3,
586
+ n0,
587
+ _T,
588
+ 0,
589
+ [_k, _v],
590
+ [
591
+ [() => TagKey, 0],
592
+ [() => TagValue, 0],
593
+ ],
594
+ ];
595
+ var TagResourceRequest = [3, n0, _TRR, 0, [_rAe, _t], [0, [() => TagList, 0]]];
596
+ var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
597
+ var TooManyTagsException = [
598
+ -3,
599
+ n0,
600
+ _TMTE,
601
+ {
602
+ [_e]: _c,
603
+ [_hE]: 400,
604
+ },
605
+ [_m],
606
+ [0],
607
+ ];
608
+ schema.TypeRegistry.for(n0).registerError(TooManyTagsException, TooManyTagsException$1);
609
+ var TrustAnchorDetail = [
610
+ 3,
611
+ n0,
612
+ _TAD,
613
+ 0,
614
+ [_tAI, _tAA, _n, _s, _en, _cAr, _uA, _nS],
615
+ [0, 0, 0, () => Source, 2, 5, 5, () => NotificationSettingDetails],
616
+ ];
617
+ var TrustAnchorDetailResponse = [3, n0, _TADR, 0, [_tAr], [() => TrustAnchorDetail]];
618
+ var UntagResourceRequest = [3, n0, _URR, 0, [_rAe, _tK], [0, [() => TagKeyList, 0]]];
619
+ var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
620
+ var UpdateCrlRequest = [3, n0, _UCR, 0, [_cI, _n, _cD], [[0, 1], 0, 21]];
621
+ var UpdateProfileRequest = [
622
+ 3,
623
+ n0,
624
+ _UPR,
625
+ 0,
626
+ [_pI, _n, _sP, _rA, _mPA, _dS, _aRSN],
627
+ [[0, 1], 0, 0, 64 | 0, 64 | 0, 1, 2],
628
+ ];
629
+ var UpdateTrustAnchorRequest = [
630
+ 3,
631
+ n0,
632
+ _UTAR,
633
+ 0,
634
+ [_tAI, _n, _s],
635
+ [[0, 1], 0, () => Source],
636
+ ];
637
+ var ValidationException = [
638
+ -3,
639
+ n0,
640
+ _VE,
641
+ {
642
+ [_e]: _c,
643
+ [_hE]: 400,
644
+ },
645
+ [_m],
646
+ [0],
647
+ ];
648
+ schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
649
+ var RolesAnywhereServiceException = [-3, _sm, "RolesAnywhereServiceException", 0, [], []];
650
+ schema.TypeRegistry.for(_sm).registerError(RolesAnywhereServiceException, RolesAnywhereServiceException$1);
651
+ var AttributeMappings = [1, n0, _AMt, 0, () => AttributeMapping];
652
+ var CredentialSummaries = [1, n0, _CSr, 0, () => CredentialSummary];
653
+ var CrlDetails = [1, n0, _CDr, 0, () => CrlDetail];
654
+ var InstanceProperties = [1, n0, _IPn, 0, () => InstanceProperty];
655
+ var MappingRules = [1, n0, _MRa, 0, () => MappingRule];
656
+ var NotificationSettingDetails = [1, n0, _NSDo, 0, () => NotificationSettingDetail];
657
+ var NotificationSettingKeys = [1, n0, _NSKo, 0, () => NotificationSettingKey];
658
+ var NotificationSettings = [1, n0, _NSo, 0, () => NotificationSetting];
659
+ var ProfileDetails = [1, n0, _PDr, 0, () => ProfileDetail];
660
+ var SubjectSummaries = [1, n0, _SSu, 0, () => SubjectSummary];
661
+ var TagKeyList = [1, n0, _TKL, 0, [() => TagKey, 0]];
662
+ var TagList = [1, n0, _TL, 0, [() => Tag, 0]];
663
+ var TrustAnchorDetails = [1, n0, _TADr, 0, () => TrustAnchorDetail];
664
+ var SourceData = [3, n0, _SDo, 0, [_xCD, _aPA], [0, 0]];
665
+ var CreateProfile = [
666
+ 9,
667
+ n0,
668
+ _CP,
669
+ {
670
+ [_h]: ["POST", "/profiles", 201],
671
+ },
672
+ () => CreateProfileRequest,
673
+ () => ProfileDetailResponse,
674
+ ];
675
+ var CreateTrustAnchor = [
676
+ 9,
677
+ n0,
678
+ _CTA,
679
+ {
680
+ [_h]: ["POST", "/trustanchors", 201],
681
+ },
682
+ () => CreateTrustAnchorRequest,
683
+ () => TrustAnchorDetailResponse,
684
+ ];
685
+ var DeleteAttributeMapping = [
686
+ 9,
687
+ n0,
688
+ _DAM,
689
+ {
690
+ [_h]: ["DELETE", "/profiles/{profileId}/mappings", 200],
691
+ },
692
+ () => DeleteAttributeMappingRequest,
693
+ () => DeleteAttributeMappingResponse,
694
+ ];
695
+ var DeleteCrl = [
696
+ 9,
697
+ n0,
698
+ _DC,
699
+ {
700
+ [_h]: ["DELETE", "/crl/{crlId}", 200],
701
+ },
702
+ () => ScalarCrlRequest,
703
+ () => CrlDetailResponse,
704
+ ];
705
+ var DeleteProfile = [
706
+ 9,
707
+ n0,
708
+ _DP,
709
+ {
710
+ [_h]: ["DELETE", "/profile/{profileId}", 200],
711
+ },
712
+ () => ScalarProfileRequest,
713
+ () => ProfileDetailResponse,
714
+ ];
715
+ var DeleteTrustAnchor = [
716
+ 9,
717
+ n0,
718
+ _DTA,
719
+ {
720
+ [_h]: ["DELETE", "/trustanchor/{trustAnchorId}", 200],
721
+ },
722
+ () => ScalarTrustAnchorRequest,
723
+ () => TrustAnchorDetailResponse,
724
+ ];
725
+ var DisableCrl = [
726
+ 9,
727
+ n0,
728
+ _DCi,
729
+ {
730
+ [_h]: ["POST", "/crl/{crlId}/disable", 200],
731
+ },
732
+ () => ScalarCrlRequest,
733
+ () => CrlDetailResponse,
734
+ ];
735
+ var DisableProfile = [
736
+ 9,
737
+ n0,
738
+ _DPi,
739
+ {
740
+ [_h]: ["POST", "/profile/{profileId}/disable", 200],
741
+ },
742
+ () => ScalarProfileRequest,
743
+ () => ProfileDetailResponse,
744
+ ];
745
+ var DisableTrustAnchor = [
746
+ 9,
747
+ n0,
748
+ _DTAi,
749
+ {
750
+ [_h]: ["POST", "/trustanchor/{trustAnchorId}/disable", 200],
751
+ },
752
+ () => ScalarTrustAnchorRequest,
753
+ () => TrustAnchorDetailResponse,
754
+ ];
755
+ var EnableCrl = [
756
+ 9,
757
+ n0,
758
+ _EC,
759
+ {
760
+ [_h]: ["POST", "/crl/{crlId}/enable", 200],
761
+ },
762
+ () => ScalarCrlRequest,
763
+ () => CrlDetailResponse,
764
+ ];
765
+ var EnableProfile = [
766
+ 9,
767
+ n0,
768
+ _EP,
769
+ {
770
+ [_h]: ["POST", "/profile/{profileId}/enable", 200],
771
+ },
772
+ () => ScalarProfileRequest,
773
+ () => ProfileDetailResponse,
774
+ ];
775
+ var EnableTrustAnchor = [
776
+ 9,
777
+ n0,
778
+ _ETA,
779
+ {
780
+ [_h]: ["POST", "/trustanchor/{trustAnchorId}/enable", 200],
781
+ },
782
+ () => ScalarTrustAnchorRequest,
783
+ () => TrustAnchorDetailResponse,
784
+ ];
785
+ var GetCrl = [
786
+ 9,
787
+ n0,
788
+ _GC,
789
+ {
790
+ [_h]: ["GET", "/crl/{crlId}", 200],
791
+ },
792
+ () => ScalarCrlRequest,
793
+ () => CrlDetailResponse,
794
+ ];
795
+ var GetProfile = [
796
+ 9,
797
+ n0,
798
+ _GP,
799
+ {
800
+ [_h]: ["GET", "/profile/{profileId}", 200],
801
+ },
802
+ () => ScalarProfileRequest,
803
+ () => ProfileDetailResponse,
804
+ ];
805
+ var GetSubject = [
806
+ 9,
807
+ n0,
808
+ _GS,
809
+ {
810
+ [_h]: ["GET", "/subject/{subjectId}", 200],
811
+ },
812
+ () => ScalarSubjectRequest,
813
+ () => SubjectDetailResponse,
814
+ ];
815
+ var GetTrustAnchor = [
816
+ 9,
817
+ n0,
818
+ _GTA,
819
+ {
820
+ [_h]: ["GET", "/trustanchor/{trustAnchorId}", 200],
821
+ },
822
+ () => ScalarTrustAnchorRequest,
823
+ () => TrustAnchorDetailResponse,
824
+ ];
825
+ var ImportCrl = [
826
+ 9,
827
+ n0,
828
+ _IC,
829
+ {
830
+ [_h]: ["POST", "/crls", 201],
831
+ },
832
+ () => ImportCrlRequest,
833
+ () => CrlDetailResponse,
834
+ ];
835
+ var ListCrls = [
836
+ 9,
837
+ n0,
838
+ _LC,
839
+ {
840
+ [_h]: ["GET", "/crls", 200],
841
+ },
842
+ () => ListRequest,
843
+ () => ListCrlsResponse,
844
+ ];
845
+ var ListProfiles = [
846
+ 9,
847
+ n0,
848
+ _LP,
849
+ {
850
+ [_h]: ["GET", "/profiles", 200],
851
+ },
852
+ () => ListRequest,
853
+ () => ListProfilesResponse,
854
+ ];
855
+ var ListSubjects = [
856
+ 9,
857
+ n0,
858
+ _LS,
859
+ {
860
+ [_h]: ["GET", "/subjects", 200],
861
+ },
862
+ () => ListRequest,
863
+ () => ListSubjectsResponse,
864
+ ];
865
+ var ListTagsForResource = [
866
+ 9,
867
+ n0,
868
+ _LTFR,
869
+ {
870
+ [_h]: ["GET", "/ListTagsForResource", 200],
871
+ },
872
+ () => ListTagsForResourceRequest,
873
+ () => ListTagsForResourceResponse,
874
+ ];
875
+ var ListTrustAnchors = [
876
+ 9,
877
+ n0,
878
+ _LTA,
879
+ {
880
+ [_h]: ["GET", "/trustanchors", 200],
881
+ },
882
+ () => ListRequest,
883
+ () => ListTrustAnchorsResponse,
884
+ ];
885
+ var PutAttributeMapping = [
886
+ 9,
887
+ n0,
888
+ _PAM,
889
+ {
890
+ [_h]: ["PUT", "/profiles/{profileId}/mappings", 200],
891
+ },
892
+ () => PutAttributeMappingRequest,
893
+ () => PutAttributeMappingResponse,
894
+ ];
895
+ var PutNotificationSettings = [
896
+ 9,
897
+ n0,
898
+ _PNS,
899
+ {
900
+ [_h]: ["PATCH", "/put-notifications-settings", 200],
901
+ },
902
+ () => PutNotificationSettingsRequest,
903
+ () => PutNotificationSettingsResponse,
904
+ ];
905
+ var ResetNotificationSettings = [
906
+ 9,
907
+ n0,
908
+ _RNS,
909
+ {
910
+ [_h]: ["PATCH", "/reset-notifications-settings", 200],
911
+ },
912
+ () => ResetNotificationSettingsRequest,
913
+ () => ResetNotificationSettingsResponse,
914
+ ];
915
+ var TagResource = [
916
+ 9,
917
+ n0,
918
+ _TR,
919
+ {
920
+ [_h]: ["POST", "/TagResource", 201],
921
+ },
922
+ () => TagResourceRequest,
923
+ () => TagResourceResponse,
924
+ ];
925
+ var UntagResource = [
926
+ 9,
927
+ n0,
928
+ _UR,
929
+ {
930
+ [_h]: ["POST", "/UntagResource", 200],
931
+ },
932
+ () => UntagResourceRequest,
933
+ () => UntagResourceResponse,
934
+ ];
935
+ var UpdateCrl = [
936
+ 9,
937
+ n0,
938
+ _UC,
939
+ {
940
+ [_h]: ["PATCH", "/crl/{crlId}", 200],
941
+ },
942
+ () => UpdateCrlRequest,
943
+ () => CrlDetailResponse,
944
+ ];
945
+ var UpdateProfile = [
946
+ 9,
947
+ n0,
948
+ _UP,
949
+ {
950
+ [_h]: ["PATCH", "/profile/{profileId}", 200],
951
+ },
952
+ () => UpdateProfileRequest,
953
+ () => ProfileDetailResponse,
954
+ ];
955
+ var UpdateTrustAnchor = [
956
+ 9,
957
+ n0,
958
+ _UTA,
959
+ {
960
+ [_h]: ["PATCH", "/trustanchor/{trustAnchorId}", 200],
961
+ },
962
+ () => UpdateTrustAnchorRequest,
963
+ () => TrustAnchorDetailResponse,
964
+ ];
1229
965
 
1230
966
  class CreateProfileCommand extends smithyClient.Command
1231
967
  .classBuilder()
1232
968
  .ep(commonParams)
1233
969
  .m(function (Command, cs, config, o) {
1234
- return [
1235
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1236
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1237
- ];
970
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1238
971
  })
1239
972
  .s("RolesAnywhere", "CreateProfile", {})
1240
973
  .n("RolesAnywhereClient", "CreateProfileCommand")
1241
- .f(CreateProfileRequestFilterSensitiveLog, void 0)
1242
- .ser(se_CreateProfileCommand)
1243
- .de(de_CreateProfileCommand)
974
+ .sc(CreateProfile)
1244
975
  .build() {
1245
976
  }
1246
977
 
@@ -1248,16 +979,11 @@ class CreateTrustAnchorCommand extends smithyClient.Command
1248
979
  .classBuilder()
1249
980
  .ep(commonParams)
1250
981
  .m(function (Command, cs, config, o) {
1251
- return [
1252
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1253
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1254
- ];
982
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1255
983
  })
1256
984
  .s("RolesAnywhere", "CreateTrustAnchor", {})
1257
985
  .n("RolesAnywhereClient", "CreateTrustAnchorCommand")
1258
- .f(CreateTrustAnchorRequestFilterSensitiveLog, void 0)
1259
- .ser(se_CreateTrustAnchorCommand)
1260
- .de(de_CreateTrustAnchorCommand)
986
+ .sc(CreateTrustAnchor)
1261
987
  .build() {
1262
988
  }
1263
989
 
@@ -1265,16 +991,11 @@ class DeleteAttributeMappingCommand extends smithyClient.Command
1265
991
  .classBuilder()
1266
992
  .ep(commonParams)
1267
993
  .m(function (Command, cs, config, o) {
1268
- return [
1269
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1270
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1271
- ];
994
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1272
995
  })
1273
996
  .s("RolesAnywhere", "DeleteAttributeMapping", {})
1274
997
  .n("RolesAnywhereClient", "DeleteAttributeMappingCommand")
1275
- .f(void 0, void 0)
1276
- .ser(se_DeleteAttributeMappingCommand)
1277
- .de(de_DeleteAttributeMappingCommand)
998
+ .sc(DeleteAttributeMapping)
1278
999
  .build() {
1279
1000
  }
1280
1001
 
@@ -1282,16 +1003,11 @@ class DeleteCrlCommand extends smithyClient.Command
1282
1003
  .classBuilder()
1283
1004
  .ep(commonParams)
1284
1005
  .m(function (Command, cs, config, o) {
1285
- return [
1286
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1287
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1288
- ];
1006
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1289
1007
  })
1290
1008
  .s("RolesAnywhere", "DeleteCrl", {})
1291
1009
  .n("RolesAnywhereClient", "DeleteCrlCommand")
1292
- .f(void 0, void 0)
1293
- .ser(se_DeleteCrlCommand)
1294
- .de(de_DeleteCrlCommand)
1010
+ .sc(DeleteCrl)
1295
1011
  .build() {
1296
1012
  }
1297
1013
 
@@ -1299,16 +1015,11 @@ class DeleteProfileCommand extends smithyClient.Command
1299
1015
  .classBuilder()
1300
1016
  .ep(commonParams)
1301
1017
  .m(function (Command, cs, config, o) {
1302
- return [
1303
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1304
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1305
- ];
1018
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1306
1019
  })
1307
1020
  .s("RolesAnywhere", "DeleteProfile", {})
1308
1021
  .n("RolesAnywhereClient", "DeleteProfileCommand")
1309
- .f(void 0, void 0)
1310
- .ser(se_DeleteProfileCommand)
1311
- .de(de_DeleteProfileCommand)
1022
+ .sc(DeleteProfile)
1312
1023
  .build() {
1313
1024
  }
1314
1025
 
@@ -1316,16 +1027,11 @@ class DeleteTrustAnchorCommand extends smithyClient.Command
1316
1027
  .classBuilder()
1317
1028
  .ep(commonParams)
1318
1029
  .m(function (Command, cs, config, o) {
1319
- return [
1320
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1321
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1322
- ];
1030
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1323
1031
  })
1324
1032
  .s("RolesAnywhere", "DeleteTrustAnchor", {})
1325
1033
  .n("RolesAnywhereClient", "DeleteTrustAnchorCommand")
1326
- .f(void 0, void 0)
1327
- .ser(se_DeleteTrustAnchorCommand)
1328
- .de(de_DeleteTrustAnchorCommand)
1034
+ .sc(DeleteTrustAnchor)
1329
1035
  .build() {
1330
1036
  }
1331
1037
 
@@ -1333,16 +1039,11 @@ class DisableCrlCommand extends smithyClient.Command
1333
1039
  .classBuilder()
1334
1040
  .ep(commonParams)
1335
1041
  .m(function (Command, cs, config, o) {
1336
- return [
1337
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1338
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1339
- ];
1042
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1340
1043
  })
1341
1044
  .s("RolesAnywhere", "DisableCrl", {})
1342
1045
  .n("RolesAnywhereClient", "DisableCrlCommand")
1343
- .f(void 0, void 0)
1344
- .ser(se_DisableCrlCommand)
1345
- .de(de_DisableCrlCommand)
1046
+ .sc(DisableCrl)
1346
1047
  .build() {
1347
1048
  }
1348
1049
 
@@ -1350,16 +1051,11 @@ class DisableProfileCommand extends smithyClient.Command
1350
1051
  .classBuilder()
1351
1052
  .ep(commonParams)
1352
1053
  .m(function (Command, cs, config, o) {
1353
- return [
1354
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1355
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1356
- ];
1054
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1357
1055
  })
1358
1056
  .s("RolesAnywhere", "DisableProfile", {})
1359
1057
  .n("RolesAnywhereClient", "DisableProfileCommand")
1360
- .f(void 0, void 0)
1361
- .ser(se_DisableProfileCommand)
1362
- .de(de_DisableProfileCommand)
1058
+ .sc(DisableProfile)
1363
1059
  .build() {
1364
1060
  }
1365
1061
 
@@ -1367,16 +1063,11 @@ class DisableTrustAnchorCommand extends smithyClient.Command
1367
1063
  .classBuilder()
1368
1064
  .ep(commonParams)
1369
1065
  .m(function (Command, cs, config, o) {
1370
- return [
1371
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1372
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1373
- ];
1066
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1374
1067
  })
1375
1068
  .s("RolesAnywhere", "DisableTrustAnchor", {})
1376
1069
  .n("RolesAnywhereClient", "DisableTrustAnchorCommand")
1377
- .f(void 0, void 0)
1378
- .ser(se_DisableTrustAnchorCommand)
1379
- .de(de_DisableTrustAnchorCommand)
1070
+ .sc(DisableTrustAnchor)
1380
1071
  .build() {
1381
1072
  }
1382
1073
 
@@ -1384,16 +1075,11 @@ class EnableCrlCommand extends smithyClient.Command
1384
1075
  .classBuilder()
1385
1076
  .ep(commonParams)
1386
1077
  .m(function (Command, cs, config, o) {
1387
- return [
1388
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1389
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1390
- ];
1078
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1391
1079
  })
1392
1080
  .s("RolesAnywhere", "EnableCrl", {})
1393
1081
  .n("RolesAnywhereClient", "EnableCrlCommand")
1394
- .f(void 0, void 0)
1395
- .ser(se_EnableCrlCommand)
1396
- .de(de_EnableCrlCommand)
1082
+ .sc(EnableCrl)
1397
1083
  .build() {
1398
1084
  }
1399
1085
 
@@ -1401,16 +1087,11 @@ class EnableProfileCommand extends smithyClient.Command
1401
1087
  .classBuilder()
1402
1088
  .ep(commonParams)
1403
1089
  .m(function (Command, cs, config, o) {
1404
- return [
1405
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1406
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1407
- ];
1090
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1408
1091
  })
1409
1092
  .s("RolesAnywhere", "EnableProfile", {})
1410
1093
  .n("RolesAnywhereClient", "EnableProfileCommand")
1411
- .f(void 0, void 0)
1412
- .ser(se_EnableProfileCommand)
1413
- .de(de_EnableProfileCommand)
1094
+ .sc(EnableProfile)
1414
1095
  .build() {
1415
1096
  }
1416
1097
 
@@ -1418,16 +1099,11 @@ class EnableTrustAnchorCommand extends smithyClient.Command
1418
1099
  .classBuilder()
1419
1100
  .ep(commonParams)
1420
1101
  .m(function (Command, cs, config, o) {
1421
- return [
1422
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1423
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1424
- ];
1102
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1425
1103
  })
1426
1104
  .s("RolesAnywhere", "EnableTrustAnchor", {})
1427
1105
  .n("RolesAnywhereClient", "EnableTrustAnchorCommand")
1428
- .f(void 0, void 0)
1429
- .ser(se_EnableTrustAnchorCommand)
1430
- .de(de_EnableTrustAnchorCommand)
1106
+ .sc(EnableTrustAnchor)
1431
1107
  .build() {
1432
1108
  }
1433
1109
 
@@ -1435,16 +1111,11 @@ class GetCrlCommand extends smithyClient.Command
1435
1111
  .classBuilder()
1436
1112
  .ep(commonParams)
1437
1113
  .m(function (Command, cs, config, o) {
1438
- return [
1439
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1440
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1441
- ];
1114
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1442
1115
  })
1443
1116
  .s("RolesAnywhere", "GetCrl", {})
1444
1117
  .n("RolesAnywhereClient", "GetCrlCommand")
1445
- .f(void 0, void 0)
1446
- .ser(se_GetCrlCommand)
1447
- .de(de_GetCrlCommand)
1118
+ .sc(GetCrl)
1448
1119
  .build() {
1449
1120
  }
1450
1121
 
@@ -1452,16 +1123,11 @@ class GetProfileCommand extends smithyClient.Command
1452
1123
  .classBuilder()
1453
1124
  .ep(commonParams)
1454
1125
  .m(function (Command, cs, config, o) {
1455
- return [
1456
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1457
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1458
- ];
1126
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1459
1127
  })
1460
1128
  .s("RolesAnywhere", "GetProfile", {})
1461
1129
  .n("RolesAnywhereClient", "GetProfileCommand")
1462
- .f(void 0, void 0)
1463
- .ser(se_GetProfileCommand)
1464
- .de(de_GetProfileCommand)
1130
+ .sc(GetProfile)
1465
1131
  .build() {
1466
1132
  }
1467
1133
 
@@ -1469,16 +1135,11 @@ class GetSubjectCommand extends smithyClient.Command
1469
1135
  .classBuilder()
1470
1136
  .ep(commonParams)
1471
1137
  .m(function (Command, cs, config, o) {
1472
- return [
1473
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1474
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1475
- ];
1138
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1476
1139
  })
1477
1140
  .s("RolesAnywhere", "GetSubject", {})
1478
1141
  .n("RolesAnywhereClient", "GetSubjectCommand")
1479
- .f(void 0, void 0)
1480
- .ser(se_GetSubjectCommand)
1481
- .de(de_GetSubjectCommand)
1142
+ .sc(GetSubject)
1482
1143
  .build() {
1483
1144
  }
1484
1145
 
@@ -1486,16 +1147,11 @@ class GetTrustAnchorCommand extends smithyClient.Command
1486
1147
  .classBuilder()
1487
1148
  .ep(commonParams)
1488
1149
  .m(function (Command, cs, config, o) {
1489
- return [
1490
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1491
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1492
- ];
1150
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1493
1151
  })
1494
1152
  .s("RolesAnywhere", "GetTrustAnchor", {})
1495
1153
  .n("RolesAnywhereClient", "GetTrustAnchorCommand")
1496
- .f(void 0, void 0)
1497
- .ser(se_GetTrustAnchorCommand)
1498
- .de(de_GetTrustAnchorCommand)
1154
+ .sc(GetTrustAnchor)
1499
1155
  .build() {
1500
1156
  }
1501
1157
 
@@ -1503,16 +1159,11 @@ class ImportCrlCommand extends smithyClient.Command
1503
1159
  .classBuilder()
1504
1160
  .ep(commonParams)
1505
1161
  .m(function (Command, cs, config, o) {
1506
- return [
1507
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1508
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1509
- ];
1162
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1510
1163
  })
1511
1164
  .s("RolesAnywhere", "ImportCrl", {})
1512
1165
  .n("RolesAnywhereClient", "ImportCrlCommand")
1513
- .f(ImportCrlRequestFilterSensitiveLog, void 0)
1514
- .ser(se_ImportCrlCommand)
1515
- .de(de_ImportCrlCommand)
1166
+ .sc(ImportCrl)
1516
1167
  .build() {
1517
1168
  }
1518
1169
 
@@ -1520,16 +1171,11 @@ class ListCrlsCommand extends smithyClient.Command
1520
1171
  .classBuilder()
1521
1172
  .ep(commonParams)
1522
1173
  .m(function (Command, cs, config, o) {
1523
- return [
1524
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1525
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1526
- ];
1174
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1527
1175
  })
1528
1176
  .s("RolesAnywhere", "ListCrls", {})
1529
1177
  .n("RolesAnywhereClient", "ListCrlsCommand")
1530
- .f(void 0, void 0)
1531
- .ser(se_ListCrlsCommand)
1532
- .de(de_ListCrlsCommand)
1178
+ .sc(ListCrls)
1533
1179
  .build() {
1534
1180
  }
1535
1181
 
@@ -1537,16 +1183,11 @@ class ListProfilesCommand extends smithyClient.Command
1537
1183
  .classBuilder()
1538
1184
  .ep(commonParams)
1539
1185
  .m(function (Command, cs, config, o) {
1540
- return [
1541
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1542
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1543
- ];
1186
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1544
1187
  })
1545
1188
  .s("RolesAnywhere", "ListProfiles", {})
1546
1189
  .n("RolesAnywhereClient", "ListProfilesCommand")
1547
- .f(void 0, void 0)
1548
- .ser(se_ListProfilesCommand)
1549
- .de(de_ListProfilesCommand)
1190
+ .sc(ListProfiles)
1550
1191
  .build() {
1551
1192
  }
1552
1193
 
@@ -1554,16 +1195,11 @@ class ListSubjectsCommand extends smithyClient.Command
1554
1195
  .classBuilder()
1555
1196
  .ep(commonParams)
1556
1197
  .m(function (Command, cs, config, o) {
1557
- return [
1558
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1559
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1560
- ];
1198
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1561
1199
  })
1562
1200
  .s("RolesAnywhere", "ListSubjects", {})
1563
1201
  .n("RolesAnywhereClient", "ListSubjectsCommand")
1564
- .f(void 0, void 0)
1565
- .ser(se_ListSubjectsCommand)
1566
- .de(de_ListSubjectsCommand)
1202
+ .sc(ListSubjects)
1567
1203
  .build() {
1568
1204
  }
1569
1205
 
@@ -1571,16 +1207,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
1571
1207
  .classBuilder()
1572
1208
  .ep(commonParams)
1573
1209
  .m(function (Command, cs, config, o) {
1574
- return [
1575
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1576
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1577
- ];
1210
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1578
1211
  })
1579
1212
  .s("RolesAnywhere", "ListTagsForResource", {})
1580
1213
  .n("RolesAnywhereClient", "ListTagsForResourceCommand")
1581
- .f(void 0, ListTagsForResourceResponseFilterSensitiveLog)
1582
- .ser(se_ListTagsForResourceCommand)
1583
- .de(de_ListTagsForResourceCommand)
1214
+ .sc(ListTagsForResource)
1584
1215
  .build() {
1585
1216
  }
1586
1217
 
@@ -1588,16 +1219,11 @@ class ListTrustAnchorsCommand extends smithyClient.Command
1588
1219
  .classBuilder()
1589
1220
  .ep(commonParams)
1590
1221
  .m(function (Command, cs, config, o) {
1591
- return [
1592
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1593
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1594
- ];
1222
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1595
1223
  })
1596
1224
  .s("RolesAnywhere", "ListTrustAnchors", {})
1597
1225
  .n("RolesAnywhereClient", "ListTrustAnchorsCommand")
1598
- .f(void 0, void 0)
1599
- .ser(se_ListTrustAnchorsCommand)
1600
- .de(de_ListTrustAnchorsCommand)
1226
+ .sc(ListTrustAnchors)
1601
1227
  .build() {
1602
1228
  }
1603
1229
 
@@ -1605,16 +1231,11 @@ class PutAttributeMappingCommand extends smithyClient.Command
1605
1231
  .classBuilder()
1606
1232
  .ep(commonParams)
1607
1233
  .m(function (Command, cs, config, o) {
1608
- return [
1609
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1610
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1611
- ];
1234
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1612
1235
  })
1613
1236
  .s("RolesAnywhere", "PutAttributeMapping", {})
1614
1237
  .n("RolesAnywhereClient", "PutAttributeMappingCommand")
1615
- .f(void 0, void 0)
1616
- .ser(se_PutAttributeMappingCommand)
1617
- .de(de_PutAttributeMappingCommand)
1238
+ .sc(PutAttributeMapping)
1618
1239
  .build() {
1619
1240
  }
1620
1241
 
@@ -1622,16 +1243,11 @@ class PutNotificationSettingsCommand extends smithyClient.Command
1622
1243
  .classBuilder()
1623
1244
  .ep(commonParams)
1624
1245
  .m(function (Command, cs, config, o) {
1625
- return [
1626
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1627
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1628
- ];
1246
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1629
1247
  })
1630
1248
  .s("RolesAnywhere", "PutNotificationSettings", {})
1631
1249
  .n("RolesAnywhereClient", "PutNotificationSettingsCommand")
1632
- .f(void 0, void 0)
1633
- .ser(se_PutNotificationSettingsCommand)
1634
- .de(de_PutNotificationSettingsCommand)
1250
+ .sc(PutNotificationSettings)
1635
1251
  .build() {
1636
1252
  }
1637
1253
 
@@ -1639,16 +1255,11 @@ class ResetNotificationSettingsCommand extends smithyClient.Command
1639
1255
  .classBuilder()
1640
1256
  .ep(commonParams)
1641
1257
  .m(function (Command, cs, config, o) {
1642
- return [
1643
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1644
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1645
- ];
1258
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1646
1259
  })
1647
1260
  .s("RolesAnywhere", "ResetNotificationSettings", {})
1648
1261
  .n("RolesAnywhereClient", "ResetNotificationSettingsCommand")
1649
- .f(void 0, void 0)
1650
- .ser(se_ResetNotificationSettingsCommand)
1651
- .de(de_ResetNotificationSettingsCommand)
1262
+ .sc(ResetNotificationSettings)
1652
1263
  .build() {
1653
1264
  }
1654
1265
 
@@ -1656,16 +1267,11 @@ class TagResourceCommand extends smithyClient.Command
1656
1267
  .classBuilder()
1657
1268
  .ep(commonParams)
1658
1269
  .m(function (Command, cs, config, o) {
1659
- return [
1660
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1661
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1662
- ];
1270
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1663
1271
  })
1664
1272
  .s("RolesAnywhere", "TagResource", {})
1665
1273
  .n("RolesAnywhereClient", "TagResourceCommand")
1666
- .f(TagResourceRequestFilterSensitiveLog, void 0)
1667
- .ser(se_TagResourceCommand)
1668
- .de(de_TagResourceCommand)
1274
+ .sc(TagResource)
1669
1275
  .build() {
1670
1276
  }
1671
1277
 
@@ -1673,16 +1279,11 @@ class UntagResourceCommand extends smithyClient.Command
1673
1279
  .classBuilder()
1674
1280
  .ep(commonParams)
1675
1281
  .m(function (Command, cs, config, o) {
1676
- return [
1677
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1678
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1679
- ];
1282
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1680
1283
  })
1681
1284
  .s("RolesAnywhere", "UntagResource", {})
1682
1285
  .n("RolesAnywhereClient", "UntagResourceCommand")
1683
- .f(UntagResourceRequestFilterSensitiveLog, void 0)
1684
- .ser(se_UntagResourceCommand)
1685
- .de(de_UntagResourceCommand)
1286
+ .sc(UntagResource)
1686
1287
  .build() {
1687
1288
  }
1688
1289
 
@@ -1690,16 +1291,11 @@ class UpdateCrlCommand extends smithyClient.Command
1690
1291
  .classBuilder()
1691
1292
  .ep(commonParams)
1692
1293
  .m(function (Command, cs, config, o) {
1693
- return [
1694
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1695
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1696
- ];
1294
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1697
1295
  })
1698
1296
  .s("RolesAnywhere", "UpdateCrl", {})
1699
1297
  .n("RolesAnywhereClient", "UpdateCrlCommand")
1700
- .f(void 0, void 0)
1701
- .ser(se_UpdateCrlCommand)
1702
- .de(de_UpdateCrlCommand)
1298
+ .sc(UpdateCrl)
1703
1299
  .build() {
1704
1300
  }
1705
1301
 
@@ -1707,16 +1303,11 @@ class UpdateProfileCommand extends smithyClient.Command
1707
1303
  .classBuilder()
1708
1304
  .ep(commonParams)
1709
1305
  .m(function (Command, cs, config, o) {
1710
- return [
1711
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1712
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1713
- ];
1306
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1714
1307
  })
1715
1308
  .s("RolesAnywhere", "UpdateProfile", {})
1716
1309
  .n("RolesAnywhereClient", "UpdateProfileCommand")
1717
- .f(void 0, void 0)
1718
- .ser(se_UpdateProfileCommand)
1719
- .de(de_UpdateProfileCommand)
1310
+ .sc(UpdateProfile)
1720
1311
  .build() {
1721
1312
  }
1722
1313
 
@@ -1724,16 +1315,11 @@ class UpdateTrustAnchorCommand extends smithyClient.Command
1724
1315
  .classBuilder()
1725
1316
  .ep(commonParams)
1726
1317
  .m(function (Command, cs, config, o) {
1727
- return [
1728
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1729
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1730
- ];
1318
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1731
1319
  })
1732
1320
  .s("RolesAnywhere", "UpdateTrustAnchor", {})
1733
1321
  .n("RolesAnywhereClient", "UpdateTrustAnchorCommand")
1734
- .f(void 0, void 0)
1735
- .ser(se_UpdateTrustAnchorCommand)
1736
- .de(de_UpdateTrustAnchorCommand)
1322
+ .sc(UpdateTrustAnchor)
1737
1323
  .build() {
1738
1324
  }
1739
1325
 
@@ -1789,12 +1375,10 @@ Object.defineProperty(exports, "__Client", {
1789
1375
  enumerable: true,
1790
1376
  get: function () { return smithyClient.Client; }
1791
1377
  });
1792
- exports.AccessDeniedException = AccessDeniedException;
1378
+ exports.AccessDeniedException = AccessDeniedException$1;
1793
1379
  exports.CertificateField = CertificateField;
1794
1380
  exports.CreateProfileCommand = CreateProfileCommand;
1795
- exports.CreateProfileRequestFilterSensitiveLog = CreateProfileRequestFilterSensitiveLog;
1796
1381
  exports.CreateTrustAnchorCommand = CreateTrustAnchorCommand;
1797
- exports.CreateTrustAnchorRequestFilterSensitiveLog = CreateTrustAnchorRequestFilterSensitiveLog;
1798
1382
  exports.DeleteAttributeMappingCommand = DeleteAttributeMappingCommand;
1799
1383
  exports.DeleteCrlCommand = DeleteCrlCommand;
1800
1384
  exports.DeleteProfileCommand = DeleteProfileCommand;
@@ -1810,33 +1394,28 @@ exports.GetProfileCommand = GetProfileCommand;
1810
1394
  exports.GetSubjectCommand = GetSubjectCommand;
1811
1395
  exports.GetTrustAnchorCommand = GetTrustAnchorCommand;
1812
1396
  exports.ImportCrlCommand = ImportCrlCommand;
1813
- exports.ImportCrlRequestFilterSensitiveLog = ImportCrlRequestFilterSensitiveLog;
1814
1397
  exports.ListCrlsCommand = ListCrlsCommand;
1815
1398
  exports.ListProfilesCommand = ListProfilesCommand;
1816
1399
  exports.ListSubjectsCommand = ListSubjectsCommand;
1817
1400
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1818
- exports.ListTagsForResourceResponseFilterSensitiveLog = ListTagsForResourceResponseFilterSensitiveLog;
1819
1401
  exports.ListTrustAnchorsCommand = ListTrustAnchorsCommand;
1820
1402
  exports.NotificationChannel = NotificationChannel;
1821
1403
  exports.NotificationEvent = NotificationEvent;
1822
1404
  exports.PutAttributeMappingCommand = PutAttributeMappingCommand;
1823
1405
  exports.PutNotificationSettingsCommand = PutNotificationSettingsCommand;
1824
1406
  exports.ResetNotificationSettingsCommand = ResetNotificationSettingsCommand;
1825
- exports.ResourceNotFoundException = ResourceNotFoundException;
1407
+ exports.ResourceNotFoundException = ResourceNotFoundException$1;
1826
1408
  exports.RolesAnywhere = RolesAnywhere;
1827
1409
  exports.RolesAnywhereClient = RolesAnywhereClient;
1828
- exports.RolesAnywhereServiceException = RolesAnywhereServiceException;
1829
- exports.TagFilterSensitiveLog = TagFilterSensitiveLog;
1410
+ exports.RolesAnywhereServiceException = RolesAnywhereServiceException$1;
1830
1411
  exports.TagResourceCommand = TagResourceCommand;
1831
- exports.TagResourceRequestFilterSensitiveLog = TagResourceRequestFilterSensitiveLog;
1832
- exports.TooManyTagsException = TooManyTagsException;
1412
+ exports.TooManyTagsException = TooManyTagsException$1;
1833
1413
  exports.TrustAnchorType = TrustAnchorType;
1834
1414
  exports.UntagResourceCommand = UntagResourceCommand;
1835
- exports.UntagResourceRequestFilterSensitiveLog = UntagResourceRequestFilterSensitiveLog;
1836
1415
  exports.UpdateCrlCommand = UpdateCrlCommand;
1837
1416
  exports.UpdateProfileCommand = UpdateProfileCommand;
1838
1417
  exports.UpdateTrustAnchorCommand = UpdateTrustAnchorCommand;
1839
- exports.ValidationException = ValidationException;
1418
+ exports.ValidationException = ValidationException$1;
1840
1419
  exports.paginateListCrls = paginateListCrls;
1841
1420
  exports.paginateListProfiles = paginateListProfiles;
1842
1421
  exports.paginateListSubjects = paginateListSubjects;