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