Skip to content

Commit 731dbfe

Browse files
authored
chore(codegen): service closure knowledge index (#7554)
* chore(codegen): service closure knowledge index * chore(codegen): fix for synthetic base exception name
1 parent fee7ba1 commit 731dbfe

File tree

1,033 files changed

+17060
-217
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,033 files changed

+17060
-217
lines changed

clients/client-accessanalyzer/test/index-objects.spec.mjs

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import {
44
AccessAnalyzerServiceException,
55
AccessCheckPolicyType,
66
AccessCheckResourceType,
7+
AccessDeniedException,
78
AccessPreviewStatus,
89
AccessPreviewStatusReasonCode,
910
AclPermission,
@@ -16,6 +17,7 @@ import {
1617
CheckNoNewAccessResult,
1718
CheckNoPublicAccessCommand,
1819
CheckNoPublicAccessResult,
20+
ConflictException,
1921
CreateAccessPreviewCommand,
2022
CreateAnalyzerCommand,
2123
CreateArchiveRuleCommand,
@@ -37,6 +39,8 @@ import {
3739
GetFindingsStatisticsCommand,
3840
GetGeneratedPolicyCommand,
3941
InternalAccessType,
42+
InternalServerException,
43+
InvalidParameterException,
4044
JobErrorCode,
4145
JobStatus,
4246
KmsGrantOperation,
@@ -57,20 +61,26 @@ import {
5761
RecommendationType,
5862
RecommendedRemediationAction,
5963
ResourceControlPolicyRestriction,
64+
ResourceNotFoundException,
6065
ResourceType,
6166
ServiceControlPolicyRestriction,
67+
ServiceQuotaExceededException,
6268
StartPolicyGenerationCommand,
6369
StartResourceScanCommand,
6470
Status,
6571
TagResourceCommand,
72+
ThrottlingException,
6673
Type,
74+
UnprocessableEntityException,
6775
UntagResourceCommand,
6876
UpdateAnalyzerCommand,
6977
UpdateArchiveRuleCommand,
7078
UpdateFindingsCommand,
7179
ValidatePolicyCommand,
7280
ValidatePolicyFindingType,
7381
ValidatePolicyResourceType,
82+
ValidationException,
83+
ValidationExceptionReason,
7484
paginateGetFindingRecommendation,
7585
paginateGetFindingV2,
7686
paginateListAccessPreviewFindings,
@@ -158,7 +168,17 @@ assert(typeof Status === "object");
158168
assert(typeof Type === "object");
159169
assert(typeof ValidatePolicyFindingType === "object");
160170
assert(typeof ValidatePolicyResourceType === "object");
171+
assert(typeof ValidationExceptionReason === "object");
161172
// errors
173+
assert(AccessDeniedException.prototype instanceof AccessAnalyzerServiceException);
174+
assert(ConflictException.prototype instanceof AccessAnalyzerServiceException);
175+
assert(InternalServerException.prototype instanceof AccessAnalyzerServiceException);
176+
assert(InvalidParameterException.prototype instanceof AccessAnalyzerServiceException);
177+
assert(ResourceNotFoundException.prototype instanceof AccessAnalyzerServiceException);
178+
assert(ServiceQuotaExceededException.prototype instanceof AccessAnalyzerServiceException);
179+
assert(ThrottlingException.prototype instanceof AccessAnalyzerServiceException);
180+
assert(UnprocessableEntityException.prototype instanceof AccessAnalyzerServiceException);
181+
assert(ValidationException.prototype instanceof AccessAnalyzerServiceException);
162182
assert(AccessAnalyzerServiceException.prototype instanceof Error);
163183
// paginators
164184
assert(typeof paginateGetFindingRecommendation === "function");

clients/client-accessanalyzer/test/index-types.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ export type {
145145
Type,
146146
ValidatePolicyFindingType,
147147
ValidatePolicyResourceType,
148+
ValidationExceptionReason,
148149
Access,
149150
AccessPreview,
150151
AccessPreviewFinding,
@@ -299,7 +300,17 @@ export type {
299300
ValidatePolicyFinding,
300301
ValidatePolicyRequest,
301302
ValidatePolicyResponse,
303+
ValidationExceptionField,
302304
VpcConfiguration,
305+
AccessDeniedException,
306+
ConflictException,
307+
InternalServerException,
308+
InvalidParameterException,
309+
ResourceNotFoundException,
310+
ServiceQuotaExceededException,
311+
ThrottlingException,
312+
UnprocessableEntityException,
313+
ValidationException,
303314
AccessAnalyzerServiceException,
304315
paginateGetFindingRecommendation,
305316
paginateGetFindingV2,

clients/client-account/test/index-objects.spec.mjs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
import {
22
AcceptPrimaryEmailUpdateCommand,
3+
AccessDeniedException,
34
Account,
45
AccountClient,
56
AccountServiceException,
67
AlternateContactType,
8+
ConflictException,
79
DeleteAlternateContactCommand,
810
DisableRegionCommand,
911
EnableRegionCommand,
@@ -12,13 +14,18 @@ import {
1214
GetContactInformationCommand,
1315
GetPrimaryEmailCommand,
1416
GetRegionOptStatusCommand,
17+
InternalServerException,
1518
ListRegionsCommand,
1619
PrimaryEmailUpdateStatus,
1720
PutAccountNameCommand,
1821
PutAlternateContactCommand,
1922
PutContactInformationCommand,
2023
RegionOptStatus,
24+
ResourceNotFoundException,
2125
StartPrimaryEmailUpdateCommand,
26+
TooManyRequestsException,
27+
ValidationException,
28+
ValidationExceptionReason,
2229
paginateListRegions,
2330
} from "../dist-cjs/index.js";
2431
import assert from "node:assert";
@@ -44,7 +51,14 @@ assert(typeof StartPrimaryEmailUpdateCommand === "function");
4451
assert(typeof AlternateContactType === "object");
4552
assert(typeof PrimaryEmailUpdateStatus === "object");
4653
assert(typeof RegionOptStatus === "object");
54+
assert(typeof ValidationExceptionReason === "object");
4755
// errors
56+
assert(AccessDeniedException.prototype instanceof AccountServiceException);
57+
assert(ConflictException.prototype instanceof AccountServiceException);
58+
assert(InternalServerException.prototype instanceof AccountServiceException);
59+
assert(ResourceNotFoundException.prototype instanceof AccountServiceException);
60+
assert(TooManyRequestsException.prototype instanceof AccountServiceException);
61+
assert(ValidationException.prototype instanceof AccountServiceException);
4862
assert(AccountServiceException.prototype instanceof Error);
4963
// paginators
5064
assert(typeof paginateListRegions === "function");

clients/client-account/test/index-types.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ export type {
4747
AlternateContactType,
4848
PrimaryEmailUpdateStatus,
4949
RegionOptStatus,
50+
ValidationExceptionReason,
5051
AcceptPrimaryEmailUpdateRequest,
5152
AcceptPrimaryEmailUpdateResponse,
5253
AlternateContact,
@@ -72,6 +73,13 @@ export type {
7273
Region,
7374
StartPrimaryEmailUpdateRequest,
7475
StartPrimaryEmailUpdateResponse,
76+
ValidationExceptionField,
77+
AccessDeniedException,
78+
ConflictException,
79+
InternalServerException,
80+
ResourceNotFoundException,
81+
TooManyRequestsException,
82+
ValidationException,
7583
AccountServiceException,
7684
paginateListRegions,
7785
} from "../dist-types/index.d";

clients/client-acm-pca/test/index-objects.spec.mjs

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ import {
99
CertificateAuthorityStatus,
1010
CertificateAuthorityType,
1111
CertificateAuthorityUsageMode,
12+
CertificateMismatchException,
13+
ConcurrentModificationException,
1214
CreateCertificateAuthorityAuditReportCommand,
1315
CreateCertificateAuthorityCommand,
1416
CreatePermissionCommand,
@@ -25,21 +27,38 @@ import {
2527
GetCertificateCommand,
2628
GetPolicyCommand,
2729
ImportCertificateAuthorityCertificateCommand,
30+
InvalidArgsException,
31+
InvalidArnException,
32+
InvalidNextTokenException,
33+
InvalidPolicyException,
34+
InvalidRequestException,
35+
InvalidStateException,
36+
InvalidTagException,
2837
IssueCertificateCommand,
2938
KeyAlgorithm,
3039
KeyStorageSecurityStandard,
40+
LimitExceededException,
3141
ListCertificateAuthoritiesCommand,
3242
ListPermissionsCommand,
3343
ListTagsCommand,
44+
LockoutPreventedException,
45+
MalformedCSRException,
46+
MalformedCertificateException,
47+
PermissionAlreadyExistsException,
3448
PolicyQualifierId,
3549
PutPolicyCommand,
50+
RequestAlreadyProcessedException,
51+
RequestFailedException,
52+
RequestInProgressException,
53+
ResourceNotFoundException,
3654
ResourceOwner,
3755
RestoreCertificateAuthorityCommand,
3856
RevocationReason,
3957
RevokeCertificateCommand,
4058
S3ObjectAcl,
4159
SigningAlgorithm,
4260
TagCertificateAuthorityCommand,
61+
TooManyTagsException,
4362
UntagCertificateAuthorityCommand,
4463
UpdateCertificateAuthorityCommand,
4564
ValidityPeriodType,
@@ -101,6 +120,25 @@ assert(typeof S3ObjectAcl === "object");
101120
assert(typeof SigningAlgorithm === "object");
102121
assert(typeof ValidityPeriodType === "object");
103122
// errors
123+
assert(CertificateMismatchException.prototype instanceof ACMPCAServiceException);
124+
assert(ConcurrentModificationException.prototype instanceof ACMPCAServiceException);
125+
assert(InvalidArgsException.prototype instanceof ACMPCAServiceException);
126+
assert(InvalidArnException.prototype instanceof ACMPCAServiceException);
127+
assert(InvalidNextTokenException.prototype instanceof ACMPCAServiceException);
128+
assert(InvalidPolicyException.prototype instanceof ACMPCAServiceException);
129+
assert(InvalidRequestException.prototype instanceof ACMPCAServiceException);
130+
assert(InvalidStateException.prototype instanceof ACMPCAServiceException);
131+
assert(InvalidTagException.prototype instanceof ACMPCAServiceException);
132+
assert(LimitExceededException.prototype instanceof ACMPCAServiceException);
133+
assert(LockoutPreventedException.prototype instanceof ACMPCAServiceException);
134+
assert(MalformedCertificateException.prototype instanceof ACMPCAServiceException);
135+
assert(MalformedCSRException.prototype instanceof ACMPCAServiceException);
136+
assert(PermissionAlreadyExistsException.prototype instanceof ACMPCAServiceException);
137+
assert(RequestAlreadyProcessedException.prototype instanceof ACMPCAServiceException);
138+
assert(RequestFailedException.prototype instanceof ACMPCAServiceException);
139+
assert(RequestInProgressException.prototype instanceof ACMPCAServiceException);
140+
assert(ResourceNotFoundException.prototype instanceof ACMPCAServiceException);
141+
assert(TooManyTagsException.prototype instanceof ACMPCAServiceException);
104142
assert(ACMPCAServiceException.prototype instanceof Error);
105143
// waiters
106144
assert(typeof waitForAuditReportCreated === "function");

clients/client-acm-pca/test/index-types.ts

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,25 @@ export type {
149149
UntagCertificateAuthorityRequest,
150150
UpdateCertificateAuthorityRequest,
151151
Validity,
152+
CertificateMismatchException,
153+
ConcurrentModificationException,
154+
InvalidArgsException,
155+
InvalidArnException,
156+
InvalidNextTokenException,
157+
InvalidPolicyException,
158+
InvalidRequestException,
159+
InvalidStateException,
160+
InvalidTagException,
161+
LimitExceededException,
162+
LockoutPreventedException,
163+
MalformedCertificateException,
164+
MalformedCSRException,
165+
PermissionAlreadyExistsException,
166+
RequestAlreadyProcessedException,
167+
RequestFailedException,
168+
RequestInProgressException,
169+
ResourceNotFoundException,
170+
TooManyTagsException,
152171
ACMPCAServiceException,
153172
waitForAuditReportCreated,
154173
waitForCertificateAuthorityCSRCreated,

clients/client-acm/test/index-objects.spec.mjs

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,14 @@ import {
22
ACM,
33
ACMClient,
44
ACMServiceException,
5+
AccessDeniedException,
56
AddTagsToCertificateCommand,
67
CertificateExport,
78
CertificateManagedBy,
89
CertificateStatus,
910
CertificateTransparencyLoggingPreference,
1011
CertificateType,
12+
ConflictException,
1113
DeleteCertificateCommand,
1214
DescribeCertificateCommand,
1315
DomainStatus,
@@ -17,8 +19,15 @@ import {
1719
GetAccountConfigurationCommand,
1820
GetCertificateCommand,
1921
ImportCertificateCommand,
22+
InvalidArgsException,
23+
InvalidArnException,
24+
InvalidDomainValidationOptionsException,
25+
InvalidParameterException,
26+
InvalidStateException,
27+
InvalidTagException,
2028
KeyAlgorithm,
2129
KeyUsageName,
30+
LimitExceededException,
2231
ListCertificatesCommand,
2332
ListTagsForCertificateCommand,
2433
PutAccountConfigurationCommand,
@@ -28,12 +37,19 @@ import {
2837
RenewalEligibility,
2938
RenewalStatus,
3039
RequestCertificateCommand,
40+
RequestInProgressException,
3141
ResendValidationEmailCommand,
42+
ResourceInUseException,
43+
ResourceNotFoundException,
3244
RevocationReason,
3345
RevokeCertificateCommand,
3446
SortBy,
3547
SortOrder,
48+
TagPolicyException,
49+
ThrottlingException,
50+
TooManyTagsException,
3651
UpdateCertificateOptionsCommand,
52+
ValidationException,
3753
ValidationMethod,
3854
paginateListCertificates,
3955
waitForCertificateValidated,
@@ -79,6 +95,22 @@ assert(typeof SortBy === "object");
7995
assert(typeof SortOrder === "object");
8096
assert(typeof ValidationMethod === "object");
8197
// errors
98+
assert(AccessDeniedException.prototype instanceof ACMServiceException);
99+
assert(ConflictException.prototype instanceof ACMServiceException);
100+
assert(InvalidArgsException.prototype instanceof ACMServiceException);
101+
assert(InvalidArnException.prototype instanceof ACMServiceException);
102+
assert(InvalidDomainValidationOptionsException.prototype instanceof ACMServiceException);
103+
assert(InvalidParameterException.prototype instanceof ACMServiceException);
104+
assert(InvalidStateException.prototype instanceof ACMServiceException);
105+
assert(InvalidTagException.prototype instanceof ACMServiceException);
106+
assert(LimitExceededException.prototype instanceof ACMServiceException);
107+
assert(RequestInProgressException.prototype instanceof ACMServiceException);
108+
assert(ResourceInUseException.prototype instanceof ACMServiceException);
109+
assert(ResourceNotFoundException.prototype instanceof ACMServiceException);
110+
assert(TagPolicyException.prototype instanceof ACMServiceException);
111+
assert(ThrottlingException.prototype instanceof ACMServiceException);
112+
assert(TooManyTagsException.prototype instanceof ACMServiceException);
113+
assert(ValidationException.prototype instanceof ACMServiceException);
82114
assert(ACMServiceException.prototype instanceof Error);
83115
// waiters
84116
assert(typeof waitForCertificateValidated === "function");

clients/client-acm/test/index-types.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,22 @@ export type {
104104
RevokeCertificateResponse,
105105
Tag,
106106
UpdateCertificateOptionsRequest,
107+
AccessDeniedException,
108+
ConflictException,
109+
InvalidArgsException,
110+
InvalidArnException,
111+
InvalidDomainValidationOptionsException,
112+
InvalidParameterException,
113+
InvalidStateException,
114+
InvalidTagException,
115+
LimitExceededException,
116+
RequestInProgressException,
117+
ResourceInUseException,
118+
ResourceNotFoundException,
119+
TagPolicyException,
120+
ThrottlingException,
121+
TooManyTagsException,
122+
ValidationException,
107123
ACMServiceException,
108124
waitForCertificateValidated,
109125
waitUntilCertificateValidated,

0 commit comments

Comments
 (0)