@aws-sdk/client-workmail 3.986.0 → 3.988.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.
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
6
6
  import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
7
7
  import { defaultWorkMailHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
8
8
  import { defaultEndpointResolver } from "./endpoint/endpointResolver";
9
+ import { errorTypeRegistries } from "./schemas/schemas_0";
9
10
  export const getRuntimeConfig = (config) => {
10
11
  return {
11
12
  apiVersion: "2017-10-01",
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
26
27
  protocol: config?.protocol ?? AwsJson1_1Protocol,
27
28
  protocolSettings: config?.protocolSettings ?? {
28
29
  defaultNamespace: "com.amazonaws.workmail",
30
+ errorTypeRegistries,
29
31
  version: "2017-10-01",
30
32
  serviceTarget: "WorkMailService",
31
33
  },
@@ -518,6 +518,146 @@ const n0 = "com.amazonaws.workmail";
518
518
  import { TypeRegistry } from "@smithy/core/schema";
519
519
  import { DirectoryInUseException, DirectoryServiceAuthenticationFailedException, DirectoryUnavailableException, EmailAddressInUseException, EntityAlreadyRegisteredException, EntityNotFoundException, EntityStateException, InvalidConfigurationException, InvalidCustomSesConfigurationException, InvalidParameterException, InvalidPasswordException, LimitExceededException, MailDomainInUseException, MailDomainNotFoundException, MailDomainStateException, NameAvailabilityException, OrganizationNotFoundException, OrganizationStateException, ReservedNameException, ResourceNotFoundException, TooManyTagsException, UnsupportedOperationException, } from "../models/errors";
520
520
  import { WorkMailServiceException } from "../models/WorkMailServiceException";
521
+ const _s_registry = TypeRegistry.for(_s);
522
+ export var WorkMailServiceException$ = [-3, _s, "WorkMailServiceException", 0, [], []];
523
+ _s_registry.registerError(WorkMailServiceException$, WorkMailServiceException);
524
+ const n0_registry = TypeRegistry.for(n0);
525
+ export var DirectoryInUseException$ = [-3, n0, _DIUE,
526
+ { [_e]: _c },
527
+ [_M],
528
+ [0]
529
+ ];
530
+ n0_registry.registerError(DirectoryInUseException$, DirectoryInUseException);
531
+ export var DirectoryServiceAuthenticationFailedException$ = [-3, n0, _DSAFE,
532
+ { [_e]: _c },
533
+ [_M],
534
+ [0]
535
+ ];
536
+ n0_registry.registerError(DirectoryServiceAuthenticationFailedException$, DirectoryServiceAuthenticationFailedException);
537
+ export var DirectoryUnavailableException$ = [-3, n0, _DUE,
538
+ { [_e]: _c },
539
+ [_M],
540
+ [0]
541
+ ];
542
+ n0_registry.registerError(DirectoryUnavailableException$, DirectoryUnavailableException);
543
+ export var EmailAddressInUseException$ = [-3, n0, _EAIUE,
544
+ { [_e]: _c },
545
+ [_M],
546
+ [0]
547
+ ];
548
+ n0_registry.registerError(EmailAddressInUseException$, EmailAddressInUseException);
549
+ export var EntityAlreadyRegisteredException$ = [-3, n0, _EARE,
550
+ { [_e]: _c },
551
+ [_M],
552
+ [0]
553
+ ];
554
+ n0_registry.registerError(EntityAlreadyRegisteredException$, EntityAlreadyRegisteredException);
555
+ export var EntityNotFoundException$ = [-3, n0, _ENFE,
556
+ { [_e]: _c },
557
+ [_M],
558
+ [0]
559
+ ];
560
+ n0_registry.registerError(EntityNotFoundException$, EntityNotFoundException);
561
+ export var EntityStateException$ = [-3, n0, _ESE,
562
+ { [_e]: _c },
563
+ [_M],
564
+ [0]
565
+ ];
566
+ n0_registry.registerError(EntityStateException$, EntityStateException);
567
+ export var InvalidConfigurationException$ = [-3, n0, _ICE,
568
+ { [_e]: _c },
569
+ [_M],
570
+ [0]
571
+ ];
572
+ n0_registry.registerError(InvalidConfigurationException$, InvalidConfigurationException);
573
+ export var InvalidCustomSesConfigurationException$ = [-3, n0, _ICSCE,
574
+ { [_e]: _c },
575
+ [_M],
576
+ [0]
577
+ ];
578
+ n0_registry.registerError(InvalidCustomSesConfigurationException$, InvalidCustomSesConfigurationException);
579
+ export var InvalidParameterException$ = [-3, n0, _IPE,
580
+ { [_e]: _c },
581
+ [_M],
582
+ [0]
583
+ ];
584
+ n0_registry.registerError(InvalidParameterException$, InvalidParameterException);
585
+ export var InvalidPasswordException$ = [-3, n0, _IPEn,
586
+ { [_e]: _c },
587
+ [_M],
588
+ [0]
589
+ ];
590
+ n0_registry.registerError(InvalidPasswordException$, InvalidPasswordException);
591
+ export var LimitExceededException$ = [-3, n0, _LEE,
592
+ { [_e]: _c },
593
+ [_M],
594
+ [0]
595
+ ];
596
+ n0_registry.registerError(LimitExceededException$, LimitExceededException);
597
+ export var MailDomainInUseException$ = [-3, n0, _MDIUE,
598
+ { [_e]: _c },
599
+ [_M],
600
+ [0]
601
+ ];
602
+ n0_registry.registerError(MailDomainInUseException$, MailDomainInUseException);
603
+ export var MailDomainNotFoundException$ = [-3, n0, _MDNFE,
604
+ { [_e]: _c },
605
+ [_M],
606
+ [0]
607
+ ];
608
+ n0_registry.registerError(MailDomainNotFoundException$, MailDomainNotFoundException);
609
+ export var MailDomainStateException$ = [-3, n0, _MDSE,
610
+ { [_e]: _c },
611
+ [_M],
612
+ [0]
613
+ ];
614
+ n0_registry.registerError(MailDomainStateException$, MailDomainStateException);
615
+ export var NameAvailabilityException$ = [-3, n0, _NAE,
616
+ { [_e]: _c },
617
+ [_M],
618
+ [0]
619
+ ];
620
+ n0_registry.registerError(NameAvailabilityException$, NameAvailabilityException);
621
+ export var OrganizationNotFoundException$ = [-3, n0, _ONFE,
622
+ { [_e]: _c },
623
+ [_M],
624
+ [0]
625
+ ];
626
+ n0_registry.registerError(OrganizationNotFoundException$, OrganizationNotFoundException);
627
+ export var OrganizationStateException$ = [-3, n0, _OSE,
628
+ { [_e]: _c },
629
+ [_M],
630
+ [0]
631
+ ];
632
+ n0_registry.registerError(OrganizationStateException$, OrganizationStateException);
633
+ export var ReservedNameException$ = [-3, n0, _RNE,
634
+ { [_e]: _c },
635
+ [_M],
636
+ [0]
637
+ ];
638
+ n0_registry.registerError(ReservedNameException$, ReservedNameException);
639
+ export var ResourceNotFoundException$ = [-3, n0, _RNFE,
640
+ { [_e]: _c, [_hE]: 404 },
641
+ [_M],
642
+ [0]
643
+ ];
644
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
645
+ export var TooManyTagsException$ = [-3, n0, _TMTE,
646
+ { [_e]: _c, [_hE]: 400 },
647
+ [_M],
648
+ [0]
649
+ ];
650
+ n0_registry.registerError(TooManyTagsException$, TooManyTagsException);
651
+ export var UnsupportedOperationException$ = [-3, n0, _UOE,
652
+ { [_e]: _c },
653
+ [_M],
654
+ [0]
655
+ ];
656
+ n0_registry.registerError(UnsupportedOperationException$, UnsupportedOperationException);
657
+ export const errorTypeRegistries = [
658
+ _s_registry,
659
+ n0_registry,
660
+ ];
521
661
  var NewResourceDescription = [0, n0, _NRD, 8, 0];
522
662
  var Password = [0, n0, _P, 8, 0];
523
663
  var PolicyDescription = [0, n0, _PD, 8, 0];
@@ -943,24 +1083,6 @@ export var DescribeUserResponse$ = [3, n0, _DUResc,
943
1083
  [_UIs, _N, _Em, _DNi, _S, _UR, _ED, _DDi, _MPD, _MDD, _FN, _LN, _HFGAL, _In, _Te, _St, _JT, _C, _Co, _ZC, _Dep, _Cou, _O, _IPUI, _IPISI],
944
1084
  [0, 0, 0, [() => UserAttribute, 0], 0, 0, 4, 4, 4, 4, [() => UserAttribute, 0], [() => UserAttribute, 0], 2, [() => UserAttribute, 0], [() => UserAttribute, 0], [() => UserAttribute, 0], [() => UserAttribute, 0], [() => UserAttribute, 0], [() => UserAttribute, 0], [() => UserAttribute, 0], [() => UserAttribute, 0], [() => UserAttribute, 0], [() => UserAttribute, 0], 0, 0]
945
1085
  ];
946
- export var DirectoryInUseException$ = [-3, n0, _DIUE,
947
- { [_e]: _c },
948
- [_M],
949
- [0]
950
- ];
951
- TypeRegistry.for(n0).registerError(DirectoryInUseException$, DirectoryInUseException);
952
- export var DirectoryServiceAuthenticationFailedException$ = [-3, n0, _DSAFE,
953
- { [_e]: _c },
954
- [_M],
955
- [0]
956
- ];
957
- TypeRegistry.for(n0).registerError(DirectoryServiceAuthenticationFailedException$, DirectoryServiceAuthenticationFailedException);
958
- export var DirectoryUnavailableException$ = [-3, n0, _DUE,
959
- { [_e]: _c },
960
- [_M],
961
- [0]
962
- ];
963
- TypeRegistry.for(n0).registerError(DirectoryUnavailableException$, DirectoryUnavailableException);
964
1086
  export var DisassociateDelegateFromResourceRequest$ = [3, n0, _DDFRR,
965
1087
  0,
966
1088
  [_OI, _RI, _EI],
@@ -991,30 +1113,6 @@ export var Domain$ = [3, n0, _Dom,
991
1113
  [_DN, _HZI],
992
1114
  [0, 0], 1
993
1115
  ];
994
- export var EmailAddressInUseException$ = [-3, n0, _EAIUE,
995
- { [_e]: _c },
996
- [_M],
997
- [0]
998
- ];
999
- TypeRegistry.for(n0).registerError(EmailAddressInUseException$, EmailAddressInUseException);
1000
- export var EntityAlreadyRegisteredException$ = [-3, n0, _EARE,
1001
- { [_e]: _c },
1002
- [_M],
1003
- [0]
1004
- ];
1005
- TypeRegistry.for(n0).registerError(EntityAlreadyRegisteredException$, EntityAlreadyRegisteredException);
1006
- export var EntityNotFoundException$ = [-3, n0, _ENFE,
1007
- { [_e]: _c },
1008
- [_M],
1009
- [0]
1010
- ];
1011
- TypeRegistry.for(n0).registerError(EntityNotFoundException$, EntityNotFoundException);
1012
- export var EntityStateException$ = [-3, n0, _ESE,
1013
- { [_e]: _c },
1014
- [_M],
1015
- [0]
1016
- ];
1017
- TypeRegistry.for(n0).registerError(EntityStateException$, EntityStateException);
1018
1116
  export var EwsAvailabilityProvider$ = [3, n0, _EAP,
1019
1117
  0,
1020
1118
  [_EE, _EU, _EPw],
@@ -1145,41 +1243,11 @@ export var ImpersonationRule$ = [3, n0, _IRmp,
1145
1243
  [_IRImp, _E, _N, _D, _TUa, _NTU],
1146
1244
  [0, 0, 0, 0, 64 | 0, 64 | 0], 2
1147
1245
  ];
1148
- export var InvalidConfigurationException$ = [-3, n0, _ICE,
1149
- { [_e]: _c },
1150
- [_M],
1151
- [0]
1152
- ];
1153
- TypeRegistry.for(n0).registerError(InvalidConfigurationException$, InvalidConfigurationException);
1154
- export var InvalidCustomSesConfigurationException$ = [-3, n0, _ICSCE,
1155
- { [_e]: _c },
1156
- [_M],
1157
- [0]
1158
- ];
1159
- TypeRegistry.for(n0).registerError(InvalidCustomSesConfigurationException$, InvalidCustomSesConfigurationException);
1160
- export var InvalidParameterException$ = [-3, n0, _IPE,
1161
- { [_e]: _c },
1162
- [_M],
1163
- [0]
1164
- ];
1165
- TypeRegistry.for(n0).registerError(InvalidParameterException$, InvalidParameterException);
1166
- export var InvalidPasswordException$ = [-3, n0, _IPEn,
1167
- { [_e]: _c },
1168
- [_M],
1169
- [0]
1170
- ];
1171
- TypeRegistry.for(n0).registerError(InvalidPasswordException$, InvalidPasswordException);
1172
1246
  export var LambdaAvailabilityProvider$ = [3, n0, _LAP,
1173
1247
  0,
1174
1248
  [_LA],
1175
1249
  [0], 1
1176
1250
  ];
1177
- export var LimitExceededException$ = [-3, n0, _LEE,
1178
- { [_e]: _c },
1179
- [_M],
1180
- [0]
1181
- ];
1182
- TypeRegistry.for(n0).registerError(LimitExceededException$, LimitExceededException);
1183
1251
  export var ListAccessControlRulesRequest$ = [3, n0, _LACRR,
1184
1252
  0,
1185
1253
  [_OI],
@@ -1385,24 +1453,6 @@ export var MailboxExportJob$ = [3, n0, _MEJ,
1385
1453
  [_JI, _EI, _D, _SBN, _SPa, _EPs, _S, _ST, _ET],
1386
1454
  [0, 0, 0, 0, 0, 1, 0, 4, 4]
1387
1455
  ];
1388
- export var MailDomainInUseException$ = [-3, n0, _MDIUE,
1389
- { [_e]: _c },
1390
- [_M],
1391
- [0]
1392
- ];
1393
- TypeRegistry.for(n0).registerError(MailDomainInUseException$, MailDomainInUseException);
1394
- export var MailDomainNotFoundException$ = [-3, n0, _MDNFE,
1395
- { [_e]: _c },
1396
- [_M],
1397
- [0]
1398
- ];
1399
- TypeRegistry.for(n0).registerError(MailDomainNotFoundException$, MailDomainNotFoundException);
1400
- export var MailDomainStateException$ = [-3, n0, _MDSE,
1401
- { [_e]: _c },
1402
- [_M],
1403
- [0]
1404
- ];
1405
- TypeRegistry.for(n0).registerError(MailDomainStateException$, MailDomainStateException);
1406
1456
  export var MailDomainSummary$ = [3, n0, _MDS,
1407
1457
  0,
1408
1458
  [_DN, _DDe],
@@ -1428,24 +1478,6 @@ export var MobileDeviceAccessRule$ = [3, n0, _MDAR,
1428
1478
  [_MDARI, _N, _D, _E, _DT, _NDT, _DMe, _NDM, _DOS, _NDOS, _DUA, _NDUA, _DC, _DM],
1429
1479
  [0, 0, 0, 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 4, 4]
1430
1480
  ];
1431
- export var NameAvailabilityException$ = [-3, n0, _NAE,
1432
- { [_e]: _c },
1433
- [_M],
1434
- [0]
1435
- ];
1436
- TypeRegistry.for(n0).registerError(NameAvailabilityException$, NameAvailabilityException);
1437
- export var OrganizationNotFoundException$ = [-3, n0, _ONFE,
1438
- { [_e]: _c },
1439
- [_M],
1440
- [0]
1441
- ];
1442
- TypeRegistry.for(n0).registerError(OrganizationNotFoundException$, OrganizationNotFoundException);
1443
- export var OrganizationStateException$ = [-3, n0, _OSE,
1444
- { [_e]: _c },
1445
- [_M],
1446
- [0]
1447
- ];
1448
- TypeRegistry.for(n0).registerError(OrganizationStateException$, OrganizationStateException);
1449
1481
  export var OrganizationSummary$ = [3, n0, _OSr,
1450
1482
  0,
1451
1483
  [_OI, _Al, _DMD, _EM, _S],
@@ -1561,12 +1593,6 @@ export var RegisterToWorkMailResponse$ = [3, n0, _RTWMRe,
1561
1593
  [],
1562
1594
  []
1563
1595
  ];
1564
- export var ReservedNameException$ = [-3, n0, _RNE,
1565
- { [_e]: _c },
1566
- [_M],
1567
- [0]
1568
- ];
1569
- TypeRegistry.for(n0).registerError(ReservedNameException$, ReservedNameException);
1570
1596
  export var ResetPasswordRequest$ = [3, n0, _RPR,
1571
1597
  0,
1572
1598
  [_OI, _UIs, _P],
@@ -1582,12 +1608,6 @@ export var Resource$ = [3, n0, _Reso,
1582
1608
  [_I, _Em, _N, _Ty, _S, _ED, _DDi, _D],
1583
1609
  [0, 0, 0, 0, 0, 4, 4, [() => ResourceDescription, 0]]
1584
1610
  ];
1585
- export var ResourceNotFoundException$ = [-3, n0, _RNFE,
1586
- { [_e]: _c, [_hE]: 404 },
1587
- [_M],
1588
- [0]
1589
- ];
1590
- TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
1591
1611
  export var StartMailboxExportJobRequest$ = [3, n0, _SMEJR,
1592
1612
  0,
1593
1613
  [_OI, _EI, _RA, _KKA, _SBN, _SP, _CT, _D],
@@ -1623,18 +1643,6 @@ export var TestAvailabilityConfigurationResponse$ = [3, n0, _TACRe,
1623
1643
  [_TP, _FR],
1624
1644
  [2, 0]
1625
1645
  ];
1626
- export var TooManyTagsException$ = [-3, n0, _TMTE,
1627
- { [_e]: _c, [_hE]: 400 },
1628
- [_M],
1629
- [0]
1630
- ];
1631
- TypeRegistry.for(n0).registerError(TooManyTagsException$, TooManyTagsException);
1632
- export var UnsupportedOperationException$ = [-3, n0, _UOE,
1633
- { [_e]: _c },
1634
- [_M],
1635
- [0]
1636
- ];
1637
- TypeRegistry.for(n0).registerError(UnsupportedOperationException$, UnsupportedOperationException);
1638
1646
  export var UntagResourceRequest$ = [3, n0, _URR,
1639
1647
  0,
1640
1648
  [_RARN, _TK],
@@ -1740,8 +1748,6 @@ export var User$ = [3, n0, _Us,
1740
1748
  [_I, _Em, _N, _DNi, _S, _UR, _ED, _DDi, _IPUI, _IPISI],
1741
1749
  [0, 0, 0, 0, 0, 0, 4, 4, 0, 0]
1742
1750
  ];
1743
- export var WorkMailServiceException$ = [-3, _s, "WorkMailServiceException", 0, [], []];
1744
- TypeRegistry.for(_s).registerError(WorkMailServiceException$, WorkMailServiceException);
1745
1751
  var AccessControlRuleNameList = 64 | 0;
1746
1752
  var AccessControlRulesList = [1, n0, _ACRL,
1747
1753
  0, () => AccessControlRule$
@@ -1,4 +1,34 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
3
+ export declare var WorkMailServiceException$: StaticErrorSchema;
4
+ export declare var DirectoryInUseException$: StaticErrorSchema;
5
+ export declare var DirectoryServiceAuthenticationFailedException$: StaticErrorSchema;
6
+ export declare var DirectoryUnavailableException$: StaticErrorSchema;
7
+ export declare var EmailAddressInUseException$: StaticErrorSchema;
8
+ export declare var EntityAlreadyRegisteredException$: StaticErrorSchema;
9
+ export declare var EntityNotFoundException$: StaticErrorSchema;
10
+ export declare var EntityStateException$: StaticErrorSchema;
11
+ export declare var InvalidConfigurationException$: StaticErrorSchema;
12
+ export declare var InvalidCustomSesConfigurationException$: StaticErrorSchema;
13
+ export declare var InvalidParameterException$: StaticErrorSchema;
14
+ export declare var InvalidPasswordException$: StaticErrorSchema;
15
+ export declare var LimitExceededException$: StaticErrorSchema;
16
+ export declare var MailDomainInUseException$: StaticErrorSchema;
17
+ export declare var MailDomainNotFoundException$: StaticErrorSchema;
18
+ export declare var MailDomainStateException$: StaticErrorSchema;
19
+ export declare var NameAvailabilityException$: StaticErrorSchema;
20
+ export declare var OrganizationNotFoundException$: StaticErrorSchema;
21
+ export declare var OrganizationStateException$: StaticErrorSchema;
22
+ export declare var ReservedNameException$: StaticErrorSchema;
23
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
24
+ export declare var TooManyTagsException$: StaticErrorSchema;
25
+ export declare var UnsupportedOperationException$: StaticErrorSchema;
26
+ /**
27
+ * TypeRegistry instances containing modeled errors.
28
+ * @internal
29
+ *
30
+ */
31
+ export declare const errorTypeRegistries: TypeRegistry[];
2
32
  export declare var AccessControlRule$: StaticStructureSchema;
3
33
  export declare var AssociateDelegateToResourceRequest$: StaticStructureSchema;
4
34
  export declare var AssociateDelegateToResourceResponse$: StaticStructureSchema;
@@ -83,19 +113,12 @@ export declare var DescribeResourceRequest$: StaticStructureSchema;
83
113
  export declare var DescribeResourceResponse$: StaticStructureSchema;
84
114
  export declare var DescribeUserRequest$: StaticStructureSchema;
85
115
  export declare var DescribeUserResponse$: StaticStructureSchema;
86
- export declare var DirectoryInUseException$: StaticErrorSchema;
87
- export declare var DirectoryServiceAuthenticationFailedException$: StaticErrorSchema;
88
- export declare var DirectoryUnavailableException$: StaticErrorSchema;
89
116
  export declare var DisassociateDelegateFromResourceRequest$: StaticStructureSchema;
90
117
  export declare var DisassociateDelegateFromResourceResponse$: StaticStructureSchema;
91
118
  export declare var DisassociateMemberFromGroupRequest$: StaticStructureSchema;
92
119
  export declare var DisassociateMemberFromGroupResponse$: StaticStructureSchema;
93
120
  export declare var DnsRecord$: StaticStructureSchema;
94
121
  export declare var Domain$: StaticStructureSchema;
95
- export declare var EmailAddressInUseException$: StaticErrorSchema;
96
- export declare var EntityAlreadyRegisteredException$: StaticErrorSchema;
97
- export declare var EntityNotFoundException$: StaticErrorSchema;
98
- export declare var EntityStateException$: StaticErrorSchema;
99
122
  export declare var EwsAvailabilityProvider$: StaticStructureSchema;
100
123
  export declare var FolderConfiguration$: StaticStructureSchema;
101
124
  export declare var GetAccessControlEffectRequest$: StaticStructureSchema;
@@ -122,12 +145,7 @@ export declare var IdentityCenterConfiguration$: StaticStructureSchema;
122
145
  export declare var ImpersonationMatchedRule$: StaticStructureSchema;
123
146
  export declare var ImpersonationRole$: StaticStructureSchema;
124
147
  export declare var ImpersonationRule$: StaticStructureSchema;
125
- export declare var InvalidConfigurationException$: StaticErrorSchema;
126
- export declare var InvalidCustomSesConfigurationException$: StaticErrorSchema;
127
- export declare var InvalidParameterException$: StaticErrorSchema;
128
- export declare var InvalidPasswordException$: StaticErrorSchema;
129
148
  export declare var LambdaAvailabilityProvider$: StaticStructureSchema;
130
- export declare var LimitExceededException$: StaticErrorSchema;
131
149
  export declare var ListAccessControlRulesRequest$: StaticStructureSchema;
132
150
  export declare var ListAccessControlRulesResponse$: StaticStructureSchema;
133
151
  export declare var ListAliasesRequest$: StaticStructureSchema;
@@ -169,17 +187,11 @@ export declare var ListUsersFilters$: StaticStructureSchema;
169
187
  export declare var ListUsersRequest$: StaticStructureSchema;
170
188
  export declare var ListUsersResponse$: StaticStructureSchema;
171
189
  export declare var MailboxExportJob$: StaticStructureSchema;
172
- export declare var MailDomainInUseException$: StaticErrorSchema;
173
- export declare var MailDomainNotFoundException$: StaticErrorSchema;
174
- export declare var MailDomainStateException$: StaticErrorSchema;
175
190
  export declare var MailDomainSummary$: StaticStructureSchema;
176
191
  export declare var Member$: StaticStructureSchema;
177
192
  export declare var MobileDeviceAccessMatchedRule$: StaticStructureSchema;
178
193
  export declare var MobileDeviceAccessOverride$: StaticStructureSchema;
179
194
  export declare var MobileDeviceAccessRule$: StaticStructureSchema;
180
- export declare var NameAvailabilityException$: StaticErrorSchema;
181
- export declare var OrganizationNotFoundException$: StaticErrorSchema;
182
- export declare var OrganizationStateException$: StaticErrorSchema;
183
195
  export declare var OrganizationSummary$: StaticStructureSchema;
184
196
  export declare var Permission$: StaticStructureSchema;
185
197
  export declare var PersonalAccessTokenConfiguration$: StaticStructureSchema;
@@ -203,11 +215,9 @@ export declare var RegisterMailDomainRequest$: StaticStructureSchema;
203
215
  export declare var RegisterMailDomainResponse$: StaticStructureSchema;
204
216
  export declare var RegisterToWorkMailRequest$: StaticStructureSchema;
205
217
  export declare var RegisterToWorkMailResponse$: StaticStructureSchema;
206
- export declare var ReservedNameException$: StaticErrorSchema;
207
218
  export declare var ResetPasswordRequest$: StaticStructureSchema;
208
219
  export declare var ResetPasswordResponse$: StaticStructureSchema;
209
220
  export declare var Resource$: StaticStructureSchema;
210
- export declare var ResourceNotFoundException$: StaticErrorSchema;
211
221
  export declare var StartMailboxExportJobRequest$: StaticStructureSchema;
212
222
  export declare var StartMailboxExportJobResponse$: StaticStructureSchema;
213
223
  export declare var Tag$: StaticStructureSchema;
@@ -215,8 +225,6 @@ export declare var TagResourceRequest$: StaticStructureSchema;
215
225
  export declare var TagResourceResponse$: StaticStructureSchema;
216
226
  export declare var TestAvailabilityConfigurationRequest$: StaticStructureSchema;
217
227
  export declare var TestAvailabilityConfigurationResponse$: StaticStructureSchema;
218
- export declare var TooManyTagsException$: StaticErrorSchema;
219
- export declare var UnsupportedOperationException$: StaticErrorSchema;
220
228
  export declare var UntagResourceRequest$: StaticStructureSchema;
221
229
  export declare var UntagResourceResponse$: StaticStructureSchema;
222
230
  export declare var UpdateAvailabilityConfigurationRequest$: StaticStructureSchema;
@@ -238,7 +246,6 @@ export declare var UpdateResourceResponse$: StaticStructureSchema;
238
246
  export declare var UpdateUserRequest$: StaticStructureSchema;
239
247
  export declare var UpdateUserResponse$: StaticStructureSchema;
240
248
  export declare var User$: StaticStructureSchema;
241
- export declare var WorkMailServiceException$: StaticErrorSchema;
242
249
  export declare var AssociateDelegateToResource$: StaticOperationSchema;
243
250
  export declare var AssociateMemberToGroup$: StaticOperationSchema;
244
251
  export declare var AssumeImpersonationRole$: StaticOperationSchema;
@@ -1,8 +1,33 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import {
2
3
  StaticErrorSchema,
3
4
  StaticOperationSchema,
4
5
  StaticStructureSchema,
5
6
  } from "@smithy/types";
7
+ export declare var WorkMailServiceException$: StaticErrorSchema;
8
+ export declare var DirectoryInUseException$: StaticErrorSchema;
9
+ export declare var DirectoryServiceAuthenticationFailedException$: StaticErrorSchema;
10
+ export declare var DirectoryUnavailableException$: StaticErrorSchema;
11
+ export declare var EmailAddressInUseException$: StaticErrorSchema;
12
+ export declare var EntityAlreadyRegisteredException$: StaticErrorSchema;
13
+ export declare var EntityNotFoundException$: StaticErrorSchema;
14
+ export declare var EntityStateException$: StaticErrorSchema;
15
+ export declare var InvalidConfigurationException$: StaticErrorSchema;
16
+ export declare var InvalidCustomSesConfigurationException$: StaticErrorSchema;
17
+ export declare var InvalidParameterException$: StaticErrorSchema;
18
+ export declare var InvalidPasswordException$: StaticErrorSchema;
19
+ export declare var LimitExceededException$: StaticErrorSchema;
20
+ export declare var MailDomainInUseException$: StaticErrorSchema;
21
+ export declare var MailDomainNotFoundException$: StaticErrorSchema;
22
+ export declare var MailDomainStateException$: StaticErrorSchema;
23
+ export declare var NameAvailabilityException$: StaticErrorSchema;
24
+ export declare var OrganizationNotFoundException$: StaticErrorSchema;
25
+ export declare var OrganizationStateException$: StaticErrorSchema;
26
+ export declare var ReservedNameException$: StaticErrorSchema;
27
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
28
+ export declare var TooManyTagsException$: StaticErrorSchema;
29
+ export declare var UnsupportedOperationException$: StaticErrorSchema;
30
+ export declare const errorTypeRegistries: TypeRegistry[];
6
31
  export declare var AccessControlRule$: StaticStructureSchema;
7
32
  export declare var AssociateDelegateToResourceRequest$: StaticStructureSchema;
8
33
  export declare var AssociateDelegateToResourceResponse$: StaticStructureSchema;
@@ -87,19 +112,12 @@ export declare var DescribeResourceRequest$: StaticStructureSchema;
87
112
  export declare var DescribeResourceResponse$: StaticStructureSchema;
88
113
  export declare var DescribeUserRequest$: StaticStructureSchema;
89
114
  export declare var DescribeUserResponse$: StaticStructureSchema;
90
- export declare var DirectoryInUseException$: StaticErrorSchema;
91
- export declare var DirectoryServiceAuthenticationFailedException$: StaticErrorSchema;
92
- export declare var DirectoryUnavailableException$: StaticErrorSchema;
93
115
  export declare var DisassociateDelegateFromResourceRequest$: StaticStructureSchema;
94
116
  export declare var DisassociateDelegateFromResourceResponse$: StaticStructureSchema;
95
117
  export declare var DisassociateMemberFromGroupRequest$: StaticStructureSchema;
96
118
  export declare var DisassociateMemberFromGroupResponse$: StaticStructureSchema;
97
119
  export declare var DnsRecord$: StaticStructureSchema;
98
120
  export declare var Domain$: StaticStructureSchema;
99
- export declare var EmailAddressInUseException$: StaticErrorSchema;
100
- export declare var EntityAlreadyRegisteredException$: StaticErrorSchema;
101
- export declare var EntityNotFoundException$: StaticErrorSchema;
102
- export declare var EntityStateException$: StaticErrorSchema;
103
121
  export declare var EwsAvailabilityProvider$: StaticStructureSchema;
104
122
  export declare var FolderConfiguration$: StaticStructureSchema;
105
123
  export declare var GetAccessControlEffectRequest$: StaticStructureSchema;
@@ -126,12 +144,7 @@ export declare var IdentityCenterConfiguration$: StaticStructureSchema;
126
144
  export declare var ImpersonationMatchedRule$: StaticStructureSchema;
127
145
  export declare var ImpersonationRole$: StaticStructureSchema;
128
146
  export declare var ImpersonationRule$: StaticStructureSchema;
129
- export declare var InvalidConfigurationException$: StaticErrorSchema;
130
- export declare var InvalidCustomSesConfigurationException$: StaticErrorSchema;
131
- export declare var InvalidParameterException$: StaticErrorSchema;
132
- export declare var InvalidPasswordException$: StaticErrorSchema;
133
147
  export declare var LambdaAvailabilityProvider$: StaticStructureSchema;
134
- export declare var LimitExceededException$: StaticErrorSchema;
135
148
  export declare var ListAccessControlRulesRequest$: StaticStructureSchema;
136
149
  export declare var ListAccessControlRulesResponse$: StaticStructureSchema;
137
150
  export declare var ListAliasesRequest$: StaticStructureSchema;
@@ -173,17 +186,11 @@ export declare var ListUsersFilters$: StaticStructureSchema;
173
186
  export declare var ListUsersRequest$: StaticStructureSchema;
174
187
  export declare var ListUsersResponse$: StaticStructureSchema;
175
188
  export declare var MailboxExportJob$: StaticStructureSchema;
176
- export declare var MailDomainInUseException$: StaticErrorSchema;
177
- export declare var MailDomainNotFoundException$: StaticErrorSchema;
178
- export declare var MailDomainStateException$: StaticErrorSchema;
179
189
  export declare var MailDomainSummary$: StaticStructureSchema;
180
190
  export declare var Member$: StaticStructureSchema;
181
191
  export declare var MobileDeviceAccessMatchedRule$: StaticStructureSchema;
182
192
  export declare var MobileDeviceAccessOverride$: StaticStructureSchema;
183
193
  export declare var MobileDeviceAccessRule$: StaticStructureSchema;
184
- export declare var NameAvailabilityException$: StaticErrorSchema;
185
- export declare var OrganizationNotFoundException$: StaticErrorSchema;
186
- export declare var OrganizationStateException$: StaticErrorSchema;
187
194
  export declare var OrganizationSummary$: StaticStructureSchema;
188
195
  export declare var Permission$: StaticStructureSchema;
189
196
  export declare var PersonalAccessTokenConfiguration$: StaticStructureSchema;
@@ -207,11 +214,9 @@ export declare var RegisterMailDomainRequest$: StaticStructureSchema;
207
214
  export declare var RegisterMailDomainResponse$: StaticStructureSchema;
208
215
  export declare var RegisterToWorkMailRequest$: StaticStructureSchema;
209
216
  export declare var RegisterToWorkMailResponse$: StaticStructureSchema;
210
- export declare var ReservedNameException$: StaticErrorSchema;
211
217
  export declare var ResetPasswordRequest$: StaticStructureSchema;
212
218
  export declare var ResetPasswordResponse$: StaticStructureSchema;
213
219
  export declare var Resource$: StaticStructureSchema;
214
- export declare var ResourceNotFoundException$: StaticErrorSchema;
215
220
  export declare var StartMailboxExportJobRequest$: StaticStructureSchema;
216
221
  export declare var StartMailboxExportJobResponse$: StaticStructureSchema;
217
222
  export declare var Tag$: StaticStructureSchema;
@@ -219,8 +224,6 @@ export declare var TagResourceRequest$: StaticStructureSchema;
219
224
  export declare var TagResourceResponse$: StaticStructureSchema;
220
225
  export declare var TestAvailabilityConfigurationRequest$: StaticStructureSchema;
221
226
  export declare var TestAvailabilityConfigurationResponse$: StaticStructureSchema;
222
- export declare var TooManyTagsException$: StaticErrorSchema;
223
- export declare var UnsupportedOperationException$: StaticErrorSchema;
224
227
  export declare var UntagResourceRequest$: StaticStructureSchema;
225
228
  export declare var UntagResourceResponse$: StaticStructureSchema;
226
229
  export declare var UpdateAvailabilityConfigurationRequest$: StaticStructureSchema;
@@ -242,7 +245,6 @@ export declare var UpdateResourceResponse$: StaticStructureSchema;
242
245
  export declare var UpdateUserRequest$: StaticStructureSchema;
243
246
  export declare var UpdateUserResponse$: StaticStructureSchema;
244
247
  export declare var User$: StaticStructureSchema;
245
- export declare var WorkMailServiceException$: StaticErrorSchema;
246
248
  export declare var AssociateDelegateToResource$: StaticOperationSchema;
247
249
  export declare var AssociateMemberToGroup$: StaticOperationSchema;
248
250
  export declare var AssumeImpersonationRole$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-workmail",
3
3
  "description": "AWS SDK for JavaScript Workmail Client for Node.js, Browser and React Native",
4
- "version": "3.986.0",
4
+ "version": "3.988.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-workmail",
@@ -21,38 +21,38 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.973.7",
25
- "@aws-sdk/credential-provider-node": "^3.972.6",
24
+ "@aws-sdk/core": "^3.973.8",
25
+ "@aws-sdk/credential-provider-node": "^3.972.7",
26
26
  "@aws-sdk/middleware-host-header": "^3.972.3",
27
27
  "@aws-sdk/middleware-logger": "^3.972.3",
28
28
  "@aws-sdk/middleware-recursion-detection": "^3.972.3",
29
- "@aws-sdk/middleware-user-agent": "^3.972.7",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.8",
30
30
  "@aws-sdk/region-config-resolver": "^3.972.3",
31
31
  "@aws-sdk/types": "^3.973.1",
32
- "@aws-sdk/util-endpoints": "3.986.0",
32
+ "@aws-sdk/util-endpoints": "3.988.0",
33
33
  "@aws-sdk/util-user-agent-browser": "^3.972.3",
34
- "@aws-sdk/util-user-agent-node": "^3.972.5",
34
+ "@aws-sdk/util-user-agent-node": "^3.972.6",
35
35
  "@smithy/config-resolver": "^4.4.6",
36
- "@smithy/core": "^3.22.1",
36
+ "@smithy/core": "^3.23.0",
37
37
  "@smithy/fetch-http-handler": "^5.3.9",
38
38
  "@smithy/hash-node": "^4.2.8",
39
39
  "@smithy/invalid-dependency": "^4.2.8",
40
40
  "@smithy/middleware-content-length": "^4.2.8",
41
- "@smithy/middleware-endpoint": "^4.4.13",
42
- "@smithy/middleware-retry": "^4.4.30",
41
+ "@smithy/middleware-endpoint": "^4.4.14",
42
+ "@smithy/middleware-retry": "^4.4.31",
43
43
  "@smithy/middleware-serde": "^4.2.9",
44
44
  "@smithy/middleware-stack": "^4.2.8",
45
45
  "@smithy/node-config-provider": "^4.3.8",
46
- "@smithy/node-http-handler": "^4.4.9",
46
+ "@smithy/node-http-handler": "^4.4.10",
47
47
  "@smithy/protocol-http": "^5.3.8",
48
- "@smithy/smithy-client": "^4.11.2",
48
+ "@smithy/smithy-client": "^4.11.3",
49
49
  "@smithy/types": "^4.12.0",
50
50
  "@smithy/url-parser": "^4.2.8",
51
51
  "@smithy/util-base64": "^4.3.0",
52
52
  "@smithy/util-body-length-browser": "^4.2.0",
53
53
  "@smithy/util-body-length-node": "^4.2.1",
54
- "@smithy/util-defaults-mode-browser": "^4.3.29",
55
- "@smithy/util-defaults-mode-node": "^4.2.32",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.30",
55
+ "@smithy/util-defaults-mode-node": "^4.2.33",
56
56
  "@smithy/util-endpoints": "^3.2.8",
57
57
  "@smithy/util-middleware": "^4.2.8",
58
58
  "@smithy/util-retry": "^4.2.8",